build: add missing files from dist release
[openocd.git] / src / target / Makefile.am
1 include $(top_srcdir)/common.mk
2
3 if OOCD_TRACE
4 OOCD_TRACE_FILES = oocd_trace.c
5 else
6 OOCD_TRACE_FILES =
7 endif
8
9 BIN2C           = $(top_builddir)/src/helper/bin2char$(EXEEXT_FOR_BUILD)
10
11 DEBUG_HANDLER   = $(srcdir)/xscale/debug_handler.bin
12 EXTRA_DIST = \
13         startup.tcl \
14         $(DEBUG_HANDLER)
15
16 DEBUG_HEADER    = xscale_debug.h
17 BUILT_SOURCES = $(DEBUG_HEADER)
18 CLEANFILES = $(DEBUG_HEADER)
19
20 $(DEBUG_HEADER): $(BIN2C) $(DEBUG_HANDLER)
21         $(BIN2C) < $(DEBUG_HANDLER) xscale_debug_handler > xscale_debug.h
22
23 METASOURCES = AUTO
24 noinst_LTLIBRARIES = libtarget.la
25 libtarget_la_SOURCES = \
26         $(TARGET_CORE_SRC) \
27         $(ARM_DEBUG_SRC) \
28         $(ARMV4_5_SRC) \
29         $(ARMV6_SRC) \
30         $(ARMV7_SRC) \
31         $(ARM_MISC_SRC) \
32         $(AVR32_SRC) \
33         $(MIPS32_SRC) \
34         avrt.c \
35         dsp563xx.c \
36         dsp563xx_once.c \
37         dsp5680xx.c
38
39 TARGET_CORE_SRC = \
40         algorithm.c \
41         register.c \
42         image.c \
43         breakpoints.c \
44         target.c \
45         target_request.c \
46         testee.c \
47         smp.c
48
49 ARMV4_5_SRC = \
50         armv4_5.c \
51         armv4_5_mmu.c \
52         armv4_5_cache.c \
53         $(ARM7_9_SRC)
54
55 ARM7_9_SRC = \
56         arm7_9_common.c \
57         arm7tdmi.c \
58         arm720t.c \
59         arm9tdmi.c \
60         arm920t.c \
61         arm966e.c \
62         arm946e.c \
63         arm926ejs.c \
64         feroceon.c
65
66 ARM_MISC_SRC = \
67         fa526.c \
68         xscale.c
69
70 ARMV6_SRC = \
71         arm11.c \
72         arm11_dbgtap.c
73
74 ARMV7_SRC = \
75         armv7m.c \
76         cortex_m3.c \
77         armv7a.c \
78         cortex_a.c
79
80 ARM_DEBUG_SRC = \
81         arm_dpm.c \
82         arm_jtag.c \
83         arm_disassembler.c \
84         arm_simulator.c \
85         arm_semihosting.c \
86         arm_adi_v5.c \
87         adi_v5_jtag.c \
88         adi_v5_swd.c \
89         embeddedice.c \
90         trace.c \
91         etb.c \
92         etm.c \
93         $(OOCD_TRACE_FILES) \
94         etm_dummy.c
95
96 AVR32_SRC = \
97         avr32_ap7k.c \
98         avr32_jtag.c \
99         avr32_mem.c \
100         avr32_regs.c
101
102 MIPS32_SRC = \
103         mips32.c \
104         mips_m4k.c \
105         mips32_pracc.c \
106         mips32_dmaacc.c \
107         mips_ejtag.c
108
109
110 noinst_HEADERS = \
111         algorithm.h \
112         arm.h \
113         arm_dpm.h \
114         arm_jtag.h \
115         arm_adi_v5.h \
116         arm_disassembler.h \
117         arm_opcodes.h \
118         arm_simulator.h \
119         arm_semihosting.h \
120         arm7_9_common.h \
121         arm7tdmi.h \
122         arm720t.h \
123         arm9tdmi.h \
124         arm920t.h \
125         arm926ejs.h \
126         arm966e.h \
127         arm946e.h \
128         arm11.h \
129         arm11_dbgtap.h \
130         armv4_5.h \
131         armv4_5_mmu.h \
132         armv4_5_cache.h \
133         armv7a.h \
134         armv7m.h \
135         avrt.h \
136         dsp563xx.h \
137         dsp563xx_once.h \
138         dsp5680xx.h \
139         breakpoints.h \
140         cortex_m3.h \
141         cortex_a.h \
142         embeddedice.h \
143         etb.h \
144         etm.h \
145         etm_dummy.h \
146         image.h \
147         mips32.h \
148         mips_m4k.h \
149         mips_ejtag.h \
150         mips32_pracc.h \
151         mips32_dmaacc.h \
152         oocd_trace.h \
153         register.h \
154         target.h \
155         target_type.h \
156         trace.h \
157         target_request.h \
158         trace.h \
159         xscale.h \
160         xscale_debug.h \
161         smp.h \
162         avr32_ap7k.h \
163         avr32_jtag.h \
164         avr32_mem.h \
165         avr32_regs.h
166
167 nobase_dist_pkglib_DATA =
168 nobase_dist_pkglib_DATA += ecos/at91eb40a.elf
169
170 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in