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 | noinst_PROGRAMS = |
---|
18 | |
---|
19 | SUBDIRS = . tools |
---|
20 | |
---|
21 | # FIXME: This directory is missing |
---|
22 | # ramdisk |
---|
23 | |
---|
24 | include_HEADERS += include/syscall.h |
---|
25 | include_HEADERS += include/ramdisk.h |
---|
26 | include_HEADERS += include/coverhd.h |
---|
27 | |
---|
28 | EXTRA_DIST = start/start.S |
---|
29 | start.$(OBJEXT): start/start.S |
---|
30 | $(CPPASCOMPILE) -o $@ -c $< |
---|
31 | project_lib_DATA = start.$(OBJEXT) |
---|
32 | |
---|
33 | dist_project_lib_DATA += startup/linkcmds startup/linkcmds-le \ |
---|
34 | startup/linkcmds-le.coff |
---|
35 | |
---|
36 | noinst_PROGRAMS += startup.rel |
---|
37 | startup_rel_SOURCES = startup/hw_init.c ../../shared/bsplibc.c \ |
---|
38 | ../../shared/bsppost.c startup/bspstart.c ../../shared/bspclean.c \ |
---|
39 | ../../shared/sbrk.c ../../shared/bootcard.c ../../shared/main.c \ |
---|
40 | ../../shared/gnatinstallhandler.c |
---|
41 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
42 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
43 | |
---|
44 | noinst_PROGRAMS += console.rel |
---|
45 | console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c |
---|
46 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
47 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
48 | |
---|
49 | noinst_PROGRAMS += clock.rel |
---|
50 | clock_rel_SOURCES = clock/ckinit.c |
---|
51 | clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
52 | clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
53 | |
---|
54 | noinst_PROGRAMS += timer.rel |
---|
55 | timer_rel_SOURCES = timer/timer.c |
---|
56 | timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
57 | timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
58 | |
---|
59 | noinst_LIBRARIES = libbsp.a |
---|
60 | libbsp_a_SOURCES = |
---|
61 | libbsp_a_LIBADD = startup.rel console.rel clock.rel timer.rel |
---|
62 | # FIXME: This is missing. |
---|
63 | # libbsp_a_LIBADD += ramdisk.rel |
---|
64 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel |
---|
65 | |
---|
66 | include $(srcdir)/preinstall.am |
---|
67 | include $(top_srcdir)/../../../../automake/local.am |
---|