1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | include $(top_srcdir)/../../bsp.am |
---|
9 | |
---|
10 | include_bspdir = $(includedir)/bsp |
---|
11 | |
---|
12 | dist_project_lib_DATA = bsp_specs |
---|
13 | |
---|
14 | include_HEADERS = include/bsp.h |
---|
15 | include_HEADERS += include/tm27.h |
---|
16 | include_HEADERS += include/cplb.h |
---|
17 | |
---|
18 | nodist_include_HEADERS = include/bspopts.h |
---|
19 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
20 | DISTCLEANFILES = include/bspopts.h |
---|
21 | |
---|
22 | noinst_PROGRAMS = |
---|
23 | |
---|
24 | include_HEADERS += ../../shared/include/coverhd.h |
---|
25 | |
---|
26 | EXTRA_DIST = ../shared/start/start.S |
---|
27 | start.$(OBJEXT): ../shared/start/start.S |
---|
28 | $(CPPASCOMPILE) -DASM -o $@ -c $< |
---|
29 | project_lib_DATA = start.$(OBJEXT) |
---|
30 | |
---|
31 | dist_project_lib_DATA += startup/linkcmds |
---|
32 | |
---|
33 | noinst_LIBRARIES = libbsp.a |
---|
34 | libbsp_a_SOURCES = |
---|
35 | |
---|
36 | noinst_PROGRAMS += startup.rel |
---|
37 | startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
38 | ../../shared/bsppredriverhook.c startup/bspstart.c \ |
---|
39 | ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \ |
---|
40 | ../../shared/bootcard.c ../../shared/gnatinstallhandler.c \ |
---|
41 | ../../shared/bspgetworkarea.c |
---|
42 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
43 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
44 | |
---|
45 | noinst_PROGRAMS += console.rel |
---|
46 | console_rel_SOURCES = console/console-io.c |
---|
47 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
48 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
49 | |
---|
50 | libbsp_a_LIBADD = startup.rel console.rel |
---|
51 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/mmu.rel |
---|
52 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/interrupt.rel |
---|
53 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/cache.rel |
---|
54 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/uart.rel |
---|
55 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/clock.rel |
---|
56 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/rtc.rel |
---|
57 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/timer.rel |
---|
58 | |
---|
59 | EXTRA_DIST += times |
---|
60 | |
---|
61 | include $(srcdir)/preinstall.am |
---|
62 | include $(top_srcdir)/../../../../automake/local.am |
---|