[f4392b88] | 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 | |
---|
| 18 | noinst_PROGRAMS = |
---|
| 19 | |
---|
| 20 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
| 21 | |
---|
| 22 | EXTRA_DIST = start/start.S |
---|
| 23 | start.$(OBJEXT): start/start.S |
---|
| 24 | $(CPPASCOMPILE) -DASM -o $@ -c $< |
---|
| 25 | project_lib_DATA = start.$(OBJEXT) |
---|
| 26 | |
---|
| 27 | dist_project_lib_DATA += startup/linkcmds |
---|
| 28 | |
---|
| 29 | noinst_PROGRAMS += startup.rel |
---|
| 30 | include_HEADERS += ../../arm/shared/comm/uart.h |
---|
| 31 | startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
| 32 | startup/bspstart.c startup/exit.c ../../shared/bootcard.c \ |
---|
| 33 | ../../shared/main.c ../../shared/sbrk.c \ |
---|
| 34 | ../../shared/gnatinstallhandler.c |
---|
| 35 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 36 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | noinst_PROGRAMS += console.rel |
---|
| 40 | console_rel_SOURCES = console/uart.c ../../shared/console.c |
---|
| 41 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 42 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | if HAS_NETWORKING |
---|
| 47 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
| 48 | noinst_PROGRAMS += network.rel |
---|
| 49 | network_rel_SOURCES = network/network.c |
---|
| 50 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
| 51 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 52 | endif |
---|
| 53 | |
---|
| 54 | noinst_LIBRARIES = libbsp.a |
---|
| 55 | libbsp_a_SOURCES = |
---|
| 56 | libbsp_a_LIBADD = startup.rel console.rel |
---|
| 57 | if HAS_NETWORKING |
---|
| 58 | libbsp_a_LIBADD += network.rel |
---|
| 59 | endif |
---|
| 60 | |
---|
| 61 | libbsp_a_LIBADD += \ |
---|
| 62 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \ |
---|
| 63 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \ |
---|
| 64 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel |
---|
| 65 | |
---|
[85457eb5] | 66 | include $(srcdir)/preinstall.am |
---|
[f4392b88] | 67 | include $(top_srcdir)/../../../../automake/local.am |
---|