source: rtems/c/src/lib/libbsp/mips/rbtx4938/Makefile.am @ 64eb0c7

4.104.11
Last change on this file since 64eb0c7 was 64eb0c7, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 29, 2008 at 10:19:37 AM

2008-09-29 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Eliminate *_SOURCES.
  • 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
10include_bspdir = $(includedir)/bsp
11
12dist_project_lib_DATA = bsp_specs
13
14include_HEADERS = include/bsp.h
15include_HEADERS += include/tm27.h
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19DISTCLEANFILES = include/bspopts.h
20
21noinst_PROGRAMS =
22
23nodist_include_HEADERS += ../../shared/include/coverhd.h
24
25EXTRA_DIST = start/start.S start/regs.S
26start.$(OBJEXT): start/start.S
27        $(CPPASCOMPILE) -o $@ -c $<
28
29project_lib_DATA = start.$(OBJEXT)
30
31dist_project_lib_DATA += startup/linkcmds
32
33noinst_LIBRARIES = libbsp.a
34libbsp_a_SOURCES =
35
36# startup
37libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsppredriverhook.c \
38    ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
39    ../../shared/bsplibc.c ../../shared/bsppost.c startup/bspstart.c \
40    ../../shared/bootcard.c ../../shared/sbrk.c \
41    ../../shared/gnatinstallhandler.c ../../shared/setvec.c \
42    startup/inittlb.c \
43    startup/idtmem.S startup/idttlb.S startup/exception.S
44
45# FIXME: clockdrv.c and clockdrv_shell.c are structurally flawed
46clock_CPPFLAGS = -I$(srcdir)/../../shared
47EXTRA_DIST += ../../mips/shared/clockdrv_shell.c
48noinst_PROGRAMS += clock.rel
49clock_rel_SOURCES = clock/clockdrv.c
50clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(clock_CPPFLAGS)
51clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52
53# console
54libbsp_a_SOURCES += console/console-io.c
55# liblnk
56libbsp_a_SOURCES += liblnk/lnklib.S liblnk/pmon.S
57
58libbsp_a_LIBADD = \
59    clock.rel \
60    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
61    ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \
62    ../../../libcpu/@RTEMS_CPU@/tx49/timer.rel \
63    ../../../libcpu/@RTEMS_CPU@/tx49/vectorisrs.rel
64
65include $(srcdir)/preinstall.am
66include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.