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 | include_HEADERS += include/coverhd.h |
---|
20 | include_HEADERS += include/m340uart.h |
---|
21 | include_HEADERS += include/m340timer.h |
---|
22 | include_HEADERS += include/m68340.h |
---|
23 | include_HEADERS += include/m68340.inc |
---|
24 | include_HEADERS += include/m68349.inc |
---|
25 | |
---|
26 | EXTRA_DIST = start/start.S start/startfor340only.S |
---|
27 | start.$(OBJEXT): start/start.S |
---|
28 | $(CPPASCOMPILE) -o $@ -c $< |
---|
29 | project_lib_DATA = start.$(OBJEXT) |
---|
30 | |
---|
31 | dist_project_lib_DATA += startup/linkcmds |
---|
32 | |
---|
33 | noinst_PROGRAMS += startup.rel |
---|
34 | startup_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 |
---|
39 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
40 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
41 | |
---|
42 | noinst_PROGRAMS += clock.rel |
---|
43 | clock_rel_SOURCES = clock/ckinit.c |
---|
44 | clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
45 | clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
46 | |
---|
47 | noinst_PROGRAMS += console.rel |
---|
48 | console_rel_SOURCES = console/Modif_cpu_asm.S console/console.c \ |
---|
49 | console/m340uart.c ../../shared/dummy_printk_support.c |
---|
50 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
51 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
52 | |
---|
53 | noinst_PROGRAMS += timer.rel |
---|
54 | timer_rel_SOURCES = timer/timer.c |
---|
55 | timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
56 | timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
57 | |
---|
58 | noinst_LIBRARIES = libbsp.a |
---|
59 | libbsp_a_SOURCES = |
---|
60 | libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel |
---|
61 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
62 | ../../../libcpu/@RTEMS_CPU@/shared/misc.rel |
---|
63 | |
---|
64 | include $(srcdir)/preinstall.am |
---|
65 | include $(top_srcdir)/../../../../automake/local.am |
---|