source: rtems/c/src/lib/libbsp/m68k/mvme162/Makefile.am @ b348db5f

4.104.114.84.9
Last change on this file since b348db5f was b348db5f, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 2, 2007 at 11:14:48 AM

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

  • Makefile.am, configure.ac: Add dummy printk support so all tests link.
  • Property mode set to 100644
File size: 2.6 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
19# wrapup is the one that actually builds and installs the library
20# from the individual .rel files built in other directories
21# XXX ignore tools since it doesn't build
22SUBDIRS = .
23
24include_HEADERS += ../../shared/tod.h
25include_HEADERS += include/coverhd.h
26include_HEADERS += include/page_table.h
27
28nodist_include_HEADERS += $(top_srcdir)/../shared/mvme/mvme16x_hw.h
29
30EXTRA_DIST = ../../m68k/shared/start.S
31start.$(OBJEXT): ../../m68k/shared/start.S
32        $(CPPASCOMPILE) -o $@ -c $<
33
34project_lib_DATA = start.$(OBJEXT)
35
36dist_project_lib_DATA += startup/linkcmds
37
38noinst_PROGRAMS += startup.rel
39startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
40    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
41    ../../m68k/shared/m68kpretaskinghook.c \
42    startup/page_table.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
43    ../../shared/gnatinstallhandler.c
44startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
45startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46
47noinst_PROGRAMS += clock.rel
48clock_rel_SOURCES = clock/ckinit.c
49clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
50clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52noinst_PROGRAMS += console.rel
53console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c
54console_rel_CPPFLAGS = $(AM_CPPFLAGS)
55console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56
57noinst_PROGRAMS += timer.rel
58timer_rel_SOURCES = timer/timer.c timer/timerisr.S
59timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
60timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61
62noinst_PROGRAMS += tod.rel
63tod_rel_SOURCES = tod/tod.c
64tod_rel_CPPFLAGS = $(AM_CPPFLAGS)
65tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
66
67if HAS_NETWORKING
68network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
69noinst_PROGRAMS += network.rel
70network_rel_SOURCES = ../mvme167/network/network.c
71network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
72network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73endif
74#--
75noinst_LIBRARIES = libbsp.a
76libbsp_a_SOURCES =
77libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel tod.rel
78if HAS_NETWORKING
79libbsp_a_LIBADD += network.rel
80endif
81libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
82    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
83if HAS_FPSP
84libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
85endif
86
87EXTRA_DIST += times
88
89include $(srcdir)/preinstall.am
90include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.