source: rtems/c/src/lib/libbsp/sh/gensh1/Makefile.am @ 29fd3878

Last change on this file since 29fd3878 was 625ef85, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 2, 2007 at 11:18:03 AM

2007-04-02 Joel Sherrill <joel@…>

  • Makefile.am: Add dummy printk support so all tests link.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20include_HEADERS += include/coverhd.h
21
22EXTRA_DIST = start/start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds
29
30noinst_PROGRAMS += startup.rel
31startup_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
35startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
36startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
39
40scitab.c: $(SHGEN)
41        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
42BUILT_SOURCES = scitab.c
43CLEANFILES = scitab.c
44
45noinst_PROGRAMS += scitab.rel
46scitab_rel_SOURCES = scitab.c
47scitab_rel_CPPFLAGS = $(AM_CPPFLAGS)
48scitab_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50noinst_PROGRAMS += console.rel
51console_rel_SOURCES = ../../sh/shared/console.c \
52    ../../shared/dummy_printk_support.c
53console_rel_CPPFLAGS = $(AM_CPPFLAGS)
54console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
55
56noinst_LIBRARIES = libbsp.a
57libbsp_a_SOURCES =
58libbsp_a_LIBADD = startup.rel scitab.rel console.rel
59libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
60    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
61    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \
62    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/delay.rel \
63    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
64
65EXTRA_DIST += times
66
67include $(srcdir)/preinstall.am
68include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.