[15ebdf1f] | 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 |
---|
| 17 | |
---|
| 18 | noinst_PROGRAMS = |
---|
| 19 | |
---|
| 20 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
| 21 | |
---|
| 22 | EXTRA_DIST = start/start.S start/regs.S |
---|
| 23 | start.$(OBJEXT): start/start.S |
---|
[57357d9] | 24 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[15ebdf1f] | 25 | |
---|
| 26 | project_lib_DATA = start.$(OBJEXT) |
---|
| 27 | |
---|
| 28 | dist_project_lib_DATA += startup/linkcmds |
---|
| 29 | |
---|
[1d0ee80e] | 30 | startup_SOURCES = ../../shared/bspclean.c ../../shared/bsppredriverhook.c \ |
---|
[e95cf8c9] | 31 | ../../shared/bsppretaskinghook.c startup/bspgetworkarea.c \ |
---|
[15ebdf1f] | 32 | ../../shared/bsplibc.c ../../shared/bsppost.c startup/bspstart.c \ |
---|
[aa4369c] | 33 | ../../shared/bootcard.c ../../shared/sbrk.c \ |
---|
[15ebdf1f] | 34 | ../../shared/gnatinstallhandler.c ../../shared/setvec.c \ |
---|
| 35 | startup/inittlb.c \ |
---|
| 36 | startup/idtmem.S startup/idttlb.S startup/exception.S |
---|
| 37 | |
---|
| 38 | # FIXME: clockdrv.c and clockdrv_shell.c are structurally flawed |
---|
| 39 | clock_CPPFLAGS = -I$(srcdir)/../../shared |
---|
| 40 | EXTRA_DIST += ../../mips/shared/clockdrv_shell.c |
---|
| 41 | noinst_PROGRAMS += clock.rel |
---|
| 42 | clock_rel_SOURCES = clock/clockdrv.c |
---|
| 43 | clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(clock_CPPFLAGS) |
---|
| 44 | clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 45 | |
---|
[1d0ee80e] | 46 | console_SOURCES = console/console-io.c |
---|
[15ebdf1f] | 47 | |
---|
[1d0ee80e] | 48 | liblnk_SOURCES = liblnk/lnklib.S liblnk/pmon.S |
---|
[15ebdf1f] | 49 | |
---|
| 50 | noinst_LIBRARIES = libbsp.a |
---|
[1d0ee80e] | 51 | libbsp_a_SOURCES = $(startup_SOURCES) $(console_SOURCES) $(liblnk_SOURCES) |
---|
| 52 | libbsp_a_LIBADD = \ |
---|
| 53 | clock.rel \ |
---|
| 54 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
[15ebdf1f] | 55 | ../../../libcpu/@RTEMS_CPU@/shared/interrupts.rel \ |
---|
| 56 | ../../../libcpu/@RTEMS_CPU@/tx49/timer.rel \ |
---|
| 57 | ../../../libcpu/@RTEMS_CPU@/tx49/vectorisrs.rel |
---|
| 58 | |
---|
[c6254224] | 59 | include $(srcdir)/preinstall.am |
---|
[15ebdf1f] | 60 | include $(top_srcdir)/../../../../automake/local.am |
---|