[df49c60] | 1 | ## |
---|
[10726095] | 2 | ## $Id$ |
---|
[df49c60] | 3 | ## |
---|
[10726095] | 4 | |
---|
[fe8bc62f] | 5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
[10726095] | 6 | |
---|
[356d53f] | 7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
| 8 | include $(top_srcdir)/../../bsp.am |
---|
| 9 | |
---|
[2a7f9a28] | 10 | dist_project_lib_DATA = bsp_specs |
---|
| 11 | |
---|
| 12 | include_HEADERS = include/bsp.h |
---|
[3defec6] | 13 | include_HEADERS += include/tm27.h |
---|
[db3fa14] | 14 | |
---|
[2a7f9a28] | 15 | nodist_include_HEADERS = include/bspopts.h |
---|
[db3fa14] | 16 | DISTCLEANFILES = include/bspopts.h |
---|
[2a7f9a28] | 17 | |
---|
[db3fa14] | 18 | noinst_PROGRAMS = |
---|
[454c30fc] | 19 | |
---|
| 20 | SUBDIRS = . tools |
---|
[10726095] | 21 | |
---|
[82a7f58] | 22 | include_HEADERS += include/erc32.h |
---|
[7e59103] | 23 | include_HEADERS += include/coverhd.h |
---|
[82a7f58] | 24 | |
---|
[bb0b1e4] | 25 | EXTRA_DIST = ../../sparc/shared/start.S |
---|
[db3fa14] | 26 | start.$(OBJEXT): ../../sparc/shared/start.S |
---|
[57357d9] | 27 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[db3fa14] | 28 | project_lib_DATA = start.$(OBJEXT) |
---|
[454c30fc] | 29 | |
---|
| 30 | dist_project_lib_DATA += startup/linkcmds |
---|
| 31 | |
---|
[5e5d0b1] | 32 | startup_SOURCES = ../../sparc/shared/bspclean.c ../../shared/bsplibc.c \ |
---|
[182674ed] | 33 | ../../shared/bsppredriverhook.c ../../sparc/shared/bspgetworkarea.c \ |
---|
[aa4369c] | 34 | ../../shared/bsppost.c ../../sparc/shared/bspstart.c \ |
---|
[454c30fc] | 35 | ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \ |
---|
| 36 | startup/spurious.c startup/erc32mec.c startup/boardinit.S |
---|
[5e5d0b1] | 37 | gnatsupp_SOURCES = gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c |
---|
| 38 | console_SOURCES = console/console.c |
---|
| 39 | debugio_SOURCES = console/debugputs.c |
---|
| 40 | clock_SOURCES = clock/ckinit.c |
---|
| 41 | timer_SOURCES = timer/timer.c |
---|
[454c30fc] | 42 | |
---|
| 43 | if HAS_NETWORKING |
---|
[bb0b1e4] | 44 | erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
[db3fa14] | 45 | noinst_PROGRAMS += erc32sonic.rel |
---|
[454c30fc] | 46 | erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c |
---|
[982c61cc] | 47 | erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(erc32sonic_CPPFLAGS) |
---|
[454c30fc] | 48 | erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 49 | endif |
---|
| 50 | |
---|
[db3fa14] | 51 | noinst_LIBRARIES = libbsp.a |
---|
[5e5d0b1] | 52 | libbsp_a_SOURCES = $(startup_SOURCES) $(gnatsupp_SOURCES) $(console_SOURCES) \ |
---|
| 53 | $(debugio_SOURCES) $(clock_SOURCES) $(timer_SOURCES) |
---|
[454c30fc] | 54 | |
---|
[5e5d0b1] | 55 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/cache.rel \ |
---|
[0e4507b] | 56 | ../../../libcpu/@RTEMS_CPU@/reg_win.rel \ |
---|
| 57 | ../../../libcpu/@RTEMS_CPU@/syscall.rel |
---|
[5e5d0b1] | 58 | if HAS_NETWORKING |
---|
| 59 | libbsp_a_LIBADD += erc32sonic.rel |
---|
| 60 | endif |
---|
[356d53f] | 61 | |
---|
[454c30fc] | 62 | EXTRA_DIST += times |
---|
[82a7f58] | 63 | |
---|
[4d8d475] | 64 | include $(srcdir)/preinstall.am |
---|
[d73e8326] | 65 | include $(top_srcdir)/../../../../automake/local.am |
---|