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

4.104.114.84.95
Last change on this file since 46a6fa91 was 5133bd6, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 12, 2005 at 3:31:07 AM

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

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