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

4.104.114.84.9
Last change on this file since aa4369c was aa4369c, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 15, 2006 at 3:24:01 PM

2006-11-15 Joel Sherrill <joel@…>

  • Makefile.am: Merge c_rtems_main() into boot_card(). This eliminated a file and simplified initialization.
  • Property mode set to 100644
File size: 1.9 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
37noinst_PROGRAMS += console.rel
38console_rel_SOURCES = console/console-io.c ../../shared/console-polled.c
39console_rel_CPPFLAGS = $(AM_CPPFLAGS)
40console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42noinst_PROGRAMS += startup.rel
43startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
44    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
45    ../../shared/sbrk.c \
46    ../../shared/gnatinstallhandler.c ../../shared/setvec.c
47startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
48startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50noinst_PROGRAMS += timer.rel
51timer_rel_SOURCES = timer/timer.c
52timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
53timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54
55noinst_LIBRARIES = libbsp.a
56libbsp_a_SOURCES =
57libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
58libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
59    ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \
60    ../../../libcpu/@RTEMS_CPU@/tx39/vectorisrs.rel
61
62include $(srcdir)/preinstall.am
63include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.