add armv7a_cache handlers
[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 SUBDIRS = openrisc
10 libtarget_la_LIBADD = $(top_builddir)/src/target/openrisc/libopenrisc.la
11
12 BIN2C           = $(top_srcdir)/src/helper/bin2char.sh
13
14 DEBUG_HANDLER   = $(srcdir)/xscale/debug_handler.bin
15 EXTRA_DIST = \
16         startup.tcl \
17         $(wildcard $(srcdir)/xscale/*)
18
19 DEBUG_HEADER    = xscale_debug.inc
20 BUILT_SOURCES = $(DEBUG_HEADER)
21 CLEANFILES = $(DEBUG_HEADER)
22
23 $(DEBUG_HEADER): $(DEBUG_HANDLER) $(BIN2C)
24         $(BIN2C) < $< > $@ || { rm -f $@; false; }
25
26 METASOURCES = AUTO
27 noinst_LTLIBRARIES = libtarget.la
28 libtarget_la_SOURCES = \
29         $(TARGET_CORE_SRC) \
30         $(ARM_DEBUG_SRC) \
31         $(ARMV4_5_SRC) \
32         $(ARMV6_SRC) \
33         $(ARMV7_SRC) \
34         $(ARM_MISC_SRC) \
35         $(AVR32_SRC) \
36         $(MIPS32_SRC) \
37         $(NDS32_SRC) \
38         $(INTEL_IA32_SRC) \
39         avrt.c \
40         dsp563xx.c \
41         dsp563xx_once.c \
42         dsp5680xx.c \
43         hla_target.c
44
45 TARGET_CORE_SRC = \
46         algorithm.c \
47         register.c \
48         image.c \
49         breakpoints.c \
50         target.c \
51         target_request.c \
52         testee.c \
53         smp.c
54
55 ARMV4_5_SRC = \
56         armv4_5.c \
57         armv4_5_mmu.c \
58         armv4_5_cache.c \
59         $(ARM7_9_SRC)
60
61 ARM7_9_SRC = \
62         arm7_9_common.c \
63         arm7tdmi.c \
64         arm720t.c \
65         arm9tdmi.c \
66         arm920t.c \
67         arm966e.c \
68         arm946e.c \
69         arm926ejs.c \
70         feroceon.c
71
72 ARM_MISC_SRC = \
73         fa526.c \
74         xscale.c
75
76 ARMV6_SRC = \
77         arm11.c \
78         arm11_dbgtap.c
79
80 ARMV7_SRC = \
81         armv7m.c \
82         armv7m_trace.c \
83         cortex_m.c \
84         armv7a.c \
85         cortex_a.c
86
87 ARM_DEBUG_SRC = \
88         arm_dpm.c \
89         arm_jtag.c \
90         arm_disassembler.c \
91         arm_simulator.c \
92         arm_semihosting.c \
93         arm_adi_v5.c \
94         armv7a_cache.c \
95         armv7a_cache_l2x.c \
96         adi_v5_jtag.c \
97         adi_v5_swd.c \
98         embeddedice.c \
99         trace.c \
100         etb.c \
101         etm.c \
102         $(OOCD_TRACE_FILES) \
103         etm_dummy.c
104
105 AVR32_SRC = \
106         avr32_ap7k.c \
107         avr32_jtag.c \
108         avr32_mem.c \
109         avr32_regs.c
110
111 MIPS32_SRC = \
112         mips32.c \
113         mips_m4k.c \
114         mips32_pracc.c \
115         mips32_dmaacc.c \
116         mips_ejtag.c
117
118 NDS32_SRC = \
119         nds32.c \
120         nds32_reg.c \
121         nds32_cmd.c \
122         nds32_disassembler.c \
123         nds32_tlb.c \
124         nds32_v2.c \
125         nds32_v3_common.c \
126         nds32_v3.c \
127         nds32_v3m.c \
128         nds32_aice.c
129
130 INTEL_IA32_SRC = \
131         quark_x10xx.c \
132         lakemont.c \
133         x86_32_common.c
134
135 noinst_HEADERS = \
136         algorithm.h \
137         arm.h \
138         arm_dpm.h \
139         arm_jtag.h \
140         arm_adi_v5.h \
141         armv7a_cache.h \
142         armv7a_cache_l2x.h \
143         arm_disassembler.h \
144         arm_opcodes.h \
145         arm_simulator.h \
146         arm_semihosting.h \
147         arm7_9_common.h \
148         arm7tdmi.h \
149         arm720t.h \
150         arm9tdmi.h \
151         arm920t.h \
152         arm926ejs.h \
153         arm966e.h \
154         arm946e.h \
155         arm11.h \
156         arm11_dbgtap.h \
157         armv4_5.h \
158         armv4_5_mmu.h \
159         armv4_5_cache.h \
160         armv7a.h \
161         armv7m.h \
162         armv7m_trace.h \
163         avrt.h \
164         dsp563xx.h \
165         dsp563xx_once.h \
166         dsp5680xx.h \
167         breakpoints.h \
168         cortex_m.h \
169         cortex_a.h \
170         embeddedice.h \
171         etb.h \
172         etm.h \
173         etm_dummy.h \
174         image.h \
175         mips32.h \
176         mips_m4k.h \
177         mips_ejtag.h \
178         mips32_pracc.h \
179         mips32_dmaacc.h \
180         oocd_trace.h \
181         register.h \
182         target.h \
183         target_type.h \
184         trace.h \
185         target_request.h \
186         trace.h \
187         xscale.h \
188         smp.h \
189         avr32_ap7k.h \
190         avr32_jtag.h \
191         avr32_mem.h \
192         avr32_regs.h \
193         nds32.h \
194         nds32_cmd.h \
195         nds32_disassembler.h \
196         nds32_edm.h \
197         nds32_insn.h \
198         nds32_reg.h \
199         nds32_tlb.h \
200         nds32_v2.h \
201         nds32_v3_common.h \
202         nds32_v3.h \
203         nds32_v3m.h \
204         nds32_aice.h \
205         lakemont.h \
206         x86_32_common.h
207
208 ocddatadir = $(pkglibdir)
209 nobase_dist_ocddata_DATA =
210
211 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in