Makefile.am 2.21 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
9
10
11
12
AM_CPPFLAGS = \
	-I$(top_srcdir)/src/helper \
	-I$(top_srcdir)/src/jtag \
	-I$(top_srcdir)/src/xsvf

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

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

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

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

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

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

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

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

ARM_MISC_SRC = \
64
	fa526.c \
65
	feroceon.c \
66
67
68
69
70
71
72
	xscale.c

ARMV6_SRC = \
	arm11.c \
	arm11_dbgtap.c

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

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

MIPS32_SRC = \
92
93
94
95
	mips32.c \
	mips_m4k.c \
	mips32_pracc.c \
	mips32_dmaacc.c \
96
97
	mips_ejtag.c

98
99

noinst_HEADERS = \
100
	algorithm.h \
David Brownell's avatar
David Brownell committed
101
	arm_dpm.h \
102
	arm_jtag.h \
103
104
105
	arm_adi_v5.h \
	arm_disassembler.h \
	arm_simulator.h \
106
	arm7_9_common.h \
107
	arm7tdmi.h \
108
	arm720t.h \
109
110
111
112
113
114
	arm9tdmi.h \
	arm920t.h \
	arm926ejs.h \
	arm966e.h \
	arm11.h \
	armv4_5.h \
115
116
	armv4_5_mmu.h \
	armv4_5_cache.h \
117
	armv7a.h \
118
119
120
	armv7m.h \
	avrt.h \
	breakpoints.h \
121
122
	cortex_m3.h \
	cortex_a8.h \
123
124
125
	embeddedice.h \
	etb.h \
	etm.h \
126
	etm_dummy.h \
127
	image.h \
128
129
130
131
132
	mips32.h \
	mips_m4k.h \
	mips_ejtag.h \
	mips32_pracc.h \
	mips32_dmaacc.h \
133
134
135
136
137
138
139
140
141
	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
142

143
144
nobase_dist_pkglib_DATA =
nobase_dist_pkglib_DATA += ecos/at91eb40a.elf
145

146
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in