source: rtems/c/src/lib/libbsp/mips/genmongoosev/Makefile.am @ e94666d

4.104.115
Last change on this file since e94666d was e94666d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/29/08 at 03:43:47

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

  • Makefile.am: Move noinst_LIBRARIES = libbsp.a before its components.
  • 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
20noinst_PROGRAMS =
21
22nodist_include_HEADERS += ../../shared/include/coverhd.h
23
24EXTRA_DIST = start/start.S start/regs.S start/mg5.h
25start.$(OBJEXT): start/start.S
26        $(CPPASCOMPILE) -o $@ -c $<
27
28project_lib_DATA = start.$(OBJEXT)
29
30dist_project_lib_DATA += startup/linkcmds
31
32noinst_LIBRARIES = libbsp.a
33
34startup_SOURCES = ../../shared/bspclean.c ../../shared/bsppretaskinghook.c \
35    ../../shared/bsppredriverhook.c ../../shared/bsplibc.c \
36    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
37    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c \
38    ../../shared/setvec.c ../../shared/bspgetworkarea.c
39clock_SOURCES = clock/clockdrv.c
40console_SOURCES = console/conscfg.c ../../shared/console.c
41timer_SOURCES = timer/timer.c
42
43gdbstub_CPPFLAGS = -I$(srcdir)/../../mips/shared/gdbstub
44noinst_PROGRAMS += gdbstub.rel
45gdbstub_rel_SOURCES = ../../mips/shared/gdbstub/mips-stub.c \
46    startup/gdb-support.c ../../shared/gdbstub/rtems-stub-glue.c
47gdbstub_rel_CPPFLAGS = $(AM_CPPFLAGS) $(gdbstub_CPPFLAGS)
48gdbstub_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
51    $(timer_SOURCES) $(gdbstub_SOURCES)
52
53libbsp_a_LIBADD = \
54    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
55    ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \
56    ../../../libcpu/@RTEMS_CPU@/mongoosev/duart.rel \
57    ../../../libcpu/@RTEMS_CPU@/mongoosev/vectorisrs.rel
58
59include $(srcdir)/preinstall.am
60include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.