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

4.104.115
Last change on this file since 045821e was 045821e, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Oct 15, 2009 at 2:05:34 PM

add network support, various corrections

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[69effbb4]1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8
[a1bc0a15]9include_bspdir = $(includedir)/bsp
10
[69effbb4]11dist_project_lib_DATA = bsp_specs
12
13include_HEADERS = include/bsp.h
14include_HEADERS += include/tm27.h
15
16nodist_include_HEADERS = include/bspopts.h
[a1bc0a15]17nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
[69effbb4]18DISTCLEANFILES = include/bspopts.h
19noinst_PROGRAMS =
20
[4e4dc3a]21include_HEADERS += ../../shared/include/coverhd.h
[69effbb4]22
[a14fba32]23noinst_LIBRARIES = libbspstart.a
24libbspstart_a_SOURCES = start/start.S
[69effbb4]25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
[a14fba32]29noinst_LIBRARIES += libbsp.a
[64eb0c7]30libbsp_a_SOURCES =
[e94666d]31
[64eb0c7]32# startup
33libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c  \
[939439d3]34  ../../shared/bsppost.c ../../shared/bspgetworkarea.c \
[87a38dd]35  ../../shared/bspreset_loop.c ../../shared/bsppretaskinghook.c \
36  ../../shared/bsppredriverhook.c startup/init548x.c startup/bspstart.c \
37  ../../shared/bootcard.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
[e483dc3]38  ../../shared/gnatinstallhandler.c
[64eb0c7]39# clock
[27b355b]40libbsp_a_SOURCES += clock/clock.c ../../../shared/clockdrv_shell.h
[64eb0c7]41# console
42libbsp_a_SOURCES += console/console.c
43# timer
44libbsp_a_SOURCES += timer/timer.c
[69effbb4]45
46if HAS_NETWORKING
47network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
48noinst_PROGRAMS += network.rel
49network_rel_SOURCES = network/network.c
50network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
51    $(network_CPPFLAGS)
52network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
53endif
54
[e483dc3]55libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
[045821e]56                  ../../../libcpu/@RTEMS_CPU@/shared/misc.rel  \
57                  ../../../libcpu/@RTEMS_CPU@/mcf548x/mcdma.rel
58
[69effbb4]59if HAS_NETWORKING
60libbsp_a_LIBADD += network.rel
61endif
62
63include $(srcdir)/preinstall.am
64include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.