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

Last change on this file since 218c346 was 218c346, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/20/06 at 11:55:29

2006-10-20 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Remove superfluous -DASM.
  • Property mode set to 100644
File size: 3.6 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
26include_HEADERS += include/spacewire.h
27
28EXTRA_DIST = ../../sparc/shared/start.S
29start.$(OBJEXT): ../../sparc/shared/start.S
30        $(CPPASCOMPILE) -o $@ -c $<
31
32project_lib_DATA = start.$(OBJEXT)
33
34dist_project_lib_DATA += startup/linkcmds
35
36noinst_PROGRAMS += startup.rel
37startup_rel_SOURCES = ../../sparc/shared/bspclean.c ../../shared/bsplibc.c \
38    ../../shared/bsppost.c startup/bspstart.c ../../shared/main.c \
39    ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \
40    startup/spurious.c startup/ithread.S
41startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
42startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44noinst_PROGRAMS += gnatsupp.rel
45gnatsupp_rel_SOURCES = gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
46gnatsupp_rel_CPPFLAGS = $(AM_CPPFLAGS)
47gnatsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
48
49include_HEADERS += include/amba.h
50
51noinst_PROGRAMS += amba.rel
52amba_rel_SOURCES = amba/amba.c
53amba_rel_CPPFLAGS = $(AM_CPPFLAGS)
54amba_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
55
56noinst_PROGRAMS += console.rel
57console_rel_SOURCES = console/console.c console/consolereserveresources.c \
58    console/debugputs.c
59console_rel_CPPFLAGS = $(AM_CPPFLAGS)
60console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61
62noinst_PROGRAMS += clock.rel
63clock_rel_SOURCES = clock/ckinit.c
64clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
65clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
66
67if HAS_NETWORKING
68noinst_PROGRAMS += leon_smc91111.rel
69leon_smc91111_rel_SOURCES = leon_smc91111/leon_smc91111.c
70leon_smc91111_rel_CPPFLAGS = $(AM_CPPFLAGS)
71leon_smc91111_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
72leon_smc91111_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73endif
74
75noinst_PROGRAMS += timer.rel
76timer_rel_SOURCES = timer/timer.c
77timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
78timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
79
80if HAS_NETWORKING
81noinst_PROGRAMS += leon_open_eth.rel
82leon_open_eth_rel_SOURCES = leon_open_eth/leon_open_eth.c
83leon_open_eth_rel_CPPFLAGS = $(AM_CPPFLAGS)
84leon_open_eth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
85leon_open_eth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
86endif
87
88if HAS_NETWORKING
89noinst_PROGRAMS += leon_greth.rel
90leon_greth_rel_SOURCES = leon_greth/leon_greth.c
91leon_greth_rel_CPPFLAGS = $(AM_CPPFLAGS)
92leon_greth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
93leon_greth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
94endif
95
96noinst_LIBRARIES = libbsp.a
97libbsp_a_SOURCES =
98libbsp_a_LIBADD = startup.rel amba.rel console.rel clock.rel timer.rel \
99    gnatsupp.rel
100
101if HAS_NETWORKING
102libbsp_a_LIBADD += leon_open_eth.rel
103endif
104
105if HAS_NETWORKING
106libbsp_a_LIBADD += leon_greth.rel
107endif
108
109if HAS_MP
110EXTRA_DIST += shmsupp/README
111
112noinst_PROGRAMS += shmsupp.rel
113shmsupp_rel_SOURCES = shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \
114    shmsupp/mpisr.c
115shmsupp_rel_CPPFLAGS = $(AM_CPPFLAGS)
116shmsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
117endif
118
119libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/cache.rel \
120    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
121    ../../../libcpu/@RTEMS_CPU@/syscall.rel
122
123if HAS_MP
124libbsp_a_LIBADD += shmsupp.rel
125endif
126
127EXTRA_DIST += times
128
129include $(srcdir)/preinstall.am
130include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.