source: rtems/c/src/lib/libbsp/m68k/mcf5235/Makefile.am @ 1762375

4.104.115
Last change on this file since 1762375 was 1762375, checked in by Joel Sherrill <joel.sherrill@…>, on 09/22/08 at 21:50:40

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

  • Makefile.am, configure.ac: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants.
  • startup/bspclean.c: Removed.
  • 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
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 startup/linkcmdsflash \
27        startup/linkcmdsram
28
29startup_SOURCES = ../../shared/bspclean.c ../../shared/bsppredriverhook.c \
30    ../../shared/bsplibc.c ../../shared/bsppost.c ../../shared/bspreset_loop.c \
31    startup/bspgetcpuclockspeed.c ../../shared/bsppretaskinghook.c \
32    ../../shared/bspgetworkarea.c startup/init5235.c startup/bspstart.c \
33    ../../shared/bootcard.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
34    ../../shared/gnatinstallhandler.c
35clock_SOURCES = clock/clock.c
36console_SOURCES = console/console.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) \
44    $(network_CPPFLAGS)
45network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46endif
47
48noinst_LIBRARIES = libbsp.a
49libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
50    $(timer_SOURCES)
51
52libbsp_a_LIBADD = \
53    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
54    ../../../libcpu/@RTEMS_CPU@/mcf5235/cachepd.rel \
55    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
56if HAS_NETWORKING
57libbsp_a_LIBADD += network.rel
58endif
59
60include $(srcdir)/preinstall.am
61include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.