source: rtems/c/src/lib/libbsp/powerpc/ppcn_60x/Makefile.am @ c24d7c84

4.104.114.84.9
Last change on this file since c24d7c84 was c24d7c84, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 12, 2004 at 9:08:05 AM

2004-02-12 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Use CPPASCOMPILE instead of CCASCOMPILE.
  • Property mode set to 100644
File size: 7.0 KB
Line 
1##
2## $Id$
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
14EXTRA_PROGRAMS =
15CLEANFILES =
16noinst_DATA =
17
18nodist_include_HEADERS += $(top_srcdir)/../../shared/include/coverhd.h
19include_HEADERS += include/tod.h
20include_HEADERS += include/nvram.h include/pci.h
21
22EXTRA_DIST = start/start.S
23start$(LIB_VARIANT).$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -DASM -o $@ -c $<
25project_lib_DATA = start$(LIB_VARIANT).$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
29EXTRA_PROGRAMS += clock.rel
30CLEANFILES += clock.rel
31clock_rel_SOURCES = clock/clock.c
32clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
33clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
34
35EXTRA_PROGRAMS += clock_g.rel
36CLEANFILES += clock_g.rel
37clock_g_rel_SOURCES = $(clock_rel_SOURCES)
38clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
39clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
40
41noinst_DATA += clock$(LIB_VARIANT).rel
42
43EXTRA_PROGRAMS += console.rel
44CLEANFILES += console.rel
45console_rel_SOURCES = console/console.c console/i8042vga.c \
46    console/i8042vga.h console/i8042.c console/i8042_p.h \
47    console/ns16550cfg.c console/ns16550cfg.h console/z85c30cfg.c \
48    console/z85c30cfg.h console/vga.c console/vga_p.h
49console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
50console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52EXTRA_PROGRAMS += console_g.rel
53CLEANFILES += console_g.rel
54console_g_rel_SOURCES = $(console_rel_SOURCES)
55console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
56console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58noinst_DATA += console$(LIB_VARIANT).rel
59
60EXTRA_PROGRAMS += pci.rel
61CLEANFILES += pci.rel
62pci_rel_SOURCES = pci/pci.c
63pci_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
64pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
65
66EXTRA_PROGRAMS += pci_g.rel
67CLEANFILES += pci_g.rel
68pci_g_rel_SOURCES = $(pci_rel_SOURCES)
69pci_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
70pci_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
71
72noinst_DATA += pci$(LIB_VARIANT).rel
73
74EXTRA_PROGRAMS += nvram.rel
75CLEANFILES += nvram.rel
76nvram_rel_SOURCES = nvram/nvram.c nvram/ds1385.h nvram/mk48t18.h \
77    nvram/prepnvr.h nvram/stk11c68.h
78nvram_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
79nvram_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
80
81EXTRA_PROGRAMS += nvram_g.rel
82CLEANFILES += nvram_g.rel
83nvram_g_rel_SOURCES = $(nvram_rel_SOURCES)
84nvram_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
85nvram_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
86
87noinst_DATA += nvram$(LIB_VARIANT).rel
88
89EXTRA_PROGRAMS += startup.rel
90CLEANFILES += startup.rel
91startup_rel_SOURCES = startup/bspstart.c startup/bspclean.c \
92    ../../shared/sbrk.c startup/setvec.c startup/spurious.c \
93    startup/genpvec.c startup/swap.c ../../shared/main.c \
94    ../../shared/bootcard.c ../../shared/bsplibc.c ../../shared/bsppost.c \
95    ../../shared/gnatinstallhandler.c startup/bsptrap.S
96startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
97startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
98
99EXTRA_PROGRAMS += startup_g.rel
100CLEANFILES += startup_g.rel
101startup_g_rel_SOURCES = $(startup_rel_SOURCES)
102startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
103startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
104
105noinst_DATA += startup$(LIB_VARIANT).rel
106
107EXTRA_PROGRAMS += timer.rel
108CLEANFILES += timer.rel
109timer_rel_SOURCES = timer/timer.c
110timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
111timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
112
113EXTRA_PROGRAMS += timer_g.rel
114CLEANFILES += timer_g.rel
115timer_g_rel_SOURCES = $(timer_rel_SOURCES)
116timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
117timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
118
119noinst_DATA += timer$(LIB_VARIANT).rel
120
121EXTRA_PROGRAMS += tod.rel
122CLEANFILES += tod.rel
123tod_rel_SOURCES = tod/tod.c tod/cmos.h
124tod_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
125tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
126
127EXTRA_PROGRAMS += tod_g.rel
128CLEANFILES += tod_g.rel
129tod_g_rel_SOURCES = $(tod_rel_SOURCES)
130tod_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
131tod_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
132
133noinst_DATA += tod$(LIB_VARIANT).rel
134
135EXTRA_PROGRAMS += universe.rel
136CLEANFILES += universe.rel
137universe_rel_SOURCES = universe/universe.c
138universe_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
139universe_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
140
141EXTRA_PROGRAMS += universe_g.rel
142CLEANFILES += universe_g.rel
143universe_g_rel_SOURCES = $(universe_rel_SOURCES)
144universe_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
145universe_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
146
147noinst_DATA += universe$(LIB_VARIANT).rel
148
149EXTRA_DIST += vectors/README vectors/align_h.S
150
151EXTRA_PROGRAMS += vectors.rel
152CLEANFILES += vectors.rel
153vectors_rel_SOURCES = vectors/vectors.S
154vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
155vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
156
157EXTRA_PROGRAMS += vectors_g.rel
158CLEANFILES += vectors_g.rel
159vectors_g_rel_SOURCES = $(vectors_rel_SOURCES)
160vectors_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
161vectors_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
162
163noinst_DATA += vectors$(LIB_VARIANT).rel
164
165if HAS_NETWORKING
166network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
167EXTRA_PROGRAMS += network.rel
168CLEANFILES += network.rel
169network_rel_SOURCES = network/amd79c970.c network/amd79c970.h
170network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
171    $(network_CPPFLAGS)
172network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
173
174EXTRA_PROGRAMS += network_g.rel
175CLEANFILES += network_g.rel
176network_g_rel_SOURCES = $(network_rel_SOURCES)
177network_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
178    $(network_CPPFLAGS)
179network_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
180
181noinst_DATA += network$(LIB_VARIANT).rel
182endif
183
184all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
185
186EXTRA_DIST += STATUS
187
188PREINSTALL_DIRS =
189TMPINSTALL_FILES =
190
191$(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
192        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
193PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
194
195$(PROJECT_INCLUDE)/tod.h: include/tod.h $(PROJECT_INCLUDE)/$(dirstamp)
196        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tod.h
197PREINSTALL_FILES += $(PROJECT_INCLUDE)/tod.h
198
199$(PROJECT_INCLUDE)/nvram.h: include/nvram.h $(PROJECT_INCLUDE)/$(dirstamp)
200        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nvram.h
201PREINSTALL_FILES += $(PROJECT_INCLUDE)/nvram.h
202
203$(PROJECT_INCLUDE)/pci.h: include/pci.h $(PROJECT_INCLUDE)/$(dirstamp)
204        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/pci.h
205PREINSTALL_FILES += $(PROJECT_INCLUDE)/pci.h
206
207$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
208        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
209TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
210
211$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
212        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
213TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
214
215CLEANFILES += $(PREINSTALL_FILES)
216DISTCLEANFILES = $(PREINSTALL_DIRS)
217CLEANFILES += $(TMPINSTALL_FILES)
218
219include $(top_srcdir)/../../../../automake/subdirs.am
220include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.