[e44ffe5] | 1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
| 2 | |
---|
| 3 | include $(top_srcdir)/../../../../automake/compile.am |
---|
| 4 | |
---|
| 5 | include_bspdir = $(includedir)/bsp |
---|
| 6 | |
---|
| 7 | dist_project_lib_DATA = bsp_specs |
---|
| 8 | |
---|
| 9 | include_HEADERS = include/bsp.h |
---|
| 10 | include_HEADERS += include/tm27.h |
---|
| 11 | |
---|
| 12 | nodist_include_HEADERS = include/bspopts.h |
---|
| 13 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
| 14 | DISTCLEANFILES = include/bspopts.h |
---|
| 15 | |
---|
| 16 | noinst_PROGRAMS = |
---|
| 17 | |
---|
| 18 | include_HEADERS += include/coverhd.h |
---|
| 19 | include_HEADERS += include/system_conf.h |
---|
| 20 | |
---|
[a825e53] | 21 | noinst_LIBRARIES = libbspstart.a |
---|
| 22 | libbspstart_a_SOURCES = ../../lm32/shared/start/start.S |
---|
[e44ffe5] | 23 | project_lib_DATA = start.$(OBJEXT) |
---|
| 24 | |
---|
| 25 | dist_project_lib_DATA += startup/linkcmds |
---|
| 26 | |
---|
[a825e53] | 27 | noinst_LIBRARIES += libbsp.a |
---|
| 28 | libbsp_a_SOURCES = |
---|
| 29 | libbsp_a_LIBADD = |
---|
| 30 | |
---|
| 31 | # startup |
---|
| 32 | libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
[e44ffe5] | 33 | ../../shared/bsppost.c ../shared/startup/bspstart.c \ |
---|
[74133389] | 34 | ../../shared/bspreset.c ../../shared/bsppretaskinghook.c \ |
---|
| 35 | ../../shared/bspgetworkarea.c ../../shared/bootcard.c \ |
---|
[a114011d] | 36 | ../../shared/sbrk.c ../../shared/setvec.c \ |
---|
[e44ffe5] | 37 | ../../shared/gnatinstallhandler.c |
---|
[a825e53] | 38 | # clock |
---|
| 39 | libbsp_a_SOURCES += ../../lm32/shared/clock/ckinit.c |
---|
| 40 | # console |
---|
| 41 | libbsp_a_SOURCES += ../../lm32/shared/console/console.c ../../lm32/shared/console/uart.c |
---|
| 42 | # timer |
---|
| 43 | libbsp_a_SOURCES += ../../lm32/shared/timer/timer.c |
---|
| 44 | |
---|
| 45 | if HAS_NETWORKING |
---|
| 46 | noinst_PROGRAMS += network.rel |
---|
| 47 | network_rel_SOURCES = ../../lm32/shared/tsmac/tsmac.c |
---|
| 48 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
| 49 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 50 | libbsp_a_LIBADD += network.rel |
---|
| 51 | endif |
---|
| 52 | |
---|
| 53 | |
---|
[e44ffe5] | 54 | include $(srcdir)/preinstall.am |
---|
| 55 | include $(top_srcdir)/../../../../automake/local.am |
---|