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