source: rtems/c/src/lib/libbsp/m68k/gen68340/Makefile.am @ 29fd3878

Last change on this file since 29fd3878 was 625ef85, checked in by Joel Sherrill <joel.sherrill@…>, on 04/02/07 at 11:18:03

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
20include_HEADERS += include/m340uart.h
21include_HEADERS += include/m340timer.h
22include_HEADERS += include/m68340.h
23include_HEADERS += include/m68340.inc
24include_HEADERS += include/m68349.inc
25
26EXTRA_DIST = start/start.S start/startfor340only.S
27start.$(OBJEXT): start/start.S
28        $(CPPASCOMPILE) -o $@ -c $<
29project_lib_DATA = start.$(OBJEXT)
30
31dist_project_lib_DATA += startup/linkcmds
32
33noinst_PROGRAMS += startup.rel
34startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
35    ../../shared/bsppost.c startup/bspstart.c startup/init68340.c \
36    ../../shared/bootcard.c ../../m68k/shared/m68kpretaskinghook.c \
37    ../../shared/main.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
38    startup/dumpanic.c ../../shared/gnatinstallhandler.c
39startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
40startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42noinst_PROGRAMS += clock.rel
43clock_rel_SOURCES = clock/ckinit.c
44clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
45clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46
47noinst_PROGRAMS += console.rel
48console_rel_SOURCES = console/Modif_cpu_asm.S console/console.c \
49    console/m340uart.c ../../shared/dummy_printk_support.c
50console_rel_CPPFLAGS = $(AM_CPPFLAGS)
51console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52
53noinst_PROGRAMS += timer.rel
54timer_rel_SOURCES = timer/timer.c
55timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
56timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58noinst_LIBRARIES = libbsp.a
59libbsp_a_SOURCES =
60libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
61libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
62    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
63
64include $(srcdir)/preinstall.am
65include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.