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

4.104.114.84.95
Last change on this file since 5523d789 was 5523d789, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 21, 2004 at 1:10:10 PM

Add coverhd.h

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