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

4.104.115
Last change on this file since 29cc1477 was 29cc1477, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 09/30/08 at 10:01:38

added SSP support files, fixed some typos

  • Property mode set to 100644
File size: 2.8 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 = include/bspopts.h
25
26nodist_include_bsp_HEADERS = ../../shared/include/bootcard.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        include/ssp.h \
38        include/dma.h
39
40###############################################################################
41#                  Data                                                       #
42###############################################################################
43
44noinst_LIBRARIES = libbspstart.a
45
46libbspstart_a_SOURCES = ../shared/start/start.S
47
48project_lib_DATA = start.$(OBJEXT)
49
50dist_project_lib_DATA += ../shared/startup/linkcmds.base \
51        startup/linkcmds
52
53###############################################################################
54#                  LibBSP                                                     #
55###############################################################################
56
57noinst_LIBRARIES += libbsp.a
58
59libbsp_a_SOURCES =
60
61# Shared
62libbsp_a_SOURCES += ../../shared/bootcard.c \
63        ../../shared/bspclean.c \
64        ../../shared/bspreset.c \
65        ../../shared/bspgetworkarea.c \
66        ../../shared/bsplibc.c \
67        ../../shared/bsppost.c \
68        ../../shared/bsppredriverhook.c \
69        ../../shared/bsppretaskinghook.c \
70        ../../shared/gnatinstallhandler.c \
71        ../../shared/sbrk.c \
72        ../shared/abort/simple_abort.c
73
74# Startup
75libbsp_a_SOURCES += startup/bspstart.c
76
77# IRQ
78libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
79        ../../shared/src/irq-legacy.c \
80        ../shared/irq/irq_asm.S \
81        irq/irq.c
82
83# Console
84libbsp_a_SOURCES += ../../shared/console.c \
85        console/console-config.c
86
87# Clock
88libbsp_a_SOURCES += clock/clock-config.c \
89        ../../../shared/clockdrv_shell.h
90
91# RTC
92libbsp_a_SOURCES += ../../shared/tod.c \
93        rtc/rtc-config.c
94
95# Misc
96libbsp_a_SOURCES += misc/system-clocks.c \
97        misc/dma.c
98
99# SSP
100libbsp_a_SOURCES += ssp/ssp.c
101
102###############################################################################
103#                  Special Rules                                              #
104###############################################################################
105
106DISTCLEANFILES = include/bspopts.h
107
108include $(srcdir)/preinstall.am
109include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.