source: rtems/c/src/lib/libbsp/powerpc/score603e/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: 5.3 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
18include_HEADERS += include/coverhd.h include/gen2.h
19include_HEADERS += include/tod.h
20
21EXTRA_DIST = start/start.S
22start$(LIB_VARIANT).$(OBJEXT): start/start.S
23        $(CPPASCOMPILE) -DASM -o $@ -c $<
24project_lib_DATA = start$(LIB_VARIANT).$(OBJEXT)
25
26dist_project_lib_DATA += startup/linkcmds
27
28EXTRA_PROGRAMS += clock.rel
29CLEANFILES += clock.rel
30clock_rel_SOURCES = clock/clock.c
31clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
32clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
33
34EXTRA_PROGRAMS += clock_g.rel
35CLEANFILES += clock_g.rel
36clock_g_rel_SOURCES = $(clock_rel_SOURCES)
37clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
38clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
39
40noinst_DATA += clock$(LIB_VARIANT).rel
41
42EXTRA_PROGRAMS += console.rel
43CLEANFILES += console.rel
44console_rel_SOURCES = console/85c30.c console/85c30.h console/console.c \
45    console/consolereserveresources.c console/tbl85c30.c \
46    console/consolebsp.h
47console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
48console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50EXTRA_PROGRAMS += console_g.rel
51CLEANFILES += console_g.rel
52console_g_rel_SOURCES = $(console_rel_SOURCES)
53console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
54console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
55
56noinst_DATA += console$(LIB_VARIANT).rel
57
58# First and second generation used different Bridge chips :(
59#       Generation 1 --> 82378zb (now in the CVS Attic)
60#       Generation 2 --> FPGA
61EXTRA_PROGRAMS += startup.rel
62CLEANFILES += startup.rel
63startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
64    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
65    ../../shared/main.c ../../shared/sbrk.c startup/setvec.c \
66    startup/Hwr_init.c startup/spurious.c startup/genpvec.c \
67    ../../shared/gnatinstallhandler.c startup/FPGA.c
68startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
69startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
70
71EXTRA_PROGRAMS += startup_g.rel
72CLEANFILES += startup_g.rel
73startup_g_rel_SOURCES = $(startup_rel_SOURCES)
74startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
75startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
76
77noinst_DATA += startup$(LIB_VARIANT).rel
78
79EXTRA_PROGRAMS += timer.rel
80CLEANFILES += timer.rel
81timer_rel_SOURCES = timer/timer.c
82timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
83timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
84
85EXTRA_PROGRAMS += timer_g.rel
86CLEANFILES += timer_g.rel
87timer_g_rel_SOURCES = $(timer_rel_SOURCES)
88timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
89timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
90
91noinst_DATA += timer$(LIB_VARIANT).rel
92
93EXTRA_PROGRAMS += tod.rel
94CLEANFILES += tod.rel
95tod_rel_SOURCES = tod/tod.c
96tod_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
97tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
98
99EXTRA_PROGRAMS += tod_g.rel
100CLEANFILES += tod_g.rel
101tod_g_rel_SOURCES = $(tod_rel_SOURCES)
102tod_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
103tod_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
104
105noinst_DATA += tod$(LIB_VARIANT).rel
106
107EXTRA_PROGRAMS += PCI_bus.rel
108CLEANFILES += PCI_bus.rel
109PCI_bus_rel_SOURCES = PCI_bus/PCI.c PCI_bus/PCI.h PCI_bus/flash.c \
110    PCI_bus/universe.c
111PCI_bus_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
112PCI_bus_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
113
114EXTRA_PROGRAMS += PCI_bus_g.rel
115CLEANFILES += PCI_bus_g.rel
116PCI_bus_g_rel_SOURCES = $(PCI_bus_rel_SOURCES)
117PCI_bus_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
118PCI_bus_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
119
120noinst_DATA += PCI_bus$(LIB_VARIANT).rel
121
122EXTRA_PROGRAMS += vectors.rel
123CLEANFILES += vectors.rel
124vectors_rel_SOURCES = vectors/vectors.S
125vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
126vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
127
128EXTRA_PROGRAMS += vectors_g.rel
129CLEANFILES += vectors_g.rel
130vectors_g_rel_SOURCES = $(vectors_rel_SOURCES)
131vectors_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
132vectors_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
133
134noinst_DATA += vectors$(LIB_VARIANT).rel
135
136all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
137
138PREINSTALL_DIRS =
139TMPINSTALL_FILES =
140
141$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
142        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
143PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
144
145$(PROJECT_INCLUDE)/gen2.h: include/gen2.h $(PROJECT_INCLUDE)/$(dirstamp)
146        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gen2.h
147PREINSTALL_FILES += $(PROJECT_INCLUDE)/gen2.h
148
149$(PROJECT_INCLUDE)/tod.h: include/tod.h $(PROJECT_INCLUDE)/$(dirstamp)
150        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tod.h
151PREINSTALL_FILES += $(PROJECT_INCLUDE)/tod.h
152
153$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
154        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
155TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
156
157$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
158        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
159TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
160
161CLEANFILES += $(PREINSTALL_FILES)
162DISTCLEANFILES = $(PREINSTALL_DIRS)
163CLEANFILES += $(TMPINSTALL_FILES)
164
165include $(top_srcdir)/../../../../automake/subdirs.am
166include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.