[572484f] | 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 | |
---|
| 21 | EXTRA_DIST = start/start.S |
---|
| 22 | start.$(OBJEXT): start/start.S |
---|
[57357d9] | 23 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[572484f] | 24 | project_lib_DATA = start.$(OBJEXT) |
---|
| 25 | |
---|
| 26 | dist_project_lib_DATA += startup/linkcmds |
---|
| 27 | |
---|
[1d0ee80e] | 28 | startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ |
---|
[2804a3e7] | 29 | ../../shared/bsppost.c ../../shared/bsppredriverhook.c \ |
---|
[18aa55ee] | 30 | ../../shared/bsppretaskinghook.c ../../m68k/shared/m68kbspgetworkarea.c \ |
---|
| 31 | startup/init5282.c startup/bspstart.c ../../shared/bootcard.c \ |
---|
| 32 | ../../shared/sbrk.c ../../m68k/shared/setvec.c \ |
---|
| 33 | ../../shared/gnatinstallhandler.c |
---|
[1d0ee80e] | 34 | clock_SOURCES = clock/clock.c |
---|
| 35 | console_SOURCES = console/console.c |
---|
| 36 | timer_SOURCES = timer/timer.c |
---|
[572484f] | 37 | |
---|
| 38 | if HAS_NETWORKING |
---|
| 39 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
| 40 | noinst_PROGRAMS += network.rel |
---|
| 41 | network_rel_SOURCES = network/network.c |
---|
[d88c378] | 42 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
[572484f] | 43 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 44 | endif |
---|
| 45 | |
---|
| 46 | noinst_LIBRARIES = libbsp.a |
---|
[1d0ee80e] | 47 | libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ |
---|
| 48 | $(timer_SOURCES) |
---|
| 49 | |
---|
| 50 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
| 51 | ../../../libcpu/@RTEMS_CPU@/shared/misc.rel |
---|
[572484f] | 52 | if HAS_NETWORKING |
---|
| 53 | libbsp_a_LIBADD += network.rel |
---|
| 54 | endif |
---|
| 55 | |
---|
[5a9284a] | 56 | include $(srcdir)/preinstall.am |
---|
[572484f] | 57 | include $(top_srcdir)/../../../../automake/local.am |
---|