source: rtems/c/src/lib/libbsp/sh/shsim/Makefile.am @ 625ef85

Last change on this file since 625ef85 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: 2.2 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/gdbsci.h
21nodist_include_HEADERS += ../../shared/include/coverhd.h
22
23EXTRA_DIST = start/start.S
24start.$(OBJEXT): start/start.S
25        $(CPPASCOMPILE) -o $@ -c $<
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 ../../shared/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
38noinst_PROGRAMS += clock.rel
39clock_rel_SOURCES = clock/clockdrv.c
40clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
41clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
43SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
44
45scitab.c: $(SHGEN)
46        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
47BUILT_SOURCES = scitab.c
48CLEANFILES = scitab.c
49
50noinst_PROGRAMS += scitab.rel
51scitab_rel_SOURCES = scitab.c
52scitab_rel_CPPFLAGS = $(AM_CPPFLAGS)
53scitab_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54
55noinst_PROGRAMS += gdbsci.rel
56gdbsci_rel_SOURCES = gdbsci/gdbsci.c
57gdbsci_rel_CPPFLAGS = $(AM_CPPFLAGS)
58gdbsci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
59
60#
61# FIXME: trap34 is unused
62#
63noinst_PROGRAMS += trap34.rel
64trap34_rel_SOURCES = trap34/console-io.c trap34/console-support.S \
65    ../../shared/dummy_printk_support.c
66trap34_rel_CPPFLAGS = $(AM_CPPFLAGS)
67trap34_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68
69noinst_PROGRAMS += console.rel
70console_rel_SOURCES = ../../sh/shared/console.c
71console_rel_CPPFLAGS = $(AM_CPPFLAGS)
72console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73
74noinst_LIBRARIES = libbsp.a
75libbsp_a_SOURCES =
76libbsp_a_LIBADD = startup.rel clock.rel console.rel gdbsci.rel scitab.rel \
77    trap34.rel
78libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
79
80include $(srcdir)/preinstall.am
81include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.