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

4.104.115
Last change on this file since 5aeed17 was 5aeed17, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 09/22/08 at 11:30:09

lpc24xx: new BSP

  • Property mode set to 100644
File size: 3.2 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
15include_bspdir = $(includedir)/bsp
16
17libcpudir = ../../../libcpu/@RTEMS_CPU@
18
19###############################################################################
20#                  Header                                                     #
21###############################################################################
22
23include_HEADERS = include/bsp.h
24
25nodist_include_HEADERS = include/bspopts.h
26
27include_bsp_HEADERS = ../../shared/include/irq-generic.h \
28        ../../shared/tod.h \
29        ../shared/include/linker-symbols.h \
30        ../shared/include/start.h \
31        include/irq-config.h \
32        include/irq.h \
33        include/lpc24xx.h \
34        include/system-clocks.h
35
36###############################################################################
37#                  Data                                                       #
38###############################################################################
39
40EXTRA_DIST = ../shared/start/start.S
41
42project_lib_DATA = start.$(OBJEXT)
43
44dist_project_lib_DATA = ../shared/startup/linkcmds.base \
45        startup/linkcmds \
46        bsp_specs
47
48###############################################################################
49#                  LibBSP                                                     #
50###############################################################################
51
52shared_SOURCES = ../../shared/bootcard.c \
53        ../../shared/bspclean.c \
54        ../../shared/bspgetworkarea.c \
55        ../../shared/bsplibc.c \
56        ../../shared/bsppost.c \
57        ../../shared/bsppredriverhook.c \
58        ../../shared/bsppretaskinghook.c \
59        ../../shared/gnatinstallhandler.c \
60        ../../shared/sbrk.c \
61        ../shared/abort/simple_abort.c
62
63startup_SOURCES = startup/bspstart.c
64
65irq_SOURCES = ../../shared/src/irq-generic.c \
66        ../../shared/src/irq-legacy.c \
67        ../shared/irq/irq_asm.S \
68        irq/irq.c
69
70console_SOURCES = ../../shared/console.c \
71        console/console-config.c
72
73clock_SOURCES = clock/clock-config.c
74
75rtc_SOURCES = ../../shared/tod.c \
76        rtc/rtc-config.c
77
78misc_SOURCES = misc/system-clocks.c
79
80noinst_LIBRARIES = libbsp.a
81
82libbsp_a_SOURCES = $(clock_SOURCES) \
83        $(console_SOURCES) \
84        $(irq_SOURCES) \
85        $(misc_SOURCES) \
86        $(rtc_SOURCES) \
87        $(shared_SOURCES) \
88        $(startup_SOURCES)
89
90###############################################################################
91#                  Network                                                    #
92###############################################################################
93
94if HAS_NETWORKING
95
96noinst_PROGRAMS = network.rel
97
98network_rel_SOURCES = network/network.c
99network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
100network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
101
102libbsp_a_LIBADD = network.rel
103
104endif
105
106###############################################################################
107#                  Special Rules                                              #
108###############################################################################
109
110start.$(OBJEXT): ../shared/start/start.S
111        $(CPPASCOMPILE) -o $@ -c $<
112
113include $(srcdir)/preinstall.am
114include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.