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 | EXTRA_DIST = |
---|
20 | |
---|
21 | include_HEADERS += include/bare.h |
---|
22 | include_HEADERS += include/crc.h |
---|
23 | include_HEADERS += include/debugport.h |
---|
24 | include_HEADERS += include/m68302scc.h |
---|
25 | include_HEADERS += include/coverhd.h |
---|
26 | |
---|
27 | # FIXME: Better merge both files into one and use #ifdef GDB_MONITOR_ACTIVE |
---|
28 | if ODS68302_DEBUG |
---|
29 | EXTRA_DIST += start/debugreset.S |
---|
30 | start.$(OBJEXT): start/debugreset.S |
---|
31 | $(CPPASCOMPILE) -o $@ -c $< |
---|
32 | else |
---|
33 | EXTRA_DIST += start/reset.S |
---|
34 | start.$(OBJEXT): start/reset.S |
---|
35 | $(CPPASCOMPILE) -o $@ -c $< |
---|
36 | endif |
---|
37 | |
---|
38 | project_lib_DATA = start.$(OBJEXT) |
---|
39 | |
---|
40 | dist_project_lib_DATA += startup/linkcmds startup/rom startup/debugger |
---|
41 | |
---|
42 | startup_SOURCES = startup/cpuboot.c startup/crc.c startup/debugport.c \ |
---|
43 | startup/gdb-hooks.c ../../shared/bootcard.c \ |
---|
44 | startup/m68302scc.c startup/m68k-stub.c \ |
---|
45 | ../../m68k/shared/m68kpretaskinghook.c startup/memcheck.c \ |
---|
46 | startup/trace.c ../../shared/gnatinstallhandler.c ../../shared/bsplibc.c \ |
---|
47 | ../../shared/bsppredriverhook.c ../../shared/bsppost.c \ |
---|
48 | startup/bspstart.c ../../shared/bspclean.c ../../shared/sbrk.c \ |
---|
49 | ../../m68k/shared/setvec.c |
---|
50 | clock_SOURCES = clock/ckinit.c |
---|
51 | console_SOURCES = console/console.c ../../shared/dummy_printk_support.c |
---|
52 | timer_SOURCES = timer/timer.c timer/timerisr.S |
---|
53 | |
---|
54 | noinst_LIBRARIES = libbsp.a |
---|
55 | libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ |
---|
56 | $(timer_SOURCES) |
---|
57 | |
---|
58 | libbsp_a_LIBADD = \ |
---|
59 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
60 | ../../../libcpu/@RTEMS_CPU@/shared/misc.rel |
---|
61 | |
---|
62 | include $(srcdir)/preinstall.am |
---|
63 | include $(top_srcdir)/../../../../automake/local.am |
---|