[86ec6ed] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
| 4 | |
---|
[fe8bc62f] | 5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
[86ec6ed] | 6 | |
---|
[7a5a3a41] | 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 |
---|
[db3fa14] | 14 | |
---|
[2a7f9a28] | 15 | nodist_include_HEADERS = include/bspopts.h |
---|
[db3fa14] | 16 | DISTCLEANFILES = include/bspopts.h |
---|
[2a7f9a28] | 17 | |
---|
[db3fa14] | 18 | noinst_PROGRAMS = |
---|
[86ec6ed] | 19 | |
---|
[d0d6a5c] | 20 | include_HEADERS += include/gdbsci.h |
---|
[a9285f5] | 21 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
[d0d6a5c] | 22 | |
---|
[a9285f5] | 23 | EXTRA_DIST = start/start.S |
---|
[db3fa14] | 24 | start.$(OBJEXT): start/start.S |
---|
[57357d9] | 25 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[db3fa14] | 26 | project_lib_DATA = start.$(OBJEXT) |
---|
[7a5a3a41] | 27 | |
---|
[845c202] | 28 | dist_project_lib_DATA += startup/linkcmds startup/linkcmds.sim |
---|
[7a5a3a41] | 29 | |
---|
[6095960] | 30 | SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen |
---|
| 31 | |
---|
[a9285f5] | 32 | scitab.c: $(SHGEN) |
---|
| 33 | $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@ |
---|
| 34 | BUILT_SOURCES = scitab.c |
---|
[0011fbe] | 35 | CLEANFILES = scitab.c |
---|
[a9285f5] | 36 | |
---|
[1d0ee80e] | 37 | startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
| 38 | ../../shared/bsppredriverhook.c startup/bspstart.c \ |
---|
| 39 | ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/bootcard.c \ |
---|
| 40 | ../../shared/gnatinstallhandler.c |
---|
| 41 | clock_SOURCES = clock/clockdrv.c |
---|
| 42 | scitab_SOURCES = scitab.c |
---|
| 43 | gdbsci_SOURCES = gdbsci/gdbsci.c |
---|
[a9285f5] | 44 | |
---|
| 45 | # FIXME: trap34 is unused |
---|
[1d0ee80e] | 46 | trap34_SOURCES = trap34/console-io.c trap34/console-support.S \ |
---|
[3002831] | 47 | ../../shared/dummy_printk_support.c |
---|
[1d0ee80e] | 48 | console_SOURCES = ../../sh/shared/console.c |
---|
[a9285f5] | 49 | |
---|
[db3fa14] | 50 | noinst_LIBRARIES = libbsp.a |
---|
[1d0ee80e] | 51 | libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ |
---|
| 52 | $(gdbsci_SOURCES) $(scitab_SOURCES) $(trap34_SOURCES) |
---|
| 53 | |
---|
| 54 | libbsp_a_LIBADD = \ |
---|
| 55 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel |
---|
[a9285f5] | 56 | |
---|
[a06faad] | 57 | include $(srcdir)/preinstall.am |
---|
[e665ad1] | 58 | include $(top_srcdir)/../../../../automake/local.am |
---|