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

4.104.114.84.9
Last change on this file since 1d3788fc was 1d3788fc, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 9, 2006 at 6:17:32 PM

2006-01-09 Joel Sherrill <joel@…>

PR 858/bsps

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