source: rtems/c/src/lib/libbsp/m68k/mvme147s/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.4 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/coverhd.h
15
16EXTRA_DIST = ../../m68k/shared/start.S
17start$(LIB_VARIANT).$(OBJEXT): ../../m68k/shared/start.S
18        $(CPPASCOMPILE) -DASM -o $@ -c $<
19
20project_lib_DATA = start$(LIB_VARIANT).$(OBJEXT)
21
22dist_project_lib_DATA += startup/linkcmds
23
24EXTRA_PROGRAMS += startup.rel
25CLEANFILES += startup.rel
26startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
27    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
28    ../../m68k/shared/m68kpretaskinghook.c ../../shared/main.c \
29    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
30    ../../shared/gnatinstallhandler.c
31startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
32startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
33
34EXTRA_PROGRAMS += startup_g.rel
35CLEANFILES += startup_g.rel
36startup_g_rel_SOURCES = $(startup_rel_SOURCES)
37startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
38startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
39
40noinst_DATA += startup$(LIB_VARIANT).rel
41
42EXTRA_PROGRAMS += clock.rel
43CLEANFILES += clock.rel
44clock_rel_SOURCES = ../mvme147/clock/ckinit.c
45clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
46clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48EXTRA_PROGRAMS += clock_g.rel
49CLEANFILES += clock_g.rel
50clock_g_rel_SOURCES = $(clock_rel_SOURCES)
51clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
52clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
53
54noinst_DATA += clock$(LIB_VARIANT).rel
55
56EXTRA_PROGRAMS += console.rel
57CLEANFILES += console.rel
58console_rel_SOURCES = ../mvme147/console/console.c
59console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
60console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61
62EXTRA_PROGRAMS += console_g.rel
63CLEANFILES += console_g.rel
64console_g_rel_SOURCES = $(console_rel_SOURCES)
65console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
66console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
67
68noinst_DATA += console$(LIB_VARIANT).rel
69
70EXTRA_PROGRAMS += timer.rel
71CLEANFILES += timer.rel
72timer_rel_SOURCES = ../mvme147/timer/timer.c ../mvme147/timer/timerisr.S
73timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
74timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
75
76EXTRA_PROGRAMS += timer_g.rel
77CLEANFILES += timer_g.rel
78timer_g_rel_SOURCES = $(timer_rel_SOURCES)
79timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
80timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
81
82noinst_DATA += timer$(LIB_VARIANT).rel
83
84if HAS_MP
85EXTRA_PROGRAMS += shmsupp.rel
86CLEANFILES += shmsupp.rel
87shmsupp_rel_SOURCES = shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \
88    shmsupp/mpisr.c
89shmsupp_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
90shmsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
91
92EXTRA_PROGRAMS += shmsupp_g.rel
93CLEANFILES += shmsupp_g.rel
94shmsupp_g_rel_SOURCES = $(shmsupp_rel_SOURCES)
95shmsupp_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
96shmsupp_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
97
98noinst_DATA += shmsupp$(LIB_VARIANT).rel
99endif
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 timer$(LIB_VARIANT).rel
106if HAS_MP
107libbsp_a_LIBADD += shmsupp$(LIB_VARIANT).rel
108endif
109libbsp_a_LIBADD += \
110    ../../../libcpu/@RTEMS_CPU@/shared/cache$(LIB_VARIANT).rel \
111    ../../../libcpu/@RTEMS_CPU@/shared/misc$(LIB_VARIANT).rel
112
113EXTRA_LIBRARIES += libbsp_g.a
114CLEANFILES += libbsp_g.a
115libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
116libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
117
118noinst_DATA += libbsp$(LIB_VARIANT).a
119
120all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
121
122EXTRA_DIST += times
123
124PREINSTALL_DIRS =
125TMPINSTALL_FILES =
126
127$(PROJECT_INCLUDE)/coverhd.h: 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
139CLEANFILES += $(PREINSTALL_FILES)
140DISTCLEANFILES = $(PREINSTALL_DIRS)
141CLEANFILES += $(TMPINSTALL_FILES)
142
143include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.