source: rtems/c/src/lib/libbsp/m68k/mvme162/Makefile.am @ 844609f9

4.104.114.84.95
Last change on this file since 844609f9 was 844609f9, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 7, 2005 at 6:57:39 AM

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

  • Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
  • Property mode set to 100644
File size: 4.7 KB
Line 
1##
2## $Id$
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
17
18noinst_PROGRAMS =
19
20# wrapup is the one that actually builds and installs the library
21# from the individual .rel files built in other directories
22SUBDIRS = . tools
23
24include_HEADERS += include/coverhd.h
25include_HEADERS += include/page_table.h
26include_HEADERS += include/tod.h
27
28nodist_include_HEADERS += $(top_srcdir)/../shared/mvme/mvme16x_hw.h
29
30EXTRA_DIST = ../../m68k/shared/start.S
31start.$(OBJEXT): ../../m68k/shared/start.S
32        $(CPPASCOMPILE) -DASM -o $@ -c $<
33
34project_lib_DATA = start.$(OBJEXT)
35
36dist_project_lib_DATA += startup/linkcmds
37
38noinst_PROGRAMS += startup.rel
39startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
40    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
41    ../../m68k/shared/m68kpretaskinghook.c ../../shared/main.c \
42    startup/page_table.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
43    ../../shared/gnatinstallhandler.c
44startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
45startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46
47noinst_PROGRAMS += clock.rel
48clock_rel_SOURCES = clock/ckinit.c
49clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
50clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52noinst_PROGRAMS += console.rel
53console_rel_SOURCES = console/console.c
54console_rel_CPPFLAGS = $(AM_CPPFLAGS)
55console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56
57noinst_PROGRAMS += timer.rel
58timer_rel_SOURCES = timer/timer.c timer/timerisr.S
59timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
60timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61
62noinst_PROGRAMS += tod.rel
63tod_rel_SOURCES = tod/tod.c
64tod_rel_CPPFLAGS = $(AM_CPPFLAGS)
65tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
66
67if HAS_NETWORKING
68network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
69noinst_PROGRAMS += network.rel
70network_rel_SOURCES = ../mvme167/network/network.c
71network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
72    $(network_CPPFLAGS)
73network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
74endif
75#--
76noinst_LIBRARIES = libbsp.a
77libbsp_a_SOURCES =
78libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel tod.rel
79if HAS_NETWORKING
80libbsp_a_LIBADD += network.rel
81endif
82libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
83    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
84if HAS_FPSP
85libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
86endif
87
88all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
89
90EXTRA_DIST += times
91
92PREINSTALL_DIRS =
93PREINSTALL_FILES =
94TMPINSTALL_FILES =
95
96$(PROJECT_INCLUDE)/$(dirstamp):
97        @$(mkdir_p) $(PROJECT_INCLUDE)
98        @: > $(PROJECT_INCLUDE)/$(dirstamp)
99PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
100
101$(PROJECT_LIB)/$(dirstamp):
102        @$(mkdir_p) $(PROJECT_LIB)
103        @: > $(PROJECT_LIB)/$(dirstamp)
104PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
105
106$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
107        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
108PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
109
110$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
111        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
112PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
113
114$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
115        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
116PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
117
118$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
119        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
120PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
121
122$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
123        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
124PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
125
126$(PROJECT_INCLUDE)/page_table.h: include/page_table.h $(PROJECT_INCLUDE)/$(dirstamp)
127        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/page_table.h
128PREINSTALL_FILES += $(PROJECT_INCLUDE)/page_table.h
129
130$(PROJECT_INCLUDE)/tod.h: include/tod.h $(PROJECT_INCLUDE)/$(dirstamp)
131        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tod.h
132PREINSTALL_FILES += $(PROJECT_INCLUDE)/tod.h
133
134$(PROJECT_INCLUDE)/mvme16x_hw.h: $(top_srcdir)/../shared/mvme/mvme16x_hw.h $(PROJECT_INCLUDE)/$(dirstamp)
135        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mvme16x_hw.h
136PREINSTALL_FILES += $(PROJECT_INCLUDE)/mvme16x_hw.h
137
138$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
139        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
140TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
141
142$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
143        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
144PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
145
146CLEANFILES = $(PREINSTALL_FILES)
147DISTCLEANFILES += $(PREINSTALL_DIRS)
148CLEANFILES += $(TMPINSTALL_FILES)
149
150include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.