source: rtems/c/src/lib/libbsp/mips/rbtx4938/Makefile.am @ 1d0ee80e

4.104.114.9
Last change on this file since 1d0ee80e 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.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
17
18noinst_PROGRAMS =
19
20nodist_include_HEADERS += ../../shared/include/coverhd.h
21
22EXTRA_DIST = start/start.S start/regs.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds
29
30startup_SOURCES = ../../shared/bspclean.c ../../shared/bsppredriverhook.c \
31    ../../shared/bsplibc.c ../../shared/bsppost.c startup/bspstart.c \
32    ../../shared/bootcard.c ../../shared/sbrk.c \
33    ../../shared/gnatinstallhandler.c ../../shared/setvec.c \
34    startup/inittlb.c \
35    startup/idtmem.S startup/idttlb.S startup/exception.S
36
37# FIXME: clockdrv.c and clockdrv_shell.c are structurally flawed
38clock_CPPFLAGS = -I$(srcdir)/../../shared
39EXTRA_DIST += ../../mips/shared/clockdrv_shell.c
40noinst_PROGRAMS += clock.rel
41clock_rel_SOURCES = clock/clockdrv.c
42clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(clock_CPPFLAGS)
43clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45console_SOURCES = console/console-io.c
46liblnk_SOURCES = liblnk/lnklib.S liblnk/pmon.S
47
48noinst_LIBRARIES = libbsp.a
49libbsp_a_SOURCES = $(startup_SOURCES) $(console_SOURCES) $(liblnk_SOURCES)
50libbsp_a_LIBADD = \
51    clock.rel \
52    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
53    ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \
54    ../../../libcpu/@RTEMS_CPU@/tx49/timer.rel \
55    ../../../libcpu/@RTEMS_CPU@/tx49/vectorisrs.rel
56
57include $(srcdir)/preinstall.am
58include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.