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

4.9.1
Last change on this file since e9db9661 was 69effbb4, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 07/11/08 at 10:00:41

added variant to gen68360 BSP
added genmcf548x BSP

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