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

4.104.114.84.95
Last change on this file since 5a513d4 was 5a513d4, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/05 at 05:25:48

2005-01-18 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am: Use ../../shared/tod.h instead of include/tod.h.
  • console/config.c: Remove typos from 2005-01-04 changes.
  • include/tod.h: Remove.
  • Property mode set to 100644
File size: 5.2 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
14dist_project_lib_DATA = bsp_specs
15
16include_HEADERS = include/bsp.h
17include_HEADERS += include/tm27.h
18
19nodist_include_HEADERS = include/bspopts.h
20DISTCLEANFILES = include/bspopts.h
21
22noinst_PROGRAMS =
23
24nodist_include_HEADERS += $(top_srcdir)/../../shared/include/coverhd.h
25include_HEADERS += ../../shared/tod.h
26include_HEADERS += include/nvram.h include/pci.h
27
28EXTRA_DIST = start/start.S
29start.$(OBJEXT): start/start.S
30        $(CPPASCOMPILE) -DASM -o $@ -c $<
31project_lib_DATA = start.$(OBJEXT)
32
33dist_project_lib_DATA += startup/linkcmds
34
35noinst_PROGRAMS += clock.rel
36clock_rel_SOURCES = clock/clock.c
37clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
38clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
39
40noinst_PROGRAMS += console.rel
41console_rel_SOURCES = console/console.c console/i8042vga.c \
42    console/i8042vga.h console/i8042.c console/i8042_p.h \
43    console/ns16550cfg.c console/ns16550cfg.h console/z85c30cfg.c \
44    console/z85c30cfg.h console/vga.c console/vga_p.h
45console_rel_CPPFLAGS = $(AM_CPPFLAGS)
46console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48noinst_PROGRAMS += pci.rel
49pci_rel_SOURCES = pci/pci.c
50pci_rel_CPPFLAGS = $(AM_CPPFLAGS)
51pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52
53noinst_PROGRAMS += nvram.rel
54nvram_rel_SOURCES = nvram/nvram.c nvram/ds1385.h nvram/mk48t18.h \
55    nvram/prepnvr.h nvram/stk11c68.h
56nvram_rel_CPPFLAGS = $(AM_CPPFLAGS)
57nvram_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
58
59noinst_PROGRAMS += startup.rel
60startup_rel_SOURCES = startup/bspstart.c startup/bspclean.c \
61    ../../shared/sbrk.c startup/setvec.c startup/spurious.c \
62    startup/genpvec.c startup/swap.c ../../shared/main.c \
63    ../../shared/bootcard.c ../../shared/bsplibc.c ../../shared/bsppost.c \
64    ../../shared/gnatinstallhandler.c startup/bsptrap.S
65startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
66startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
67
68noinst_PROGRAMS += timer.rel
69timer_rel_SOURCES = timer/timer.c
70timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
71timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
72
73noinst_PROGRAMS += tod.rel
74tod_rel_SOURCES = tod/tod.c tod/cmos.h
75tod_rel_CPPFLAGS = $(AM_CPPFLAGS)
76tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
77
78noinst_PROGRAMS += universe.rel
79universe_rel_SOURCES = universe/universe.c
80universe_rel_CPPFLAGS = $(AM_CPPFLAGS)
81universe_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
82
83EXTRA_DIST += vectors/README vectors/align_h.S
84
85noinst_PROGRAMS += vectors.rel
86vectors_rel_SOURCES = vectors/vectors.S
87vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
88vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
89
90if HAS_NETWORKING
91network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
92noinst_PROGRAMS += network.rel
93network_rel_SOURCES = network/amd79c970.c network/amd79c970.h
94network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
95network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
96endif
97
98all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
99
100EXTRA_DIST += STATUS
101
102PREINSTALL_DIRS =
103PREINSTALL_FILES =
104TMPINSTALL_FILES =
105
106$(PROJECT_INCLUDE)/$(dirstamp):
107        @$(mkdir_p) $(PROJECT_INCLUDE)
108        @: > $(PROJECT_INCLUDE)/$(dirstamp)
109PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
110
111$(PROJECT_LIB)/$(dirstamp):
112        @$(mkdir_p) $(PROJECT_LIB)
113        @: > $(PROJECT_LIB)/$(dirstamp)
114PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
115
116$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
117        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
118PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
119
120$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
121        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
122PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
123
124$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
125        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
126PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
127
128$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
129        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
130PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
131
132$(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
133        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
134PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
135
136$(PROJECT_INCLUDE)/tod.h: ../../shared/tod.h $(PROJECT_INCLUDE)/$(dirstamp)
137        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tod.h
138PREINSTALL_FILES += $(PROJECT_INCLUDE)/tod.h
139
140$(PROJECT_INCLUDE)/nvram.h: include/nvram.h $(PROJECT_INCLUDE)/$(dirstamp)
141        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/nvram.h
142PREINSTALL_FILES += $(PROJECT_INCLUDE)/nvram.h
143
144$(PROJECT_INCLUDE)/pci.h: include/pci.h $(PROJECT_INCLUDE)/$(dirstamp)
145        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/pci.h
146PREINSTALL_FILES += $(PROJECT_INCLUDE)/pci.h
147
148$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
149        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
150TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
151
152$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
153        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
154PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
155
156CLEANFILES = $(PREINSTALL_FILES)
157DISTCLEANFILES += $(PREINSTALL_DIRS)
158CLEANFILES += $(TMPINSTALL_FILES)
159
160include $(top_srcdir)/../../../../automake/subdirs.am
161include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.