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/arm_mode_bits.h |
---|
14 | include_HEADERS += include/asm_macros.h |
---|
15 | include_HEADERS += include/gba_registers.h |
---|
16 | include_HEADERS += include/conio.h |
---|
17 | include_HEADERS += include/tm27.h |
---|
18 | include_HEADERS += include/gba.h |
---|
19 | |
---|
20 | nodist_include_HEADERS = include/bspopts.h |
---|
21 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
22 | DISTCLEANFILES = include/bspopts.h |
---|
23 | noinst_PROGRAMS = |
---|
24 | |
---|
25 | EXTRA_DIST = start/start.S |
---|
26 | start.$(OBJEXT): start/start.S |
---|
27 | $(CPPASCOMPILE) -o $@ -c $< |
---|
28 | project_lib_DATA = start.$(OBJEXT) |
---|
29 | |
---|
30 | dist_project_lib_DATA += startup/linkcmds |
---|
31 | |
---|
32 | noinst_PROGRAMS += startup.rel |
---|
33 | startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
34 | startup/bspstart.c startup/exit.c startup/cpu.c startup/cpu_asm.S \ |
---|
35 | ../../shared/bootcard.c ../../shared/main.c ../../shared/sbrk.c \ |
---|
36 | ../../shared/gnatinstallhandler.c |
---|
37 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
38 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
39 | |
---|
40 | noinst_PROGRAMS += clock.rel |
---|
41 | clock_rel_SOURCES = clock/clockdrv.c |
---|
42 | clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
43 | clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
44 | |
---|
45 | noinst_PROGRAMS += console.rel |
---|
46 | console_rel_SOURCES = console/conio.c console/console.c \ |
---|
47 | console/defaultfont.c |
---|
48 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
49 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
50 | |
---|
51 | noinst_PROGRAMS += timer.rel |
---|
52 | timer_rel_SOURCES = timer/timer.c |
---|
53 | timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
54 | timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
55 | |
---|
56 | include_HEADERS += irq/irq.h |
---|
57 | |
---|
58 | noinst_PROGRAMS += irq.rel |
---|
59 | irq_rel_SOURCES = irq/irq.c irq/bsp_irq_init.c irq/irq_init.c \ |
---|
60 | irq/bsp_irq_asm.S irq/irq_asm.S |
---|
61 | irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
62 | irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
63 | |
---|
64 | noinst_LIBRARIES = libbsp.a |
---|
65 | libbsp_a_SOURCES = |
---|
66 | libbsp_a_LIBADD = clock.rel console.rel \ |
---|
67 | startup.rel irq.rel timer.rel |
---|
68 | if HAS_NETWORKING |
---|
69 | ## |
---|
70 | endif |
---|
71 | |
---|
72 | include $(srcdir)/preinstall.am |
---|
73 | include $(top_srcdir)/../../../../automake/local.am |
---|