source: rtems/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am @ a14fba32

4.104.115
Last change on this file since a14fba32 was a14fba32, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/30/08 at 10:38:36

2008-09-30 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Eliminate bsp.am. Build startup files as side-effect of building libbspstart.a, using automake-rules.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8
9include_bspdir = $(includedir)/bsp
10
11dist_project_lib_DATA = bsp_specs
12
13include_HEADERS = include/bsp.h
14include_HEADERS += include/tm27.h
15
16nodist_include_HEADERS = include/bspopts.h
17nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
18DISTCLEANFILES = include/bspopts.h
19
20SUBDIRS = . tools
21
22include_HEADERS += include/coverhd.h
23include_HEADERS += include/i2c.h
24include_HEADERS += include/i2cdrv.h
25include_HEADERS += include/ds1307.h
26include_HEADERS += include/nvram.h
27nodist_include_HEADERS += ../../shared/tod.h
28
29EXTRA_DIST = times
30
31noinst_LIBRARIES = libbspstart.a
32libbspstart_a_SOURCES = start/start.S
33project_lib_DATA = start.$(OBJEXT)
34
35dist_project_lib_DATA += startup/linkcmds startup/gdbinit \
36    startup/linkcmds.flash
37
38noinst_LIBRARIES += libbsp.a
39libbsp_a_SOURCES =
40
41# startup
42libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
43    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
44    ../../shared/bsppost.c ../../shared/bsppretaskinghook.c \
45    ../../shared/bspstart.c startup/init5206e.c ../../shared/bootcard.c \
46    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
47    ../../shared/gnatinstallhandler.c
48# console
49libbsp_a_SOURCES += console/console.c ../../shared/dummy_printk_support.c
50# i2c
51libbsp_a_SOURCES += i2c/i2c.c i2c/i2cdrv.c
52# tod
53libbsp_a_SOURCES += tod/ds1307.c tod/todcfg.c ../../shared/tod.c
54# nvram
55libbsp_a_SOURCES += nvram/nvram.c
56
57libbsp_a_LIBADD = \
58    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
59    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
60    ../../../libcpu/@RTEMS_CPU@/mcf5206/clock.rel \
61    ../../../libcpu/@RTEMS_CPU@/mcf5206/mcfuart.rel \
62    ../../../libcpu/@RTEMS_CPU@/mcf5206/timer.rel \
63    ../../../libcpu/@RTEMS_CPU@/mcf5206/mbus.rel
64
65include $(srcdir)/preinstall.am
66include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.