source: rtems/c/src/lib/libbsp/sh/gensh1/Makefile.am @ c51efdcd

4.104.115
Last change on this file since c51efdcd was 1d0ee80e, checked in by Joel Sherrill <joel.sherrill@…>, on May 14, 2008 at 8:28:09 PM

2008-05-14 Joel Sherrill <joel.sherrill@…>

  • Makefile.am: Rework to avoid .rel files.
  • 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
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
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds
29
30SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
31
32scitab.c: $(SHGEN)
33        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
34BUILT_SOURCES = scitab.c
35CLEANFILES = scitab.c
36
37startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
38    ../../shared/bsppredriverhook.c startup/bspstart.c startup/bspclean.c \
39    ../../shared/sbrk.c ../../shared/bootcard.c \
40    ../../shared/gnatinstallhandler.c
41scitab_SOURCES = scitab.c
42console_SOURCES = ../../sh/shared/console.c
43debugio_SOURCES = ../../shared/dummy_printk_support.c
44
45noinst_LIBRARIES = libbsp.a
46libbsp_a_SOURCES = $(startup_SOURCES) $(scitab_SOURCES) $(console_SOURCES) \
47    $(debugio_SOURCES)
48
49libbsp_a_LIBADD = \
50    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
51    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
52    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \
53    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/delay.rel \
54    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
55
56EXTRA_DIST += times
57
58include $(srcdir)/preinstall.am
59include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.