1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | # wrapup is the one that actually builds and installs the library |
---|
8 | # from the individual .rel files built in other directories |
---|
9 | SUBDIRS = . tools |
---|
10 | |
---|
11 | include $(top_srcdir)/../../../../automake/compile.am |
---|
12 | include $(top_srcdir)/../../bsp.am |
---|
13 | |
---|
14 | dist_project_lib_DATA = bsp_specs |
---|
15 | |
---|
16 | include_HEADERS = include/bsp.h |
---|
17 | include_HEADERS += include/tm27.h |
---|
18 | |
---|
19 | nodist_include_HEADERS = include/bspopts.h |
---|
20 | DISTCLEANFILES = include/bspopts.h |
---|
21 | noinst_PROGRAMS = |
---|
22 | |
---|
23 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
24 | |
---|
25 | EXTRA_DIST = start/start.S start/regs.S |
---|
26 | start.$(OBJEXT): start/start.S |
---|
27 | $(CPPASCOMPILE) -o $@ -c $< |
---|
28 | project_lib_DATA = start.$(OBJEXT) |
---|
29 | |
---|
30 | dist_project_lib_DATA += startup/linkcmds |
---|
31 | |
---|
32 | startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ |
---|
33 | ../../shared/bsppredriverhook.c ../../shared/bsppost.c \ |
---|
34 | ../../shared/bsppretaskinghook.c \ |
---|
35 | startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \ |
---|
36 | ../../shared/gnatinstallhandler.c ../../shared/setvec.c |
---|
37 | clock_SOURCES = clock/clockdrv.c |
---|
38 | console_SOURCES = ../../shared/console-polled.c console/console-io.c |
---|
39 | timer_SOURCES = timer/timer.c |
---|
40 | |
---|
41 | noinst_LIBRARIES = libbsp.a |
---|
42 | libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ |
---|
43 | $(timer_SOURCES) |
---|
44 | |
---|
45 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
46 | ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \ |
---|
47 | ../../../libcpu/@RTEMS_CPU@/tx39/vectorisrs.rel |
---|
48 | |
---|
49 | include $(srcdir)/preinstall.am |
---|
50 | include $(top_srcdir)/../../../../automake/local.am |
---|