source: rtems/c/src/lib/libbsp/sh/gensh4/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: 1.8 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
17CLEANFILES =
18noinst_PROGRAMS =
19
20include_HEADERS += include/sdram.h
21include_HEADERS += include/coverhd.h
22
23EXTRA_DIST = start/start.S
24start.$(OBJEXT): start/start.S
25        $(CPPASCOMPILE) -DASM -o $@ -c $<
26
27project_lib_DATA = start.$(OBJEXT)
28
29dist_project_lib_DATA += startup/linkcmds startup/linkcmds.rom \
30    startup/linkcmds.rom2ram
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 += console.rel
41console_rel_SOURCES = console/console.c
42console_rel_CPPFLAGS = $(AM_CPPFLAGS)
43console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45noinst_PROGRAMS += hw_init.rel
46hw_init_rel_SOURCES = hw_init/hw_init.c
47hw_init_rel_CPPFLAGS = $(AM_CPPFLAGS)
48hw_init_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50noinst_LIBRARIES = libbsp.a
51libbsp_a_SOURCES =
52libbsp_a_LIBADD = startup.rel hw_init.rel console.rel
53libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
54    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
55    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \
56    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
57
58all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
59
60EXTRA_DIST += times
61
62include $(srcdir)/preinstall.am
63include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.