source: rtems/c/src/lib/libcpu/powerpc/Makefile.am @ 8dcd7d10

4.104.114.84.95
Last change on this file since 8dcd7d10 was 8dcd7d10, checked in by Ralf Corsepius <ralf.corsepius@…>, on 05/11/05 at 06:43:43

Merge-in ppc403/Makefile.am.

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