source: rtems/c/src/lib/libbsp/m68k/mvme162/Makefile.am @ 9afd70e

4.104.114.84.95
Last change on this file since 9afd70e was 9afd70e, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 18, 2005 at 6:01:23 AM

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

  • Makefile.am: Use ../../shared/tod.h instead of include/tod.h.
  • include/tod.h: Remove.
  • 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 += ../../shared/tod.h
25include_HEADERS += include/coverhd.h
26include_HEADERS += include/page_table.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) $(network_CPPFLAGS)
72network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73endif
74#--
75noinst_LIBRARIES = libbsp.a
76libbsp_a_SOURCES =
77libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel tod.rel
78if HAS_NETWORKING
79libbsp_a_LIBADD += network.rel
80endif
81libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
82    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
83if HAS_FPSP
84libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
85endif
86
87all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
88
89EXTRA_DIST += times
90
91PREINSTALL_DIRS =
92PREINSTALL_FILES =
93TMPINSTALL_FILES =
94
95$(PROJECT_INCLUDE)/$(dirstamp):
96        @$(mkdir_p) $(PROJECT_INCLUDE)
97        @: > $(PROJECT_INCLUDE)/$(dirstamp)
98PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
99
100$(PROJECT_LIB)/$(dirstamp):
101        @$(mkdir_p) $(PROJECT_LIB)
102        @: > $(PROJECT_LIB)/$(dirstamp)
103PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
104
105$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
106        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
107PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
108
109$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
110        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
111PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
112
113$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
114        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
115PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
116
117$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
118        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
119PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
120
121$(PROJECT_INCLUDE)/tod.h: ../../shared/tod.h $(PROJECT_INCLUDE)/$(dirstamp)
122        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tod.h
123PREINSTALL_FILES += $(PROJECT_INCLUDE)/tod.h
124
125$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
126        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
127PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
128
129$(PROJECT_INCLUDE)/page_table.h: include/page_table.h $(PROJECT_INCLUDE)/$(dirstamp)
130        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/page_table.h
131PREINSTALL_FILES += $(PROJECT_INCLUDE)/page_table.h
132
133$(PROJECT_INCLUDE)/mvme16x_hw.h: $(top_srcdir)/../shared/mvme/mvme16x_hw.h $(PROJECT_INCLUDE)/$(dirstamp)
134        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mvme16x_hw.h
135PREINSTALL_FILES += $(PROJECT_INCLUDE)/mvme16x_hw.h
136
137$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
138        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
139TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
140
141$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
142        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
143PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
144
145CLEANFILES = $(PREINSTALL_FILES)
146DISTCLEANFILES += $(PREINSTALL_DIRS)
147CLEANFILES += $(TMPINSTALL_FILES)
148
149include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.