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 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
21 | |
---|
22 | noinst_PROGRAMS = |
---|
23 | |
---|
24 | EXTRA_DIST = start/start.S start/regs.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 | noinst_LIBRARIES = libbsp.a |
---|
32 | libbsp_a_SOURCES = |
---|
33 | |
---|
34 | # startup |
---|
35 | libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
36 | ../../shared/bsppredriverhook.c ../../shared/bsppost.c startup/bspreset.c \ |
---|
37 | ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \ |
---|
38 | startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \ |
---|
39 | ../../shared/gnatinstallhandler.c ../../shared/setvec.c |
---|
40 | # clock |
---|
41 | libbsp_a_SOURCES += clock/clockdrv.c |
---|
42 | # console |
---|
43 | libbsp_a_SOURCES += console/console-io.c ../../shared/console-polled.c |
---|
44 | # timer |
---|
45 | libbsp_a_SOURCES += timer/timer.c |
---|
46 | |
---|
47 | if HAS_NETWORKING |
---|
48 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
49 | noinst_PROGRAMS += network.rel |
---|
50 | network_rel_SOURCES = network/network.c |
---|
51 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
52 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
53 | endif |
---|
54 | |
---|
55 | libbsp_a_LIBADD = \ |
---|
56 | ../../../libcpu/mips/shared/cache.rel \ |
---|
57 | ../../../libcpu/mips/shared/interrupts.rel \ |
---|
58 | ../../../libcpu/mips/au1x00/vectorisrs.rel |
---|
59 | if HAS_NETWORKING |
---|
60 | libbsp_a_LIBADD += network.rel |
---|
61 | endif |
---|
62 | |
---|
63 | include $(srcdir)/preinstall.am |
---|
64 | include $(top_srcdir)/../../../../automake/local.am |
---|