1 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
2 | |
---|
3 | include $(top_srcdir)/../../../automake/compile.am |
---|
4 | |
---|
5 | EXTRA_DIST = |
---|
6 | |
---|
7 | noinst_PROGRAMS = |
---|
8 | |
---|
9 | EXTRA_DIST += ppc403/README ppc403/vectors/README |
---|
10 | if ppc4xx |
---|
11 | # ppc403/clock |
---|
12 | noinst_PROGRAMS += ppc403/clock.rel |
---|
13 | ppc403_clock_rel_SOURCES = ppc403/clock/clock.c |
---|
14 | ppc403_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
15 | ppc403_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
16 | |
---|
17 | # ppc403/console |
---|
18 | noinst_PROGRAMS += ppc403/console.rel |
---|
19 | if ppc405 |
---|
20 | ppc403_console_rel_SOURCES = ppc403/console/console405.c |
---|
21 | else |
---|
22 | ppc403_console_rel_SOURCES = ppc403/console/console.c |
---|
23 | endif |
---|
24 | ppc403_console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
25 | ppc403_console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
26 | |
---|
27 | # ppc403/timer |
---|
28 | noinst_PROGRAMS += ppc403/timer.rel |
---|
29 | ppc403_timer_rel_SOURCES = ppc403/timer/timer.c |
---|
30 | ppc403_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
31 | ppc403_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
32 | |
---|
33 | # ppc403/tty_drv |
---|
34 | if ppc405 |
---|
35 | noinst_PROGRAMS += ppc403/tty_drv.rel |
---|
36 | ppc403_tty_drv_rel_SOURCES = ppc403/tty_drv/tty_drv.c ppc403/tty_drv/tty_drv.h |
---|
37 | ppc403_tty_drv_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
38 | ppc403_tty_drv_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
39 | endif |
---|
40 | |
---|
41 | endif # ppc4xx |
---|
42 | |
---|
43 | if ppc405 |
---|
44 | |
---|
45 | ## ppc4xx/include |
---|
46 | endif # ppc405 |
---|
47 | |
---|
48 | |
---|
49 | ## mpc5xx |
---|
50 | EXTRA_DIST += mpc5xx/README |
---|
51 | if mpc5xx |
---|
52 | # mpc5xx/clock |
---|
53 | noinst_PROGRAMS += mpc5xx/clock.rel |
---|
54 | mpc5xx_clock_rel_SOURCES = mpc5xx/clock/clock.c |
---|
55 | mpc5xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
56 | mpc5xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
57 | |
---|
58 | # mpc5xx/console-generic |
---|
59 | noinst_PROGRAMS += mpc5xx/console-generic.rel |
---|
60 | mpc5xx_console_generic_rel_SOURCES = mpc5xx/console-generic/console-generic.c |
---|
61 | mpc5xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
62 | mpc5xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
63 | |
---|
64 | # mpc5xx/exceptions |
---|
65 | noinst_PROGRAMS += mpc5xx/exceptions.rel |
---|
66 | mpc5xx_exceptions_rel_SOURCES = mpc5xx/exceptions/raw_exception.c |
---|
67 | mpc5xx_exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
68 | mpc5xx_exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
69 | |
---|
70 | # mpc5xx/irq |
---|
71 | noinst_PROGRAMS += mpc5xx/irq.rel |
---|
72 | mpc5xx_irq_rel_SOURCES = mpc5xx/irq/irq.c mpc5xx/irq/irq_init.c mpc5xx/irq/irq_asm.S |
---|
73 | mpc5xx_irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
74 | mpc5xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
75 | |
---|
76 | # mpc5xx/timer |
---|
77 | noinst_PROGRAMS += mpc5xx/timer.rel |
---|
78 | mpc5xx_timer_rel_SOURCES = mpc5xx/timer/timer.c |
---|
79 | mpc5xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
80 | mpc5xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
81 | endif |
---|
82 | |
---|
83 | if mpc6xx |
---|
84 | |
---|
85 | # mpc6xx/mmu |
---|
86 | noinst_PROGRAMS += mpc6xx/mmu.rel |
---|
87 | mpc6xx_mmu_rel_SOURCES = mpc6xx/mmu/bat.c mpc6xx/mmu/bat.h \ |
---|
88 | mpc6xx/mmu/pte121.c mpc6xx/mmu/pte121.h \ |
---|
89 | mpc6xx/mmu/mmuAsm.S |
---|
90 | mpc6xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
91 | mpc6xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
92 | |
---|
93 | # mpc6xx/clock |
---|
94 | noinst_PROGRAMS += mpc6xx/clock.rel |
---|
95 | mpc6xx_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h |
---|
96 | mpc6xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
97 | mpc6xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
98 | |
---|
99 | # mpc6xx/timer |
---|
100 | noinst_PROGRAMS += mpc6xx/timer.rel |
---|
101 | mpc6xx_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
102 | mpc6xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
103 | mpc6xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
104 | |
---|
105 | # mpc6xx/altivec |
---|
106 | noinst_PROGRAMS += mpc6xx/altivec.rel |
---|
107 | mpc6xx_altivec_rel_SOURCES = mpc6xx/altivec/vec_sup.c mpc6xx/altivec/vec_sup_asm.S |
---|
108 | mpc6xx_altivec_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
109 | mpc6xx_altivec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
110 | endif |
---|
111 | EXTRA_DIST += mpc6xx/altivec/README |
---|
112 | |
---|
113 | # e500/clock |
---|
114 | if e500_clock |
---|
115 | noinst_PROGRAMS += e500/clock.rel |
---|
116 | e500_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h |
---|
117 | e500_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
118 | e500_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
119 | endif |
---|
120 | |
---|
121 | # e500/timer |
---|
122 | if e500_timer |
---|
123 | noinst_PROGRAMS += e500/timer.rel |
---|
124 | e500_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
125 | e500_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
126 | e500_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
127 | endif |
---|
128 | |
---|
129 | # e500/mmu |
---|
130 | if e500_mmu |
---|
131 | noinst_PROGRAMS += e500/mmu.rel |
---|
132 | e500_mmu_rel_SOURCES = e500/mmu/mmu.c e500/mmu/e500_mmu.h |
---|
133 | e500_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
134 | e500_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
135 | endif |
---|
136 | |
---|
137 | EXTRA_DIST += mpc8xx/README |
---|
138 | if mpc8xx |
---|
139 | # mpc8xx/clock |
---|
140 | noinst_PROGRAMS += mpc8xx/clock.rel |
---|
141 | mpc8xx_clock_rel_SOURCES = mpc8xx/clock/clock.c |
---|
142 | mpc8xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
143 | mpc8xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
144 | |
---|
145 | # mpc8xx/console-generic |
---|
146 | noinst_PROGRAMS += mpc8xx/console-generic.rel |
---|
147 | mpc8xx_console_generic_rel_SOURCES = mpc8xx/console-generic/console-generic.c |
---|
148 | mpc8xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
149 | mpc8xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
150 | |
---|
151 | # mpc8xx/cpm |
---|
152 | noinst_PROGRAMS += mpc8xx/cpm.rel |
---|
153 | mpc8xx_cpm_rel_SOURCES = mpc8xx/cpm/cp.c mpc8xx/cpm/dpram.c |
---|
154 | mpc8xx_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
155 | mpc8xx_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
156 | |
---|
157 | # mpc8xx/mmu |
---|
158 | noinst_PROGRAMS += mpc8xx/mmu.rel |
---|
159 | mpc8xx_mmu_rel_SOURCES = mpc8xx/mmu/mmu.c |
---|
160 | mpc8xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
161 | mpc8xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
162 | |
---|
163 | # mpc8xx/timer |
---|
164 | noinst_PROGRAMS += mpc8xx/timer.rel |
---|
165 | mpc8xx_timer_rel_SOURCES = mpc8xx/timer/timer.c |
---|
166 | mpc8xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
167 | mpc8xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
168 | endif |
---|
169 | |
---|
170 | EXTRA_DIST += mpc8260/README |
---|
171 | if mpc8260 |
---|
172 | # mpc8260/console-generic |
---|
173 | noinst_PROGRAMS += mpc8260/console-generic.rel |
---|
174 | mpc8260_console_generic_rel_SOURCES = mpc8260/console-generic/console-generic.c \ |
---|
175 | mpc8260/include/console.h |
---|
176 | mpc8260_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
177 | mpc8260_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
178 | |
---|
179 | # mpc8260/cpm |
---|
180 | noinst_PROGRAMS += mpc8260/cpm.rel |
---|
181 | mpc8260_cpm_rel_SOURCES = mpc8260/cpm/cp.c mpc8260/cpm/dpram.c mpc8260/cpm/brg.c \ |
---|
182 | mpc8260/include/cpm.h |
---|
183 | mpc8260_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
184 | mpc8260_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
185 | |
---|
186 | # mpc8260/mmu |
---|
187 | noinst_PROGRAMS += mpc8260/mmu.rel |
---|
188 | mpc8260_mmu_rel_SOURCES = mpc8260/mmu/mmu.c \ |
---|
189 | mpc8260/include/mmu.h |
---|
190 | mpc8260_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
191 | mpc8260_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
192 | |
---|
193 | # mpc8260/timer |
---|
194 | noinst_PROGRAMS += mpc8260/timer.rel |
---|
195 | mpc8260_timer_rel_SOURCES = mpc8260/timer/timer.c |
---|
196 | mpc8260_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
197 | mpc8260_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
198 | endif |
---|
199 | |
---|
200 | ############################################################################## |
---|
201 | # START: MPC83XX # |
---|
202 | ############################################################################## |
---|
203 | if mpc83xx |
---|
204 | |
---|
205 | # Includes |
---|
206 | |
---|
207 | # Network |
---|
208 | if HAS_NETWORKING |
---|
209 | noinst_PROGRAMS += mpc83xx/tsec.rel |
---|
210 | mpc83xx_tsec_rel_SOURCES = mpc83xx/network/tsec.c |
---|
211 | mpc83xx_tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
212 | endif |
---|
213 | |
---|
214 | # i2c |
---|
215 | noinst_PROGRAMS += mpc83xx/i2c.rel |
---|
216 | mpc83xx_i2c_rel_SOURCES = mpc83xx/i2c/mpc83xx_i2cdrv.c \ |
---|
217 | mpc83xx/i2c/mpc83xx_i2cdrv.h |
---|
218 | mpc83xx_i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
219 | |
---|
220 | # SPI |
---|
221 | noinst_PROGRAMS += mpc83xx/spi.rel |
---|
222 | mpc83xx_spi_rel_SOURCES = mpc83xx/spi/mpc83xx_spidrv.c \ |
---|
223 | mpc83xx/spi/mpc83xx_spidrv.h |
---|
224 | mpc83xx_spi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
225 | |
---|
226 | # GTM |
---|
227 | noinst_PROGRAMS += mpc83xx/gtm.rel |
---|
228 | mpc83xx_gtm_rel_SOURCES = mpc83xx/gtm/gtm.c \ |
---|
229 | mpc83xx/include/gtm.h |
---|
230 | mpc83xx_gtm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
231 | |
---|
232 | endif |
---|
233 | ############################################################################## |
---|
234 | # END: MPC83XX # |
---|
235 | ############################################################################## |
---|
236 | |
---|
237 | ############################################################################## |
---|
238 | # START: MPC55XX # |
---|
239 | ############################################################################## |
---|
240 | if mpc55xx |
---|
241 | |
---|
242 | # IRQ |
---|
243 | noinst_PROGRAMS += mpc55xx/irq.rel |
---|
244 | mpc55xx_irq_rel_SOURCES = mpc55xx/irq/irq.c |
---|
245 | mpc55xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
246 | |
---|
247 | # mpc6xx/timer |
---|
248 | noinst_PROGRAMS += mpc55xx/timer.rel |
---|
249 | mpc55xx_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
250 | mpc55xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
251 | mpc55xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
252 | |
---|
253 | # FEC |
---|
254 | noinst_PROGRAMS += mpc55xx/fec.rel |
---|
255 | mpc55xx_fec_rel_SOURCES = mpc55xx/fec/fec.c |
---|
256 | mpc55xx_fec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
257 | |
---|
258 | # eDMA |
---|
259 | noinst_PROGRAMS += mpc55xx/edma.rel |
---|
260 | mpc55xx_edma_rel_SOURCES = mpc55xx/edma/edma.c |
---|
261 | mpc55xx_edma_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
262 | |
---|
263 | # eMIOS |
---|
264 | noinst_PROGRAMS += mpc55xx/emios.rel |
---|
265 | mpc55xx_emios_rel_SOURCES = mpc55xx/emios/emios.c |
---|
266 | mpc55xx_emios_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
267 | |
---|
268 | # SIU |
---|
269 | noinst_PROGRAMS += mpc55xx/siu.rel |
---|
270 | mpc55xx_siu_rel_SOURCES = mpc55xx/siu/siu.c |
---|
271 | mpc55xx_siu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
272 | |
---|
273 | # DSPI |
---|
274 | noinst_PROGRAMS += mpc55xx/dspi.rel |
---|
275 | mpc55xx_dspi_rel_SOURCES = mpc55xx/dspi/dspi.c |
---|
276 | mpc55xx_dspi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
277 | |
---|
278 | # Misc |
---|
279 | noinst_PROGRAMS += mpc55xx/misc.rel |
---|
280 | mpc55xx_misc_rel_SOURCES = mpc55xx/misc/copy.S \ |
---|
281 | mpc55xx/misc/flash_support.c |
---|
282 | mpc55xx_misc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
283 | |
---|
284 | endif |
---|
285 | ############################################################################## |
---|
286 | # END: MPC55XX # |
---|
287 | ############################################################################## |
---|
288 | |
---|
289 | ############################################################################## |
---|
290 | # START: QorIQ # |
---|
291 | ############################################################################## |
---|
292 | if qoriq |
---|
293 | |
---|
294 | # Network |
---|
295 | if HAS_NETWORKING |
---|
296 | noinst_PROGRAMS += tsec.rel |
---|
297 | tsec_rel_SOURCES = mpc83xx/network/tsec.c |
---|
298 | tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
299 | endif |
---|
300 | |
---|
301 | endif |
---|
302 | ############################################################################## |
---|
303 | # END: QorIQ # |
---|
304 | ############################################################################## |
---|
305 | |
---|
306 | include $(top_srcdir)/../../../automake/local.am |
---|