source: rtems/c/src/lib/libbsp/m68k/sim68000/Makefile.am @ cba119c9

4.104.114.84.95
Last change on this file since cba119c9 was 844609f9, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 7, 2005 at 6:57:39 AM

2005-01-07 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
  • Property mode set to 100644
File size: 3.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
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20nodist_include_HEADERS += ../../shared/include/coverhd.h
21
22EXTRA_DIST = start/start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -DASM -o $@ -c $<
25
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds
29
30noinst_PROGRAMS += startup.rel
31startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
32    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
33    ../../m68k/shared/m68kpretaskinghook.c ../../shared/main.c \
34    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
35    ../../shared/gnatinstallhandler.c ../../m68k/shared/bspspuriousinit.c \
36    ../../m68k/shared/m68000spurious.c startup/spurious_assistant.c
37startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
38startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
39
40noinst_PROGRAMS += clock.rel
41clock_rel_SOURCES = clock/clockdrv.c
42clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
43clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45noinst_PROGRAMS += console.rel
46console_rel_SOURCES = console/conscfg.c ../../shared/console.c
47console_rel_CPPFLAGS = $(AM_CPPFLAGS)
48console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50noinst_PROGRAMS += timer.rel
51timer_rel_SOURCES = ../../shared/timerstub.c
52timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
53timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54
55noinst_LIBRARIES = libbsp.a
56libbsp_a_SOURCES =
57libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
58libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
59    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
60
61all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
62
63PREINSTALL_DIRS =
64PREINSTALL_FILES =
65TMPINSTALL_FILES =
66
67$(PROJECT_INCLUDE)/$(dirstamp):
68        @$(mkdir_p) $(PROJECT_INCLUDE)
69        @: > $(PROJECT_INCLUDE)/$(dirstamp)
70PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
71
72$(PROJECT_LIB)/$(dirstamp):
73        @$(mkdir_p) $(PROJECT_LIB)
74        @: > $(PROJECT_LIB)/$(dirstamp)
75PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
76
77$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
78        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
79PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
80
81$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
82        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
83PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
84
85$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
86        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
87PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
88
89$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
90        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
91PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
92
93$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
94        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
95PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
96
97$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
98        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
99TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
100
101$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
102        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
103PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
104
105CLEANFILES = $(PREINSTALL_FILES)
106DISTCLEANFILES += $(PREINSTALL_DIRS)
107CLEANFILES += $(TMPINSTALL_FILES)
108
109include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.