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) -DASM -o $@ -c $< |
---|
25 | |
---|
26 | project_lib_DATA = start.$(OBJEXT) |
---|
27 | |
---|
28 | dist_project_lib_DATA += startup/linkcmds |
---|
29 | |
---|
30 | noinst_PROGRAMS += startup.rel |
---|
31 | startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
32 | startup/bspstart.c startup/bspclean.c ../../shared/sbrk.c \ |
---|
33 | ../../shared/bootcard.c ../../shared/main.c \ |
---|
34 | ../../shared/gnatinstallhandler.c |
---|
35 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
36 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
37 | |
---|
38 | SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen |
---|
39 | |
---|
40 | scitab.c: $(SHGEN) |
---|
41 | $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@ |
---|
42 | BUILT_SOURCES = scitab.c |
---|
43 | CLEANFILES = scitab.c |
---|
44 | |
---|
45 | noinst_PROGRAMS += scitab.rel |
---|
46 | scitab_rel_SOURCES = scitab.c |
---|
47 | scitab_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
48 | scitab_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
49 | |
---|
50 | noinst_PROGRAMS += console.rel |
---|
51 | console_rel_SOURCES = ../../sh/shared/console.c |
---|
52 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
53 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
54 | |
---|
55 | noinst_LIBRARIES = libbsp.a |
---|
56 | libbsp_a_SOURCES = |
---|
57 | libbsp_a_LIBADD = startup.rel scitab.rel console.rel |
---|
58 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \ |
---|
59 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \ |
---|
60 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \ |
---|
61 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/delay.rel \ |
---|
62 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel |
---|
63 | |
---|
64 | all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES) |
---|
65 | |
---|
66 | EXTRA_DIST += times |
---|
67 | |
---|
68 | include $(srcdir)/preinstall.am |
---|
69 | include $(top_srcdir)/../../../../automake/local.am |
---|