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 = ../gp32/include/bsp.h |
---|
13 | include_HEADERS += ../gp32/smc/smc.h |
---|
14 | |
---|
15 | nodist_include_HEADERS = include/bspopts.h |
---|
16 | DISTCLEANFILES = include/bspopts.h |
---|
17 | noinst_PROGRAMS = |
---|
18 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
19 | |
---|
20 | EXTRA_DIST = ../gp32/start/start.S |
---|
21 | start.$(OBJEXT): ../gp32/start/start.S |
---|
22 | $(CPPASCOMPILE) -o $@ -c $< |
---|
23 | project_lib_DATA = start.$(OBJEXT) |
---|
24 | |
---|
25 | dist_project_lib_DATA += startup/linkcmds |
---|
26 | |
---|
27 | noinst_PROGRAMS += startup.rel |
---|
28 | startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
29 | ../gp32/startup/bspstart.c ../gp32/startup/exit.c startup/memmap.c \ |
---|
30 | ../../shared/bootcard.c ../../shared/sbrk.c \ |
---|
31 | ../../shared/gnatinstallhandler.c |
---|
32 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
33 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
34 | |
---|
35 | noinst_PROGRAMS += console.rel |
---|
36 | console_rel_SOURCES = ../gp32/console/uart.c ../../shared/console.c |
---|
37 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
38 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
39 | |
---|
40 | noinst_PROGRAMS += abort.rel |
---|
41 | abort_rel_SOURCES = ../shared/abort/abort.c |
---|
42 | abort_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
43 | abort_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
44 | |
---|
45 | noinst_PROGRAMS += smc.rel |
---|
46 | smc_rel_SOURCES = ../gp32/smc/smc.c ../gp32/smc/smc.h |
---|
47 | smc_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
48 | smc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
49 | |
---|
50 | noinst_LIBRARIES = libbsp.a |
---|
51 | libbsp_a_SOURCES = |
---|
52 | libbsp_a_LIBADD = startup.rel console.rel smc.rel abort.rel |
---|
53 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \ |
---|
54 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \ |
---|
55 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \ |
---|
56 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel |
---|
57 | |
---|
58 | include $(srcdir)/preinstall.am |
---|
59 | include $(top_srcdir)/../../../../automake/local.am |
---|