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

Last change on this file since 625ef85 was 625ef85, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 2, 2007 at 11:18:03 AM

2007-04-02 Joel Sherrill <joel@…>

  • Makefile.am: Add dummy printk support so all tests link.
  • Property mode set to 100644
File size: 2.2 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/linkcmds.prom \
27    startup/linkcmds.bootp
28
29noinst_PROGRAMS += startup.rel
30startup_rel_SOURCES = startup/alloc360.c startup/bspclean.c \
31    ../../shared/bsplibc.c ../../shared/bsppost.c \
32    ../../m68k/shared/m68kpretaskinghook.c startup/bspstart.c \
33    startup/init68360.c ../../shared/bootcard.c ../../shared/main.c \
34    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
35    ../../shared/gnatinstallhandler.c
36startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
37startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
38
39noinst_PROGRAMS += clock.rel
40clock_rel_SOURCES = clock/clock.c
41clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
42clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44noinst_PROGRAMS += console.rel
45console_rel_SOURCES = console/console.c console/consolereserveresources.c \
46    ../../shared/dummy_printk_support.c
47console_rel_CPPFLAGS = $(AM_CPPFLAGS)
48console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50noinst_PROGRAMS += timer.rel
51timer_rel_SOURCES = timer/timer.c
52timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
53timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54
55if HAS_NETWORKING
56network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
57noinst_PROGRAMS += network.rel
58network_rel_SOURCES = network/network.c
59network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
60network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61endif
62
63noinst_LIBRARIES = libbsp.a
64libbsp_a_SOURCES =
65libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
66if HAS_NETWORKING
67libbsp_a_LIBADD += network.rel
68endif
69libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
70    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
71if HAS_FPSP
72libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
73endif
74
75include $(srcdir)/preinstall.am
76include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.