source: rtems/c/src/lib/libbsp/m68k/mvme136/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.0 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 = ../../m68k/shared/start.S
22start.$(OBJEXT): ../../m68k/shared/start.S
23        $(CPPASCOMPILE) -o $@ -c $<
24
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
29noinst_PROGRAMS += startup.rel
30startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
31    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
32    ../../m68k/shared/m68kpretaskinghook.c ../../shared/main.c \
33    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
34    ../../shared/gnatinstallhandler.c
35startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
36startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38noinst_PROGRAMS += clock.rel
39clock_rel_SOURCES = clock/ckinit.c
40clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
41clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
43noinst_PROGRAMS += console.rel
44console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c
45console_rel_CPPFLAGS = $(AM_CPPFLAGS)
46console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48noinst_PROGRAMS += timer.rel
49timer_rel_SOURCES = timer/timer.c timer/timerisr.S
50timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
51timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52
53if HAS_MP
54noinst_PROGRAMS += shmsupp.rel
55shmsupp_rel_SOURCES = shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \
56    shmsupp/mpisr.c
57shmsupp_rel_CPPFLAGS = $(AM_CPPFLAGS)
58shmsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
59endif
60
61noinst_LIBRARIES = libbsp.a
62libbsp_a_SOURCES =
63libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
64if HAS_MP
65libbsp_a_LIBADD += shmsupp.rel
66endif
67libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
68    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
69
70EXTRA_DIST += times
71
72include $(srcdir)/preinstall.am
73include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.