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

4.104.115
Last change on this file since c7ee4da9 was c7ee4da9, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/24/08 at 06:59:24

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

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