source: rtems/c/src/lib/libbsp/m68k/gen68360/Makefile.am @ 5f0fdeb

4.104.114.84.95
Last change on this file since 5f0fdeb was 3defec6, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 23, 2004 at 4:47:38 AM

2004-04-23 Ralf Corsepius <ralf_corsepius@…>

PR 610/bsps

  • Makefile.am: Add include/tm27.h, Cosmetics.
  • include/tm27.h: Final cosmetics.
  • Property mode set to 100644
File size: 6.0 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
14nodist_include_HEADERS = include/bspopts.h
15
16EXTRA_PROGRAMS =
17CLEANFILES =
18noinst_DATA =
19
20include_HEADERS += include/coverhd.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 startup/linkcmds.prom \
28    startup/linkcmds.bootp
29
30EXTRA_PROGRAMS += startup.rel
31CLEANFILES += startup.rel
32startup_rel_SOURCES = startup/alloc360.c startup/bspclean.c \
33    ../../shared/bsplibc.c ../../shared/bsppost.c \
34    ../../m68k/shared/m68kpretaskinghook.c startup/bspstart.c \
35    startup/init68360.c ../../shared/bootcard.c ../../shared/main.c \
36    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
37    ../../shared/gnatinstallhandler.c
38startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
39startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
40
41EXTRA_PROGRAMS += startup_g.rel
42CLEANFILES += startup_g.rel
43startup_g_rel_SOURCES = $(startup_rel_SOURCES)
44startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
45startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46
47noinst_DATA += startup$(LIB_VARIANT).rel
48
49EXTRA_PROGRAMS += clock.rel
50CLEANFILES += clock.rel
51clock_rel_SOURCES = clock/clock.c
52clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
53clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54
55EXTRA_PROGRAMS += clock_g.rel
56CLEANFILES += clock_g.rel
57clock_g_rel_SOURCES = $(clock_rel_SOURCES)
58clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
59clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
60
61noinst_DATA += clock$(LIB_VARIANT).rel
62
63EXTRA_PROGRAMS += console.rel
64CLEANFILES += console.rel
65console_rel_SOURCES = console/console.c console/consolereserveresources.c
66console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
67console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68
69EXTRA_PROGRAMS += console_g.rel
70CLEANFILES += console_g.rel
71console_g_rel_SOURCES = $(console_rel_SOURCES)
72console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
73console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
74
75noinst_DATA += console$(LIB_VARIANT).rel
76
77EXTRA_PROGRAMS += timer.rel
78CLEANFILES += timer.rel
79timer_rel_SOURCES = timer/timer.c
80timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
81timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
82
83EXTRA_PROGRAMS += timer_g.rel
84CLEANFILES += timer_g.rel
85timer_g_rel_SOURCES = $(timer_rel_SOURCES)
86timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
87timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
88
89noinst_DATA += timer$(LIB_VARIANT).rel
90
91if HAS_NETWORKING
92network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
93EXTRA_PROGRAMS += network.rel
94CLEANFILES += network.rel
95network_rel_SOURCES = network/network.c
96network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
97    $(network_CPPFLAGS)
98network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
99
100EXTRA_PROGRAMS += network_g.rel
101CLEANFILES += network_g.rel
102network_g_rel_SOURCES = $(network_rel_SOURCES)
103network_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
104    $(network_CPPFLAGS)
105network_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
106
107noinst_DATA += network$(LIB_VARIANT).rel
108endif
109
110EXTRA_LIBRARIES = libbsp.a
111CLEANFILES += libbsp.a
112libbsp_a_SOURCES =
113libbsp_a_LIBADD = startup$(LIB_VARIANT).rel clock$(LIB_VARIANT).rel \
114    console$(LIB_VARIANT).rel timer$(LIB_VARIANT).rel
115if HAS_NETWORKING
116libbsp_a_LIBADD += network$(LIB_VARIANT).rel
117endif
118libbsp_a_LIBADD += \
119    ../../../libcpu/@RTEMS_CPU@/shared/cache$(LIB_VARIANT).rel \
120    ../../../libcpu/@RTEMS_CPU@/shared/misc$(LIB_VARIANT).rel
121if HAS_FPSP
122libbsp_a_LIBADD += \
123    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp$(LIB_VARIANT).rel
124endif
125
126EXTRA_LIBRARIES += libbsp_g.a
127CLEANFILES += libbsp_g.a
128libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
129libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
130
131noinst_DATA += libbsp$(LIB_VARIANT).a
132
133all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
134
135PREINSTALL_DIRS =
136PREINSTALL_FILES =
137TMPINSTALL_FILES =
138
139$(PROJECT_INCLUDE)/$(dirstamp):
140        @$(mkdir_p) $(PROJECT_INCLUDE)
141        @: > $(PROJECT_INCLUDE)/$(dirstamp)
142PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
143
144$(PROJECT_LIB)/$(dirstamp):
145        @$(mkdir_p) $(PROJECT_LIB)
146        @: > $(PROJECT_LIB)/$(dirstamp)
147PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
148
149$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
150        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
151PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
152
153$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
154        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
155PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
156
157$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
158        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
159PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
160
161$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
162        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
163PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
164
165$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
166        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
167PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
168
169$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
170        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
171TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
172
173$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
174        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
175PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
176
177$(PROJECT_LIB)/linkcmds.prom: startup/linkcmds.prom $(PROJECT_LIB)/$(dirstamp)
178        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.prom
179PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.prom
180
181$(PROJECT_LIB)/linkcmds.bootp: startup/linkcmds.bootp $(PROJECT_LIB)/$(dirstamp)
182        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.bootp
183PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.bootp
184
185CLEANFILES += $(PREINSTALL_FILES)
186DISTCLEANFILES = $(PREINSTALL_DIRS)
187CLEANFILES += $(TMPINSTALL_FILES)
188
189include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.