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

4.104.115
Last change on this file since 57a40406 was 57a40406, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/30/08 at 07:12:11

2008-09-30 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Eliminate bsp.am. Build startup files as side-effect of building libbspstart.a, using automake-rules.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8
9include_bspdir = $(includedir)/bsp
10
11dist_project_lib_DATA = bsp_specs
12
13include_HEADERS = include/bsp.h
14include_HEADERS += include/tm27.h
15
16nodist_include_HEADERS = include/bspopts.h
17nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
18DISTCLEANFILES = include/bspopts.h
19
20include_HEADERS += include/gdbsci.h
21nodist_include_HEADERS += ../../shared/include/coverhd.h
22
23noinst_LIBRARIES = libbspstart.a
24libbspstart_a_SOURCES = start/start.S
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds startup/linkcmds.sim
28
29noinst_LIBRARIES += libbsp.a
30libbsp_a_SOURCES =
31
32SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
33
34scitab.c: $(SHGEN)
35        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
36BUILT_SOURCES = scitab.c
37CLEANFILES = scitab.c
38
39# startup
40libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \
41    ../../shared/bsppredriverhook.c ../shared/bspstart.c \
42    ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
43    ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/bootcard.c \
44    ../../shared/gnatinstallhandler.c ../shared/bsphwinit.c
45# clock
46libbsp_a_SOURCES += ../../shared/clock_driver_simidle.c
47
48# trap34
49libbsp_a_SOURCES += trap34/console-io.c trap34/console-support.S \
50    ../../shared/dummy_printk_support.c
51# console
52libbsp_a_SOURCES += ../../shared/console-polled.c
53
54libbsp_a_LIBADD = \
55    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
56
57include $(srcdir)/preinstall.am
58include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.