source: rtems/c/src/lib/libbsp/m68k/mcf5329/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.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
20noinst_PROGRAMS =
21
22include_HEADERS += include/coverhd.h
23
24EXTRA_DIST = start/start.S
25start.$(OBJEXT): start/start.S
26        $(CPPASCOMPILE) -o $@ -c $<
27project_lib_DATA = start.$(OBJEXT)
28
29dist_project_lib_DATA += startup/linkcmds startup/linkcmdsflash
30
31noinst_LIBRARIES = libbsp.a
32
33startup_SOURCES = ../../shared/bspclean.c ../../shared/bsppredriverhook.c \
34    ../../shared/bsplibc.c ../../shared/bsppost.c ../../shared/bspreset_loop.c \
35    ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
36    startup/init5329.c startup/bspstart.c startup/cfinit.c\
37    ../../shared/bootcard.c \
38    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
39    ../../shared/gnatinstallhandler.c
40clock_SOURCES = clock/clock.c
41console_SOURCES = console/console.c
42timer_SOURCES = timer/timer.c
43
44if HAS_NETWORKING
45network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
46noinst_PROGRAMS += network.rel
47network_rel_SOURCES = network/network.c
48network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
49    $(network_CPPFLAGS)
50network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51endif
52
53libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
54    $(timer_SOURCES)
55
56libbsp_a_LIBADD = \
57    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
58    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
59    ../../../libcpu/@RTEMS_CPU@/mcf532x/cachepd.rel
60
61if HAS_NETWORKING
62libbsp_a_LIBADD += network.rel
63endif
64
65include $(srcdir)/preinstall.am
66include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.