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