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