[df49c60] | 1 | ## |
---|
[7068e246] | 2 | ## $Id$ |
---|
[df49c60] | 3 | ## |
---|
[7068e246] | 4 | |
---|
[fe8bc62f] | 5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
[7068e246] | 6 | |
---|
[c95ab0d7] | 7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
[7068e246] | 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 = |
---|
[2a7f9a28] | 18 | |
---|
[c95ab0d7] | 19 | EXTRA_DIST = |
---|
| 20 | |
---|
[2821666f] | 21 | include_HEADERS += include/bare.h |
---|
| 22 | include_HEADERS += include/crc.h |
---|
| 23 | include_HEADERS += include/debugport.h |
---|
| 24 | include_HEADERS += include/m68302scc.h |
---|
| 25 | include_HEADERS += include/coverhd.h |
---|
| 26 | |
---|
[c95ab0d7] | 27 | # FIXME: Better merge both files into one and use #ifdef GDB_MONITOR_ACTIVE |
---|
| 28 | if ODS68302_DEBUG |
---|
| 29 | EXTRA_DIST += start/debugreset.S |
---|
[4cbf22a] | 30 | start.$(OBJEXT): start/debugreset.S |
---|
[218c346] | 31 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[c95ab0d7] | 32 | else |
---|
| 33 | EXTRA_DIST += start/reset.S |
---|
[4cbf22a] | 34 | start.$(OBJEXT): start/reset.S |
---|
[218c346] | 35 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[c95ab0d7] | 36 | endif |
---|
| 37 | |
---|
[4cbf22a] | 38 | project_lib_DATA = start.$(OBJEXT) |
---|
[c95ab0d7] | 39 | |
---|
| 40 | dist_project_lib_DATA += startup/linkcmds startup/rom startup/debugger |
---|
| 41 | |
---|
[4cbf22a] | 42 | noinst_PROGRAMS += startup.rel |
---|
[c95ab0d7] | 43 | startup_rel_SOURCES = startup/cpuboot.c startup/crc.c startup/debugport.c \ |
---|
| 44 | startup/gdb-hooks.c ../../shared/bootcard.c ../../shared/main.c \ |
---|
[4cb9d26] | 45 | startup/m68302scc.c startup/m68k-stub.c \ |
---|
| 46 | ../../m68k/shared/m68kpretaskinghook.c startup/memcheck.c \ |
---|
| 47 | startup/trace.c ../../shared/gnatinstallhandler.c ../../shared/bsplibc.c \ |
---|
| 48 | ../../shared/bsppost.c startup/bspstart.c startup/bspclean.c \ |
---|
| 49 | ../../shared/sbrk.c ../../m68k/shared/setvec.c |
---|
[844609f9] | 50 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
[c95ab0d7] | 51 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 52 | |
---|
[4cbf22a] | 53 | noinst_PROGRAMS += clock.rel |
---|
[c95ab0d7] | 54 | clock_rel_SOURCES = clock/ckinit.c |
---|
[844609f9] | 55 | clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
[c95ab0d7] | 56 | clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 57 | |
---|
[4cbf22a] | 58 | noinst_PROGRAMS += console.rel |
---|
[625ef85] | 59 | console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c |
---|
[844609f9] | 60 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
[c95ab0d7] | 61 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 62 | |
---|
[4cbf22a] | 63 | noinst_PROGRAMS += timer.rel |
---|
[c95ab0d7] | 64 | timer_rel_SOURCES = timer/timer.c timer/timerisr.S |
---|
[844609f9] | 65 | timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
[c95ab0d7] | 66 | timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 67 | |
---|
[4cbf22a] | 68 | noinst_LIBRARIES = libbsp.a |
---|
[c95ab0d7] | 69 | libbsp_a_SOURCES = |
---|
[4cbf22a] | 70 | libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel |
---|
| 71 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
| 72 | ../../../libcpu/@RTEMS_CPU@/shared/misc.rel |
---|
[c95ab0d7] | 73 | |
---|
[5a9284a] | 74 | include $(srcdir)/preinstall.am |
---|
[a4aeb92] | 75 | include $(top_srcdir)/../../../../automake/local.am |
---|