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

4.104.115
Last change on this file since e94666d was e94666d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/29/08 at 03:43:47

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

  • Makefile.am: Move noinst_LIBRARIES = libbsp.a before its components.
  • 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
35noinst_LIBRARIES = libbsp.a
36
37# some objects have to be forced together to ensure they are ALWAYS
38# the ones linked into the application executable.  Every application
39# needs startup/bspstart.c, so we will force in the others
40noinst_PROGRAMS += gbaoverrides.rel
41gbaoverrides_rel_SOURCES = startup/bspstart.c startup/cpu.c startup/cpu_asm.S
42gbaoverrides_rel_CPPFLAGS = $(AM_CPPFLAGS)
43gbaoverrides_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
46    startup/bspgetworkarea.c ../../shared/bsppretaskinghook.c \
47    ../../shared/bsppredriverhook.c ../../shared/bspclean.c \
48    startup/bspreset.c ../../shared/bootcard.c ../../shared/sbrk.c \
49    ../../shared/gnatinstallhandler.c
50clock_SOURCES = clock/clockdrv.c
51console_SOURCES = console/conio.c console/console.c \
52    console/defaultfont.c
53timer_SOURCES = timer/timer.c
54
55include_HEADERS += irq/irq.h
56irq_SOURCES = irq/irq.c irq/bsp_irq_init.c irq/irq_init.c \
57    irq/bsp_irq_asm.S irq/irq_asm.S
58
59libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
60    $(timer_SOURCES) $(irq_SOURCES)
61
62libbsp_a_LIBADD = gbaoverrides.rel
63
64include $(srcdir)/preinstall.am
65include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.