source: rtems/c/src/lib/libbsp/m68k/genmcf548x/Makefile.am @ d80c921d

4.104.114.95
Last change on this file since d80c921d was e483dc3, checked in by Joel Sherrill <joel.sherrill@…>, on 07/31/08 at 18:34:31

2008-07-31 Joel Sherrill <joel.sherrill@…>

  • Makefile.am: Do not build .rel files. Reduces code bloat.
  • Property mode set to 100644
File size: 1.5 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
17noinst_PROGRAMS =
18
19include_HEADERS += include/coverhd.h
20
21EXTRA_DIST = start/start.S
22start.$(OBJEXT): start/start.S
23        $(CPPASCOMPILE) -o $@ -c $<
24project_lib_DATA = start.$(OBJEXT)
25
26dist_project_lib_DATA += startup/linkcmds
27
28startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c  \
29  ../../shared/bsppost.c ../../m68k/shared/m68kpretaskinghook.c \
30  startup/init548x.c startup/bspstart.c ../../shared/bootcard.c \
31  ../../shared/sbrk.c ../../m68k/shared/setvec.c \
32  ../../shared/gnatinstallhandler.c
33clock_SOURCES = clock/clock.c
34console_SOURCES = console/console.c
35timer_SOURCES = timer/timer.c
36
37if HAS_NETWORKING
38network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
39noinst_PROGRAMS += network.rel
40network_rel_SOURCES = network/network.c
41network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
42    $(network_CPPFLAGS)
43network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44endif
45
46noinst_LIBRARIES = libbsp.a
47
48libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
49  $(timer_SOURCES)
50
51libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
52    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
53if HAS_NETWORKING
54libbsp_a_LIBADD += network.rel
55endif
56
57include $(srcdir)/preinstall.am
58include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.