1 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
2 | |
---|
3 | include $(top_srcdir)/../../../automake/compile.am |
---|
4 | |
---|
5 | EXTRA_DIST = |
---|
6 | |
---|
7 | noinst_PROGRAMS = |
---|
8 | |
---|
9 | include_bspdir = $(includedir)/bsp |
---|
10 | include_libcpudir = $(includedir)/libcpu |
---|
11 | |
---|
12 | include_bsp_HEADERS = |
---|
13 | include_libcpu_HEADERS = |
---|
14 | |
---|
15 | ## shared/include |
---|
16 | if shared |
---|
17 | |
---|
18 | include_libcpu_HEADERS += shared/include/mmu.h |
---|
19 | include_libcpu_HEADERS += shared/include/arm-cp15.h |
---|
20 | |
---|
21 | ## shared/arm920 |
---|
22 | noinst_PROGRAMS += shared/arm920.rel |
---|
23 | shared_arm920_rel_SOURCES = shared/arm920/mmu.c |
---|
24 | shared_arm920_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/src |
---|
25 | shared_arm920_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
26 | endif |
---|
27 | |
---|
28 | if pxa255 |
---|
29 | include_HEADERS = pxa255/include/pxa255.h pxa255/include/ffuart.h |
---|
30 | |
---|
31 | ## pxa255/clock |
---|
32 | noinst_PROGRAMS += pxa255/clock.rel |
---|
33 | pxa255_clock_rel_SOURCES = pxa255/clock/clock.c |
---|
34 | pxa255_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
35 | pxa255_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
36 | |
---|
37 | ## pxa255/timer |
---|
38 | noinst_PROGRAMS += pxa255/timer.rel |
---|
39 | pxa255_timer_rel_SOURCES = pxa255/timer/timer.c |
---|
40 | pxa255_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
41 | pxa255_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
42 | |
---|
43 | ## pxa255/ffuart |
---|
44 | noinst_PROGRAMS += pxa255/ffuart.rel |
---|
45 | pxa255_ffuart_rel_SOURCES = pxa255/ffuart/ffuart.c |
---|
46 | pxa255_ffuart_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
47 | pxa255_ffuart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
48 | |
---|
49 | ## pxa255/pmc |
---|
50 | noinst_PROGRAMS += pxa255/pmc.rel |
---|
51 | pxa255_pmc_rel_SOURCES = pxa255/pmc/pmc.c |
---|
52 | pxa255_pmc_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
53 | pxa255_pmc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
54 | |
---|
55 | ## pxa255/interrupt |
---|
56 | include_bsp_HEADERS += pxa255/irq/irq.h |
---|
57 | noinst_PROGRAMS += pxa255/irq.rel |
---|
58 | pxa255_irq_rel_SOURCES = pxa255/irq/irq.c \ |
---|
59 | pxa255/irq/irq.h |
---|
60 | pxa255_irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
61 | pxa255_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
62 | endif |
---|
63 | |
---|
64 | if at91rm9200 |
---|
65 | include_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 |
---|
71 | noinst_PROGRAMS += at91rm9200/clock.rel |
---|
72 | at91rm9200_clock_rel_SOURCES = at91rm9200/clock/clock.c |
---|
73 | at91rm9200_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
74 | at91rm9200_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
75 | |
---|
76 | ## at91rm9200/dbgu |
---|
77 | noinst_PROGRAMS += at91rm9200/dbgu.rel |
---|
78 | at91rm9200_dbgu_rel_SOURCES = at91rm9200/dbgu/dbgu.c |
---|
79 | at91rm9200_dbgu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
80 | at91rm9200_dbgu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
81 | |
---|
82 | ## at91rm9200/usart |
---|
83 | noinst_PROGRAMS += at91rm9200/usart.rel |
---|
84 | at91rm9200_usart_rel_SOURCES = at91rm9200/usart/usart.c |
---|
85 | at91rm9200_usart_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
86 | at91rm9200_usart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
87 | |
---|
88 | ## at91rm9200/timer |
---|
89 | noinst_PROGRAMS += at91rm9200/timer.rel |
---|
90 | at91rm9200_timer_rel_SOURCES = at91rm9200/timer/timer.c |
---|
91 | at91rm9200_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
92 | at91rm9200_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
93 | |
---|
94 | ## at91rm9200/pmc |
---|
95 | noinst_PROGRAMS += at91rm9200/pmc.rel |
---|
96 | at91rm9200_pmc_rel_SOURCES = at91rm9200/pmc/pmc.c |
---|
97 | at91rm9200_pmc_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
98 | at91rm9200_pmc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
99 | |
---|
100 | ## at91rm9200/interrupt |
---|
101 | include_bsp_HEADERS += at91rm9200/irq/irq.h |
---|
102 | |
---|
103 | noinst_PROGRAMS += at91rm9200/irq.rel |
---|
104 | at91rm9200_irq_rel_SOURCES = at91rm9200/irq/irq.c \ |
---|
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_bsp_HEADERS += mc9328mxl/irq/irq.h |
---|
127 | |
---|
128 | noinst_PROGRAMS += mc9328mxl/irq.rel |
---|
129 | mc9328mxl_irq_rel_SOURCES = mc9328mxl/irq/irq.c \ |
---|
130 | mc9328mxl/irq/irq.h |
---|
131 | mc9328mxl_irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
132 | mc9328mxl_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
133 | endif |
---|
134 | |
---|
135 | if s3c24xx |
---|
136 | include_HEADERS = s3c24xx/include/s3c24xx.h s3c24xx/include/s3c2400.h s3c24xx/include/s3c2410.h |
---|
137 | |
---|
138 | ## s3c24xx/clock |
---|
139 | noinst_PROGRAMS += s3c24xx/clock.rel |
---|
140 | s3c24xx_clock_rel_SOURCES = s3c24xx/clock/clockdrv.c s3c24xx/clock/support.c |
---|
141 | s3c24xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
142 | s3c24xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
143 | |
---|
144 | ## s3c24xx/timer |
---|
145 | noinst_PROGRAMS += s3c24xx/timer.rel |
---|
146 | s3c24xx_timer_rel_SOURCES = s3c24xx/timer/timer.c |
---|
147 | s3c24xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
148 | s3c24xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
149 | |
---|
150 | ## s3c24xx/interrupt |
---|
151 | include_bsp_HEADERS += s3c24xx/irq/irq.h |
---|
152 | |
---|
153 | noinst_PROGRAMS += s3c24xx/irq.rel |
---|
154 | s3c24xx_irq_rel_SOURCES = s3c24xx/irq/irq.c \ |
---|
155 | s3c24xx/irq/irq.h |
---|
156 | s3c24xx_irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
157 | s3c24xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
158 | endif |
---|
159 | |
---|
160 | if lpc22xx |
---|
161 | include_HEADERS = lpc22xx/include/lpc22xx.h |
---|
162 | |
---|
163 | ## lpc22xx/clock |
---|
164 | noinst_PROGRAMS += lpc22xx/clock.rel |
---|
165 | lpc22xx_clock_rel_SOURCES = lpc22xx/clock/clockdrv.c |
---|
166 | lpc22xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
167 | lpc22xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
168 | |
---|
169 | ## lpc22xx/timer |
---|
170 | noinst_PROGRAMS += lpc22xx/timer.rel |
---|
171 | lpc22xx_timer_rel_SOURCES = lpc22xx/timer/timer.c |
---|
172 | lpc22xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
173 | lpc22xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
174 | |
---|
175 | ## lpc22xx/interrupt |
---|
176 | include_bsp_HEADERS += lpc22xx/irq/irq.h |
---|
177 | |
---|
178 | noinst_PROGRAMS += lpc22xx/irq.rel |
---|
179 | lpc22xx_irq_rel_SOURCES = lpc22xx/irq/irq.c \ |
---|
180 | lpc22xx/irq/irq.h |
---|
181 | lpc22xx_irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
182 | lpc22xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
183 | endif |
---|
184 | |
---|
185 | include $(srcdir)/preinstall.am |
---|
186 | include $(top_srcdir)/../../../automake/local.am |
---|