source: rtems/c/src/lib/libbsp/m68k/gen68360/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
16nodist_include_HEADERS = include/bspopts.h
17nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
18DISTCLEANFILES = include/bspopts.h
19noinst_PROGRAMS =
20
21include_HEADERS += include/coverhd.h
22
23EXTRA_DIST = start/start.S
24start.$(OBJEXT): start/start.S
25        $(CPPASCOMPILE) -o $@ -c $<
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds startup/linkcmds.prom \
29    startup/linkcmds.bootp
30
31noinst_LIBRARIES = libbsp.a
32
33startup_SOURCES = startup/alloc360.c ../../shared/bspclean.c \
34    ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
35    ../../shared/bsplibc.c ../../shared/bsppost.c \
36    ../../shared/bspgetworkarea.c ../../shared/bspstart.c \
37    startup/init68360.c ../../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 ../../shared/dummy_printk_support.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) $(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 = \
56    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
57    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
58if HAS_NETWORKING
59libbsp_a_LIBADD += network.rel
60endif
61if HAS_FPSP
62libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
63endif
64
65include $(srcdir)/preinstall.am
66include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.