1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | |
---|
9 | include_bspdir = $(includedir)/bsp |
---|
10 | |
---|
11 | dist_project_lib_DATA = bsp_specs |
---|
12 | |
---|
13 | include_HEADERS = include/bsp.h |
---|
14 | include_HEADERS += ../../shared/include/tm27.h |
---|
15 | |
---|
16 | nodist_include_HEADERS = include/bspopts.h |
---|
17 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
18 | DISTCLEANFILES = include/bspopts.h |
---|
19 | |
---|
20 | noinst_PROGRAMS = |
---|
21 | |
---|
22 | include_HEADERS += ../../shared/include/coverhd.h |
---|
23 | |
---|
24 | noinst_LIBRARIES = libbspstart.a |
---|
25 | libbspstart_a_SOURCES = start/start.S |
---|
26 | project_lib_DATA = start.$(OBJEXT) |
---|
27 | |
---|
28 | dist_project_lib_DATA += startup/linkcmds |
---|
29 | |
---|
30 | noinst_LIBRARIES += libbsp.a |
---|
31 | libbsp_a_SOURCES = |
---|
32 | |
---|
33 | libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
34 | ../../shared/bsppredriverhook.c startup/bspstart.c \ |
---|
35 | ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \ |
---|
36 | ../../shared/bootcard.c ../../shared/gnatinstallhandler.c \ |
---|
37 | ../../shared/bspgetworkarea.c |
---|
38 | |
---|
39 | libbsp_a_SOURCES += console/console.c |
---|
40 | |
---|
41 | if HAS_NETWORKING |
---|
42 | networkconfig_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
43 | noinst_PROGRAMS += networkconfig.rel |
---|
44 | networkconfig_rel_SOURCES = network/networkconfig.c |
---|
45 | networkconfig_rel_CPPFLAGS = $(AM_CPPFLAGS) $(networkconfig_CPPFLAGS) |
---|
46 | networkconfig_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
47 | endif |
---|
48 | |
---|
49 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/mmu.rel |
---|
50 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/interrupt.rel |
---|
51 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/cache.rel |
---|
52 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/uart.rel |
---|
53 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/clock.rel |
---|
54 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/rtc.rel |
---|
55 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/timer.rel |
---|
56 | |
---|
57 | if HAS_NETWORKING |
---|
58 | libbsp_a_LIBADD += networkconfig.rel |
---|
59 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/network.rel |
---|
60 | endif |
---|
61 | |
---|
62 | include $(srcdir)/preinstall.am |
---|
63 | include $(top_srcdir)/../../../../automake/local.am |
---|