source: rtems/c/src/lib/libbsp/sh/gensh2/Makefile.am @ 218c346

Last change on this file since 218c346 was 218c346, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/20/06 at 11:55:29

2006-10-20 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Remove superfluous -DASM.
  • Property mode set to 100644
File size: 1.9 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/coverhd.h
21
22EXTRA_DIST = start/start.S start/start.ram start/start.rom
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds startup/linkcmds.ram \
28    startup/linkcmds.rom
29
30noinst_PROGRAMS += startup.rel
31startup_rel_SOURCES = startup/hw_init.c ../../shared/bsplibc.c \
32    ../../shared/bsppost.c startup/bspstart.c startup/bspclean.c \
33    ../../shared/sbrk.c ../../shared/bootcard.c ../../shared/main.c \
34    ../../shared/gnatinstallhandler.c
35startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
36startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
39
40scitab.c: $(SHGEN)
41        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
42BUILT_SOURCES = scitab.c
43CLEANFILES = scitab.c
44
45noinst_PROGRAMS += scitab.rel
46scitab_rel_SOURCES = scitab.c
47scitab_rel_CPPFLAGS = $(AM_CPPFLAGS)
48scitab_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50noinst_PROGRAMS += console.rel
51console_rel_SOURCES = ../../sh/shared/console.c console/config.c
52console_rel_CPPFLAGS = $(AM_CPPFLAGS)
53console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54
55noinst_LIBRARIES = libbsp.a
56libbsp_a_SOURCES =
57libbsp_a_LIBADD = startup.rel scitab.rel console.rel
58libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
59    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
60    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \
61    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
62
63include $(srcdir)/preinstall.am
64include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.