source: rtems/c/src/lib/libbsp/m68k/genmcf548x/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.7 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
30
31noinst_LIBRARIES = libbsp.a
32
33startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c  \
34  ../../shared/bsppost.c ../../shared/bspgetworkarea.c \
35  ../../shared/bspreset_loop.c ../../shared/bsppretaskinghook.c \
36  ../../shared/bsppredriverhook.c startup/init548x.c startup/bspstart.c \
37  ../../shared/bootcard.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
38  ../../shared/gnatinstallhandler.c
39clock_SOURCES = clock/clock.c
40console_SOURCES = console/console.c
41timer_SOURCES = timer/timer.c
42
43if HAS_NETWORKING
44network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
45noinst_PROGRAMS += network.rel
46network_rel_SOURCES = network/network.c
47network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
48    $(network_CPPFLAGS)
49network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
50endif
51
52libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
53  $(timer_SOURCES)
54
55libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
56    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
57if HAS_NETWORKING
58libbsp_a_LIBADD += network.rel
59endif
60
61include $(srcdir)/preinstall.am
62include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.