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