source: rtems/c/src/lib/libbsp/m68k/mrm332/Makefile.am @ c24d7c84

4.104.114.84.9
Last change on this file since c24d7c84 was c24d7c84, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 12, 2004 at 9:08:05 AM

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

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