[1612af0] | 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 |
---|
[760486f7] | 17 | CLEANFILES = |
---|
[1612af0] | 18 | noinst_PROGRAMS = |
---|
| 19 | |
---|
| 20 | include_HEADERS += 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 | startup_rel_SOURCES = startup/bspclean.c \ |
---|
| 31 | ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
| 32 | ../../m68k/shared/m68kpretaskinghook.c \ |
---|
| 33 | startup/init5235.c startup/bspstart.c \ |
---|
| 34 | ../../shared/bootcard.c ../../shared/main.c \ |
---|
| 35 | ../../shared/sbrk.c ../../m68k/shared/setvec.c \ |
---|
| 36 | ../../shared/gnatinstallhandler.c |
---|
| 37 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 38 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 39 | |
---|
| 40 | noinst_PROGRAMS += clock.rel |
---|
| 41 | clock_rel_SOURCES = clock/clock.c |
---|
| 42 | clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 43 | clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 44 | |
---|
| 45 | noinst_PROGRAMS += console.rel |
---|
| 46 | console_rel_SOURCES = console/console.c |
---|
| 47 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 48 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 49 | |
---|
| 50 | noinst_PROGRAMS += timer.rel |
---|
| 51 | timer_rel_SOURCES = timer/timer.c |
---|
| 52 | timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 53 | timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 54 | |
---|
| 55 | if HAS_NETWORKING |
---|
| 56 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
| 57 | noinst_PROGRAMS += network.rel |
---|
| 58 | network_rel_SOURCES = network/network.c |
---|
| 59 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
| 60 | $(network_CPPFLAGS) |
---|
| 61 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 62 | endif |
---|
| 63 | |
---|
| 64 | noinst_LIBRARIES = libbsp.a |
---|
| 65 | libbsp_a_SOURCES = |
---|
| 66 | libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel |
---|
| 67 | if HAS_NETWORKING |
---|
| 68 | libbsp_a_LIBADD += network.rel |
---|
| 69 | endif |
---|
| 70 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
| 71 | ../../../libcpu/@RTEMS_CPU@/shared/misc.rel |
---|
| 72 | |
---|
| 73 | all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES) |
---|
| 74 | |
---|
[760486f7] | 75 | include $(srcdir)/preinstall.am |
---|
[1612af0] | 76 | include $(top_srcdir)/../../../../automake/local.am |
---|