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 | |
---|
15 | nodist_include_HEADERS = include/bspopts.h |
---|
16 | DISTCLEANFILES = include/bspopts.h |
---|
17 | noinst_PROGRAMS = |
---|
18 | |
---|
19 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
20 | |
---|
21 | EXTRA_DIST = start/start.S |
---|
22 | start.$(OBJEXT): start/start.S |
---|
23 | $(CPPASCOMPILE) -DASM -o $@ -c $< |
---|
24 | project_lib_DATA = start.$(OBJEXT) |
---|
25 | |
---|
26 | dist_project_lib_DATA += startup/linkcmds |
---|
27 | |
---|
28 | noinst_PROGRAMS += startup.rel |
---|
29 | startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
30 | ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \ |
---|
31 | ../../shared/main.c ../../shared/sbrk.c \ |
---|
32 | ../../shared/gnatinstallhandler.c startup/__main.c |
---|
33 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
34 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
35 | |
---|
36 | noinst_PROGRAMS += clock.rel |
---|
37 | clock_rel_SOURCES = ../../shared/clock_driver_stub.c |
---|
38 | clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
39 | clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
40 | |
---|
41 | noinst_PROGRAMS += console.rel |
---|
42 | console_rel_SOURCES = ../../shared/console-polled.c console/console-io.c |
---|
43 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
44 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
45 | |
---|
46 | noinst_PROGRAMS += timer.rel |
---|
47 | timer_rel_SOURCES = ../../shared/timerstub.c |
---|
48 | timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
49 | timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
50 | |
---|
51 | noinst_LIBRARIES = libbsp.a |
---|
52 | libbsp_a_SOURCES = |
---|
53 | libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel |
---|
54 | |
---|
55 | EXTRA_DIST += times |
---|
56 | |
---|
57 | include $(srcdir)/preinstall.am |
---|
58 | include $(top_srcdir)/../../../../automake/local.am |
---|