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/m302_int.h |
---|
21 | |
---|
22 | EXTRA_DIST = times |
---|
23 | |
---|
24 | EXTRA_DIST += start/start.S |
---|
25 | start.$(OBJEXT): start/start.S |
---|
26 | $(CPPASCOMPILE) -o $@ -c $< |
---|
27 | project_lib_DATA = start.$(OBJEXT) |
---|
28 | |
---|
29 | dist_project_lib_DATA += startup/linkcmds |
---|
30 | |
---|
31 | startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ |
---|
32 | ../../shared/bsppredriverhook.c \ |
---|
33 | ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \ |
---|
34 | ../../m68k/shared/m68kpretaskinghook.c \ |
---|
35 | ../../shared/sbrk.c ../../m68k/shared/setvec.c \ |
---|
36 | ../../shared/gnatinstallhandler.c |
---|
37 | clock_SOURCES = clock/ckinit.c |
---|
38 | console_SOURCES = console/console.c ../../shared/dummy_printk_support.c |
---|
39 | timer_SOURCES = timer/timer.c timer/timerisr.S |
---|
40 | |
---|
41 | if HAS_NETWORKING |
---|
42 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
43 | noinst_PROGRAMS += network.rel |
---|
44 | network_rel_SOURCES = network/network.c |
---|
45 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
46 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
47 | endif |
---|
48 | |
---|
49 | noinst_LIBRARIES = libbsp.a |
---|
50 | libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ |
---|
51 | $(timer_SOURCES) |
---|
52 | |
---|
53 | libbsp_a_LIBADD = \ |
---|
54 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
55 | ../../../libcpu/@RTEMS_CPU@/shared/misc.rel |
---|
56 | if HAS_NETWORKING |
---|
57 | libbsp_a_LIBADD += network.rel |
---|
58 | endif |
---|
59 | |
---|
60 | include $(srcdir)/preinstall.am |
---|
61 | include $(top_srcdir)/../../../../automake/local.am |
---|