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