source: rtems/c/src/lib/libbsp/m68k/gen68340/Makefile.am @ 4cb9d26

4.104.114.84.9
Last change on this file since 4cb9d26 was 4cb9d26, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 6, 2004 at 8:01:14 AM

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

  • Makefile.am: Pickup files from ../../m68k/shared instead of ../shared. Reformat.
  • Property mode set to 100644
File size: 4.9 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
15include_HEADERS += include/m340uart.h
16include_HEADERS += include/m340timer.h
17include_HEADERS += include/m68340.h
18include_HEADERS += include/m68340.inc
19include_HEADERS += include/m68349.inc
20
21EXTRA_DIST = start/start.S start/startfor340only.S
22start$(LIB_VARIANT).$(OBJEXT): start/start.S
23        $(CCASCOMPILE) -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 startup/init68340.c \
32    ../../shared/bootcard.c ../../m68k/shared/m68kpretaskinghook.c \
33    ../../shared/main.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
34    startup/dumpanic.c ../../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/Modif_cpu_asm.S console/console.c \
63    console/m340uart.c
64console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
65console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
66
67EXTRA_PROGRAMS += console_g.rel
68CLEANFILES += console_g.rel
69console_g_rel_SOURCES = $(console_rel_SOURCES)
70console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
71console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
72
73noinst_DATA += console$(LIB_VARIANT).rel
74
75EXTRA_PROGRAMS += timer.rel
76CLEANFILES += timer.rel
77timer_rel_SOURCES = timer/timer.c
78timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
79timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
80
81EXTRA_PROGRAMS += timer_g.rel
82CLEANFILES += timer_g.rel
83timer_g_rel_SOURCES = $(timer_rel_SOURCES)
84timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
85timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
86
87noinst_DATA += timer$(LIB_VARIANT).rel
88
89EXTRA_LIBRARIES = libbsp.a
90CLEANFILES += libbsp.a
91libbsp_a_SOURCES =
92libbsp_a_LIBADD = startup$(LIB_VARIANT).rel clock$(LIB_VARIANT).rel \
93    console$(LIB_VARIANT).rel timer$(LIB_VARIANT).rel
94libbsp_a_LIBADD += \
95    ../../../libcpu/@RTEMS_CPU@/shared/cache$(LIB_VARIANT).rel \
96    ../../../libcpu/@RTEMS_CPU@/shared/misc$(LIB_VARIANT).rel
97
98EXTRA_LIBRARIES += libbsp_g.a
99CLEANFILES += libbsp_g.a
100libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
101libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
102
103noinst_DATA += libbsp$(LIB_VARIANT).a
104
105all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
106
107PREINSTALL_DIRS =
108TMPINSTALL_FILES =
109
110$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
111        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
112PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
113
114$(PROJECT_INCLUDE)/m340uart.h: include/m340uart.h $(PROJECT_INCLUDE)/$(dirstamp)
115        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/m340uart.h
116PREINSTALL_FILES += $(PROJECT_INCLUDE)/m340uart.h
117
118$(PROJECT_INCLUDE)/m340timer.h: include/m340timer.h $(PROJECT_INCLUDE)/$(dirstamp)
119        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/m340timer.h
120PREINSTALL_FILES += $(PROJECT_INCLUDE)/m340timer.h
121
122$(PROJECT_INCLUDE)/m68340.h: include/m68340.h $(PROJECT_INCLUDE)/$(dirstamp)
123        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/m68340.h
124PREINSTALL_FILES += $(PROJECT_INCLUDE)/m68340.h
125
126$(PROJECT_INCLUDE)/m68340.inc: include/m68340.inc $(PROJECT_INCLUDE)/$(dirstamp)
127        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/m68340.inc
128PREINSTALL_FILES += $(PROJECT_INCLUDE)/m68340.inc
129
130$(PROJECT_INCLUDE)/m68349.inc: include/m68349.inc $(PROJECT_INCLUDE)/$(dirstamp)
131        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/m68349.inc
132PREINSTALL_FILES += $(PROJECT_INCLUDE)/m68349.inc
133
134$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
135        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
136TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
137
138$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
139        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
140TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
141
142CLEANFILES += $(PREINSTALL_FILES)
143DISTCLEANFILES = $(PREINSTALL_DIRS)
144CLEANFILES += $(TMPINSTALL_FILES)
145
146include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.