[df49c60] | 1 | ## |
---|
[7068e246] | 2 | ## $Id$ |
---|
[df49c60] | 3 | ## |
---|
[7068e246] | 4 | |
---|
[fe8bc62f] | 5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
[7068e246] | 6 | |
---|
[65cf99c] | 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 |
---|
[4cbf22a] | 14 | |
---|
[2a7f9a28] | 15 | nodist_include_HEADERS = include/bspopts.h |
---|
[4cbf22a] | 16 | DISTCLEANFILES = include/bspopts.h |
---|
| 17 | noinst_PROGRAMS = |
---|
[7068e246] | 18 | |
---|
[2821666f] | 19 | include_HEADERS += include/coverhd.h |
---|
| 20 | include_HEADERS += include/m302_int.h |
---|
| 21 | |
---|
| 22 | EXTRA_DIST = times |
---|
| 23 | |
---|
[eb40b1c] | 24 | EXTRA_DIST += start/start.S |
---|
[4cbf22a] | 25 | start.$(OBJEXT): start/start.S |
---|
[57357d9] | 26 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[4cbf22a] | 27 | project_lib_DATA = start.$(OBJEXT) |
---|
[65cf99c] | 28 | |
---|
[eb40b1c] | 29 | dist_project_lib_DATA += startup/linkcmds |
---|
| 30 | |
---|
[1d0ee80e] | 31 | startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ |
---|
[558bc25] | 32 | ../../shared/bsppredriverhook.c \ |
---|
[eb40b1c] | 33 | ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \ |
---|
[aa4369c] | 34 | ../../m68k/shared/m68kpretaskinghook.c \ |
---|
[4cb9d26] | 35 | ../../shared/sbrk.c ../../m68k/shared/setvec.c \ |
---|
| 36 | ../../shared/gnatinstallhandler.c |
---|
[1d0ee80e] | 37 | clock_SOURCES = clock/ckinit.c |
---|
| 38 | console_SOURCES = console/console.c ../../shared/dummy_printk_support.c |
---|
| 39 | timer_SOURCES = timer/timer.c timer/timerisr.S |
---|
[eb40b1c] | 40 | |
---|
| 41 | if HAS_NETWORKING |
---|
| 42 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
[4cbf22a] | 43 | noinst_PROGRAMS += network.rel |
---|
[eb40b1c] | 44 | network_rel_SOURCES = network/network.c |
---|
[9d83387b] | 45 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
[eb40b1c] | 46 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 47 | endif |
---|
| 48 | |
---|
[4cbf22a] | 49 | noinst_LIBRARIES = libbsp.a |
---|
[1d0ee80e] | 50 | libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ |
---|
| 51 | $(timer_SOURCES) |
---|
| 52 | |
---|
| 53 | libbsp_a_LIBADD = \ |
---|
| 54 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
| 55 | ../../../libcpu/@RTEMS_CPU@/shared/misc.rel |
---|
[eb40b1c] | 56 | if HAS_NETWORKING |
---|
[4cbf22a] | 57 | libbsp_a_LIBADD += network.rel |
---|
[eb40b1c] | 58 | endif |
---|
[65cf99c] | 59 | |
---|
[760486f7] | 60 | include $(srcdir)/preinstall.am |
---|
[88daa3d] | 61 | include $(top_srcdir)/../../../../automake/local.am |
---|