1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
2 | |
---|
3 | include $(top_srcdir)/../../../../automake/compile.am |
---|
4 | include $(top_srcdir)/../../bsp.am |
---|
5 | |
---|
6 | include_bspdir = $(includedir)/bsp |
---|
7 | |
---|
8 | dist_project_lib_DATA = bsp_specs |
---|
9 | |
---|
10 | include_HEADERS = include/bsp.h |
---|
11 | include_HEADERS += ../../shared/include/tm27.h |
---|
12 | |
---|
13 | nodist_include_HEADERS = include/bspopts.h |
---|
14 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
15 | DISTCLEANFILES = include/bspopts.h |
---|
16 | noinst_PROGRAMS = |
---|
17 | |
---|
18 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
19 | |
---|
20 | EXTRA_DIST = start/start.S |
---|
21 | start.$(OBJEXT): start/start.S |
---|
22 | $(CPPASCOMPILE) -o $@ -c $< |
---|
23 | project_lib_DATA = start.$(OBJEXT) |
---|
24 | |
---|
25 | dist_project_lib_DATA += startup/linkcmds |
---|
26 | |
---|
27 | startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
28 | ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \ |
---|
29 | ../../shared/bspgetworkarea.c ../../shared/bsppost.c \ |
---|
30 | startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \ |
---|
31 | ../../shared/gnatinstallhandler.c startup/crtn.S |
---|
32 | clock_SOURCES = ../../shared/clock_driver_simidle.c |
---|
33 | console_SOURCES = ../../shared/console-polled.c console/console-io.c \ |
---|
34 | console/syscalls.S |
---|
35 | timer_SOURCES = timer/timer.c |
---|
36 | |
---|
37 | noinst_LIBRARIES = libbsp.a |
---|
38 | libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ |
---|
39 | $(timer_SOURCES) |
---|
40 | |
---|
41 | # Cache |
---|
42 | libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c |
---|
43 | libbsp_a_SOURCES += ../../shared/include/cache_.h |
---|
44 | libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include |
---|
45 | |
---|
46 | include $(srcdir)/preinstall.am |
---|
47 | include $(top_srcdir)/../../../../automake/local.am |
---|