source: rtems/c/src/lib/libbsp/m68k/mvme147/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: 3.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/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 = startup/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 = 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 = 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 = timer/timer.c 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
84EXTRA_LIBRARIES = libbsp.a
85CLEANFILES += libbsp.a
86libbsp_a_SOURCES =
87libbsp_a_LIBADD = startup$(LIB_VARIANT).rel clock$(LIB_VARIANT).rel \
88    console$(LIB_VARIANT).rel timer$(LIB_VARIANT).rel
89libbsp_a_LIBADD += \
90    ../../../libcpu/@RTEMS_CPU@/shared/cache$(LIB_VARIANT).rel \
91    ../../../libcpu/@RTEMS_CPU@/shared/misc$(LIB_VARIANT).rel
92
93EXTRA_LIBRARIES += libbsp_g.a
94CLEANFILES += libbsp_g.a
95libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
96libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
97
98noinst_DATA += libbsp$(LIB_VARIANT).a
99
100all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
101
102EXTRA_DIST += times
103
104PREINSTALL_DIRS =
105TMPINSTALL_FILES =
106
107$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
108        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
109PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
110
111$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
112        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
113TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
114
115$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
116        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
117TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
118
119CLEANFILES += $(PREINSTALL_FILES)
120DISTCLEANFILES = $(PREINSTALL_DIRS)
121CLEANFILES += $(TMPINSTALL_FILES)
122
123include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.