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

Last change on this file since 625ef85 was 625ef85, checked in by Joel Sherrill <joel.sherrill@…>, on 04/02/07 at 11:18:03

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

  • Makefile.am: Add dummy printk support so all tests link.
  • Property mode set to 100644
File size: 1.7 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
17noinst_PROGRAMS =
18
19include_HEADERS += include/sdram.h
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 startup/linkcmds.rom \
29    startup/linkcmds.rom2ram
30
31noinst_PROGRAMS += startup.rel
32startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
33    startup/bspstart.c ../../shared/bspclean.c ../../shared/sbrk.c \
34    ../../shared/bootcard.c ../../shared/main.c \
35    ../../shared/gnatinstallhandler.c
36startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
37startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
38
39noinst_PROGRAMS += console.rel
40console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c
41console_rel_CPPFLAGS = $(AM_CPPFLAGS)
42console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44noinst_PROGRAMS += hw_init.rel
45hw_init_rel_SOURCES = hw_init/hw_init.c
46hw_init_rel_CPPFLAGS = $(AM_CPPFLAGS)
47hw_init_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
48
49noinst_LIBRARIES = libbsp.a
50libbsp_a_SOURCES =
51libbsp_a_LIBADD = startup.rel hw_init.rel console.rel
52libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
53    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
54    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \
55    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
56
57EXTRA_DIST += times
58
59include $(srcdir)/preinstall.am
60include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.