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 | include_HEADERS += include/coverhd.h |
---|
19 | |
---|
20 | EXTRA_DIST = start/start.S start/start.ram start/start.rom |
---|
21 | start.$(OBJEXT): start/start.S |
---|
22 | $(CPPASCOMPILE) -o $@ -c $< |
---|
23 | project_lib_DATA = start.$(OBJEXT) |
---|
24 | |
---|
25 | dist_project_lib_DATA += startup/linkcmds startup/linkcmds.ram \ |
---|
26 | startup/linkcmds.rom |
---|
27 | |
---|
28 | SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen |
---|
29 | |
---|
30 | scitab.c: $(SHGEN) |
---|
31 | $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@ |
---|
32 | BUILT_SOURCES = scitab.c |
---|
33 | CLEANFILES = scitab.c |
---|
34 | |
---|
35 | startup_SOURCES = startup/hw_init.c ../../shared/bsplibc.c \ |
---|
36 | ../../shared/bsppost.c ../../shared/bsppredriverhook.c \ |
---|
37 | startup/bspstart.c startup/bspclean.c ../../shared/sbrk.c \ |
---|
38 | ../../shared/bootcard.c ../../shared/gnatinstallhandler.c |
---|
39 | scitab_SOURCES = scitab.c |
---|
40 | console_SOURCES = ../../sh/shared/console.c console/config.c |
---|
41 | debugio_SOURCES = ../../shared/dummy_printk_support.c |
---|
42 | |
---|
43 | noinst_LIBRARIES = libbsp.a |
---|
44 | libbsp_a_SOURCES = $(startup_SOURCES) $(scitab_SOURCES) $(console_SOURCES) \ |
---|
45 | $(debugio_SOURCES) |
---|
46 | libbsp_a_LIBADD = \ |
---|
47 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \ |
---|
48 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \ |
---|
49 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \ |
---|
50 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel |
---|
51 | |
---|
52 | include $(srcdir)/preinstall.am |
---|
53 | include $(top_srcdir)/../../../../automake/local.am |
---|