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