source: rtems/c/src/lib/libbsp/powerpc/ep1a/Makefile.am @ f28d72cc

4.104.114.84.9
Last change on this file since f28d72cc was f28d72cc, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 10, 2006 at 3:02:21 AM

Regenerate.

  • Property mode set to 100644
File size: 8.9 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
26noinst_PROGRAMS += startup.rel
27startup_rel_SOURCES = startup/bspstart.c ../../shared/bootcard.c \
28    ../../shared/main.c ../../shared/bsppost.c ../../shared/bsplibc.c \
29    ../../powerpc/shared/startup/sbrk.c ../../shared/bspclean.c \
30    ../../shared/gnatinstallhandler.c \
31    ../../powerpc/shared/startup/pgtbl_setup.c \
32    ../../powerpc/shared/startup/pgtbl_activate.c
33startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
34startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
35
36###
37noinst_PROGRAMS += pclock.rel
38pclock_rel_SOURCES = ../../powerpc/shared/clock/p_clock.c
39pclock_rel_CPPFLAGS = $(AM_CPPFLAGS)
40pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42###
43include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \
44    ../../powerpc/shared/motorola/motorola.h \
45    ../../powerpc/shared/residual/residual.h \
46    ../../powerpc/shared/residual/pnp.h \
47    ../../powerpc/shared/console/consoleIo.h console/rsPMCQ1.h
48
49noinst_PROGRAMS += console.rel
50console_rel_SOURCES = console/console.c console/ns16550cfg.c \
51    console/mc68360_scc.c console/rsPMCQ1.c console/alloc360.c \
52    console/init68360.c
53console_rel_CPPFLAGS = $(AM_CPPFLAGS)
54console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
55###
56include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h
57
58noinst_PROGRAMS += openpic.rel
59openpic_rel_SOURCES = ../../powerpc/shared/openpic/openpic.h \
60    ../../powerpc/shared/openpic/openpic.c
61
62openpic_rel_CPPFLAGS = $(AM_CPPFLAGS)
63openpic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
64
65###
66include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
67
68noinst_PROGRAMS += pci.rel
69pci_rel_SOURCES = pci/no_host_bridge.c ../../powerpc/shared/pci/pci.c \
70    ../../powerpc/shared/pci/pcifinddevice.c
71pci_rel_CPPFLAGS = $(AM_CPPFLAGS)
72pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73
74###
75include_bsp_HEADERS += ../../powerpc/shared/irq/irq.h
76
77noinst_PROGRAMS += irq.rel
78irq_rel_SOURCES = irq/irq_init.c irq/irq.c ../../powerpc/shared/irq/i8259.c \
79    ../../powerpc/shared/irq/irq_asm.S
80irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
81irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
82
83##
84include_bsp_HEADERS += ../../powerpc/shared/vectors/vectors.h
85
86noinst_PROGRAMS += vectors.rel
87vectors_rel_SOURCES = ../../powerpc/shared/vectors/vectors_init.c \
88    ../../powerpc/shared/vectors/vectors.S
89vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
90vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
91
92##
93include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
94    ../../powerpc/shared/vme/VMEConfig.h ../../powerpc/shared/vme/VME.h \
95    ../../shared/vmeUniverse/vme_am_defs.h
96
97noinst_PROGRAMS += vme.rel
98vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c vme/vmeconfig.c \
99    ../../shared/vmeUniverse/vme_am_defs.h
100vme_rel_CPPFLAGS = $(AM_CPPFLAGS)
101vme_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
102
103##
104
105EXTRA_DIST = start/start.S
106start.$(OBJEXT): start/start.S
107        $(CPPASCOMPILE) -DASM -o $@ -c $<
108project_lib_DATA = start.$(OBJEXT)
109
110EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
111rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
112        $(CPPASCOMPILE) -DASM -o $@ -c $<
113project_lib_DATA += rtems_crti.$(OBJEXT)
114
115noinst_LIBRARIES = libbsp.a
116libbsp_a_SOURCES =
117libbsp_a_LIBADD = pclock.rel console.rel irq.rel openpic.rel pci.rel \
118    vectors.rel startup.rel vme.rel
119
120libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
121    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
122    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
123    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
124    ../../../libcpu/@RTEMS_CPU@/mpc6xx/exceptions.rel \
125    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
126    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
127
128all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
129
130###
131
132PREINSTALL_DIRS =
133PREINSTALL_FILES =
134TMPINSTALL_FILES =
135
136$(PROJECT_INCLUDE)/$(dirstamp):
137        @$(mkdir_p) $(PROJECT_INCLUDE)
138        @: > $(PROJECT_INCLUDE)/$(dirstamp)
139PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
140
141$(PROJECT_LIB)/$(dirstamp):
142        @$(mkdir_p) $(PROJECT_LIB)
143        @: > $(PROJECT_LIB)/$(dirstamp)
144PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
145
146$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
147        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
148PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
149
150$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
151        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
152PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
153
154$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
155        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
156PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
157
158$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
159        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
160PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
161
162$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
163        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
164PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
165
166$(PROJECT_INCLUDE)/bsp/$(dirstamp):
167        @$(mkdir_p) $(PROJECT_INCLUDE)/bsp
168        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
169PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
170
171$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
172        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
173PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
174
175$(PROJECT_INCLUDE)/bsp/uart.h: ../../powerpc/shared/console/uart.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
176        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/uart.h
177PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/uart.h
178
179$(PROJECT_INCLUDE)/bsp/motorola.h: ../../powerpc/shared/motorola/motorola.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
180        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/motorola.h
181PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/motorola.h
182
183$(PROJECT_INCLUDE)/bsp/residual.h: ../../powerpc/shared/residual/residual.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
184        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/residual.h
185PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/residual.h
186
187$(PROJECT_INCLUDE)/bsp/pnp.h: ../../powerpc/shared/residual/pnp.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
188        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pnp.h
189PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pnp.h
190
191$(PROJECT_INCLUDE)/bsp/consoleIo.h: ../../powerpc/shared/console/consoleIo.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
192        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/consoleIo.h
193PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/consoleIo.h
194
195$(PROJECT_INCLUDE)/bsp/rsPMCQ1.h: console/rsPMCQ1.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
196        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/rsPMCQ1.h
197PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/rsPMCQ1.h
198
199$(PROJECT_INCLUDE)/bsp/openpic.h: ../../powerpc/shared/openpic/openpic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
200        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/openpic.h
201PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/openpic.h
202
203$(PROJECT_INCLUDE)/bsp/pci.h: ../../powerpc/shared/pci/pci.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
204        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pci.h
205PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pci.h
206
207$(PROJECT_INCLUDE)/bsp/irq.h: ../../powerpc/shared/irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
208        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
209PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
210
211$(PROJECT_INCLUDE)/bsp/vectors.h: ../../powerpc/shared/vectors/vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
212        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
213PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
214
215$(PROJECT_INCLUDE)/bsp/vmeUniverse.h: ../../shared/vmeUniverse/vmeUniverse.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
216        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
217PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
218
219$(PROJECT_INCLUDE)/bsp/VMEConfig.h: ../../powerpc/shared/vme/VMEConfig.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
220        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VMEConfig.h
221PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VMEConfig.h
222
223$(PROJECT_INCLUDE)/bsp/VME.h: ../../powerpc/shared/vme/VME.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
224        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VME.h
225PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VME.h
226
227$(PROJECT_INCLUDE)/bsp/vme_am_defs.h: ../../shared/vmeUniverse/vme_am_defs.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
228        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vme_am_defs.h
229PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vme_am_defs.h
230
231$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
232        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
233TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
234
235$(PROJECT_LIB)/rtems_crti.$(OBJEXT): rtems_crti.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
236        $(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
237TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
238
239CLEANFILES = $(PREINSTALL_FILES)
240DISTCLEANFILES += $(PREINSTALL_DIRS)
241CLEANFILES += $(TMPINSTALL_FILES)
242
243include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.