source: rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am @ de2582f

4.104.114.84.95
Last change on this file since de2582f was de2582f, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 21, 2004 at 8:26:38 AM

2004-10-21 Ralf Corsepius <ralf_corsepius@…>

  • configure.ac: Adaptations to rtems-4.7.
  • Makefile.am, wrapup/Makefile.am: Reworked.
  • Property mode set to 100644
File size: 12.0 KB
Line 
1##
2## Makefile.am,v 1.8.4.1 2003/02/20 21:55:34 joel Exp
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7# wrapup is the one that actually builds and installs the library
8#  from the individual .rel files built in other directories
9SUBDIRS = . @exceptions@ wrapup
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14dist_project_lib_DATA = bsp_specs
15
16include_HEADERS = include/bsp.h
17include_HEADERS += include/tm27.h
18nodist_include_HEADERS = include/bspopts.h
19
20EXTRA_PROGRAMS =
21CLEANFILES =
22noinst_DATA =
23
24include_bspdir = $(includedir)/bsp
25
26###
27dist_project_lib_DATA += startup/linkcmds
28
29# UNUSED
30EXTRA_DIST = startup/bootpstuff.c
31
32EXTRA_PROGRAMS += startup.rel
33CLEANFILES += startup.rel
34startup_rel_SOURCES = startup/bspstart.c \
35    ../../powerpc/shared/startup/pgtbl_setup.c startup/pgtbl_activate.c \
36    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
37    startup/bspclean.c ../../shared/bsplibc.c ../../shared/bsppost.c \
38    ../../shared/main.c ../../shared/gnatinstallhandler.c startup/reboot.c
39startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
40startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42EXTRA_PROGRAMS += startup_g.rel
43CLEANFILES += startup_g.rel
44startup_g_rel_SOURCES = $(startup_rel_SOURCES)
45startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
46startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48noinst_DATA += startup$(LIB_VARIANT).rel
49
50###
51EXTRA_PROGRAMS += pclock.rel
52CLEANFILES += pclock.rel
53pclock_rel_SOURCES = ../../powerpc/shared/clock/p_clock.c
54pclock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
55pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56
57EXTRA_PROGRAMS += pclock_g.rel
58CLEANFILES += pclock_g.rel
59pclock_g_rel_SOURCES = $(pclock_rel_SOURCES)
60pclock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
61pclock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62
63noinst_DATA += pclock$(LIB_VARIANT).rel
64
65###
66include_bsp_HEADERS = ../../powerpc/shared/console/uart.h
67
68EXTRA_PROGRAMS += console.rel
69CLEANFILES += console.rel
70console_rel_SOURCES = ../../powerpc/shared/console/uart.c \
71    ../../powerpc/shared/console/console.c
72console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
73console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
74
75EXTRA_PROGRAMS += console_g.rel
76CLEANFILES += console_g.rel
77console_g_rel_SOURCES = $(console_rel_SOURCES)
78console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
79console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
80
81noinst_DATA += console$(LIB_VARIANT).rel
82
83###
84include_bsp_HEADERS += pci/gtpcireg.h pci/pci.h
85
86EXTRA_PROGRAMS += pci.rel
87CLEANFILES += pci.rel
88pci_rel_SOURCES = pci/pci.c pci/pci_interface.c pci/detect_host_bridge.c \
89    pci/pcifinddevice.c
90pci_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
91pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
92
93EXTRA_PROGRAMS += pci_g.rel
94CLEANFILES += pci_g.rel
95pci_g_rel_SOURCES = $(pci_rel_SOURCES)
96pci_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
97pci_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
98
99noinst_DATA += pci$(LIB_VARIANT).rel
100
101###
102include_bsp_HEADERS += irq/irq.h
103
104EXTRA_PROGRAMS += irq.rel
105CLEANFILES += irq.rel
106irq_rel_SOURCES = irq/irq_init.c irq/GT64260Int.c irq/irq.c ../../powerpc/shared/irq/irq_asm.S
107irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
108irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
109
110EXTRA_PROGRAMS += irq_g.rel
111CLEANFILES += irq_g.rel
112irq_g_rel_SOURCES = $(irq_rel_SOURCES)
113irq_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
114irq_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
115
116noinst_DATA += irq$(LIB_VARIANT).rel
117
118###
119nodist_include_HEADERS += ../../shared/tod.h
120
121EXTRA_PROGRAMS += tod.rel
122CLEANFILES += tod.rel
123tod_rel_SOURCES = ../../shared/tod.c tod/todcfg.c
124tod_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
125tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
126
127EXTRA_PROGRAMS += tod_g.rel
128CLEANFILES += tod_g.rel
129tod_g_rel_SOURCES = $(tod_rel_SOURCES)
130tod_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
131tod_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
132
133noinst_DATA += tod$(LIB_VARIANT).rel
134
135##
136include_bsp_HEADERS += ../../powerpc/shared/vectors/vectors.h \
137    vectors/bspException.h
138
139EXTRA_PROGRAMS += vectors.rel
140CLEANFILES += vectors.rel
141vectors_rel_SOURCES = ../../powerpc/shared/vectors/vectors_init.c \
142    vectors/exceptionhandler.c ../../powerpc/shared/vectors/vectors.S
143vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
144vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
145
146EXTRA_PROGRAMS += vectors_g.rel
147CLEANFILES += vectors_g.rel
148vectors_g_rel_SOURCES = $(vectors_rel_SOURCES)
149vectors_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
150vectors_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
151
152noinst_DATA += vectors$(LIB_VARIANT).rel
153
154##
155include_bsp_HEADERS += GT64260/bspMvme5500.h GT64260/gtreg.h \
156    GT64260/GT64260TWSI.h GT64260/VPD.h
157EXTRA_PROGRAMS += GT64260.rel
158CLEANFILES += GT64260.rel
159GT64260_rel_SOURCES = GT64260/GT64260TWSI.c GT64260/MVME5500I2C.c
160GT64260_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
161GT64260_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
162
163EXTRA_PROGRAMS += GT64260_g.rel
164CLEANFILES += GT64260_g.rel
165GT64260_g_rel_SOURCES = $(GT64260_rel_SOURCES)
166GT64260_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
167GT64260_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
168
169noinst_DATA += GT64260$(LIB_VARIANT).rel
170
171##
172include_bsp_HEADERS += network/GT64260eth.h network/GT64260ethreg.h
173
174EXTRA_PROGRAMS += network.rel
175CLEANFILES += network.rel
176network_rel_SOURCES = network/GT64260eth.c
177network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
178network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
179
180EXTRA_PROGRAMS += network_g.rel
181CLEANFILES += network_g.rel
182network_g_rel_SOURCES = $(network_rel_SOURCES)
183network_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
184network_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
185
186noinst_DATA += network$(LIB_VARIANT).rel
187
188##
189include_bsp_HEADERS += vme/VME.h vme/VMEConfig.h
190include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h
191
192EXTRA_PROGRAMS += vme.rel
193CLEANFILES += vme.rel
194vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c vme/vmeconfig.c
195vme_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
196vme_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
197
198EXTRA_PROGRAMS += vme_g.rel
199CLEANFILES += vme_g.rel
200vme_g_rel_SOURCES = $(vme_rel_SOURCES)
201vme_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
202vme_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
203
204noinst_DATA += vme$(LIB_VARIANT).rel
205
206##
207
208EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
209rtems_crti$(LIB_VARIANT).$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
210        $(CPPASCOMPILE) -DASM -o $@ -c $<
211project_lib_DATA = rtems_crti$(LIB_VARIANT).$(OBJEXT)
212
213EXTRA_PROGRAMS += mvme5500start.$(OBJEXT)
214CLEANFILES += mvme5500start.$(OBJEXT)
215mvme5500start___OBJEXT__SOURCES = start/preload.S start/start.S
216mvme5500start___OBJEXT__CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
217mvme5500start___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
218
219EXTRA_PROGRAMS += mvme5500start_g.$(OBJEXT)
220CLEANFILES += mvme5500start_g.$(OBJEXT)
221mvme5500start_g___OBJEXT__SOURCES = $(mvme5500start___OBJEXT__SOURCES)
222mvme5500start_g___OBJEXT__CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
223mvme5500start_g___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
224
225project_lib_DATA += mvme5500start$(LIB_VARIANT).rel
226
227###
228
229PREINSTALL_DIRS =
230PREINSTALL_FILES =
231TMPINSTALL_FILES =
232
233$(PROJECT_INCLUDE)/$(dirstamp):
234        @$(mkdir_p) $(PROJECT_INCLUDE)
235        @: > $(PROJECT_INCLUDE)/$(dirstamp)
236PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
237
238$(PROJECT_LIB)/$(dirstamp):
239        @$(mkdir_p) $(PROJECT_LIB)
240        @: > $(PROJECT_LIB)/$(dirstamp)
241PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
242
243$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
244        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
245PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
246
247$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
248        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
249PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
250
251$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
252        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
253PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
254
255$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
256        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
257PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
258
259$(PROJECT_INCLUDE)/bsp/$(dirstamp):
260        @$(mkdir_p) $(PROJECT_INCLUDE)/bsp
261        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
262PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
263
264$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
265        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
266PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
267
268$(PROJECT_INCLUDE)/bsp/uart.h: ../../powerpc/shared/console/uart.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
269        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/uart.h
270PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/uart.h
271
272$(PROJECT_INCLUDE)/bsp/gtpcireg.h: pci/gtpcireg.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
273        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gtpcireg.h
274PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gtpcireg.h
275
276$(PROJECT_INCLUDE)/bsp/pci.h: pci/pci.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
277        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pci.h
278PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pci.h
279
280$(PROJECT_INCLUDE)/bsp/irq.h: irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
281        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
282PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
283
284$(PROJECT_INCLUDE)/tod.h: ../../shared/tod.h $(PROJECT_INCLUDE)/$(dirstamp)
285        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tod.h
286PREINSTALL_FILES += $(PROJECT_INCLUDE)/tod.h
287
288$(PROJECT_INCLUDE)/bsp/vectors.h: ../../powerpc/shared/vectors/vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
289        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
290PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
291
292$(PROJECT_INCLUDE)/bsp/bspException.h: vectors/bspException.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
293        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bspException.h
294PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bspException.h
295
296$(PROJECT_INCLUDE)/bsp/bspMvme5500.h: GT64260/bspMvme5500.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
297        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bspMvme5500.h
298PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bspMvme5500.h
299
300$(PROJECT_INCLUDE)/bsp/gtreg.h: GT64260/gtreg.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
301        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gtreg.h
302PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gtreg.h
303
304$(PROJECT_INCLUDE)/bsp/GT64260TWSI.h: GT64260/GT64260TWSI.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
305        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/GT64260TWSI.h
306PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/GT64260TWSI.h
307
308$(PROJECT_INCLUDE)/bsp/VPD.h: GT64260/VPD.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
309        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VPD.h
310PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VPD.h
311
312$(PROJECT_INCLUDE)/bsp/GT64260eth.h: network/GT64260eth.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
313        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/GT64260eth.h
314PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/GT64260eth.h
315
316$(PROJECT_INCLUDE)/bsp/GT64260ethreg.h: network/GT64260ethreg.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
317        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/GT64260ethreg.h
318PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/GT64260ethreg.h
319
320$(PROJECT_INCLUDE)/bsp/VME.h: vme/VME.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
321        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VME.h
322PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VME.h
323
324$(PROJECT_INCLUDE)/bsp/VMEConfig.h: vme/VMEConfig.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
325        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VMEConfig.h
326PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VMEConfig.h
327
328$(PROJECT_INCLUDE)/bsp/vmeUniverse.h: ../../shared/vmeUniverse/vmeUniverse.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
329        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
330PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
331
332$(PROJECT_LIB)/rtems_crti$(LIB_VARIANT).$(OBJEXT): rtems_crti$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
333        $(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti$(LIB_VARIANT).$(OBJEXT)
334TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti$(LIB_VARIANT).$(OBJEXT)
335
336$(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).rel: mvme5500start$(LIB_VARIANT).rel $(PROJECT_LIB)/$(dirstamp)
337        $(INSTALL_DATA) $< $(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).rel
338TMPINSTALL_FILES += $(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).rel
339
340CLEANFILES += $(PREINSTALL_FILES)
341DISTCLEANFILES = $(PREINSTALL_DIRS)
342CLEANFILES += $(TMPINSTALL_FILES)
343
344include $(top_srcdir)/../../../../automake/subdirs.am
345include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.