source: rtems/c/src/lib/libbsp/mips/jmr3904/Makefile.am @ 8c5707a

4.104.114.84.9
Last change on this file since 8c5707a was 8c5707a, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 28, 2007 at 6:17:20 PM

2007-03-28 Joel Sherrill <joel@…>

  • Makefile.am: Modify to avoid pulling in too much into minimum executable.
  • Property mode set to 100644
File size: 2.3 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7# wrapup is the one that actually builds and installs the library
8# from the individual .rel files built in other directories
9SUBDIRS = . tools
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14dist_project_lib_DATA = bsp_specs
15
16include_HEADERS = include/bsp.h
17include_HEADERS += include/tm27.h
18
19nodist_include_HEADERS = include/bspopts.h
20DISTCLEANFILES = include/bspopts.h
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 $<
28project_lib_DATA = start.$(OBJEXT)
29
30dist_project_lib_DATA += startup/linkcmds
31
32noinst_PROGRAMS += clock.rel
33clock_rel_SOURCES = clock/clockdrv.c
34clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
35clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
36
37## Bulk of Console driver with dependencies that entails
38noinst_PROGRAMS += console.rel
39console_rel_SOURCES = ../../shared/console-polled.c
40console_rel_CPPFLAGS = $(AM_CPPFLAGS)
41console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
43## used for debug IO and bottom of console polled
44noinst_PROGRAMS += consoleio.rel
45consoleio_rel_SOURCES = console/console-io.c
46consoleio_rel_CPPFLAGS = $(AM_CPPFLAGS)
47consoleio_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
48
49noinst_PROGRAMS += startup.rel
50startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
51    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
52    ../../shared/sbrk.c \
53    ../../shared/gnatinstallhandler.c ../../shared/setvec.c
54startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
55startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56
57noinst_PROGRAMS += timer.rel
58timer_rel_SOURCES = timer/timer.c
59timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
60timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61
62noinst_LIBRARIES = libbsp.a
63libbsp_a_SOURCES =
64libbsp_a_LIBADD = clock.rel console.rel consoleio.rel timer.rel
65libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
66    ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \
67    ../../../libcpu/@RTEMS_CPU@/tx39/vectorisrs.rel
68libbsp_a_LIBADD += \
69    startup_rel-bspclean.o \
70    startup_rel-bsplibc.o \
71    startup_rel-bsppost.o \
72    startup_rel-bspstart.o \
73    startup_rel-bootcard.o \
74    startup_rel-sbrk.o \
75    startup_rel-gnatinstallhandler.o \
76    startup_rel-setvec.o
77
78include $(srcdir)/preinstall.am
79include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.