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

4.104.114.84.9
Last change on this file since 4c10134 was 4c10134, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 9, 2006 at 5:42:59 PM

Regenerate.

  • Property mode set to 100644
File size: 8.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
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
96noinst_PROGRAMS += vme.rel
97vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c vme/vmeconfig.c
98vme_rel_CPPFLAGS = $(AM_CPPFLAGS)
99vme_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
100
101##
102
103EXTRA_DIST = start/start.S
104start.$(OBJEXT): start/start.S
105        $(CPPASCOMPILE) -DASM -o $@ -c $<
106project_lib_DATA = start.$(OBJEXT)
107
108EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
109rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
110        $(CPPASCOMPILE) -DASM -o $@ -c $<
111project_lib_DATA += rtems_crti.$(OBJEXT)
112
113noinst_LIBRARIES = libbsp.a
114libbsp_a_SOURCES =
115libbsp_a_LIBADD = pclock.rel console.rel irq.rel openpic.rel pci.rel \
116    vectors.rel startup.rel vme.rel
117
118libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
119    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
120    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
121    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
122    ../../../libcpu/@RTEMS_CPU@/mpc6xx/exceptions.rel \
123    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
124    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
125
126all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
127
128###
129
130PREINSTALL_DIRS =
131PREINSTALL_FILES =
132TMPINSTALL_FILES =
133
134$(PROJECT_INCLUDE)/$(dirstamp):
135        @$(mkdir_p) $(PROJECT_INCLUDE)
136        @: > $(PROJECT_INCLUDE)/$(dirstamp)
137PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
138
139$(PROJECT_LIB)/$(dirstamp):
140        @$(mkdir_p) $(PROJECT_LIB)
141        @: > $(PROJECT_LIB)/$(dirstamp)
142PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
143
144$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
145        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
146PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
147
148$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
149        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
150PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
151
152$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
153        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
154PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
155
156$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
157        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
158PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
159
160$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
161        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
162PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
163
164$(PROJECT_INCLUDE)/bsp/$(dirstamp):
165        @$(mkdir_p) $(PROJECT_INCLUDE)/bsp
166        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
167PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
168
169$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
170        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
171PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
172
173$(PROJECT_INCLUDE)/bsp/uart.h: ../../powerpc/shared/console/uart.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
174        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/uart.h
175PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/uart.h
176
177$(PROJECT_INCLUDE)/bsp/motorola.h: ../../powerpc/shared/motorola/motorola.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
178        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/motorola.h
179PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/motorola.h
180
181$(PROJECT_INCLUDE)/bsp/residual.h: ../../powerpc/shared/residual/residual.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
182        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/residual.h
183PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/residual.h
184
185$(PROJECT_INCLUDE)/bsp/pnp.h: ../../powerpc/shared/residual/pnp.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
186        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pnp.h
187PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pnp.h
188
189$(PROJECT_INCLUDE)/bsp/consoleIo.h: ../../powerpc/shared/console/consoleIo.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
190        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/consoleIo.h
191PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/consoleIo.h
192
193$(PROJECT_INCLUDE)/bsp/rsPMCQ1.h: console/rsPMCQ1.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
194        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/rsPMCQ1.h
195PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/rsPMCQ1.h
196
197$(PROJECT_INCLUDE)/bsp/openpic.h: ../../powerpc/shared/openpic/openpic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
198        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/openpic.h
199PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/openpic.h
200
201$(PROJECT_INCLUDE)/bsp/pci.h: ../../powerpc/shared/pci/pci.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
202        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pci.h
203PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pci.h
204
205$(PROJECT_INCLUDE)/bsp/irq.h: ../../powerpc/shared/irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
206        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
207PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
208
209$(PROJECT_INCLUDE)/bsp/vectors.h: ../../powerpc/shared/vectors/vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
210        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
211PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
212
213$(PROJECT_INCLUDE)/bsp/vmeUniverse.h: ../../shared/vmeUniverse/vmeUniverse.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
214        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
215PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
216
217$(PROJECT_INCLUDE)/bsp/VMEConfig.h: ../../powerpc/shared/vme/VMEConfig.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
218        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VMEConfig.h
219PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VMEConfig.h
220
221$(PROJECT_INCLUDE)/bsp/VME.h: ../../powerpc/shared/vme/VME.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
222        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VME.h
223PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VME.h
224
225$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
226        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
227TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
228
229$(PROJECT_LIB)/rtems_crti.$(OBJEXT): rtems_crti.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
230        $(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
231TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
232
233CLEANFILES = $(PREINSTALL_FILES)
234DISTCLEANFILES += $(PREINSTALL_DIRS)
235CLEANFILES += $(TMPINSTALL_FILES)
236
237include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.