source: rtems/c/src/lib/libcpu/arm/Makefile.am @ c193baad

4.104.11
Last change on this file since c193baad was c193baad, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Apr 9, 2010 at 8:24:57 PM

unify irq data types and code, merge s3c2400/s3c2410 support

  • Property mode set to 100644
File size: 6.0 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7include $(top_srcdir)/../../../automake/compile.am
8
9EXTRA_DIST =
10
11noinst_PROGRAMS =
12
13## shared/include
14if shared
15include_libcpudir = $(includedir)/libcpu
16
17include_libcpu_HEADERS = shared/include/mmu.h
18include_libcpu_HEADERS += shared/include/arm-cp15.h
19
20## shared/arm920
21noinst_PROGRAMS += shared/arm920.rel
22shared_arm920_rel_SOURCES = shared/arm920/mmu.c
23shared_arm920_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/src
24shared_arm920_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
25endif
26
27if pxa255
28include_HEADERS = pxa255/include/pxa255.h pxa255/include/ffuart.h
29
30## pxa255/clock
31noinst_PROGRAMS += pxa255/clock.rel
32pxa255_clock_rel_SOURCES = pxa255/clock/clock.c
33pxa255_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
34pxa255_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
35
36## pxa255/timer
37noinst_PROGRAMS += pxa255/timer.rel
38pxa255_timer_rel_SOURCES = pxa255/timer/timer.c
39pxa255_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
40pxa255_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42## pxa255/ffuart
43noinst_PROGRAMS += pxa255/ffuart.rel
44pxa255_ffuart_rel_SOURCES = pxa255/ffuart/ffuart.c
45pxa255_ffuart_rel_CPPFLAGS = $(AM_CPPFLAGS)
46pxa255_ffuart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48## pxa255/pmc
49noinst_PROGRAMS += pxa255/pmc.rel
50pxa255_pmc_rel_SOURCES = pxa255/pmc/pmc.c
51pxa255_pmc_rel_CPPFLAGS = $(AM_CPPFLAGS)
52pxa255_pmc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
53
54## pxa255/interrupt
55include_HEADERS += pxa255/irq/irq.h
56noinst_PROGRAMS += pxa255/irq.rel
57pxa255_irq_rel_SOURCES = pxa255/irq/irq.c pxa255/irq/bsp_irq_init.c \
58    ../../libbsp/arm/shared/irq/irq_init.c pxa255/irq/bsp_irq_asm.S \
59    pxa255/irq/irq.h
60pxa255_irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
61pxa255_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62endif
63
64if at91rm9200
65include_HEADERS = at91rm9200/include/at91rm9200.h at91rm9200/include/at91rm9200_dbgu.h \
66    at91rm9200/include/at91rm9200_emac.h at91rm9200/include/at91rm9200_gpio.h \
67    at91rm9200/include/at91rm9200_mem.h at91rm9200/include/at91rm9200_pmc.h \
68    at91rm9200/include/bits.h at91rm9200/include/at91rm9200_usart.h
69
70## at91rm9200/clock
71noinst_PROGRAMS += at91rm9200/clock.rel
72at91rm9200_clock_rel_SOURCES = at91rm9200/clock/clock.c
73at91rm9200_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
74at91rm9200_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
75
76## at91rm9200/dbgu
77noinst_PROGRAMS += at91rm9200/dbgu.rel
78at91rm9200_dbgu_rel_SOURCES = at91rm9200/dbgu/dbgu.c
79at91rm9200_dbgu_rel_CPPFLAGS = $(AM_CPPFLAGS)
80at91rm9200_dbgu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
81
82## at91rm9200/usart
83noinst_PROGRAMS += at91rm9200/usart.rel
84at91rm9200_usart_rel_SOURCES = at91rm9200/usart/usart.c
85at91rm9200_usart_rel_CPPFLAGS = $(AM_CPPFLAGS)
86at91rm9200_usart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
87
88## at91rm9200/timer
89noinst_PROGRAMS += at91rm9200/timer.rel
90at91rm9200_timer_rel_SOURCES = at91rm9200/timer/timer.c
91at91rm9200_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
92at91rm9200_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
93
94## at91rm9200/pmc
95noinst_PROGRAMS += at91rm9200/pmc.rel
96at91rm9200_pmc_rel_SOURCES = at91rm9200/pmc/pmc.c
97at91rm9200_pmc_rel_CPPFLAGS = $(AM_CPPFLAGS)
98at91rm9200_pmc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
99
100## at91rm9200/interrupt
101include_HEADERS += at91rm9200/irq/irq.h
102
103noinst_PROGRAMS += at91rm9200/irq.rel
104at91rm9200_irq_rel_SOURCES = at91rm9200/irq/irq.c at91rm9200/irq/bsp_irq_init.c \
105    ../../libbsp/arm/shared/irq/irq_init.c at91rm9200/irq/bsp_irq_asm.S \
106    at91rm9200/irq/irq.h
107at91rm9200_irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
108at91rm9200_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
109endif
110
111if mc9328mxl
112include_HEADERS = mc9328mxl/include/mc9328mxl.h
113
114## mc9328mxl/clock
115noinst_PROGRAMS += mc9328mxl/clock.rel
116mc9328mxl_clock_rel_SOURCES = mc9328mxl/clock/clockdrv.c
117mc9328mxl_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
118mc9328mxl_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
119
120## mc9328mxl/timer
121noinst_PROGRAMS += mc9328mxl/timer.rel
122mc9328mxl_timer_rel_SOURCES = mc9328mxl/timer/timer.c
123mc9328mxl_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
124mc9328mxl_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
125
126## mc9328mxl/interrupt
127include_HEADERS += mc9328mxl/irq/irq.h
128
129noinst_PROGRAMS += mc9328mxl/irq.rel
130mc9328mxl_irq_rel_SOURCES = mc9328mxl/irq/irq.c mc9328mxl/irq/bsp_irq_init.c \
131    ../../libbsp/arm/shared/irq/irq_init.c mc9328mxl/irq/bsp_irq_asm.S \
132    mc9328mxl/irq/irq.h
133mc9328mxl_irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
134mc9328mxl_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
135endif
136
137if s3c24xx
138include_HEADERS = s3c24xx/include/s3c24xx.h s3c24xx/include/s3c2400.h s3c24xx/include/s3c2410.h
139
140## s3c24xx/clock
141noinst_PROGRAMS += s3c24xx/clock.rel
142s3c24xx_clock_rel_SOURCES = s3c24xx/clock/clockdrv.c s3c24xx/clock/support.c
143s3c24xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
144s3c24xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
145
146## s3c24xx/timer
147noinst_PROGRAMS += s3c24xx/timer.rel
148s3c24xx_timer_rel_SOURCES = s3c24xx/timer/timer.c
149s3c24xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
150s3c24xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
151
152## s3c24xx/interrupt
153include_HEADERS += s3c24xx/irq/irq.h
154
155noinst_PROGRAMS += s3c24xx/irq.rel
156s3c24xx_irq_rel_SOURCES = s3c24xx/irq/irq.c s3c24xx/irq/bsp_irq_init.c \
157    ../../libbsp/arm/shared/irq/irq_init.c s3c24xx/irq/bsp_irq_asm.S \
158    s3c24xx/irq/irq.h
159s3c24xx_irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
160s3c24xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
161endif
162
163if lpc22xx
164include_HEADERS = lpc22xx/include/lpc22xx.h
165
166## lpc22xx/clock
167noinst_PROGRAMS += lpc22xx/clock.rel
168lpc22xx_clock_rel_SOURCES = lpc22xx/clock/clockdrv.c
169lpc22xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
170lpc22xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
171
172## lpc22xx/timer
173noinst_PROGRAMS += lpc22xx/timer.rel
174lpc22xx_timer_rel_SOURCES = lpc22xx/timer/timer.c
175lpc22xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
176lpc22xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
177
178## lpc22xx/interrupt
179include_HEADERS += lpc22xx/irq/irq.h
180
181noinst_PROGRAMS += lpc22xx/irq.rel
182lpc22xx_irq_rel_SOURCES = lpc22xx/irq/irq.c lpc22xx/irq/bsp_irq_init.c \
183    ../../libbsp/arm/shared/irq/irq_init.c lpc22xx/irq/bsp_irq_asm.S \
184    lpc22xx/irq/irq.h
185lpc22xx_irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
186lpc22xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
187endif
188
189include $(srcdir)/preinstall.am
190include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.