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

4.104.114.95
Last change on this file since 21c9770 was 21c9770, checked in by Joel Sherrill <joel.sherrill@…>, on 08/21/08 at 19:33:53

2008-08-21 Joel Sherrill <joel.sherrill@…>

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