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 | dist_project_lib_DATA = bsp_specs |
---|
11 | |
---|
12 | include_HEADERS = include/bsp.h |
---|
13 | include_HEADERS += smc/smc.h |
---|
14 | include_HEADERS += include/tm27.h |
---|
15 | |
---|
16 | nodist_include_HEADERS = include/bspopts.h |
---|
17 | DISTCLEANFILES = include/bspopts.h |
---|
18 | noinst_PROGRAMS = |
---|
19 | |
---|
20 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
21 | |
---|
22 | EXTRA_DIST = start/start.S |
---|
23 | start.$(OBJEXT): start/start.S |
---|
24 | $(CPPASCOMPILE) -o $@ -c $< |
---|
25 | project_lib_DATA = start.$(OBJEXT) |
---|
26 | |
---|
27 | dist_project_lib_DATA += startup/linkcmds |
---|
28 | |
---|
29 | startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
30 | ../../shared/bsppredriverhook.c \ |
---|
31 | startup/bspstart.c startup/bspclean.c startup/memmap.c \ |
---|
32 | ../../shared/bootcard.c ../../shared/sbrk.c \ |
---|
33 | ../../shared/gnatinstallhandler.c |
---|
34 | console_SOURCES = console/uart.c ../../shared/console.c |
---|
35 | abort_SOURCES = ../shared/abort/abort.c |
---|
36 | smc_SOURCES = smc/smc.c smc/smc.h |
---|
37 | |
---|
38 | noinst_LIBRARIES = libbsp.a |
---|
39 | libbsp_a_SOURCES = $(startup_SOURCES) $(console_SOURCES) $(abort_SOURCES) \ |
---|
40 | $(smc_SOURCES) |
---|
41 | |
---|
42 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \ |
---|
43 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \ |
---|
44 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \ |
---|
45 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel |
---|
46 | |
---|
47 | include $(srcdir)/preinstall.am |
---|
48 | include $(top_srcdir)/../../../../automake/local.am |
---|