source: rtems/c/src/lib/libbsp/m68k/mcf5206elite/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.3 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
19SUBDIRS = . tools
20
21include_HEADERS += include/coverhd.h
22include_HEADERS += include/i2c.h
23include_HEADERS += include/i2cdrv.h
24include_HEADERS += include/ds1307.h
25include_HEADERS += include/nvram.h
26nodist_include_HEADERS += ../../shared/tod.h
27
28EXTRA_DIST = times
29
30EXTRA_DIST += start/start.S
31start.$(OBJEXT): start/start.S
32        $(CPPASCOMPILE) -o $@ -c $<
33
34project_lib_DATA = start.$(OBJEXT)
35
36dist_project_lib_DATA += startup/linkcmds startup/gdbinit \
37    startup/linkcmds.flash
38
39noinst_PROGRAMS += startup.rel
40startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
41    ../../shared/bsppost.c ../../m68k/shared/m68kpretaskinghook.c \
42    startup/bspstart.c startup/init5206e.c ../../shared/bootcard.c \
43    ../../shared/main.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \
44    ../../shared/gnatinstallhandler.c
45startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
46startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48noinst_PROGRAMS += console.rel
49console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c
50console_rel_CPPFLAGS = $(AM_CPPFLAGS)
51console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52
53noinst_PROGRAMS += i2c.rel
54i2c_rel_SOURCES = i2c/i2c.c i2c/i2cdrv.c
55i2c_rel_CPPFLAGS = $(AM_CPPFLAGS)
56i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58noinst_PROGRAMS += tod.rel
59tod_rel_SOURCES = tod/ds1307.c tod/todcfg.c ../../shared/tod.c
60tod_rel_CPPFLAGS = $(AM_CPPFLAGS)
61tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62
63noinst_PROGRAMS += nvram.rel
64nvram_rel_SOURCES = nvram/nvram.c
65nvram_rel_CPPFLAGS = $(AM_CPPFLAGS)
66nvram_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
67
68noinst_LIBRARIES = libbsp.a
69libbsp_a_SOURCES =
70libbsp_a_LIBADD = startup.rel console.rel i2c.rel tod.rel nvram.rel
71libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
72    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
73    ../../../libcpu/@RTEMS_CPU@/mcf5206/clock.rel \
74    ../../../libcpu/@RTEMS_CPU@/mcf5206/mcfuart.rel \
75    ../../../libcpu/@RTEMS_CPU@/mcf5206/timer.rel \
76    ../../../libcpu/@RTEMS_CPU@/mcf5206/mbus.rel
77
78include $(srcdir)/preinstall.am
79include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.