[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 |
---|
[218c346] | 26 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[4cbf22a] | 27 | project_lib_DATA = start.$(OBJEXT) |
---|
[65cf99c] | 28 | |
---|
[eb40b1c] | 29 | dist_project_lib_DATA += startup/linkcmds |
---|
| 30 | |
---|
[4cbf22a] | 31 | noinst_PROGRAMS += startup.rel |
---|
[eb40b1c] | 32 | startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ |
---|
| 33 | ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \ |
---|
[4cb9d26] | 34 | ../../m68k/shared/m68kpretaskinghook.c ../../shared/main.c \ |
---|
| 35 | ../../shared/sbrk.c ../../m68k/shared/setvec.c \ |
---|
| 36 | ../../shared/gnatinstallhandler.c |
---|
[844609f9] | 37 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
[eb40b1c] | 38 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 39 | |
---|
[4cbf22a] | 40 | noinst_PROGRAMS += clock.rel |
---|
[eb40b1c] | 41 | clock_rel_SOURCES = clock/ckinit.c |
---|
[844609f9] | 42 | clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
[eb40b1c] | 43 | clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 44 | |
---|
[4cbf22a] | 45 | noinst_PROGRAMS += console.rel |
---|
[625ef85] | 46 | console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c |
---|
[844609f9] | 47 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
[eb40b1c] | 48 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 49 | |
---|
[4cbf22a] | 50 | noinst_PROGRAMS += timer.rel |
---|
[eb40b1c] | 51 | timer_rel_SOURCES = timer/timer.c timer/timerisr.S |
---|
[844609f9] | 52 | timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
[eb40b1c] | 53 | timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 54 | |
---|
| 55 | if HAS_NETWORKING |
---|
| 56 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
[4cbf22a] | 57 | noinst_PROGRAMS += network.rel |
---|
[eb40b1c] | 58 | network_rel_SOURCES = network/network.c |
---|
[9d83387b] | 59 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
[eb40b1c] | 60 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 61 | endif |
---|
| 62 | |
---|
[4cbf22a] | 63 | noinst_LIBRARIES = libbsp.a |
---|
[eb40b1c] | 64 | libbsp_a_SOURCES = |
---|
[4cbf22a] | 65 | libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel |
---|
[eb40b1c] | 66 | if HAS_NETWORKING |
---|
[4cbf22a] | 67 | libbsp_a_LIBADD += network.rel |
---|
[eb40b1c] | 68 | endif |
---|
[4cbf22a] | 69 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
| 70 | ../../../libcpu/@RTEMS_CPU@/shared/misc.rel |
---|
[65cf99c] | 71 | |
---|
[760486f7] | 72 | include $(srcdir)/preinstall.am |
---|
[88daa3d] | 73 | include $(top_srcdir)/../../../../automake/local.am |
---|