[783669fc] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
| 4 | |
---|
| 5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
| 6 | |
---|
| 7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
| 8 | |
---|
| 9 | dist_project_lib_DATA = bsp_specs |
---|
| 10 | |
---|
[f0f8e4de] | 11 | include_bspdir = $(includedir)/bsp |
---|
| 12 | |
---|
[783669fc] | 13 | include_HEADERS = include/bsp.h |
---|
[9957dbf] | 14 | include_HEADERS += ../../shared/include/tm27.h |
---|
[783669fc] | 15 | |
---|
| 16 | nodist_include_HEADERS = include/bspopts.h |
---|
[f0f8e4de] | 17 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
[783669fc] | 18 | DISTCLEANFILES = include/bspopts.h |
---|
| 19 | |
---|
[4e4dc3a] | 20 | include_HEADERS += ../../shared/include/coverhd.h |
---|
[783669fc] | 21 | |
---|
[51c6675] | 22 | EXTRA_DIST = times |
---|
| 23 | noinst_LIBRARIES = libbspstart.a |
---|
| 24 | libbspstart_a_SOURCES = start/crtnn.s |
---|
| 25 | libbspstart_a_SOURCES += start/start.S |
---|
[783669fc] | 26 | project_lib_DATA = start.$(OBJEXT) crtnn.$(OBJEXT) |
---|
| 27 | |
---|
| 28 | dist_project_lib_DATA += startup/linkcmds |
---|
| 29 | |
---|
[51c6675] | 30 | noinst_LIBRARIES += libbsp.a |
---|
[64eb0c7] | 31 | libbsp_a_SOURCES = |
---|
[e94666d] | 32 | |
---|
[64eb0c7] | 33 | # startup |
---|
| 34 | libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
[b6cf80fb] | 35 | ../../shared/bspreset_loop.c ../../shared/bsppost.c startup/bspstart.c \ |
---|
[2d41fc5] | 36 | ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \ |
---|
[783669fc] | 37 | ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \ |
---|
[d785ce4a] | 38 | ../../shared/gnatinstallhandler.c ../../shared/bsppredriverhook.c |
---|
[64eb0c7] | 39 | # clock |
---|
[adf81e9] | 40 | libbsp_a_SOURCES += clock/clock.c ../../../shared/clockdrv_shell.h |
---|
[64eb0c7] | 41 | # console |
---|
[b96bd98] | 42 | libbsp_a_SOURCES += console/console.c ../../shared/console-polled.c |
---|
[64eb0c7] | 43 | # timer |
---|
| 44 | libbsp_a_SOURCES += timer/timer.c |
---|
[f0f8e4de] | 45 | if HAS_MP |
---|
[64eb0c7] | 46 | # shmsupp |
---|
| 47 | libbsp_a_SOURCES += shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \ |
---|
[1d0ee80e] | 48 | shmsupp/mpisr.c |
---|
[f0f8e4de] | 49 | endif |
---|
[783669fc] | 50 | |
---|
[b7180c8b] | 51 | include $(srcdir)/preinstall.am |
---|
[783669fc] | 52 | include $(top_srcdir)/../../../../automake/local.am |
---|