source: rtems/c/src/lib/libbsp/m68k/dmv152/Makefile.am @ c2e9632

4.104.114.84.95
Last change on this file since c2e9632 was 2a7f9a28, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 19, 2004 at 6:22:18 AM

2004-02-19 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Reflect changes to bsp.am. Preinstall dist_project_lib*.
  • Property mode set to 100644
File size: 5.1 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
13nodist_include_HEADERS = include/bspopts.h
14
15EXTRA_PROGRAMS =
16CLEANFILES =
17noinst_DATA =
18
19include_HEADERS += include/coverhd.h
20
21EXTRA_DIST = ../../m68k/shared/start.S
22start$(LIB_VARIANT).$(OBJEXT): ../../m68k/shared/start.S
23        $(CPPASCOMPILE) -DASM -o $@ -c $<
24project_lib_DATA = start$(LIB_VARIANT).$(OBJEXT)
25
26dist_project_lib_DATA += startup/linkcmds
27
28EXTRA_PROGRAMS += startup.rel
29CLEANFILES += startup.rel
30startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
31    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
32    ../../m68k/shared/m68kpretaskinghook.c ../../shared/main.c \
33    ../../shared/sbrk.c ../../m68k/shared/setvec.c startup/vmeintr.c \
34    ../../shared/gnatinstallhandler.c
35startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
36startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38EXTRA_PROGRAMS += startup_g.rel
39CLEANFILES += startup_g.rel
40startup_g_rel_SOURCES = $(startup_rel_SOURCES)
41startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
42startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44noinst_DATA += startup$(LIB_VARIANT).rel
45
46EXTRA_PROGRAMS += clock.rel
47CLEANFILES += clock.rel
48clock_rel_SOURCES = clock/ckinit.c
49clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
50clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52EXTRA_PROGRAMS += clock_g.rel
53CLEANFILES += clock_g.rel
54clock_g_rel_SOURCES = $(clock_rel_SOURCES)
55clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
56clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58noinst_DATA += clock$(LIB_VARIANT).rel
59
60EXTRA_PROGRAMS += console.rel
61CLEANFILES += console.rel
62console_rel_SOURCES = console/console.c
63console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
64console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
65
66EXTRA_PROGRAMS += console_g.rel
67CLEANFILES += console_g.rel
68console_g_rel_SOURCES = $(console_rel_SOURCES)
69console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
70console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
71
72noinst_DATA += console$(LIB_VARIANT).rel
73
74EXTRA_PROGRAMS += spurious.rel
75CLEANFILES += spurious.rel
76spurious_rel_SOURCES = spurious/spinit.c
77spurious_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
78spurious_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
79
80EXTRA_PROGRAMS += spurious_g.rel
81CLEANFILES += spurious_g.rel
82spurious_g_rel_SOURCES = $(spurious_rel_SOURCES)
83spurious_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
84spurious_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
85
86noinst_DATA += spurious$(LIB_VARIANT).rel
87
88EXTRA_PROGRAMS += timer.rel
89CLEANFILES += timer.rel
90timer_rel_SOURCES = timer/timer.c timer/timerisr.S
91timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
92timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
93
94EXTRA_PROGRAMS += timer_g.rel
95CLEANFILES += timer_g.rel
96timer_g_rel_SOURCES = $(timer_rel_SOURCES)
97timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
98timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
99
100noinst_DATA += timer$(LIB_VARIANT).rel
101
102EXTRA_LIBRARIES = libbsp.a
103CLEANFILES += libbsp.a
104libbsp_a_SOURCES =
105libbsp_a_LIBADD = startup$(LIB_VARIANT).rel clock$(LIB_VARIANT).rel \
106    console$(LIB_VARIANT).rel spurious$(LIB_VARIANT).rel \
107    timer$(LIB_VARIANT).rel
108libbsp_a_LIBADD += \
109    ../../../libcpu/@RTEMS_CPU@/shared/cache$(LIB_VARIANT).rel \
110    ../../../libcpu/@RTEMS_CPU@/shared/misc$(LIB_VARIANT).rel
111
112EXTRA_LIBRARIES += libbsp_g.a
113CLEANFILES += libbsp_g.a
114libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
115libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
116
117noinst_DATA += libbsp$(LIB_VARIANT).a
118
119all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
120
121EXTRA_DIST += times
122
123PREINSTALL_DIRS =
124PREINSTALL_FILES =
125TMPINSTALL_FILES =
126
127$(PROJECT_INCLUDE)/$(dirstamp):
128        @$(mkdir_p) $(PROJECT_INCLUDE)
129        @: > $(PROJECT_INCLUDE)/$(dirstamp)
130PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
131
132$(PROJECT_LIB)/$(dirstamp):
133        @$(mkdir_p) $(PROJECT_LIB)
134        @: > $(PROJECT_LIB)/$(dirstamp)
135PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
136
137$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
138        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
139PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
140
141$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
142        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
143PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
144
145$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
146        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
147PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
148
149$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
150        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
151PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.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
159PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
160
161CLEANFILES += $(PREINSTALL_FILES)
162DISTCLEANFILES = $(PREINSTALL_DIRS)
163CLEANFILES += $(TMPINSTALL_FILES)
164
165include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.