1 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
2 | |
---|
3 | include $(top_srcdir)/../../../automake/compile.am |
---|
4 | |
---|
5 | EXTRA_DIST = |
---|
6 | |
---|
7 | noinst_PROGRAMS = |
---|
8 | |
---|
9 | EXTRA_DIST += ppc403/README ppc403/vectors/README |
---|
10 | if ppc4xx |
---|
11 | # ppc403/clock |
---|
12 | noinst_PROGRAMS += ppc403/clock.rel |
---|
13 | ppc403_clock_rel_SOURCES = ppc403/clock/clock.c |
---|
14 | ppc403_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
15 | ppc403_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
16 | |
---|
17 | # ppc403/console |
---|
18 | noinst_PROGRAMS += ppc403/console.rel |
---|
19 | if ppc405 |
---|
20 | ppc403_console_rel_SOURCES = ppc403/console/console405.c |
---|
21 | else |
---|
22 | ppc403_console_rel_SOURCES = ppc403/console/console.c |
---|
23 | endif |
---|
24 | ppc403_console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
25 | ppc403_console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
26 | |
---|
27 | # ppc403/timer |
---|
28 | noinst_PROGRAMS += ppc403/timer.rel |
---|
29 | ppc403_timer_rel_SOURCES = ppc403/timer/timer.c |
---|
30 | ppc403_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
31 | ppc403_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
32 | |
---|
33 | # ppc403/tty_drv |
---|
34 | if ppc405 |
---|
35 | noinst_PROGRAMS += ppc403/tty_drv.rel |
---|
36 | ppc403_tty_drv_rel_SOURCES = ppc403/tty_drv/tty_drv.c ppc403/tty_drv/tty_drv.h |
---|
37 | ppc403_tty_drv_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
38 | ppc403_tty_drv_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
39 | endif |
---|
40 | |
---|
41 | endif # ppc4xx |
---|
42 | |
---|
43 | if ppc405 |
---|
44 | |
---|
45 | ## ppc4xx/include |
---|
46 | endif # ppc405 |
---|
47 | |
---|
48 | if mpc6xx |
---|
49 | |
---|
50 | # mpc6xx/mmu |
---|
51 | noinst_PROGRAMS += mpc6xx/mmu.rel |
---|
52 | mpc6xx_mmu_rel_SOURCES = mpc6xx/mmu/bat.c mpc6xx/mmu/bat.h \ |
---|
53 | mpc6xx/mmu/pte121.c mpc6xx/mmu/pte121.h \ |
---|
54 | mpc6xx/mmu/mmuAsm.S |
---|
55 | mpc6xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
56 | mpc6xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
57 | |
---|
58 | # mpc6xx/clock |
---|
59 | noinst_PROGRAMS += mpc6xx/clock.rel |
---|
60 | mpc6xx_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h |
---|
61 | mpc6xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
62 | mpc6xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
63 | |
---|
64 | # mpc6xx/timer |
---|
65 | noinst_PROGRAMS += mpc6xx/timer.rel |
---|
66 | mpc6xx_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
67 | mpc6xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
68 | mpc6xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
69 | |
---|
70 | # mpc6xx/altivec |
---|
71 | noinst_PROGRAMS += mpc6xx/altivec.rel |
---|
72 | mpc6xx_altivec_rel_SOURCES = mpc6xx/altivec/vec_sup.c mpc6xx/altivec/vec_sup_asm.S |
---|
73 | mpc6xx_altivec_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
74 | mpc6xx_altivec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
75 | endif |
---|
76 | EXTRA_DIST += mpc6xx/altivec/README |
---|
77 | |
---|
78 | # e500/clock |
---|
79 | if e500_clock |
---|
80 | noinst_PROGRAMS += e500/clock.rel |
---|
81 | e500_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h |
---|
82 | e500_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
83 | e500_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
84 | endif |
---|
85 | |
---|
86 | # e500/timer |
---|
87 | if e500_timer |
---|
88 | noinst_PROGRAMS += e500/timer.rel |
---|
89 | e500_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
90 | e500_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
91 | e500_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
92 | endif |
---|
93 | |
---|
94 | # e500/mmu |
---|
95 | if e500_mmu |
---|
96 | noinst_PROGRAMS += e500/mmu.rel |
---|
97 | e500_mmu_rel_SOURCES = e500/mmu/mmu.c e500/mmu/e500_mmu.h |
---|
98 | e500_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
99 | e500_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
100 | endif |
---|
101 | |
---|
102 | EXTRA_DIST += mpc8xx/README |
---|
103 | if mpc8xx |
---|
104 | # mpc8xx/clock |
---|
105 | noinst_PROGRAMS += mpc8xx/clock.rel |
---|
106 | mpc8xx_clock_rel_SOURCES = mpc8xx/clock/clock.c |
---|
107 | mpc8xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
108 | mpc8xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
109 | |
---|
110 | # mpc8xx/console-generic |
---|
111 | noinst_PROGRAMS += mpc8xx/console-generic.rel |
---|
112 | mpc8xx_console_generic_rel_SOURCES = mpc8xx/console-generic/console-generic.c |
---|
113 | mpc8xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
114 | mpc8xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
115 | |
---|
116 | # mpc8xx/cpm |
---|
117 | noinst_PROGRAMS += mpc8xx/cpm.rel |
---|
118 | mpc8xx_cpm_rel_SOURCES = mpc8xx/cpm/cp.c mpc8xx/cpm/dpram.c |
---|
119 | mpc8xx_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
120 | mpc8xx_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
121 | |
---|
122 | # mpc8xx/mmu |
---|
123 | noinst_PROGRAMS += mpc8xx/mmu.rel |
---|
124 | mpc8xx_mmu_rel_SOURCES = mpc8xx/mmu/mmu.c |
---|
125 | mpc8xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
126 | mpc8xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
127 | |
---|
128 | # mpc8xx/timer |
---|
129 | noinst_PROGRAMS += mpc8xx/timer.rel |
---|
130 | mpc8xx_timer_rel_SOURCES = mpc8xx/timer/timer.c |
---|
131 | mpc8xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
132 | mpc8xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
133 | endif |
---|
134 | |
---|
135 | EXTRA_DIST += mpc8260/README |
---|
136 | if mpc8260 |
---|
137 | # mpc8260/console-generic |
---|
138 | noinst_PROGRAMS += mpc8260/console-generic.rel |
---|
139 | mpc8260_console_generic_rel_SOURCES = mpc8260/console-generic/console-generic.c \ |
---|
140 | mpc8260/include/console.h |
---|
141 | mpc8260_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
142 | mpc8260_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
143 | |
---|
144 | # mpc8260/cpm |
---|
145 | noinst_PROGRAMS += mpc8260/cpm.rel |
---|
146 | mpc8260_cpm_rel_SOURCES = mpc8260/cpm/cp.c mpc8260/cpm/dpram.c mpc8260/cpm/brg.c \ |
---|
147 | mpc8260/include/cpm.h |
---|
148 | mpc8260_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
149 | mpc8260_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
150 | |
---|
151 | # mpc8260/mmu |
---|
152 | noinst_PROGRAMS += mpc8260/mmu.rel |
---|
153 | mpc8260_mmu_rel_SOURCES = mpc8260/mmu/mmu.c \ |
---|
154 | mpc8260/include/mmu.h |
---|
155 | mpc8260_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
156 | mpc8260_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
157 | |
---|
158 | # mpc8260/timer |
---|
159 | noinst_PROGRAMS += mpc8260/timer.rel |
---|
160 | mpc8260_timer_rel_SOURCES = mpc8260/timer/timer.c |
---|
161 | mpc8260_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
162 | mpc8260_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
163 | endif |
---|
164 | |
---|
165 | ############################################################################## |
---|
166 | # START: MPC83XX # |
---|
167 | ############################################################################## |
---|
168 | if mpc83xx |
---|
169 | |
---|
170 | # Includes |
---|
171 | |
---|
172 | # Network |
---|
173 | if HAS_NETWORKING |
---|
174 | noinst_PROGRAMS += mpc83xx/tsec.rel |
---|
175 | mpc83xx_tsec_rel_SOURCES = mpc83xx/network/tsec.c |
---|
176 | mpc83xx_tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
177 | endif |
---|
178 | |
---|
179 | # i2c |
---|
180 | noinst_PROGRAMS += mpc83xx/i2c.rel |
---|
181 | mpc83xx_i2c_rel_SOURCES = mpc83xx/i2c/mpc83xx_i2cdrv.c \ |
---|
182 | mpc83xx/i2c/mpc83xx_i2cdrv.h |
---|
183 | mpc83xx_i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
184 | |
---|
185 | # SPI |
---|
186 | noinst_PROGRAMS += mpc83xx/spi.rel |
---|
187 | mpc83xx_spi_rel_SOURCES = mpc83xx/spi/mpc83xx_spidrv.c \ |
---|
188 | mpc83xx/spi/mpc83xx_spidrv.h |
---|
189 | mpc83xx_spi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
190 | |
---|
191 | # GTM |
---|
192 | noinst_PROGRAMS += mpc83xx/gtm.rel |
---|
193 | mpc83xx_gtm_rel_SOURCES = mpc83xx/gtm/gtm.c \ |
---|
194 | mpc83xx/include/gtm.h |
---|
195 | mpc83xx_gtm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
196 | |
---|
197 | endif |
---|
198 | ############################################################################## |
---|
199 | # END: MPC83XX # |
---|
200 | ############################################################################## |
---|
201 | |
---|
202 | ############################################################################## |
---|
203 | # START: MPC55XX # |
---|
204 | ############################################################################## |
---|
205 | if mpc55xx |
---|
206 | |
---|
207 | # IRQ |
---|
208 | noinst_PROGRAMS += mpc55xx/irq.rel |
---|
209 | mpc55xx_irq_rel_SOURCES = mpc55xx/irq/irq.c |
---|
210 | mpc55xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
211 | |
---|
212 | # mpc6xx/timer |
---|
213 | noinst_PROGRAMS += mpc55xx/timer.rel |
---|
214 | mpc55xx_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
215 | mpc55xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
216 | mpc55xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
217 | |
---|
218 | # FEC |
---|
219 | noinst_PROGRAMS += mpc55xx/fec.rel |
---|
220 | mpc55xx_fec_rel_SOURCES = mpc55xx/fec/fec.c |
---|
221 | mpc55xx_fec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
222 | |
---|
223 | # eDMA |
---|
224 | noinst_PROGRAMS += mpc55xx/edma.rel |
---|
225 | mpc55xx_edma_rel_SOURCES = mpc55xx/edma/edma.c |
---|
226 | mpc55xx_edma_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
227 | |
---|
228 | # eMIOS |
---|
229 | noinst_PROGRAMS += mpc55xx/emios.rel |
---|
230 | mpc55xx_emios_rel_SOURCES = mpc55xx/emios/emios.c |
---|
231 | mpc55xx_emios_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
232 | |
---|
233 | # SIU |
---|
234 | noinst_PROGRAMS += mpc55xx/siu.rel |
---|
235 | mpc55xx_siu_rel_SOURCES = mpc55xx/siu/siu.c |
---|
236 | mpc55xx_siu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
237 | |
---|
238 | # DSPI |
---|
239 | noinst_PROGRAMS += mpc55xx/dspi.rel |
---|
240 | mpc55xx_dspi_rel_SOURCES = mpc55xx/dspi/dspi.c |
---|
241 | mpc55xx_dspi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
242 | |
---|
243 | # Misc |
---|
244 | noinst_PROGRAMS += mpc55xx/misc.rel |
---|
245 | mpc55xx_misc_rel_SOURCES = mpc55xx/misc/copy.S \ |
---|
246 | mpc55xx/misc/flash_support.c |
---|
247 | mpc55xx_misc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
248 | |
---|
249 | endif |
---|
250 | ############################################################################## |
---|
251 | # END: MPC55XX # |
---|
252 | ############################################################################## |
---|
253 | |
---|
254 | ############################################################################## |
---|
255 | # START: QorIQ # |
---|
256 | ############################################################################## |
---|
257 | if qoriq |
---|
258 | |
---|
259 | # Network |
---|
260 | if HAS_NETWORKING |
---|
261 | noinst_PROGRAMS += tsec.rel |
---|
262 | tsec_rel_SOURCES = mpc83xx/network/tsec.c |
---|
263 | tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
264 | endif |
---|
265 | |
---|
266 | endif |
---|
267 | ############################################################################## |
---|
268 | # END: QorIQ # |
---|
269 | ############################################################################## |
---|
270 | |
---|
271 | include $(top_srcdir)/../../../automake/local.am |
---|