source: rtems/c/src/lib/libbsp/arm/gba/Makefile.am @ 3416c44

4.104.115
Last change on this file since 3416c44 was 3416c44, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/26/08 at 04:04:51

2008-09-26 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Cleanup ../../shared/include/bootcard.h handling.
  • Property mode set to 100644
File size: 2.0 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10include_bspdir = $(includedir)/bsp
11
12dist_project_lib_DATA = bsp_specs
13
14include_HEADERS = include/bsp.h
15include_HEADERS += include/arm_mode_bits.h
16include_HEADERS += include/asm_macros.h
17include_HEADERS += include/gba_registers.h
18include_HEADERS += include/conio.h
19include_HEADERS += include/tm27.h
20include_HEADERS += include/gba.h
21
22nodist_include_HEADERS = include/bspopts.h
23nodist_include_HEADERS += ../../shared/include/coverhd.h
24nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
25DISTCLEANFILES = include/bspopts.h
26noinst_PROGRAMS =
27
28EXTRA_DIST = start/start.S
29start.$(OBJEXT): start/start.S
30        $(CPPASCOMPILE) -o $@ -c $<
31project_lib_DATA = start.$(OBJEXT)
32
33dist_project_lib_DATA += startup/linkcmds
34
35# some objects have to be forced together to ensure they are ALWAYS
36# the ones linked into the application executable.  Every application
37# needs startup/bspstart.c, so we will force in the others
38noinst_PROGRAMS += gbaoverrides.rel
39gbaoverrides_rel_SOURCES = startup/bspstart.c startup/cpu.c startup/cpu_asm.S
40gbaoverrides_rel_CPPFLAGS = $(AM_CPPFLAGS)
41gbaoverrides_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
43startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
44    startup/bspgetworkarea.c ../../shared/bsppretaskinghook.c \
45    ../../shared/bsppredriverhook.c ../../shared/bspclean.c \
46    startup/bspreset.c ../../shared/bootcard.c ../../shared/sbrk.c \
47    ../../shared/gnatinstallhandler.c
48clock_SOURCES = clock/clockdrv.c
49console_SOURCES = console/conio.c console/console.c \
50    console/defaultfont.c
51timer_SOURCES = timer/timer.c
52
53include_HEADERS += irq/irq.h
54irq_SOURCES = irq/irq.c irq/bsp_irq_init.c irq/irq_init.c \
55    irq/bsp_irq_asm.S irq/irq_asm.S
56
57noinst_LIBRARIES = libbsp.a
58libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
59    $(timer_SOURCES) $(irq_SOURCES)
60
61libbsp_a_LIBADD = gbaoverrides.rel
62
63include $(srcdir)/preinstall.am
64include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.