build: cleanup src/target directory
[fw/openocd] / src / target / Makefile.am
index 1e29ae7d5c2400188d6e94a6cb8de8b8c17fa2ca..ab7b3be2fecdecd162f927d639f22be877eb2659 100644 (file)
@@ -1,3 +1,4 @@
+include $(top_srcdir)/common.mk
 
 if OOCD_TRACE
 OOCD_TRACE_FILES = oocd_trace.c
@@ -5,10 +6,6 @@ else
 OOCD_TRACE_FILES =
 endif
 
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/src \
-       -I$(top_builddir)/src
-
 BIN2C          = $(top_builddir)/src/helper/bin2char$(EXEEXT_FOR_BUILD)
 
 DEBUG_HANDLER  = $(srcdir)/xscale/debug_handler.bin
@@ -36,7 +33,9 @@ libtarget_la_SOURCES = \
        $(MIPS32_SRC) \
        avrt.c \
        dsp563xx.c \
-       dsp563xx_once.c
+       dsp563xx_once.c \
+       dsp5680xx.c \
+       stm32_stlink.c
 
 TARGET_CORE_SRC = \
        algorithm.c \
@@ -45,7 +44,8 @@ TARGET_CORE_SRC = \
        breakpoints.c \
        target.c \
        target_request.c \
-       testee.c
+       testee.c \
+       smp.c
 
 ARMV4_5_SRC = \
        armv4_5.c \
@@ -74,9 +74,9 @@ ARMV6_SRC = \
 
 ARMV7_SRC = \
        armv7m.c \
-       cortex_m3.c \
+       cortex_m.c \
        armv7a.c \
-       cortex_a8.c
+       cortex_a.c
 
 ARM_DEBUG_SRC = \
        arm_dpm.c \
@@ -85,7 +85,7 @@ ARM_DEBUG_SRC = \
        arm_simulator.c \
        arm_semihosting.c \
        arm_adi_v5.c \
-       adi_v5_jtag.c \
+       adi_v5_jtag.c \
        adi_v5_swd.c \
        embeddedice.c \
        trace.c \
@@ -136,9 +136,10 @@ noinst_HEADERS = \
        avrt.h \
        dsp563xx.h \
        dsp563xx_once.h \
+       dsp5680xx.h \
        breakpoints.h \
-       cortex_m3.h \
-       cortex_a8.h \
+       cortex_m.h \
+       cortex_a.h \
        embeddedice.h \
        etb.h \
        etm.h \
@@ -157,7 +158,11 @@ noinst_HEADERS = \
        target_request.h \
        trace.h \
        xscale.h \
-       xscale_debug.h
+       smp.h \
+       avr32_ap7k.h \
+       avr32_jtag.h \
+       avr32_mem.h \
+       avr32_regs.h
 
 nobase_dist_pkglib_DATA =
 nobase_dist_pkglib_DATA += ecos/at91eb40a.elf