source: rtems/c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am @ 13374cf

4.104.115
Last change on this file since 13374cf was 13374cf, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/26/08 at 04:15:21

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

  • Makefile.am: Cleanup ../../shared/include/bootcard.h handling.
  • Property mode set to 100644
File size: 2.2 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 += ../../shared/include/tm27.h
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19DISTCLEANFILES = include/bspopts.h
20
21noinst_PROGRAMS =
22
23include_HEADERS += ../../shared/include/coverhd.h
24
25EXTRA_DIST = start/start.S
26start.$(OBJEXT): start/start.S
27        $(CPPASCOMPILE) -DASM -o $@ -c $<
28project_lib_DATA = start.$(OBJEXT)
29
30dist_project_lib_DATA += startup/linkcmds
31
32noinst_PROGRAMS += startup.rel
33startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
34        ../../shared/bsppredriverhook.c startup/bspstart.c \
35        ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
36        ../../shared/bootcard.c ../../shared/gnatinstallhandler.c \
37        ../../shared/bspgetworkarea.c
38startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
39startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
40
41noinst_PROGRAMS += console.rel
42console_rel_SOURCES = console/console.c
43console_rel_CPPFLAGS = $(AM_CPPFLAGS)
44console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
45
46if HAS_NETWORKING
47networkconfig_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
48noinst_PROGRAMS += networkconfig.rel
49networkconfig_rel_SOURCES = network/networkconfig.c
50networkconfig_rel_CPPFLAGS = $(AM_CPPFLAGS) $(networkconfig_CPPFLAGS)
51networkconfig_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52endif
53
54noinst_LIBRARIES = libbsp.a
55libbsp_a_SOURCES =
56libbsp_a_LIBADD = startup.rel console.rel
57if HAS_NETWORKING
58libbsp_a_LIBADD += networkconfig.rel
59libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/network.rel
60endif
61
62libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/mmu.rel
63libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/interrupt.rel
64libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/cache.rel
65libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/uart.rel
66libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/clock.rel
67libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/rtc.rel
68libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/timer.rel
69
70EXTRA_DIST += times
71
72include $(srcdir)/preinstall.am
73include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.