armv7a: ARMv7-A MMU tools
[openocd.git] / src / target / Makefile.am
1 if OOCD_TRACE
2 OOCD_TRACE_FILES = %D%/oocd_trace.c
3 else
4 OOCD_TRACE_FILES =
5 endif
6
7 %C%_libtarget_la_LIBADD = %D%/openrisc/libopenrisc.la \
8         %D%/riscv/libriscv.la
9
10
11 STARTUP_TCL_SRCS += %D%/startup.tcl
12
13 noinst_LTLIBRARIES += %D%/libtarget.la
14 %C%_libtarget_la_SOURCES = \
15         $(TARGET_CORE_SRC) \
16         $(ARM_DEBUG_SRC) \
17         $(ARMV4_5_SRC) \
18         $(ARMV6_SRC) \
19         $(ARMV7_SRC) \
20         $(ARM_MISC_SRC) \
21         $(AVR32_SRC) \
22         $(MIPS32_SRC) \
23         $(NDS32_SRC) \
24         $(STM8_SRC) \
25         $(INTEL_IA32_SRC) \
26         $(ESIRISC_SRC) \
27         %D%/avrt.c \
28         %D%/dsp563xx.c \
29         %D%/dsp563xx_once.c \
30         %D%/dsp5680xx.c \
31         %D%/hla_target.c
32
33 if TARGET64
34 %C%_libtarget_la_SOURCES +=$(ARMV8_SRC)
35 endif
36
37 TARGET_CORE_SRC = \
38         %D%/algorithm.c \
39         %D%/register.c \
40         %D%/image.c \
41         %D%/breakpoints.c \
42         %D%/target.c \
43         %D%/target_request.c \
44         %D%/testee.c \
45         %D%/semihosting_common.c \
46         %D%/smp.c
47
48 ARMV4_5_SRC = \
49         %D%/armv4_5.c \
50         %D%/armv4_5_mmu.c \
51         %D%/armv4_5_cache.c \
52         $(ARM7_9_SRC)
53
54 ARM7_9_SRC = \
55         %D%/arm7_9_common.c \
56         %D%/arm7tdmi.c \
57         %D%/arm720t.c \
58         %D%/arm9tdmi.c \
59         %D%/arm920t.c \
60         %D%/arm966e.c \
61         %D%/arm946e.c \
62         %D%/arm926ejs.c \
63         %D%/feroceon.c
64
65 ARM_MISC_SRC = \
66         %D%/fa526.c \
67         %D%/xscale.c
68
69 ARMV6_SRC = \
70         %D%/arm11.c \
71         %D%/arm11_dbgtap.c
72
73 ARMV7_SRC = \
74         %D%/armv7m.c \
75         %D%/armv7m_trace.c \
76         %D%/cortex_m.c \
77         %D%/armv7a.c \
78         %D%/armv7a_mmu.c \
79         %D%/cortex_a.c \
80         %D%/ls1_sap.c \
81         %D%/mem_ap.c
82
83 ARMV8_SRC = \
84         %D%/armv8_dpm.c \
85         %D%/armv8_opcodes.c \
86         %D%/aarch64.c \
87         %D%/armv8.c \
88         %D%/armv8_cache.c
89
90 ARM_DEBUG_SRC = \
91         %D%/arm_dpm.c \
92         %D%/arm_jtag.c \
93         %D%/arm_disassembler.c \
94         %D%/arm_simulator.c \
95         %D%/arm_semihosting.c \
96         %D%/arm_adi_v5.c \
97         %D%/arm_dap.c \
98         %D%/armv7a_cache.c \
99         %D%/armv7a_cache_l2x.c \
100         %D%/adi_v5_jtag.c \
101         %D%/adi_v5_swd.c \
102         %D%/embeddedice.c \
103         %D%/trace.c \
104         %D%/etb.c \
105         %D%/etm.c \
106         $(OOCD_TRACE_FILES) \
107         %D%/etm_dummy.c \
108         %D%/arm_cti.c
109
110 AVR32_SRC = \
111         %D%/avr32_ap7k.c \
112         %D%/avr32_jtag.c \
113         %D%/avr32_mem.c \
114         %D%/avr32_regs.c
115
116 MIPS32_SRC = \
117         %D%/mips32.c \
118         %D%/mips_m4k.c \
119         %D%/mips32_pracc.c \
120         %D%/mips32_dmaacc.c \
121         %D%/mips_ejtag.c
122
123 NDS32_SRC = \
124         %D%/nds32.c \
125         %D%/nds32_reg.c \
126         %D%/nds32_cmd.c \
127         %D%/nds32_disassembler.c \
128         %D%/nds32_tlb.c \
129         %D%/nds32_v2.c \
130         %D%/nds32_v3_common.c \
131         %D%/nds32_v3.c \
132         %D%/nds32_v3m.c \
133         %D%/nds32_aice.c
134
135 STM8_SRC = \
136         %D%/stm8.c
137
138 INTEL_IA32_SRC = \
139         %D%/quark_x10xx.c \
140         %D%/quark_d20xx.c \
141         %D%/lakemont.c \
142         %D%/x86_32_common.c
143
144 ESIRISC_SRC = \
145         %D%/esirisc.c \
146         %D%/esirisc_jtag.c
147
148 %C%_libtarget_la_SOURCES += \
149         %D%/algorithm.h \
150         %D%/arm.h \
151         %D%/arm_dpm.h \
152         %D%/arm_jtag.h \
153         %D%/arm_adi_v5.h \
154         %D%/armv7a_cache.h \
155         %D%/armv7a_cache_l2x.h \
156         %D%/armv7a_mmu.h \
157         %D%/arm_disassembler.h \
158         %D%/arm_opcodes.h \
159         %D%/arm_simulator.h \
160         %D%/arm_semihosting.h \
161         %D%/arm7_9_common.h \
162         %D%/arm7tdmi.h \
163         %D%/arm720t.h \
164         %D%/arm9tdmi.h \
165         %D%/arm920t.h \
166         %D%/arm926ejs.h \
167         %D%/arm966e.h \
168         %D%/arm946e.h \
169         %D%/arm11.h \
170         %D%/arm11_dbgtap.h \
171         %D%/armv4_5.h \
172         %D%/armv4_5_mmu.h \
173         %D%/armv4_5_cache.h \
174         %D%/armv7a.h \
175         %D%/armv7m.h \
176         %D%/armv7m_trace.h \
177         %D%/armv8.h \
178         %D%/armv8_dpm.h \
179         %D%/armv8_opcodes.h \
180         %D%/armv8_cache.h \
181         %D%/avrt.h \
182         %D%/dsp563xx.h \
183         %D%/dsp563xx_once.h \
184         %D%/dsp5680xx.h \
185         %D%/breakpoints.h \
186         %D%/cortex_m.h \
187         %D%/cortex_a.h \
188         %D%/aarch64.h \
189         %D%/embeddedice.h \
190         %D%/etb.h \
191         %D%/etm.h \
192         %D%/etm_dummy.h \
193         %D%/image.h \
194         %D%/mips32.h \
195         %D%/mips_m4k.h \
196         %D%/mips_ejtag.h \
197         %D%/mips32_pracc.h \
198         %D%/mips32_dmaacc.h \
199         %D%/oocd_trace.h \
200         %D%/register.h \
201         %D%/target.h \
202         %D%/target_type.h \
203         %D%/trace.h \
204         %D%/target_request.h \
205         %D%/trace.h \
206         %D%/xscale.h \
207         %D%/smp.h \
208         %D%/avr32_ap7k.h \
209         %D%/avr32_jtag.h \
210         %D%/avr32_mem.h \
211         %D%/avr32_regs.h \
212         %D%/nds32.h \
213         %D%/nds32_cmd.h \
214         %D%/nds32_disassembler.h \
215         %D%/nds32_edm.h \
216         %D%/nds32_insn.h \
217         %D%/nds32_reg.h \
218         %D%/nds32_tlb.h \
219         %D%/nds32_v2.h \
220         %D%/nds32_v3_common.h \
221         %D%/nds32_v3.h \
222         %D%/nds32_v3m.h \
223         %D%/nds32_aice.h \
224         %D%/semihosting_common.h \
225         %D%/stm8.h \
226         %D%/lakemont.h \
227         %D%/x86_32_common.h \
228         %D%/arm_cti.h \
229         %D%/esirisc.h \
230         %D%/esirisc_jtag.h \
231         %D%/esirisc_regs.h
232
233 include %D%/openrisc/Makefile.am
234 include %D%/riscv/Makefile.am