source: rtems/c/src/lib/libbsp/sparc/leon3/Makefile.am @ fc1a3ba

4.104.114.84.95
Last change on this file since fc1a3ba was fc1a3ba, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/12/06 at 10:12:31

Remove all-local:.

  • Property mode set to 100644
File size: 2.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
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20# wrapup is the one that actually builds and installs the library
21# from the individual .rel files built in other directories
22SUBDIRS = . tools
23
24include_HEADERS += include/leon.h
25include_HEADERS += include/coverhd.h
26
27EXTRA_DIST = ../../sparc/shared/start.S
28start.$(OBJEXT): ../../sparc/shared/start.S
29        $(CPPASCOMPILE) -DASM -o $@ -c $<
30
31project_lib_DATA = start.$(OBJEXT)
32
33dist_project_lib_DATA += startup/linkcmds
34
35noinst_PROGRAMS += startup.rel
36startup_rel_SOURCES = ../../sparc/shared/bspclean.c ../../shared/bsplibc.c \
37    ../../shared/bsppost.c startup/bspstart.c ../../shared/main.c \
38    ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \
39    startup/spurious.c startup/ithread.S
40startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
41startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
43noinst_PROGRAMS += gnatsupp.rel
44gnatsupp_rel_SOURCES = gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
45gnatsupp_rel_CPPFLAGS = $(AM_CPPFLAGS)
46gnatsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48include_HEADERS += include/amba.h
49
50noinst_PROGRAMS += amba.rel
51amba_rel_SOURCES = amba/amba.c
52amba_rel_CPPFLAGS = $(AM_CPPFLAGS)
53amba_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54
55noinst_PROGRAMS += console.rel
56console_rel_SOURCES = console/console.c console/consolereserveresources.c \
57    console/debugputs.c
58console_rel_CPPFLAGS = $(AM_CPPFLAGS)
59console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
60
61noinst_PROGRAMS += clock.rel
62clock_rel_SOURCES = clock/ckinit.c
63clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
64clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
65
66if HAS_NETWORKING
67noinst_PROGRAMS += leon_smc91111.rel
68leon_smc91111_rel_SOURCES = leon_smc91111/leon_smc91111.c
69leon_smc91111_rel_CPPFLAGS = $(AM_CPPFLAGS)
70leon_smc91111_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
71leon_smc91111_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
72endif
73
74noinst_PROGRAMS += timer.rel
75timer_rel_SOURCES = timer/timer.c
76timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
77timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
78
79if HAS_NETWORKING
80noinst_PROGRAMS += leon_open_eth.rel
81leon_open_eth_rel_SOURCES = leon_open_eth/leon_open_eth.c
82leon_open_eth_rel_CPPFLAGS = $(AM_CPPFLAGS)
83leon_open_eth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
84leon_open_eth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
85endif
86
87noinst_LIBRARIES = libbsp.a
88libbsp_a_SOURCES =
89libbsp_a_LIBADD = startup.rel amba.rel console.rel clock.rel timer.rel \
90    gnatsupp.rel
91
92if HAS_NETWORKING
93libbsp_a_LIBADD += leon_open_eth.rel
94endif
95
96libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/cache.rel \
97    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
98    ../../../libcpu/@RTEMS_CPU@/syscall.rel
99
100EXTRA_DIST += times
101
102include $(srcdir)/preinstall.am
103include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.