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

4.104.114.84.95
Last change on this file since 71cbb66 was 71cbb66, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 3, 2005 at 4:16:13 AM

2005-01-02 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am, wrapup/Makefile.am: Remove build-variant support.
  • Property mode set to 100644
File size: 9.4 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
18
19nodist_include_HEADERS = include/bspopts.h
20DISTCLEANFILES = include/bspopts.h
21nodist_include_HEADERS += ../../shared/include/coverhd.h
22
23noinst_PROGRAMS =
24
25include_bspdir = $(includedir)/bsp
26
27###
28dist_project_lib_DATA += startup/linkcmds
29
30# UNUSED
31EXTRA_DIST = startup/bootpstuff.c
32
33noinst_PROGRAMS += 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
42###
43noinst_PROGRAMS += pclock.rel
44pclock_rel_SOURCES = ../../powerpc/shared/clock/p_clock.c
45pclock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
46pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48###
49include_bsp_HEADERS = ../../powerpc/shared/console/uart.h
50
51noinst_PROGRAMS += console.rel
52console_rel_SOURCES = ../../powerpc/shared/console/uart.c \
53    ../../powerpc/shared/console/console.c
54console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
55console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56
57###
58include_bsp_HEADERS += pci/gtpcireg.h pci/pci.h
59
60noinst_PROGRAMS += pci.rel
61pci_rel_SOURCES = pci/pci.c pci/pci_interface.c pci/detect_host_bridge.c \
62    pci/pcifinddevice.c
63pci_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
64pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
65
66###
67include_bsp_HEADERS += irq/irq.h
68
69noinst_PROGRAMS += irq.rel
70irq_rel_SOURCES = irq/irq_init.c irq/GT64260Int.c irq/irq.c \
71    ../../powerpc/shared/irq/irq_asm.S
72irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
73irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
74
75###
76nodist_include_HEADERS += ../../shared/tod.h
77
78noinst_PROGRAMS += tod.rel
79tod_rel_SOURCES = ../../shared/tod.c tod/todcfg.c
80tod_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
81tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
82
83##
84include_bsp_HEADERS += ../../powerpc/shared/vectors/vectors.h \
85    vectors/bspException.h
86
87noinst_PROGRAMS += vectors.rel
88vectors_rel_SOURCES = ../../powerpc/shared/vectors/vectors_init.c \
89    vectors/exceptionhandler.c ../../powerpc/shared/vectors/vectors.S
90vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
91vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
92
93##
94include_bsp_HEADERS += GT64260/bspMvme5500.h GT64260/gtreg.h \
95    GT64260/GT64260TWSI.h GT64260/VPD.h
96noinst_PROGRAMS += GT64260.rel
97GT64260_rel_SOURCES = GT64260/GT64260TWSI.c GT64260/MVME5500I2C.c
98GT64260_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
99GT64260_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
100
101##
102if HAS_NETWORKING
103include_bsp_HEADERS += network/GT64260eth.h network/GT64260ethreg.h
104
105network_CPPFLAGS = -D_KERNEL
106noinst_PROGRAMS += network.rel
107network_rel_SOURCES = network/GT64260eth.c
108network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
109    $(network_CPPFLAGS)
110network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
111endif
112##
113include_bsp_HEADERS += vme/VME.h vme/VMEConfig.h
114include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h
115
116noinst_PROGRAMS += vme.rel
117vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c vme/vmeconfig.c
118vme_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
119vme_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
120
121##
122
123EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
124rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
125        $(CPPASCOMPILE) -DASM -o $@ -c $<
126project_lib_DATA = rtems_crti.$(OBJEXT)
127
128noinst_PROGRAMS += mvme5500start.$(OBJEXT)
129mvme5500start___OBJEXT__SOURCES = start/preload.S start/start.S
130mvme5500start___OBJEXT__CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
131mvme5500start___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
132
133project_lib_DATA += mvme5500start.$(OBJEXT)
134
135all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
136
137###
138
139PREINSTALL_DIRS =
140PREINSTALL_FILES =
141TMPINSTALL_FILES =
142
143$(PROJECT_INCLUDE)/$(dirstamp):
144        @$(mkdir_p) $(PROJECT_INCLUDE)
145        @: > $(PROJECT_INCLUDE)/$(dirstamp)
146PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
147
148$(PROJECT_LIB)/$(dirstamp):
149        @$(mkdir_p) $(PROJECT_LIB)
150        @: > $(PROJECT_LIB)/$(dirstamp)
151PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
152
153$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
154        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
155PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
156
157$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
158        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
159PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
160
161$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
162        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
163PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
164
165$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
166        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
167PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
168
169$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
170        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
171PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
172
173$(PROJECT_INCLUDE)/bsp/$(dirstamp):
174        @$(mkdir_p) $(PROJECT_INCLUDE)/bsp
175        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
176PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
177
178$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
179        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
180PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
181
182$(PROJECT_INCLUDE)/bsp/uart.h: ../../powerpc/shared/console/uart.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
183        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/uart.h
184PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/uart.h
185
186$(PROJECT_INCLUDE)/bsp/gtpcireg.h: pci/gtpcireg.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
187        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gtpcireg.h
188PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gtpcireg.h
189
190$(PROJECT_INCLUDE)/bsp/pci.h: pci/pci.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
191        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pci.h
192PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pci.h
193
194$(PROJECT_INCLUDE)/bsp/irq.h: irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
195        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
196PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
197
198$(PROJECT_INCLUDE)/tod.h: ../../shared/tod.h $(PROJECT_INCLUDE)/$(dirstamp)
199        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tod.h
200PREINSTALL_FILES += $(PROJECT_INCLUDE)/tod.h
201
202$(PROJECT_INCLUDE)/bsp/vectors.h: ../../powerpc/shared/vectors/vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
203        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
204PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
205
206$(PROJECT_INCLUDE)/bsp/bspException.h: vectors/bspException.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
207        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bspException.h
208PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bspException.h
209
210$(PROJECT_INCLUDE)/bsp/bspMvme5500.h: GT64260/bspMvme5500.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
211        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bspMvme5500.h
212PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bspMvme5500.h
213
214$(PROJECT_INCLUDE)/bsp/gtreg.h: GT64260/gtreg.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
215        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gtreg.h
216PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gtreg.h
217
218$(PROJECT_INCLUDE)/bsp/GT64260TWSI.h: GT64260/GT64260TWSI.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
219        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/GT64260TWSI.h
220PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/GT64260TWSI.h
221
222$(PROJECT_INCLUDE)/bsp/VPD.h: GT64260/VPD.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
223        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VPD.h
224PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VPD.h
225
226if HAS_NETWORKING
227$(PROJECT_INCLUDE)/bsp/GT64260eth.h: network/GT64260eth.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
228        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/GT64260eth.h
229PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/GT64260eth.h
230
231$(PROJECT_INCLUDE)/bsp/GT64260ethreg.h: network/GT64260ethreg.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
232        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/GT64260ethreg.h
233PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/GT64260ethreg.h
234endif
235
236$(PROJECT_INCLUDE)/bsp/VME.h: vme/VME.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
237        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VME.h
238PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VME.h
239
240$(PROJECT_INCLUDE)/bsp/VMEConfig.h: vme/VMEConfig.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
241        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VMEConfig.h
242PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VMEConfig.h
243
244$(PROJECT_INCLUDE)/bsp/vmeUniverse.h: ../../shared/vmeUniverse/vmeUniverse.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
245        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
246PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
247
248$(PROJECT_LIB)/rtems_crti.$(OBJEXT): rtems_crti.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
249        $(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
250TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
251
252$(PROJECT_LIB)/mvme5500start.$(OBJEXT): mvme5500start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
253        $(INSTALL_DATA) $< $(PROJECT_LIB)/mvme5500start.$(OBJEXT)
254TMPINSTALL_FILES += $(PROJECT_LIB)/mvme5500start.$(OBJEXT)
255
256CLEANFILES = $(PREINSTALL_FILES)
257DISTCLEANFILES += $(PREINSTALL_DIRS)
258CLEANFILES += $(TMPINSTALL_FILES)
259
260include $(top_srcdir)/../../../../automake/subdirs.am
261include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.