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

4.104.11
Last change on this file since 182674ed was 182674ed, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 15, 2008 at 5:54:09 PM

2008-09-15 Joel Sherrill <joel.sherrill@…>

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