source: rtems/c/src/lib/libbsp/arm/lpc24xx/Makefile.am @ a4bacff4

4.104.115
Last change on this file since a4bacff4 was a4bacff4, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/24/08 at 07:29:38

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

  • Makefile.am: Eliminates libcpudir.
  • Property mode set to 100644
File size: 2.8 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the LPC247X boards.
6#
7
8# $Id$
9
10ACLOCAL_AMFLAGS = -I ../../../../aclocal
11
12include $(top_srcdir)/../../../../automake/compile.am
13include $(top_srcdir)/../../bsp.am
14
15dist_project_lib_DATA = bsp_specs
16
17include_bspdir = $(includedir)/bsp
18
19###############################################################################
20#                  Header                                                     #
21###############################################################################
22
23include_HEADERS = include/bsp.h
24
25nodist_include_HEADERS = include/bspopts.h
26DISTCLEANFILES = include/bspopts.h
27
28include_bsp_HEADERS = ../../shared/include/utility.h \
29        ../../shared/include/irq-generic.h \
30        ../../shared/tod.h \
31        ../shared/include/linker-symbols.h \
32        ../shared/include/start.h \
33        include/irq-config.h \
34        include/irq.h \
35        include/lpc24xx.h \
36        include/system-clocks.h
37
38###############################################################################
39#                  Data                                                       #
40###############################################################################
41
42EXTRA_DIST = ../shared/start/start.S
43
44project_lib_DATA = start.$(OBJEXT)
45
46dist_project_lib_DATA += ../shared/startup/linkcmds.base \
47        startup/linkcmds
48
49###############################################################################
50#                  LibBSP                                                     #
51###############################################################################
52
53shared_SOURCES = ../../shared/bootcard.c \
54        ../../shared/bspclean.c \
55        ../../shared/bspreset.c \
56        ../../shared/bspgetworkarea.c \
57        ../../shared/bsplibc.c \
58        ../../shared/bsppost.c \
59        ../../shared/bsppredriverhook.c \
60        ../../shared/bsppretaskinghook.c \
61        ../../shared/gnatinstallhandler.c \
62        ../../shared/sbrk.c \
63        ../shared/abort/simple_abort.c
64
65startup_SOURCES = startup/bspstart.c
66
67irq_SOURCES = ../../shared/src/irq-generic.c \
68        ../../shared/src/irq-legacy.c \
69        ../shared/irq/irq_asm.S \
70        irq/irq.c
71
72console_SOURCES = ../../shared/console.c \
73        console/console-config.c
74
75clock_SOURCES = clock/clock-config.c
76
77rtc_SOURCES = ../../shared/tod.c \
78        rtc/rtc-config.c
79
80misc_SOURCES = misc/system-clocks.c
81
82noinst_LIBRARIES = libbsp.a
83
84libbsp_a_SOURCES = $(clock_SOURCES) \
85        $(console_SOURCES) \
86        $(irq_SOURCES) \
87        $(misc_SOURCES) \
88        $(rtc_SOURCES) \
89        $(shared_SOURCES) \
90        $(startup_SOURCES)
91
92###############################################################################
93#                  Special Rules                                              #
94###############################################################################
95
96start.$(OBJEXT): ../shared/start/start.S
97        $(CPPASCOMPILE) -o $@ -c $<
98
99include $(srcdir)/preinstall.am
100include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.