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

4.104.115
Last change on this file since 64eb0c7 was 64eb0c7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/29/08 at 10:19:37

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

  • Makefile.am: Eliminate *_SOURCES.
  • Property mode set to 100644
File size: 1.8 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
20nodist_include_HEADERS += ../../shared/include/coverhd.h
21
22noinst_PROGRAMS =
23
24EXTRA_DIST = start/start.S start/regs.S
25start.$(OBJEXT): start/start.S
26        $(CPPASCOMPILE) -o $@ -c $<
27project_lib_DATA = start.$(OBJEXT)
28
29dist_project_lib_DATA += startup/linkcmds
30
31noinst_LIBRARIES = libbsp.a
32libbsp_a_SOURCES =
33
34# startup
35libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
36    ../../shared/bsppredriverhook.c ../../shared/bsppost.c startup/bspreset.c \
37    ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
38    startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
39    ../../shared/gnatinstallhandler.c ../../shared/setvec.c
40# clock
41libbsp_a_SOURCES += clock/clockdrv.c
42# console
43libbsp_a_SOURCES += console/console-io.c ../../shared/console-polled.c
44# timer
45libbsp_a_SOURCES += timer/timer.c
46
47if HAS_NETWORKING
48network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
49noinst_PROGRAMS += network.rel
50network_rel_SOURCES = network/network.c
51network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
52network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
53endif
54
55libbsp_a_LIBADD = \
56    ../../../libcpu/mips/shared/cache.rel \
57    ../../../libcpu/mips/shared/interrupts.rel \
58    ../../../libcpu/mips/au1x00/vectorisrs.rel
59if HAS_NETWORKING
60libbsp_a_LIBADD += network.rel
61endif
62
63include $(srcdir)/preinstall.am
64include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.