source: rtems/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am @ 7c6c630

4.104.114.84.95
Last change on this file since 7c6c630 was 7c6c630, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 3, 2005 at 4:11:58 AM

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

  • Makefile.am: Remove build-variant support.
  • Property mode set to 100644
File size: 3.1 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
20include_HEADERS += include/coverhd.h
21
22dist_project_lib_DATA += startup/linkcmds
23
24noinst_PROGRAMS += clock.rel
25clock_rel_SOURCES = clock/ckinit.c
26clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
27clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
28
29noinst_PROGRAMS += console.rel
30console_rel_SOURCES = console/console.c
31console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
32console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
33
34if HAS_MP
35noinst_PROGRAMS += shmsupp.rel
36shmsupp_rel_SOURCES = shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \
37    shmsupp/mpisr.c
38shmsupp_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
39shmsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
40endif
41
42noinst_PROGRAMS += startup.rel
43startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
44    ../../shared/bsppost.c startup/bspstart.c startup/main.c \
45    ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \
46    ../../shared/gnatinstallhandler.c
47startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
48startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50noinst_PROGRAMS += timer.rel
51timer_rel_SOURCES = timer/timer.c timer/timerisr.c
52timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
53timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54
55noinst_LIBRARIES = libbsp.a
56libbsp_a_SOURCES =
57libbsp_a_LIBADD = startup clock console timer
58if HAS_MP
59libbsp_a_LIBADD += shmsupp
60endif
61
62all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
63
64EXTRA_DIST = times
65
66PREINSTALL_DIRS =
67PREINSTALL_FILES =
68
69$(PROJECT_INCLUDE)/$(dirstamp):
70        @$(mkdir_p) $(PROJECT_INCLUDE)
71        @: > $(PROJECT_INCLUDE)/$(dirstamp)
72PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
73
74$(PROJECT_LIB)/$(dirstamp):
75        @$(mkdir_p) $(PROJECT_LIB)
76        @: > $(PROJECT_LIB)/$(dirstamp)
77PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
78
79$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
80        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
81PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
82
83$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
84        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
85PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
86
87$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
88        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
89PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
90
91$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
92        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
93PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
94
95$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
96        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
97PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
98
99$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
100        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
101PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
102
103CLEANFILES = $(PREINSTALL_FILES)
104DISTCLEANFILES += $(PREINSTALL_DIRS)
105
106include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.