]> git.sur5r.net Git - openocd/blob - src/target/Makefile.am
Revert "cortex_m3: add auto maskisr"
[openocd] / 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         
38 # This file generates warnings, disabled for now, see also target.c
39 #       dsp5680xx.c
40
41 TARGET_CORE_SRC = \
42         algorithm.c \
43         register.c \
44         image.c \
45         breakpoints.c \
46         target.c \
47         target_request.c \
48         testee.c \
49         smp.c
50
51 ARMV4_5_SRC = \
52         armv4_5.c \
53         armv4_5_mmu.c \
54         armv4_5_cache.c \
55         $(ARM7_9_SRC)
56
57 ARM7_9_SRC = \
58         arm7_9_common.c \
59         arm7tdmi.c \
60         arm720t.c \
61         arm9tdmi.c \
62         arm920t.c \
63         arm966e.c \
64         arm946e.c \
65         arm926ejs.c \
66         feroceon.c
67
68 ARM_MISC_SRC = \
69         fa526.c \
70         xscale.c
71
72 ARMV6_SRC = \
73         arm11.c \
74         arm11_dbgtap.c
75
76 ARMV7_SRC = \
77         armv7m.c \
78         cortex_m3.c \
79         armv7a.c \
80         cortex_a.c
81
82 ARM_DEBUG_SRC = \
83         arm_dpm.c \
84         arm_jtag.c \
85         arm_disassembler.c \
86         arm_simulator.c \
87         arm_semihosting.c \
88         arm_adi_v5.c \
89         adi_v5_jtag.c \
90         adi_v5_swd.c \
91         embeddedice.c \
92         trace.c \
93         etb.c \
94         etm.c \
95         $(OOCD_TRACE_FILES) \
96         etm_dummy.c
97
98 AVR32_SRC = \
99         avr32_ap7k.c \
100         avr32_jtag.c \
101         avr32_mem.c \
102         avr32_regs.c
103
104 MIPS32_SRC = \
105         mips32.c \
106         mips_m4k.c \
107         mips32_pracc.c \
108         mips32_dmaacc.c \
109         mips_ejtag.c
110
111
112 noinst_HEADERS = \
113         algorithm.h \
114         arm.h \
115         arm_dpm.h \
116         arm_jtag.h \
117         arm_adi_v5.h \
118         arm_disassembler.h \
119         arm_opcodes.h \
120         arm_simulator.h \
121         arm_semihosting.h \
122         arm7_9_common.h \
123         arm7tdmi.h \
124         arm720t.h \
125         arm9tdmi.h \
126         arm920t.h \
127         arm926ejs.h \
128         arm966e.h \
129         arm946e.h \
130         arm11.h \
131         arm11_dbgtap.h \
132         armv4_5.h \
133         armv4_5_mmu.h \
134         armv4_5_cache.h \
135         armv7a.h \
136         armv7m.h \
137         avrt.h \
138         dsp563xx.h \
139         dsp563xx_once.h \
140         dsp5680xx.h \
141         breakpoints.h \
142         cortex_m3.h \
143         cortex_a.h \
144         embeddedice.h \
145         etb.h \
146         etm.h \
147         etm_dummy.h \
148         image.h \
149         mips32.h \
150         mips_m4k.h \
151         mips_ejtag.h \
152         mips32_pracc.h \
153         mips32_dmaacc.h \
154         oocd_trace.h \
155         register.h \
156         target.h \
157         target_type.h \
158         trace.h \
159         target_request.h \
160         trace.h \
161         xscale.h \
162         smp.h \
163         avr32_ap7k.h \
164         avr32_jtag.h \
165         avr32_mem.h \
166         avr32_regs.h
167
168 nobase_dist_pkglib_DATA =
169 nobase_dist_pkglib_DATA += ecos/at91eb40a.elf
170
171 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in