Makefile.am 2.31 KB
Newer Older
ntfreak's avatar
ntfreak committed
1
2
3
4
5
6
7

if OOCD_TRACE
OOCD_TRACE_FILES = oocd_trace.c
else
OOCD_TRACE_FILES =
endif

8
AM_CPPFLAGS = \
9
10
	-I$(top_srcdir)/src \
	-I$(top_builddir)/src
11

David Brownell's avatar
David Brownell committed
12
BIN2C		= $(top_builddir)/src/helper/bin2char$(EXEEXT_FOR_BUILD)
13

14
DEBUG_HANDLER	= $(srcdir)/xscale/debug_handler.bin
15
16
17
EXTRA_DIST = \
	startup.tcl \
	$(DEBUG_HANDLER)
18
19
20
21
22
23

DEBUG_HEADER	= xscale_debug.h
BUILT_SOURCES = $(DEBUG_HEADER)
CLEANFILES = $(DEBUG_HEADER)

$(DEBUG_HEADER): $(BIN2C) $(DEBUG_HANDLER)
David Brownell's avatar
David Brownell committed
24
	$(BIN2C) < $(DEBUG_HANDLER) xscale_debug_handler > xscale_debug.h
25

ntfreak's avatar
ntfreak committed
26
METASOURCES = AUTO
27
noinst_LTLIBRARIES = libtarget.la
28
libtarget_la_SOURCES = \
29
30
31
32
33
34
35
	$(TARGET_CORE_SRC) \
	$(ARM_DEBUG_SRC) \
	$(ARMV4_5_SRC) \
	$(ARMV6_SRC) \
	$(ARMV7_SRC) \
	$(ARM_MISC_SRC) \
	$(MIPS32_SRC) \
36
37
38
	avrt.c \
	dsp563xx.c \
	dsp563xx_once.c
39
40
41

TARGET_CORE_SRC = \
	algorithm.c \
42
	register.c \
43
	image.c \
44
	breakpoints.c \
45
	target.c \
Zachary T Welch's avatar
Zachary T Welch committed
46
47
	target_request.c \
	testee.c
48
49

ARMV4_5_SRC = \
50
	armv4_5.c \
51
52
53
54
55
56
	armv4_5_mmu.c \
	armv4_5_cache.c \
	$(ARM7_9_SRC)

ARM7_9_SRC = \
	arm7_9_common.c \
57
	arm7tdmi.c \
58
	arm720t.c \
59
60
61
	arm9tdmi.c \
	arm920t.c \
	arm966e.c \
62
63
	arm926ejs.c \
	feroceon.c
64
65

ARM_MISC_SRC = \
66
	fa526.c \
67
68
69
70
71
72
73
	xscale.c

ARMV6_SRC = \
	arm11.c \
	arm11_dbgtap.c

ARMV7_SRC = \
74
75
	armv7m.c \
	cortex_m3.c \
76
77
78
79
	armv7a.c \
	cortex_a8.c

ARM_DEBUG_SRC = \
David Brownell's avatar
David Brownell committed
80
	arm_dpm.c \
81
82
83
	arm_jtag.c \
	arm_disassembler.c \
	arm_simulator.c \
Nicolas Pitre's avatar
Nicolas Pitre committed
84
	arm_semihosting.c \
85
	arm_adi_v5.c \
86
	embeddedice.c \
87
	trace.c \
88
89
90
91
92
93
	etb.c \
	etm.c \
	$(OOCD_TRACE_FILES) \
	etm_dummy.c

MIPS32_SRC = \
94
95
96
97
	mips32.c \
	mips_m4k.c \
	mips32_pracc.c \
	mips32_dmaacc.c \
98
99
	mips_ejtag.c

100
101

noinst_HEADERS = \
102
	algorithm.h \
103
	arm.h \
David Brownell's avatar
David Brownell committed
104
	arm_dpm.h \
105
	arm_jtag.h \
106
107
108
	arm_adi_v5.h \
	arm_disassembler.h \
	arm_simulator.h \
Nicolas Pitre's avatar
Nicolas Pitre committed
109
	arm_semihosting.h \
110
	arm7_9_common.h \
111
	arm7tdmi.h \
112
	arm720t.h \
113
114
115
116
117
	arm9tdmi.h \
	arm920t.h \
	arm926ejs.h \
	arm966e.h \
	arm11.h \
118
	arm11_dbgtap.h \
119
	armv4_5.h \
120
121
	armv4_5_mmu.h \
	armv4_5_cache.h \
122
	armv7a.h \
123
124
	armv7m.h \
	avrt.h \
125
126
	dsp563xx.h \
	dsp563xx_once.h \
127
	breakpoints.h \
128
129
	cortex_m3.h \
	cortex_a8.h \
130
131
132
	embeddedice.h \
	etb.h \
	etm.h \
133
	etm_dummy.h \
134
	image.h \
135
136
137
138
139
	mips32.h \
	mips_m4k.h \
	mips_ejtag.h \
	mips32_pracc.h \
	mips32_dmaacc.h \
140
141
142
143
144
145
146
147
148
	oocd_trace.h \
	register.h \
	target.h \
	target_type.h \
	trace.h \
	target_request.h \
	trace.h \
	xscale.h \
	xscale_debug.h
ntfreak's avatar
ntfreak committed
149

150
151
nobase_dist_pkglib_DATA =
nobase_dist_pkglib_DATA += ecos/at91eb40a.elf
152

153
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in