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 | include_bspdir = $(includedir)/bsp |
---|
11 | |
---|
12 | dist_project_lib_DATA = bsp_specs |
---|
13 | |
---|
14 | include_HEADERS = include/bsp.h |
---|
15 | include_HEADERS += include/tm27.h |
---|
16 | |
---|
17 | nodist_include_HEADERS = include/bspopts.h |
---|
18 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
19 | DISTCLEANFILES = include/bspopts.h |
---|
20 | noinst_PROGRAMS = |
---|
21 | |
---|
22 | include_HEADERS += include/coverhd.h |
---|
23 | include_HEADERS += include/m340uart.h |
---|
24 | include_HEADERS += include/m340timer.h |
---|
25 | include_HEADERS += include/m68340.h |
---|
26 | include_HEADERS += include/m68340.inc |
---|
27 | include_HEADERS += include/m68349.inc |
---|
28 | |
---|
29 | EXTRA_DIST = start/start.S start/startfor340only.S |
---|
30 | start.$(OBJEXT): start/start.S |
---|
31 | $(CPPASCOMPILE) -o $@ -c $< |
---|
32 | project_lib_DATA = start.$(OBJEXT) |
---|
33 | |
---|
34 | dist_project_lib_DATA += startup/linkcmds |
---|
35 | |
---|
36 | noinst_LIBRARIES = libbsp.a |
---|
37 | libbsp_a_SOURCES = |
---|
38 | |
---|
39 | # startup |
---|
40 | libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
41 | ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \ |
---|
42 | ../../shared/bsppost.c ../../shared/bspstart.c startup/init68340.c \ |
---|
43 | ../../shared/bootcard.c ../../shared/bsppretaskinghook.c \ |
---|
44 | ../../shared/sbrk.c ../../m68k/shared/setvec.c \ |
---|
45 | startup/dumpanic.c ../../shared/gnatinstallhandler.c |
---|
46 | # clock |
---|
47 | libbsp_a_SOURCES += clock/ckinit.c |
---|
48 | # console |
---|
49 | libbsp_a_SOURCES += console/Modif_cpu_asm.S console/console.c \ |
---|
50 | console/m340uart.c ../../shared/dummy_printk_support.c |
---|
51 | # timer |
---|
52 | libbsp_a_SOURCES += timer/timer.c |
---|
53 | |
---|
54 | libbsp_a_LIBADD = \ |
---|
55 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
56 | ../../../libcpu/@RTEMS_CPU@/shared/misc.rel |
---|
57 | |
---|
58 | include $(srcdir)/preinstall.am |
---|
59 | include $(top_srcdir)/../../../../automake/local.am |
---|