source: rtems/c/src/lib/libbsp/sparc/erc32/Makefile.am @ e94666d

4.104.115
Last change on this file since e94666d was e94666d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/29/08 at 03:43:47

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

  • Makefile.am: Move noinst_LIBRARIES = libbsp.a before its components.
  • Property mode set to 100644
File size: 2.0 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 += 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
23SUBDIRS = . tools
24
25include_HEADERS += include/erc32.h
26include_HEADERS += include/coverhd.h
27
28EXTRA_DIST = ../../sparc/shared/start.S
29start.$(OBJEXT): ../../sparc/shared/start.S
30        $(CPPASCOMPILE) -o $@ -c $<
31project_lib_DATA = start.$(OBJEXT)
32
33dist_project_lib_DATA += startup/linkcmds
34
35noinst_LIBRARIES = libbsp.a
36
37startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
38    ../../shared/bsppredriverhook.c ../../sparc/shared/bspgetworkarea.c \
39    ../../shared/bsppost.c ../../sparc/shared/bspstart.c \
40    ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \
41    startup/spurious.c startup/erc32mec.c startup/boardinit.S
42gnatsupp_SOURCES = gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
43console_SOURCES = console/console.c
44debugio_SOURCES = console/debugputs.c
45clock_SOURCES = clock/ckinit.c
46timer_SOURCES = timer/timer.c
47
48if HAS_NETWORKING
49erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
50noinst_PROGRAMS += erc32sonic.rel
51erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c
52erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(erc32sonic_CPPFLAGS)
53erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54endif
55
56libbsp_a_SOURCES = $(startup_SOURCES) $(gnatsupp_SOURCES) $(console_SOURCES) \
57    $(debugio_SOURCES) $(clock_SOURCES) $(timer_SOURCES)
58
59libbsp_a_LIBADD  = ../../../libcpu/@RTEMS_CPU@/cache.rel \
60    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
61    ../../../libcpu/@RTEMS_CPU@/syscall.rel
62if HAS_NETWORKING
63libbsp_a_LIBADD += erc32sonic.rel
64endif
65
66EXTRA_DIST += times
67
68include $(srcdir)/preinstall.am
69include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.