1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../automake/compile.am |
---|
8 | |
---|
9 | include_rtems_powerpcdir = $(includedir)/rtems/powerpc |
---|
10 | include_rtems_powerpc_HEADERS = rtems/powerpc/cache.h \ |
---|
11 | rtems/powerpc/debugmod.h rtems/powerpc/powerpc.h |
---|
12 | |
---|
13 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
14 | include_libcpudir = $(includedir)/libcpu |
---|
15 | |
---|
16 | include_libcpu_HEADERS = |
---|
17 | |
---|
18 | EXTRA_DIST = old-exceptions/TODO old-exceptions/README |
---|
19 | EXTRA_DIST += old-exceptions/irq_stub.S old-exceptions/ppccache.c |
---|
20 | if OLD_EXCEPTIONS |
---|
21 | include_rtems_score_HEADERS = old-exceptions/rtems/score/ppc_offs.h |
---|
22 | |
---|
23 | noinst_PROGRAMS = old-exceptions/rtems-cpu.rel |
---|
24 | old_exceptions_rtems_cpu_rel_SOURCES = old-exceptions/cpu.c \ |
---|
25 | old-exceptions/cpu_asm.S old-exceptions/rtems/score/ppc_offs.h |
---|
26 | old_exceptions_rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
27 | -I$(srcdir)/old-exceptions |
---|
28 | old_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
29 | else |
---|
30 | noinst_PROGRAMS = new-exceptions/rtems-cpu.rel |
---|
31 | new_exceptions_rtems_cpu_rel_SOURCES = new-exceptions/cpu.c \ |
---|
32 | new-exceptions/cpu_asm.S |
---|
33 | new_exceptions_rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
34 | new_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
35 | |
---|
36 | |
---|
37 | if !mpc5xx |
---|
38 | include_libcpu_HEADERS += new-exceptions/raw_exception.h |
---|
39 | noinst_PROGRAMS += new-exceptions/raw_exception.rel |
---|
40 | new_exceptions_raw_exception_rel_SOURCES = new-exceptions/raw_exception.c \ |
---|
41 | new-exceptions/asm_utils.S \ |
---|
42 | new-exceptions/e500_raw_exc_init.c |
---|
43 | new_exceptions_raw_exception_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
44 | new_exceptions_raw_exception_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
45 | |
---|
46 | noinst_PROGRAMS += new-exceptions/exc_bspsupport.rel |
---|
47 | new_exceptions_exc_bspsupport_rel_SOURCES = \ |
---|
48 | new-exceptions/bspsupport/ppc_exc.S \ |
---|
49 | new-exceptions/bspsupport/ppc_exc_hdl.c \ |
---|
50 | new-exceptions/bspsupport/irq.c \ |
---|
51 | new-exceptions/bspsupport/vectors_init.c |
---|
52 | new_exceptions_exc_bspsupport_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
53 | new_exceptions_exc_bspsupport_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
54 | endif |
---|
55 | endif |
---|
56 | EXTRA_DIST += new-exceptions/bspsupport/vectors.h |
---|
57 | EXTRA_DIST += new-exceptions/bspsupport/irq_supp.h |
---|
58 | EXTRA_DIST += new-exceptions/bspsupport/ppc_exc_bspsupp.h |
---|
59 | EXTRA_DIST += new-exceptions/bspsupport/README |
---|
60 | EXTRA_DIST += new-exceptions/bspsupport/nest_irq_test.c |
---|
61 | EXTRA_DIST += new-exceptions/bspsupport/ppc_exc_test.c |
---|
62 | |
---|
63 | ## shared/include |
---|
64 | if shared |
---|
65 | include_libcpu_HEADERS += shared/include/io.h shared/include/mmu.h shared/include/page.h \ |
---|
66 | shared/include/byteorder.h shared/include/pgtable.h |
---|
67 | |
---|
68 | noinst_PROGRAMS += shared/cpuIdent.rel |
---|
69 | shared_cpuIdent_rel_SOURCES = shared/include/cpuIdent.c shared/include/cpuIdent.h |
---|
70 | shared_cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
71 | shared_cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
72 | |
---|
73 | include_libcpu_HEADERS += shared/include/cpuIdent.h |
---|
74 | |
---|
75 | ## shared/cache |
---|
76 | noinst_PROGRAMS += shared/cache.rel |
---|
77 | shared_cache_rel_SOURCES = shared/src/cache.c shared/src/cache_.h \ |
---|
78 | ../shared/src/cache_aligned_malloc.c ../shared/src/cache_manager.c \ |
---|
79 | ../shared/include/cache.h |
---|
80 | shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/src |
---|
81 | shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
82 | |
---|
83 | include_libcpu_HEADERS += ../shared/include/cache.h |
---|
84 | |
---|
85 | ## shared/stack |
---|
86 | noinst_PROGRAMS += shared/stack.rel |
---|
87 | shared_stack_rel_SOURCES = shared/src/stack.c shared/include/spr.h shared/src/stackTrace.h |
---|
88 | shared_stack_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
89 | shared_stack_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
90 | |
---|
91 | include_libcpu_HEADERS += shared/include/spr.h |
---|
92 | include_libcpu_HEADERS += shared/src/stackTrace.h |
---|
93 | endif |
---|
94 | |
---|
95 | EXTRA_DIST += ppc403/README ppc403/vectors/README |
---|
96 | if ppc403 |
---|
97 | ## ppc403/clock |
---|
98 | noinst_PROGRAMS += ppc403/clock.rel |
---|
99 | ppc403_clock_rel_SOURCES = ppc403/clock/clock.c |
---|
100 | ppc403_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
101 | ppc403_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
102 | |
---|
103 | ## ppc403/console |
---|
104 | noinst_PROGRAMS += ppc403/console.rel |
---|
105 | if ppc405 |
---|
106 | ppc403_console_rel_SOURCES = ppc403/console/console405.c |
---|
107 | else |
---|
108 | ppc403_console_rel_SOURCES = ppc403/console/console.c |
---|
109 | endif |
---|
110 | ppc403_console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
111 | ppc403_console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
112 | |
---|
113 | if OLD_EXCEPTIONS |
---|
114 | ## ppc403/ictrl |
---|
115 | include_HEADERS = ppc403/ictrl/ictrl.h |
---|
116 | else |
---|
117 | include_HEADERS = |
---|
118 | shared_cpuIdent_rel_SOURCES = shared/include/cpuIdent.c |
---|
119 | shared_cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
120 | shared_cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
121 | |
---|
122 | endif |
---|
123 | |
---|
124 | if OLD_EXCEPTIONS |
---|
125 | noinst_PROGRAMS += ppc403/ictrl.rel |
---|
126 | ppc403_ictrl_rel_SOURCES = ppc403/ictrl/ictrl.c ppc403/ictrl/ictrl.h |
---|
127 | ppc403_ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
128 | ppc403_ictrl_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
129 | endif |
---|
130 | |
---|
131 | ## ppc403/timer |
---|
132 | noinst_PROGRAMS += ppc403/timer.rel |
---|
133 | ppc403_timer_rel_SOURCES = ppc403/timer/timer.c |
---|
134 | ppc403_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
135 | ppc403_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
136 | |
---|
137 | ## ppc403/tty_drv |
---|
138 | if ppc405 |
---|
139 | include_HEADERS += ppc403/tty_drv/tty_drv.h |
---|
140 | |
---|
141 | noinst_PROGRAMS += ppc403/tty_drv.rel |
---|
142 | ppc403_tty_drv_rel_SOURCES = ppc403/tty_drv/tty_drv.c ppc403/tty_drv/tty_drv.h |
---|
143 | ppc403_tty_drv_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
144 | ppc403_tty_drv_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
145 | endif |
---|
146 | |
---|
147 | if OLD_EXCEPTIONS |
---|
148 | ## ppc403/vectors |
---|
149 | noinst_PROGRAMS += ppc403/vectors.rel |
---|
150 | ppc403_vectors_rel_SOURCES = ppc403/vectors/vectors.S ppc403/vectors/align_h.S |
---|
151 | ppc403_vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
152 | ppc403_vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
153 | endif |
---|
154 | endif |
---|
155 | |
---|
156 | EXTRA_DIST += mpc5xx/README |
---|
157 | if mpc5xx |
---|
158 | include_mpc5xxdir = $(includedir)/mpc5xx |
---|
159 | |
---|
160 | include_HEADERS = mpc5xx/include/mpc5xx.h |
---|
161 | |
---|
162 | ## mpc5xx/clock |
---|
163 | noinst_PROGRAMS += mpc5xx/clock.rel |
---|
164 | mpc5xx_clock_rel_SOURCES = mpc5xx/clock/clock.c |
---|
165 | mpc5xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
166 | mpc5xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
167 | |
---|
168 | ## mpc5xx/console-generic |
---|
169 | include_mpc5xx_HEADERS = mpc5xx/include/console.h |
---|
170 | |
---|
171 | noinst_PROGRAMS += mpc5xx/console-generic.rel |
---|
172 | mpc5xx_console_generic_rel_SOURCES = mpc5xx/console-generic/console-generic.c |
---|
173 | mpc5xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
174 | mpc5xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
175 | |
---|
176 | ## mpc5xx/exceptions |
---|
177 | include_libcpu_HEADERS += mpc5xx/exceptions/raw_exception.h |
---|
178 | |
---|
179 | noinst_PROGRAMS += mpc5xx/exceptions.rel |
---|
180 | mpc5xx_exceptions_rel_SOURCES = mpc5xx/exceptions/raw_exception.c |
---|
181 | mpc5xx_exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
182 | mpc5xx_exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
183 | |
---|
184 | ## mpc5xx/irq |
---|
185 | include_libcpu_HEADERS += mpc5xx/irq/irq.h |
---|
186 | |
---|
187 | noinst_PROGRAMS += mpc5xx/irq.rel |
---|
188 | mpc5xx_irq_rel_SOURCES = mpc5xx/irq/irq.c mpc5xx/irq/irq_init.c mpc5xx/irq/irq_asm.S |
---|
189 | mpc5xx_irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
190 | mpc5xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
191 | |
---|
192 | ## mpc5xx/timer |
---|
193 | noinst_PROGRAMS += mpc5xx/timer.rel |
---|
194 | mpc5xx_timer_rel_SOURCES = mpc5xx/timer/timer.c |
---|
195 | mpc5xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
196 | mpc5xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
197 | |
---|
198 | ## mpc5xx/vectors |
---|
199 | include_libcpu_HEADERS += mpc5xx/vectors/vectors.h |
---|
200 | |
---|
201 | noinst_PROGRAMS += mpc5xx/vectors.rel |
---|
202 | mpc5xx_vectors_rel_SOURCES = mpc5xx/vectors/vectors_init.c mpc5xx/vectors/vectors.S |
---|
203 | mpc5xx_vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
204 | mpc5xx_vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
205 | endif |
---|
206 | |
---|
207 | if mpc505 |
---|
208 | ## mpc505/ictrl |
---|
209 | include_HEADERS = mpc505/ictrl/ictrl.h |
---|
210 | |
---|
211 | noinst_PROGRAMS += mpc505/ictrl.rel |
---|
212 | mpc505_ictrl_rel_SOURCES = mpc505/ictrl/ictrl.c |
---|
213 | mpc505_ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
214 | mpc505_ictrl_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
215 | |
---|
216 | ## mpc505/timer |
---|
217 | noinst_PROGRAMS += mpc505/timer.rel |
---|
218 | mpc505_timer_rel_SOURCES = mpc505/timer/timer.c |
---|
219 | mpc505_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
220 | mpc505_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
221 | |
---|
222 | ## mpc505/vector |
---|
223 | noinst_PROGRAMS += mpc505/vectors.rel |
---|
224 | mpc505_vectors_rel_SOURCES = mpc505/vectors/vectors.S |
---|
225 | mpc505_vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
226 | mpc505_vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
227 | endif |
---|
228 | |
---|
229 | if mpc6xx |
---|
230 | |
---|
231 | ## mpc6xx/mmu |
---|
232 | include_libcpu_HEADERS += mpc6xx/mmu/bat.h mpc6xx/mmu/pte121.h |
---|
233 | |
---|
234 | noinst_PROGRAMS += mpc6xx/mmu.rel |
---|
235 | mpc6xx_mmu_rel_SOURCES = mpc6xx/mmu/bat.c mpc6xx/mmu/bat.h \ |
---|
236 | mpc6xx/mmu/pte121.c mpc6xx/mmu/pte121.h \ |
---|
237 | mpc6xx/mmu/mmuAsm.S |
---|
238 | mpc6xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
239 | mpc6xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
240 | |
---|
241 | ## mpc6xx/clock |
---|
242 | include_libcpu_HEADERS += mpc6xx/clock/c_clock.h |
---|
243 | |
---|
244 | noinst_PROGRAMS += mpc6xx/clock.rel |
---|
245 | mpc6xx_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h |
---|
246 | mpc6xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
247 | mpc6xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
248 | |
---|
249 | ## mpc6xx/timer |
---|
250 | noinst_PROGRAMS += mpc6xx/timer.rel |
---|
251 | mpc6xx_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
252 | mpc6xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
253 | mpc6xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
254 | endif |
---|
255 | |
---|
256 | if e500 |
---|
257 | ## mpc6xx/clock |
---|
258 | include_libcpu_HEADERS += mpc6xx/clock/c_clock.h |
---|
259 | |
---|
260 | noinst_PROGRAMS += e500/clock.rel |
---|
261 | e500_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h |
---|
262 | e500_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
263 | e500_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
264 | |
---|
265 | ## mpc6xx/timer |
---|
266 | noinst_PROGRAMS += e500/timer.rel |
---|
267 | e500_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
268 | e500_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
269 | e500_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
270 | endif |
---|
271 | |
---|
272 | EXTRA_DIST += mpc8xx/README |
---|
273 | if mpc8xx |
---|
274 | include_mpc8xxdir = $(includedir)/mpc8xx |
---|
275 | |
---|
276 | include_HEADERS = mpc8xx/include/mpc8xx.h |
---|
277 | |
---|
278 | ## mpc8xx/clock |
---|
279 | noinst_PROGRAMS += mpc8xx/clock.rel |
---|
280 | mpc8xx_clock_rel_SOURCES = mpc8xx/clock/clock.c |
---|
281 | mpc8xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
282 | mpc8xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
283 | |
---|
284 | ## mpc8xx/console-generic |
---|
285 | include_mpc8xx_HEADERS = mpc8xx/include/console.h |
---|
286 | |
---|
287 | noinst_PROGRAMS += mpc8xx/console-generic.rel |
---|
288 | mpc8xx_console_generic_rel_SOURCES = mpc8xx/console-generic/console-generic.c |
---|
289 | mpc8xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
290 | mpc8xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
291 | |
---|
292 | ## mpc8xx/cpm |
---|
293 | include_mpc8xx_HEADERS += mpc8xx/include/cpm.h |
---|
294 | |
---|
295 | noinst_PROGRAMS += mpc8xx/cpm.rel |
---|
296 | mpc8xx_cpm_rel_SOURCES = mpc8xx/cpm/cp.c mpc8xx/cpm/dpram.c |
---|
297 | mpc8xx_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
298 | mpc8xx_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
299 | |
---|
300 | ## mpc8xx/mmu |
---|
301 | include_mpc8xx_HEADERS += mpc8xx/include/mmu.h |
---|
302 | |
---|
303 | noinst_PROGRAMS += mpc8xx/mmu.rel |
---|
304 | mpc8xx_mmu_rel_SOURCES = mpc8xx/mmu/mmu.c |
---|
305 | mpc8xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
306 | mpc8xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
307 | |
---|
308 | ## mpc8xx/timer |
---|
309 | noinst_PROGRAMS += mpc8xx/timer.rel |
---|
310 | mpc8xx_timer_rel_SOURCES = mpc8xx/timer/timer.c |
---|
311 | mpc8xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
312 | mpc8xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
313 | endif |
---|
314 | |
---|
315 | EXTRA_DIST += mpc8260/README |
---|
316 | if mpc8260 |
---|
317 | include_mpc8260dir = $(includedir)/mpc8260 |
---|
318 | |
---|
319 | include_HEADERS = mpc8260/include/mpc8260.h |
---|
320 | |
---|
321 | ## mpc8260/console-generic |
---|
322 | include_mpc8260_HEADERS = mpc8260/include/console.h |
---|
323 | |
---|
324 | noinst_PROGRAMS += mpc8260/console-generic.rel |
---|
325 | mpc8260_console_generic_rel_SOURCES = mpc8260/console-generic/console-generic.c \ |
---|
326 | mpc8260/include/console.h |
---|
327 | mpc8260_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
328 | mpc8260_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
329 | |
---|
330 | ## mpc8260/clock |
---|
331 | noinst_PROGRAMS += mpc8260/clock.rel |
---|
332 | mpc8260_clock_rel_SOURCES = mpc8260/clock/clock.c |
---|
333 | mpc8260_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
334 | mpc8260_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
335 | |
---|
336 | ## mpc8260/cpm |
---|
337 | include_mpc8260_HEADERS += mpc8260/include/cpm.h |
---|
338 | |
---|
339 | noinst_PROGRAMS += mpc8260/cpm.rel |
---|
340 | mpc8260_cpm_rel_SOURCES = mpc8260/cpm/cp.c mpc8260/cpm/dpram.c mpc8260/cpm/brg.c \ |
---|
341 | mpc8260/include/cpm.h |
---|
342 | mpc8260_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
343 | mpc8260_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
344 | |
---|
345 | ## mpc8260/mmu |
---|
346 | include_mpc8260_HEADERS += mpc8260/include/mmu.h |
---|
347 | |
---|
348 | noinst_PROGRAMS += mpc8260/mmu.rel |
---|
349 | mpc8260_mmu_rel_SOURCES = mpc8260/mmu/mmu.c \ |
---|
350 | mpc8260/include/mmu.h |
---|
351 | mpc8260_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
352 | mpc8260_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
353 | |
---|
354 | ## mpc8260/timer |
---|
355 | noinst_PROGRAMS += mpc8260/timer.rel |
---|
356 | mpc8260_timer_rel_SOURCES = mpc8260/timer/timer.c |
---|
357 | mpc8260_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
358 | mpc8260_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
359 | endif |
---|
360 | |
---|
361 | if mpc83xx |
---|
362 | include_mpc83xxdir = $(includedir)/mpc83xx |
---|
363 | include_mpc83xx_HEADERS = mpc83xx/include/mpc83xx.h |
---|
364 | include_mpc83xx_HEADERS += mpc83xx/network/tsec.h |
---|
365 | |
---|
366 | ## mpc83xx/network |
---|
367 | if HAS_NETWORKING |
---|
368 | noinst_PROGRAMS += mpc83xx/tsec.rel |
---|
369 | mpc83xx_tsec_rel_SOURCES = mpc83xx/network/tsec.c |
---|
370 | mpc83xx_tsec_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
371 | mpc83xx_tsec_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE |
---|
372 | mpc83xx_tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
373 | endif |
---|
374 | ## mpc83xx/i2c |
---|
375 | include_mpc83xx_HEADERS += mpc83xx/i2c/mpc83xx_i2cdrv.h |
---|
376 | noinst_PROGRAMS += mpc83xx/i2c.rel |
---|
377 | mpc83xx_i2c_rel_SOURCES = mpc83xx/i2c/mpc83xx_i2cdrv.c \ |
---|
378 | mpc83xx/i2c/mpc83xx_i2cdrv.h |
---|
379 | mpc83xx_i2c_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
380 | mpc83xx_i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
381 | |
---|
382 | ## mpc83xx/spi |
---|
383 | include_mpc83xx_HEADERS += mpc83xx/spi/mpc83xx_spidrv.h |
---|
384 | noinst_PROGRAMS += mpc83xx/spi.rel |
---|
385 | mpc83xx_spi_rel_SOURCES = mpc83xx/spi/mpc83xx_spidrv.c \ |
---|
386 | mpc83xx/spi/mpc83xx_spidrv.h |
---|
387 | mpc83xx_spi_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
388 | mpc83xx_spi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
389 | |
---|
390 | endif |
---|
391 | |
---|
392 | include $(srcdir)/preinstall.am |
---|
393 | include $(top_srcdir)/../../../automake/local.am |
---|