source: rtems/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am @ 336b9ce

4.104.115
Last change on this file since 336b9ce was 336b9ce, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/29/08 at 13:54:21

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

  • Makefile.am: Eliminate bsp.am. Build startup files as side-effect of building libbspstart.a, using automake-rules.
  • Property mode set to 100644
File size: 2.1 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8
9include_bspdir = $(includedir)/bsp
10
11dist_project_lib_DATA = bsp_specs
12
13include_HEADERS = include/bsp.h
14include_HEADERS += ../../shared/include/tm27.h
15
16nodist_include_HEADERS = include/bspopts.h
17nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
18DISTCLEANFILES = include/bspopts.h
19
20noinst_PROGRAMS =
21
22include_HEADERS += ../../shared/include/coverhd.h
23
24noinst_LIBRARIES = libbspstart.a
25libbspstart_a_SOURCES = start/start.S
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds
29
30noinst_LIBRARIES += libbsp.a
31libbsp_a_SOURCES =
32
33noinst_PROGRAMS += startup.rel
34startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
35        ../../shared/bsppredriverhook.c startup/bspstart.c \
36        ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
37        ../../shared/bootcard.c ../../shared/gnatinstallhandler.c \
38        ../../shared/bspgetworkarea.c
39startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
40startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42noinst_PROGRAMS += console.rel
43console_rel_SOURCES = console/console.c
44console_rel_CPPFLAGS = $(AM_CPPFLAGS)
45console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46
47if HAS_NETWORKING
48networkconfig_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
49noinst_PROGRAMS += networkconfig.rel
50networkconfig_rel_SOURCES = network/networkconfig.c
51networkconfig_rel_CPPFLAGS = $(AM_CPPFLAGS) $(networkconfig_CPPFLAGS)
52networkconfig_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
53endif
54
55libbsp_a_LIBADD = startup.rel console.rel
56if HAS_NETWORKING
57libbsp_a_LIBADD += networkconfig.rel
58libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/network.rel
59endif
60
61libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/mmu.rel
62libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/interrupt.rel
63libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/cache.rel
64libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/uart.rel
65libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/clock.rel
66libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/rtc.rel
67libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/timer.rel
68
69EXTRA_DIST = times
70
71include $(srcdir)/preinstall.am
72include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.