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

4.115
Last change on this file since 1f7d0cca was 1f7d0cca, checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/19/11 at 08:12:17

2011-06-19 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Fix broken path to clockdrv_shell.h.
  • Property mode set to 100644
File size: 5.0 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the LPC24XX boards.
6#
7
8# $Id$
9
10ACLOCAL_AMFLAGS = -I ../../../../aclocal
11
12include $(top_srcdir)/../../../../automake/compile.am
13
14include_bspdir = $(includedir)/bsp
15
16dist_project_lib_DATA = bsp_specs
17
18###############################################################################
19#                  Header                                                     #
20###############################################################################
21
22include_HEADERS = include/bsp.h
23
24nodist_include_HEADERS = ../../shared/include/coverhd.h \
25        include/bspopts.h
26
27nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
28
29include_bsp_HEADERS =
30include_bsp_HEADERS += ../../shared/include/utility.h
31include_bsp_HEADERS += ../../shared/include/irq-generic.h
32include_bsp_HEADERS += ../../shared/include/irq-info.h
33include_bsp_HEADERS += ../../shared/include/stackalloc.h
34include_bsp_HEADERS += ../../shared/include/uart-output-char.h
35include_bsp_HEADERS += ../../shared/tod.h
36include_bsp_HEADERS += ../shared/include/start.h
37include_bsp_HEADERS += ../shared/lpc/include/lpc-timer.h
38include_bsp_HEADERS += ../shared/lpc/include/lpc-i2s.h
39include_bsp_HEADERS += ../shared/lpc/include/lpc-emc.h
40include_bsp_HEADERS += ../shared/lpc/include/lpc-dma.h
41include_bsp_HEADERS += ../shared/lpc/include/lpc-lcd.h
42include_bsp_HEADERS += include/irq.h
43include_bsp_HEADERS += include/lpc24xx.h
44include_bsp_HEADERS += include/system-clocks.h
45include_bsp_HEADERS += include/ssp.h
46include_bsp_HEADERS += include/dma.h
47include_bsp_HEADERS += include/i2c.h
48include_bsp_HEADERS += include/io.h
49include_bsp_HEADERS += include/lcd.h
50include_bsp_HEADERS += include/lpc-clock-config.h
51include_bsp_HEADERS += include/lpc-ethernet-config.h
52
53include_HEADERS += ../../shared/include/tm27.h
54
55###############################################################################
56#                  Data                                                       #
57###############################################################################
58
59noinst_LIBRARIES = libbspstart.a
60
61libbspstart_a_SOURCES = ../shared/start/start.S
62
63project_lib_DATA = start.$(OBJEXT)
64
65project_lib_DATA += startup/linkcmds
66EXTRA_DIST = startup/linkcmds.lpc24xx_ea
67EXTRA_DIST += startup/linkcmds.lpc24xx_ncs_rom_int
68EXTRA_DIST += startup/linkcmds.lpc24xx_ncs_rom_ext
69EXTRA_DIST += startup/linkcmds.lpc24xx_ncs_ram
70EXTRA_DIST += startup/linkcmds.lpc2362
71EXTRA_DIST += startup/linkcmds.lpc23xx_tli800
72
73###############################################################################
74#                  LibBSP                                                     #
75###############################################################################
76
77noinst_LIBRARIES += libbsp.a
78
79libbsp_a_SOURCES =
80libbsp_a_CPPFLAGS =
81libbsp_a_LIBADD =
82
83# Shared
84libbsp_a_SOURCES += ../../shared/bootcard.c \
85        ../../shared/bspclean.c \
86        ../../shared/bspgetworkarea.c \
87        ../../shared/bsplibc.c \
88        ../../shared/bsppost.c \
89        ../../shared/bsppredriverhook.c \
90        ../../shared/gnatinstallhandler.c \
91        ../../shared/sbrk.c \
92        ../../shared/src/stackalloc.c \
93        ../../shared/src/uart-output-char.c \
94        ../shared/abort/simple_abort.c
95
96# Startup
97libbsp_a_SOURCES += startup/bspstart.c \
98        startup/bspreset.c
99
100# IRQ
101libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
102        ../../shared/src/irq-legacy.c \
103        ../../shared/src/irq-info.c \
104        ../../shared/src/irq-shell.c \
105        ../../shared/src/irq-server.c \
106        irq/irq.c
107
108# Console
109libbsp_a_SOURCES += ../../shared/console.c \
110        console/console-config.c
111
112# Clock
113libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
114libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
115
116# RTC
117libbsp_a_SOURCES += ../../shared/tod.c \
118        rtc/rtc-config.c
119
120# Misc
121libbsp_a_SOURCES += misc/system-clocks.c \
122        misc/dma.c \
123        misc/dma-copy.c \
124        misc/bspidle.c \
125        misc/io.c \
126        misc/lcd.c \
127        misc/restart.c \
128        misc/timer.c
129
130# SSP
131libbsp_a_SOURCES += ssp/ssp.c
132
133# I2C
134libbsp_a_SOURCES += i2c/i2c.c \
135        i2c/i2c-config.c
136
137# Cache
138libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c \
139        ../../../libcpu/arm/shared/cache/cache_.h
140libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
141
142# Start hooks
143libbsp_a_SOURCES += startup/bspstarthooks.c
144
145###############################################################################
146#                  Network                                                    #
147###############################################################################
148
149if HAS_NETWORKING
150
151noinst_PROGRAMS = network.rel
152
153network_rel_SOURCES = ../shared/lpc/network/lpc-ethernet.c
154network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
155network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
156
157libbsp_a_LIBADD += network.rel
158
159endif
160
161###############################################################################
162#                  Special Rules                                              #
163###############################################################################
164
165DISTCLEANFILES = include/bspopts.h
166
167include $(srcdir)/preinstall.am
168include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.