source: rtems/c/src/lib/libbsp/m68k/gen68360/Makefile.am @ a1bc0a15

4.104.115
Last change on this file since a1bc0a15 was a1bc0a15, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/26/08 at 04:56:17

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

  • Makefile.am: Cleanup ../../shared/include/bootcard.h handling.
  • 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
10include_bspdir = $(includedir)/bsp
11
12dist_project_lib_DATA = bsp_specs
13
14include_HEADERS = include/bsp.h
15include_HEADERS += include/tm27.h
16nodist_include_HEADERS = include/bspopts.h
17nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
18DISTCLEANFILES = include/bspopts.h
19noinst_PROGRAMS =
20
21include_HEADERS += include/coverhd.h
22
23EXTRA_DIST = start/start.S
24start.$(OBJEXT): start/start.S
25        $(CPPASCOMPILE) -o $@ -c $<
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds startup/linkcmds.prom \
29    startup/linkcmds.bootp
30
31startup_SOURCES = startup/alloc360.c ../../shared/bspclean.c \
32    ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
33    ../../shared/bsplibc.c ../../shared/bsppost.c \
34    ../../shared/bspgetworkarea.c ../../shared/bspstart.c \
35    startup/init68360.c ../../shared/bootcard.c \
36    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
37    ../../shared/gnatinstallhandler.c
38clock_SOURCES = clock/clock.c
39console_SOURCES = console/console.c ../../shared/dummy_printk_support.c
40timer_SOURCES = timer/timer.c
41
42if HAS_NETWORKING
43network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
44noinst_PROGRAMS += network.rel
45network_rel_SOURCES = network/network.c
46network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
47network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
48endif
49
50noinst_LIBRARIES = libbsp.a
51libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
52    $(timer_SOURCES)
53
54libbsp_a_LIBADD = \
55    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
56    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
57if HAS_NETWORKING
58libbsp_a_LIBADD += network.rel
59endif
60if HAS_FPSP
61libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
62endif
63
64include $(srcdir)/preinstall.am
65include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.