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

4.104.114.84.95
Last change on this file since a06faad was a06faad, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/11/06 at 05:46:29

2006-01-11 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am: Add preinstall.am.
  • Property mode set to 100644
File size: 2.2 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7CLEANFILES =
8
9include $(top_srcdir)/../../../../automake/compile.am
10include $(top_srcdir)/../../bsp.am
11
12dist_project_lib_DATA = bsp_specs
13
14include_HEADERS = include/bsp.h
15include_HEADERS += include/tm27.h
16
17nodist_include_HEADERS = include/bspopts.h
18DISTCLEANFILES = include/bspopts.h
19
20noinst_PROGRAMS =
21
22include_HEADERS += include/gdbsci.h
23nodist_include_HEADERS += ../../shared/include/coverhd.h
24
25EXTRA_DIST = start/start.S
26start.$(OBJEXT): start/start.S
27        $(CPPASCOMPILE) -DASM -o $@ -c $<
28project_lib_DATA = start.$(OBJEXT)
29
30dist_project_lib_DATA += startup/linkcmds
31
32noinst_PROGRAMS += startup.rel
33startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
34    startup/bspstart.c ../../shared/bspclean.c ../../shared/sbrk.c \
35    ../../shared/bootcard.c ../../shared/main.c \
36    ../../shared/gnatinstallhandler.c
37startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
38startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
39
40noinst_PROGRAMS += clock.rel
41clock_rel_SOURCES = clock/clockdrv.c
42clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
43clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
46
47scitab.c: $(SHGEN)
48        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
49BUILT_SOURCES = scitab.c
50CLEANFILES += scitab.c
51
52noinst_PROGRAMS += scitab.rel
53scitab_rel_SOURCES = scitab.c
54scitab_rel_CPPFLAGS = $(AM_CPPFLAGS)
55scitab_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56
57noinst_PROGRAMS += gdbsci.rel
58gdbsci_rel_SOURCES = gdbsci/gdbsci.c
59gdbsci_rel_CPPFLAGS = $(AM_CPPFLAGS)
60gdbsci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61
62#
63# FIXME: trap34 is unused
64#
65noinst_PROGRAMS += trap34.rel
66trap34_rel_SOURCES = trap34/console-io.c trap34/console-support.S
67trap34_rel_CPPFLAGS = $(AM_CPPFLAGS)
68trap34_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
69
70noinst_PROGRAMS += console.rel
71console_rel_SOURCES = ../../sh/shared/console.c
72console_rel_CPPFLAGS = $(AM_CPPFLAGS)
73console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
74
75noinst_LIBRARIES = libbsp.a
76libbsp_a_SOURCES =
77libbsp_a_LIBADD = startup.rel clock.rel console.rel gdbsci.rel scitab.rel
78libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
79
80all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
81
82include $(srcdir)/preinstall.am
83include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.