1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | include $(top_srcdir)/../../bsp.am |
---|
9 | |
---|
10 | dist_project_lib_DATA = bsp_specs |
---|
11 | |
---|
12 | include_HEADERS = include/bsp.h |
---|
13 | include_HEADERS += include/tm27.h |
---|
14 | |
---|
15 | nodist_include_HEADERS = include/bspopts.h |
---|
16 | DISTCLEANFILES = include/bspopts.h |
---|
17 | noinst_PROGRAMS = |
---|
18 | |
---|
19 | SUBDIRS = . tools |
---|
20 | |
---|
21 | include_HEADERS += include/coverhd.h |
---|
22 | include_HEADERS += include/i2c.h |
---|
23 | include_HEADERS += include/i2cdrv.h |
---|
24 | include_HEADERS += include/ds1307.h |
---|
25 | include_HEADERS += include/nvram.h |
---|
26 | nodist_include_HEADERS += ../../shared/tod.h |
---|
27 | |
---|
28 | EXTRA_DIST = times |
---|
29 | |
---|
30 | EXTRA_DIST += start/start.S |
---|
31 | start.$(OBJEXT): start/start.S |
---|
32 | $(CPPASCOMPILE) -DASM -o $@ -c $< |
---|
33 | |
---|
34 | project_lib_DATA = start.$(OBJEXT) |
---|
35 | |
---|
36 | dist_project_lib_DATA += startup/linkcmds startup/gdbinit \ |
---|
37 | startup/linkcmds.flash |
---|
38 | |
---|
39 | noinst_PROGRAMS += startup.rel |
---|
40 | startup_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 |
---|
45 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
46 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
47 | |
---|
48 | noinst_PROGRAMS += console.rel |
---|
49 | console_rel_SOURCES = console/console.c |
---|
50 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
51 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
52 | |
---|
53 | noinst_PROGRAMS += i2c.rel |
---|
54 | i2c_rel_SOURCES = i2c/i2c.c i2c/i2cdrv.c |
---|
55 | i2c_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
56 | i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
57 | |
---|
58 | noinst_PROGRAMS += tod.rel |
---|
59 | tod_rel_SOURCES = tod/ds1307.c tod/todcfg.c ../../shared/tod.c |
---|
60 | tod_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
61 | tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
62 | |
---|
63 | noinst_PROGRAMS += nvram.rel |
---|
64 | nvram_rel_SOURCES = nvram/nvram.c |
---|
65 | nvram_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
66 | nvram_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
67 | |
---|
68 | noinst_LIBRARIES = libbsp.a |
---|
69 | libbsp_a_SOURCES = |
---|
70 | libbsp_a_LIBADD = startup.rel console.rel i2c.rel tod.rel nvram.rel |
---|
71 | libbsp_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 | |
---|
78 | all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES) |
---|
79 | |
---|
80 | include $(srcdir)/preinstall.am |
---|
81 | include $(top_srcdir)/../../../../automake/local.am |
---|