source: rtems/c/src/lib/libcpu/powerpc/Makefile.am @ 7c5c667e

4.104.114.84.95
Last change on this file since 7c5c667e was 7c5c667e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/05/05 at 03:28:10

2005-08-05 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am: Unconditionally initialize include_libcpu_HEADERS.
  • Property mode set to 100644
File size: 10.5 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7include $(top_srcdir)/../../../automake/compile.am
8
9CLEANFILES =
10DISTCLEANFILES =
11
12include_rtems_powerpcdir = $(includedir)/rtems/powerpc
13include_rtems_powerpc_HEADERS = rtems/powerpc/cache.h \
14    rtems/powerpc/debugmod.h rtems/powerpc/powerpc.h
15
16include_rtems_scoredir = $(includedir)/rtems/score
17include_libcpudir = $(includedir)/libcpu
18
19include_libcpu_HEADERS =
20
21if OLD_EXCEPTIONS
22include_rtems_score_HEADERS = old-exceptions/rtems/score/ppc_offs.h
23
24EXTRA_DIST = old-exceptions/TODO old-exceptions/irq_stub.S \
25    old-exceptions/ppccache.c
26
27noinst_PROGRAMS = old-exceptions/rtems-cpu.rel
28old_exceptions_rtems_cpu_rel_SOURCES = old-exceptions/cpu.c \
29    old-exceptions/cpu_asm.S old-exceptions/rtems/score/ppc_offs.h
30old_exceptions_rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS) \
31    -I$(srcdir)/old-exceptions
32old_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
33else
34noinst_PROGRAMS = new-exceptions/rtems-cpu.rel
35new_exceptions_rtems_cpu_rel_SOURCES = new-exceptions/cpu.c \
36    new-exceptions/cpu_asm.S
37new_exceptions_rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS)
38new_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
39endif
40
41## shared/include
42if shared
43include_libcpu_HEADERS += shared/include/io.h shared/include/mmu.h shared/include/page.h \
44    shared/include/byteorder.h shared/include/pgtable.h
45
46noinst_PROGRAMS += shared/cpuIdent.rel
47shared_cpuIdent_rel_SOURCES = shared/include/cpuIdent.c shared/include/cpuIdent.h
48shared_cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS)
49shared_cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
50
51include_libcpu_HEADERS += shared/include/cpuIdent.h
52
53## shared/cache
54noinst_PROGRAMS += shared/cache.rel
55shared_cache_rel_SOURCES = shared/src/cache.c shared/src/cache_.h \
56    ../shared/src/cache_aligned_malloc.c ../shared/src/cache_manager.c \
57    ../shared/include/cache.h
58shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/src
59shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
60
61include_libcpu_HEADERS += ../shared/include/cache.h
62
63## shared/stack
64noinst_PROGRAMS += shared/stack.rel
65shared_stack_rel_SOURCES = shared/src/stack.c shared/include/spr.h shared/src/stackTrace.h
66shared_stack_rel_CPPFLAGS = $(AM_CPPFLAGS)
67shared_stack_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68
69include_libcpu_HEADERS += shared/include/spr.h
70include_libcpu_HEADERS += shared/src/stackTrace.h
71endif
72
73if ppc403
74## ppc403/clock
75noinst_PROGRAMS += ppc403/clock.rel
76ppc403_clock_rel_SOURCES = ppc403/clock/clock.c
77ppc403_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
78ppc403_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
79
80## ppc403/console
81noinst_PROGRAMS += ppc403/console.rel
82if ppc405
83ppc403_console_rel_SOURCES = ppc403/console/console405.c
84else
85ppc403_console_rel_SOURCES = ppc403/console/console.c
86endif
87ppc403_console_rel_CPPFLAGS = $(AM_CPPFLAGS)
88ppc403_console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
89
90## ppc403/ictrl
91include_HEADERS = ppc403/ictrl/ictrl.h
92
93noinst_PROGRAMS += ppc403/ictrl.rel
94ppc403_ictrl_rel_SOURCES = ppc403/ictrl/ictrl.c ppc403/ictrl/ictrl.h
95ppc403_ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS)
96ppc403_ictrl_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
97
98## ppc403/timer
99noinst_PROGRAMS += ppc403/timer.rel
100ppc403_timer_rel_SOURCES = ppc403/timer/timer.c
101ppc403_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
102ppc403_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
103
104## ppc403/tty_drv
105if ppc405
106include_HEADERS += ppc403/tty_drv/tty_drv.h
107
108noinst_PROGRAMS += ppc403/tty_drv.rel
109ppc403_tty_drv_rel_SOURCES = ppc403/tty_drv/tty_drv.c ppc403/tty_drv/tty_drv.h
110ppc403_tty_drv_rel_CPPFLAGS = $(AM_CPPFLAGS)
111ppc403_tty_drv_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
112endif
113
114## ppc403/vectors
115noinst_PROGRAMS += ppc403/vectors.rel
116ppc403_vectors_rel_SOURCES = ppc403/vectors/vectors.S ppc403/vectors/align_h.S
117ppc403_vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
118ppc403_vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
119endif
120
121if mpc5xx
122include_mpc5xxdir = $(includedir)/mpc5xx
123
124include_HEADERS = mpc5xx/include/mpc5xx.h
125
126## mpc5xx/clock
127noinst_PROGRAMS += mpc5xx/clock.rel
128mpc5xx_clock_rel_SOURCES = mpc5xx/clock/clock.c
129mpc5xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
130mpc5xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
131
132## mpc5xx/console-generic
133include_mpc5xx_HEADERS = mpc5xx/include/console.h
134
135noinst_PROGRAMS += mpc5xx/console-generic.rel
136mpc5xx_console_generic_rel_SOURCES = mpc5xx/console-generic/console-generic.c
137mpc5xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS)
138mpc5xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
139
140## mpc5xx/exceptions
141include_libcpu_HEADERS += mpc5xx/exceptions/raw_exception.h
142
143noinst_PROGRAMS += mpc5xx/exceptions.rel
144mpc5xx_exceptions_rel_SOURCES = mpc5xx/exceptions/raw_exception.c
145mpc5xx_exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS)
146mpc5xx_exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
147
148## mpc5xx/irq
149include_libcpu_HEADERS += mpc5xx/irq/irq.h
150
151noinst_PROGRAMS += mpc5xx/irq.rel
152mpc5xx_irq_rel_SOURCES = mpc5xx/irq/irq.c mpc5xx/irq/irq_init.c mpc5xx/irq/irq_asm.S
153mpc5xx_irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
154mpc5xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
155
156## mpc5xx/timer
157noinst_PROGRAMS += mpc5xx/timer.rel
158mpc5xx_timer_rel_SOURCES = mpc5xx/timer/timer.c
159mpc5xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
160mpc5xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
161
162## mpc5xx/vectors
163include_libcpu_HEADERS += mpc5xx/vectors/vectors.h
164
165noinst_PROGRAMS += mpc5xx/vectors.rel
166mpc5xx_vectors_rel_SOURCES = mpc5xx/vectors/vectors_init.c mpc5xx/vectors/vectors.S
167mpc5xx_vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
168mpc5xx_vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
169endif
170
171if mpc505
172## mpc505/ictrl
173include_HEADERS = mpc505/ictrl/ictrl.h
174
175noinst_PROGRAMS += mpc505/ictrl.rel
176mpc505_ictrl_rel_SOURCES = mpc505/ictrl/ictrl.c
177mpc505_ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS)
178mpc505_ictrl_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
179
180## mpc505/timer
181noinst_PROGRAMS += mpc505/timer.rel
182mpc505_timer_rel_SOURCES = mpc505/timer/timer.c
183mpc505_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
184mpc505_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
185
186## mpc505/vector
187noinst_PROGRAMS += mpc505/vectors.rel
188mpc505_vectors_rel_SOURCES = mpc505/vectors/vectors.S
189mpc505_vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
190mpc505_vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
191endif
192
193if mpc6xx
194include_libcpu_HEADERS += mpc6xx/exceptions/raw_exception.h
195
196## mpc6xx/exceptions
197noinst_PROGRAMS += mpc6xx/exceptions.rel
198mpc6xx_exceptions_rel_SOURCES = mpc6xx/exceptions/raw_exception.c \
199    mpc6xx/exceptions/asm_utils.S
200mpc6xx_exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS)
201mpc6xx_exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
202
203## mpc6xx/mmu
204include_libcpu_HEADERS += mpc6xx/mmu/bat.h mpc6xx/mmu/pte121.h
205
206noinst_PROGRAMS += mpc6xx/mmu.rel
207mpc6xx_mmu_rel_SOURCES = mpc6xx/mmu/bat.c mpc6xx/mmu/bat.h \
208    mpc6xx/mmu/pte121.c mpc6xx/mmu/pte121.h \
209    mpc6xx/mmu/mmuAsm.S
210mpc6xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS)
211mpc6xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
212
213## mpc6xx/clock
214include_libcpu_HEADERS += mpc6xx/clock/c_clock.h
215
216noinst_PROGRAMS += mpc6xx/clock.rel
217mpc6xx_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h
218mpc6xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
219mpc6xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
220
221## mpc6xx/timer
222noinst_PROGRAMS += mpc6xx/timer.rel
223mpc6xx_timer_rel_SOURCES = mpc6xx/timer/timer.c
224mpc6xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
225mpc6xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
226endif
227
228if mpc8xx
229include_mpc8xxdir = $(includedir)/mpc8xx
230
231include_HEADERS = mpc8xx/include/mpc8xx.h
232
233## mpc8xx/clock
234noinst_PROGRAMS += mpc8xx/clock.rel
235mpc8xx_clock_rel_SOURCES = mpc8xx/clock/clock.c
236mpc8xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
237mpc8xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
238
239## mpc8xx/console-generic
240include_mpc8xx_HEADERS = mpc8xx/include/console.h
241
242noinst_PROGRAMS += mpc8xx/console-generic.rel
243mpc8xx_console_generic_rel_SOURCES = mpc8xx/console-generic/console-generic.c
244mpc8xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS)
245mpc8xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
246
247## mpc8xx/cpm
248include_mpc8xx_HEADERS += mpc8xx/include/cpm.h
249
250noinst_PROGRAMS += mpc8xx/cpm.rel
251mpc8xx_cpm_rel_SOURCES = mpc8xx/cpm/cp.c mpc8xx/cpm/dpram.c
252mpc8xx_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS)
253mpc8xx_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
254
255## mpc8xx/exceptions
256include_libcpu_HEADERS += mpc8xx/exceptions/raw_exception.h
257
258noinst_PROGRAMS += mpc8xx/exceptions.rel
259mpc8xx_exceptions_rel_SOURCES = mpc8xx/exceptions/raw_exception.c \
260    mpc8xx/exceptions/asm_utils.S
261mpc8xx_exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS)
262mpc8xx_exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
263
264## mpc8xx/mmu
265include_mpc8xx_HEADERS += mpc8xx/include/mmu.h
266
267noinst_PROGRAMS += mpc8xx/mmu.rel
268mpc8xx_mmu_rel_SOURCES = mpc8xx/mmu/mmu.c
269mpc8xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS)
270mpc8xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
271
272## mpc8xx/timer
273noinst_PROGRAMS += mpc8xx/timer.rel
274mpc8xx_timer_rel_SOURCES = mpc8xx/timer/timer.c
275mpc8xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
276mpc8xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
277endif
278
279if mpc8260
280include_mpc8260dir = $(includedir)/mpc8260
281
282include_HEADERS = mpc8260/include/mpc8260.h
283
284## mpc8260/console-generic
285include_mpc8260_HEADERS = mpc8260/include/console.h
286
287noinst_PROGRAMS += mpc8260/console-generic.rel
288mpc8260_console_generic_rel_SOURCES = mpc8260/console-generic/console-generic.c \
289    mpc8260/include/console.h
290mpc8260_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS)
291mpc8260_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
292
293## mpc8260/clock
294noinst_PROGRAMS += mpc8260/clock.rel
295mpc8260_clock_rel_SOURCES = mpc8260/clock/clock.c
296mpc8260_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
297mpc8260_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
298
299## mpc8260/cpm
300include_mpc8260_HEADERS += mpc8260/include/cpm.h
301
302noinst_PROGRAMS += mpc8260/cpm.rel
303mpc8260_cpm_rel_SOURCES = mpc8260/cpm/cp.c mpc8260/cpm/dpram.c mpc8260/cpm/brg.c \
304    mpc8260/include/cpm.h
305mpc8260_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS)
306mpc8260_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
307
308## mpc8260/exceptions
309include_libcpu_HEADERS += mpc8260/exceptions/raw_exception.h
310
311noinst_PROGRAMS += mpc8260/exceptions.rel
312mpc8260_exceptions_rel_SOURCES = mpc8260/exceptions/raw_exception.c \
313    mpc8260/exceptions/asm_utils.S \
314    mpc8260/exceptions/raw_exception.h
315mpc8260_exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS)
316mpc8260_exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
317
318## mpc8260/mmu
319include_mpc8260_HEADERS += mpc8260/include/mmu.h
320
321noinst_PROGRAMS += mpc8260/mmu.rel
322mpc8260_mmu_rel_SOURCES = mpc8260/mmu/mmu.c mpc8260/include/mmu.h
323mpc8260_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS)
324mpc8260_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
325
326## mpc8260/timer
327noinst_PROGRAMS += mpc8260/timer.rel
328mpc8260_timer_rel_SOURCES = mpc8260/timer/timer.c
329mpc8260_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
330mpc8260_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
331endif
332
333all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
334
335include $(srcdir)/preinstall.am
336
337include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.