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 += include/tm27.h |
---|
14 | include_HEADERS += include/usc.h |
---|
15 | |
---|
16 | nodist_include_HEADERS = include/bspopts.h |
---|
17 | DISTCLEANFILES = include/bspopts.h |
---|
18 | |
---|
19 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
20 | |
---|
21 | EXTRA_DIST = start/start.S start/regs.h |
---|
22 | start.$(OBJEXT): start/start.S |
---|
23 | $(CPPASCOMPILE) -o $@ -c $< |
---|
24 | |
---|
25 | project_lib_DATA = start.$(OBJEXT) |
---|
26 | |
---|
27 | dist_project_lib_DATA += startup/linkcmds |
---|
28 | |
---|
29 | startup_SOURCES = ../../shared/bspclean.c \ |
---|
30 | ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
31 | ../../shared/bsppredriverhook.c startup/bspstart.c \ |
---|
32 | ../../shared/bootcard.c ../../shared/sbrk.c \ |
---|
33 | ../../shared/gnatinstallhandler.c ../../shared/setvec.c \ |
---|
34 | startup/inittlb.c \ |
---|
35 | startup/idtmem.S startup/idttlb.S startup/exception.S |
---|
36 | clock_SOURCES = clock/ckinit.c |
---|
37 | console_SOURCES = console/console.c |
---|
38 | liblnk_SOURCES = liblnk/lnklib.S liblnk/pmon.S |
---|
39 | |
---|
40 | noinst_LIBRARIES = libbsp.a |
---|
41 | libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ |
---|
42 | $(liblnk_SOURCES) |
---|
43 | |
---|
44 | libbsp_a_LIBADD = \ |
---|
45 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
46 | ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \ |
---|
47 | ../../../libcpu/@RTEMS_CPU@/rm52xx/timer.rel \ |
---|
48 | ../../../libcpu/@RTEMS_CPU@/rm52xx/vectorisrs.rel |
---|
49 | |
---|
50 | include $(srcdir)/preinstall.am |
---|
51 | include $(top_srcdir)/../../../../automake/local.am |
---|