source: rtems/c/src/lib/libbsp/unix/posix/Makefile.am @ eec7c441

4.104.114.84.95
Last change on this file since eec7c441 was eec7c441, checked in by Joel Sherrill <joel.sherrill@…>, on 08/01/07 at 00:49:03

2007-07-31 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, preinstall.am: You need main() to link all applications. There is no C++ specific way to link currently.
  • Property mode set to 100644
File size: 2.3 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7EXEEXT =
8
9# wrapup is the one that actually builds and installs the library
10# from the individual .rel files built in other directories
11SUBDIRS = . tools
12
13include $(top_srcdir)/../../../../automake/compile.am
14include $(top_srcdir)/../../bsp.am
15
16dist_project_lib_DATA = bsp_specs
17
18include_HEADERS = include/bsp.h
19include_HEADERS += include/tm27.h
20
21nodist_include_HEADERS = include/bspopts.h
22DISTCLEANFILES = include/bspopts.h
23noinst_PROGRAMS =
24
25nodist_include_HEADERS += ../../shared/include/coverhd.h
26
27project_lib_DATA =
28noinst_LIBRARIES =
29## if HAS_CXX
30## noinst_LIBRARIES += librtemscxx.a
31##
32## librtemscxx_a_SOURCES = startup/no-ctor.c
33##
34## # Install as a separate .$(OBJEXT)
35## project_lib_DATA += no-ctor.$(OBJEXT)
36##
37## # We install the RTEMS constructor as a separate .$(OBJEXT)
38## # so it can be easily place correctly by the compiler config file.
39## project_lib_DATA += rtems-ctor.$(OBJEXT)
40## endif
41
42noinst_PROGRAMS += startup.rel
43startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
44    startup/bspstart.c startup/setvec.c ../../shared/bootcard.c
45## for now always using main.c style startup
46##if !HAS_CXX
47startup_rel_SOURCES += startup/main.c
48##endif
49
50startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
51startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52
53noinst_PROGRAMS += clock.rel
54clock_rel_SOURCES = clock/clock.c
55clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
56clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58noinst_PROGRAMS += console.rel
59console_rel_SOURCES = console/console.c
60console_rel_CPPFLAGS = $(AM_CPPFLAGS)
61console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62
63noinst_PROGRAMS += timer.rel
64timer_rel_SOURCES = timer/timer.c
65timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
66timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
67
68if HAS_MP
69noinst_PROGRAMS += shmsupp.rel
70shmsupp_rel_SOURCES = shmsupp/addrconv.c shmsupp/getcfg.c \
71    shmsupp/cause_intr.c shmsupp/lock.c shmsupp/mpisr.c
72shmsupp_rel_CPPFLAGS = $(AM_CPPFLAGS)
73shmsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
74endif
75
76noinst_LIBRARIES += libbsp.a
77libbsp_a_SOURCES =
78## if HAS_CXX
79## libbsp_a_SOURCES += startup/rtems-ctor.cc
80## endif
81libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
82if HAS_MP
83libbsp_a_LIBADD += shmsupp.rel
84endif
85
86EXTRA_DIST = times
87
88include $(srcdir)/preinstall.am
89include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.