source: rtems/c/src/lib/libbsp/bfin/eZKit533/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: 1.8 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 += include/tm27.h
15include_HEADERS += include/cplb.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
25noinst_LIBRARIES = libbspstart.a
26libbspstart_a_SOURCES = ../shared/start/start.S
27project_lib_DATA = start.$(OBJEXT)
28
29dist_project_lib_DATA += startup/linkcmds
30
31noinst_LIBRARIES += libbsp.a
32libbsp_a_SOURCES =
33
34noinst_PROGRAMS += startup.rel
35startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
36        ../../shared/bsppredriverhook.c startup/bspstart.c \
37        ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \
38        ../../shared/bootcard.c ../../shared/gnatinstallhandler.c \
39        ../../shared/bspgetworkarea.c
40startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
41startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
43noinst_PROGRAMS += console.rel
44console_rel_SOURCES = console/console-io.c
45console_rel_CPPFLAGS = $(AM_CPPFLAGS)
46console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48libbsp_a_LIBADD = startup.rel console.rel
49libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/mmu.rel
50libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/interrupt.rel
51libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/cache.rel
52libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/uart.rel
53libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/clock.rel
54libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/rtc.rel
55libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/timer.rel
56
57EXTRA_DIST = times
58
59include $(srcdir)/preinstall.am
60include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.