1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | EXEEXT = |
---|
8 | |
---|
9 | # wrapup is the one that actually builds and installs the library |
---|
10 | # from the individual .rel files built in other directories |
---|
11 | SUBDIRS = . tools |
---|
12 | |
---|
13 | include $(top_srcdir)/../../../../automake/compile.am |
---|
14 | include $(top_srcdir)/../../bsp.am |
---|
15 | |
---|
16 | dist_project_lib_DATA = bsp_specs |
---|
17 | |
---|
18 | include_HEADERS = include/bsp.h |
---|
19 | include_HEADERS += include/tm27.h |
---|
20 | |
---|
21 | nodist_include_HEADERS = include/bspopts.h |
---|
22 | DISTCLEANFILES = include/bspopts.h |
---|
23 | noinst_PROGRAMS = |
---|
24 | |
---|
25 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
26 | |
---|
27 | project_lib_DATA = |
---|
28 | noinst_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 | |
---|
42 | startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ |
---|
43 | ../../shared/bsppredriverhook.c startup/bspstart.c \ |
---|
44 | startup/setvec.c ../../shared/bootcard.c |
---|
45 | ## for now always using main.c style startup |
---|
46 | ##if !HAS_CXX |
---|
47 | startup_SOURCES += startup/main.c |
---|
48 | ##endif |
---|
49 | |
---|
50 | clock_SOURCES = clock/clock.c |
---|
51 | console_SOURCES = console/console.c console/console-io.c |
---|
52 | timer_SOURCES = timer/timer.c |
---|
53 | |
---|
54 | if HAS_MP |
---|
55 | shmsupp_SOURCES = shmsupp/addrconv.c shmsupp/getcfg.c \ |
---|
56 | shmsupp/cause_intr.c shmsupp/lock.c shmsupp/mpisr.c |
---|
57 | endif |
---|
58 | |
---|
59 | noinst_LIBRARIES += libbsp.a |
---|
60 | libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) \ |
---|
61 | $(console_SOURCES) $(timer_SOURCES) $(shmsupp_SOURCES) |
---|
62 | ## if HAS_CXX |
---|
63 | ## libbsp_a_SOURCES += startup/rtems-ctor.cc |
---|
64 | ## endif |
---|
65 | |
---|
66 | EXTRA_DIST = times |
---|
67 | |
---|
68 | include $(srcdir)/preinstall.am |
---|
69 | include $(top_srcdir)/../../../../automake/local.am |
---|