1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | |
---|
9 | include_bspdir = $(includedir)/bsp |
---|
10 | |
---|
11 | dist_project_lib_DATA = bsp_specs |
---|
12 | |
---|
13 | include_HEADERS = include/bsp.h |
---|
14 | include_HEADERS += include/tm27.h |
---|
15 | |
---|
16 | nodist_include_HEADERS = include/bspopts.h |
---|
17 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
18 | DISTCLEANFILES = include/bspopts.h |
---|
19 | |
---|
20 | include_HEADERS += include/gdbsci.h |
---|
21 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
22 | |
---|
23 | noinst_LIBRARIES = libbspstart.a |
---|
24 | libbspstart_a_SOURCES = start/start.S |
---|
25 | project_lib_DATA = start.$(OBJEXT) |
---|
26 | |
---|
27 | dist_project_lib_DATA += startup/linkcmds startup/linkcmds.sim |
---|
28 | |
---|
29 | noinst_LIBRARIES += libbsp.a |
---|
30 | libbsp_a_SOURCES = |
---|
31 | |
---|
32 | SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen |
---|
33 | |
---|
34 | scitab.c: $(SHGEN) |
---|
35 | $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@ |
---|
36 | BUILT_SOURCES = scitab.c |
---|
37 | CLEANFILES = scitab.c |
---|
38 | |
---|
39 | # startup |
---|
40 | libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
41 | ../../shared/bsppredriverhook.c ../shared/bspstart.c \ |
---|
42 | ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \ |
---|
43 | ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/bootcard.c \ |
---|
44 | ../../shared/gnatinstallhandler.c ../shared/bsphwinit.c |
---|
45 | # clock |
---|
46 | libbsp_a_SOURCES += ../../shared/clock_driver_simidle.c |
---|
47 | |
---|
48 | # trap34 |
---|
49 | libbsp_a_SOURCES += trap34/console-io.c trap34/console-support.S \ |
---|
50 | ../../shared/dummy_printk_support.c |
---|
51 | # console |
---|
52 | libbsp_a_SOURCES += ../../shared/console-polled.c |
---|
53 | |
---|
54 | libbsp_a_LIBADD = \ |
---|
55 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel |
---|
56 | |
---|
57 | include $(srcdir)/preinstall.am |
---|
58 | include $(top_srcdir)/../../../../automake/local.am |
---|