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 | include_HEADERS += include/sdram.h |
---|
20 | include_HEADERS += include/coverhd.h |
---|
21 | |
---|
22 | EXTRA_DIST = start/start.S |
---|
23 | start.$(OBJEXT): start/start.S |
---|
24 | $(CPPASCOMPILE) -o $@ -c $< |
---|
25 | |
---|
26 | project_lib_DATA = start.$(OBJEXT) |
---|
27 | |
---|
28 | dist_project_lib_DATA += startup/linkcmds startup/linkcmds.rom \ |
---|
29 | startup/linkcmds.rom2ram |
---|
30 | |
---|
31 | noinst_PROGRAMS += startup.rel |
---|
32 | startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
33 | startup/bspstart.c ../../shared/bspclean.c ../../shared/sbrk.c \ |
---|
34 | ../../shared/bootcard.c ../../shared/main.c \ |
---|
35 | ../../shared/gnatinstallhandler.c |
---|
36 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
37 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
38 | |
---|
39 | noinst_PROGRAMS += console.rel |
---|
40 | console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c |
---|
41 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
42 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
43 | |
---|
44 | noinst_PROGRAMS += hw_init.rel |
---|
45 | hw_init_rel_SOURCES = hw_init/hw_init.c |
---|
46 | hw_init_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
47 | hw_init_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
48 | |
---|
49 | noinst_LIBRARIES = libbsp.a |
---|
50 | libbsp_a_SOURCES = |
---|
51 | libbsp_a_LIBADD = startup.rel hw_init.rel console.rel |
---|
52 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \ |
---|
53 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \ |
---|
54 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \ |
---|
55 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel |
---|
56 | |
---|
57 | EXTRA_DIST += times |
---|
58 | |
---|
59 | include $(srcdir)/preinstall.am |
---|
60 | include $(top_srcdir)/../../../../automake/local.am |
---|