source: rtems/c/src/lib/libbsp/mips/hurricane/Makefile.am @ c01fe2e

4.104.115
Last change on this file since c01fe2e was c01fe2e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/29/08 at 13:40:38

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

  • Makefile.am: Eliminate bsp.am. Build startup files as side-effect of building libbspstart.a, using automake-rules.
  • 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
8
9include_bspdir = $(includedir)/bsp
10
11dist_project_lib_DATA = bsp_specs
12
13include_HEADERS = include/bsp.h
14include_HEADERS += include/tm27.h
15include_HEADERS += include/usc.h
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19DISTCLEANFILES = include/bspopts.h
20
21nodist_include_HEADERS += ../../shared/include/coverhd.h
22
23noinst_LIBRARIES = libbspstart.a
24libbspstart_a_SOURCES = start/start.S
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
29noinst_LIBRARIES += libbsp.a
30libbsp_a_SOURCES =
31
32# startup
33libbsp_a_SOURCES += ../../shared/bspclean.c \
34    ../../shared/bsplibc.c ../../shared/bsppost.c \
35   ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
36    ../../shared/bsppredriverhook.c startup/bspstart.c \
37    ../../shared/bootcard.c ../../shared/sbrk.c \
38    ../../shared/gnatinstallhandler.c ../../shared/setvec.c \
39    startup/inittlb.c \
40    startup/idtmem.S startup/idttlb.S startup/exception.S
41# clock
42libbsp_a_SOURCES += clock/ckinit.c
43# console
44libbsp_a_SOURCES += console/console.c
45# liblnk
46libbsp_a_SOURCES += liblnk/lnklib.S liblnk/pmon.S liblnk/regs.h
47
48libbsp_a_LIBADD = \
49    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
50    ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \
51    ../../../libcpu/@RTEMS_CPU@/rm52xx/timer.rel \
52    ../../../libcpu/@RTEMS_CPU@/rm52xx/vectorisrs.rel
53
54include $(srcdir)/preinstall.am
55include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.