[61f8fb0e] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
| 4 | |
---|
| 5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
| 6 | |
---|
| 7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
| 8 | |
---|
[13374cf] | 9 | include_bspdir = $(includedir)/bsp |
---|
| 10 | |
---|
[61f8fb0e] | 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 |
---|
[13374cf] | 17 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
[61f8fb0e] | 18 | DISTCLEANFILES = include/bspopts.h |
---|
| 19 | |
---|
| 20 | noinst_PROGRAMS = |
---|
| 21 | |
---|
| 22 | include_HEADERS += ../../shared/include/coverhd.h |
---|
| 23 | |
---|
[336b9ce] | 24 | noinst_LIBRARIES = libbspstart.a |
---|
| 25 | libbspstart_a_SOURCES = start/start.S |
---|
[61f8fb0e] | 26 | project_lib_DATA = start.$(OBJEXT) |
---|
| 27 | |
---|
| 28 | dist_project_lib_DATA += startup/linkcmds |
---|
| 29 | |
---|
[336b9ce] | 30 | noinst_LIBRARIES += libbsp.a |
---|
[64eb0c7] | 31 | libbsp_a_SOURCES = |
---|
[e94666d] | 32 | |
---|
[6ab0094] | 33 | libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
[61f8fb0e] | 34 | ../../shared/bsppredriverhook.c startup/bspstart.c \ |
---|
| 35 | ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/setvec.c \ |
---|
[018e3821] | 36 | ../../shared/bootcard.c ../../shared/gnatinstallhandler.c \ |
---|
[2a65e6d5] | 37 | ../../shared/bspgetworkarea.c |
---|
[61f8fb0e] | 38 | |
---|
[6ab0094] | 39 | libbsp_a_SOURCES += console/console.c |
---|
[61f8fb0e] | 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 | |
---|
[6ab0094] | 49 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/mmu.rel |
---|
[61f8fb0e] | 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 | |
---|
[6ab0094] | 57 | if HAS_NETWORKING |
---|
| 58 | libbsp_a_LIBADD += networkconfig.rel |
---|
| 59 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/network.rel |
---|
| 60 | endif |
---|
| 61 | |
---|
[61f8fb0e] | 62 | include $(srcdir)/preinstall.am |
---|
| 63 | include $(top_srcdir)/../../../../automake/local.am |
---|