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 += 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 |
---|
29 | |
---|
30 | SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen |
---|
31 | |
---|
32 | scitab.c: $(SHGEN) |
---|
33 | $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@ |
---|
34 | BUILT_SOURCES = scitab.c |
---|
35 | CLEANFILES = scitab.c |
---|
36 | |
---|
37 | startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
38 | ../../shared/bsppredriverhook.c ../shared/bspstart.c startup/bspclean.c \ |
---|
39 | ../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \ |
---|
40 | ../../shared/sbrk.c ../../shared/bootcard.c ../shared/bsphwinit.c \ |
---|
41 | ../../shared/gnatinstallhandler.c |
---|
42 | scitab_SOURCES = scitab.c |
---|
43 | console_SOURCES = ../../sh/shared/console.c |
---|
44 | debugio_SOURCES = ../../shared/dummy_printk_support.c |
---|
45 | |
---|
46 | noinst_LIBRARIES = libbsp.a |
---|
47 | libbsp_a_SOURCES = $(startup_SOURCES) $(scitab_SOURCES) $(console_SOURCES) \ |
---|
48 | $(debugio_SOURCES) |
---|
49 | |
---|
50 | libbsp_a_LIBADD = \ |
---|
51 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \ |
---|
52 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \ |
---|
53 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \ |
---|
54 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/delay.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 |
---|