OSDN Git Service

1d916da3c70882bb9b4e6a669f99e5bb8ef20218
[pf3gnuchains/gcc-fork.git] / libgfortran / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3
4 ACLOCAL_AMFLAGS = -I ../config
5
6 ## May be used by toolexeclibdir.
7 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
8
9 toolexeclib_LTLIBRARIES = libgfortran.la libgfortranbegin.la
10
11 libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` -lm $(extra_ldflags_libgfortran)
12
13 ## This should really go in the compiler lib dir, not the system lib dir.
14 libgfortranbegin_la_SOURCES = fmain.c
15 libgfortranbegin_la_LDFLAGS = -static
16
17 ## io.h conflicts with some a system header on some platforms, so
18 ## use -iquote
19 AM_CPPFLAGS = -iquote$(srcdir)/io
20
21 gfor_io_src= \
22 io/close.c \
23 io/file_pos.c \
24 io/format.c \
25 io/inquire.c \
26 io/list_read.c \
27 io/lock.c \
28 io/open.c \
29 io/read.c \
30 io/size_from_kind.c \
31 io/transfer.c \
32 io/unit.c \
33 io/unix.c \
34 io/write.c
35
36 gfor_io_headers= \
37 io/io.h
38
39 gfor_helper_src= \
40 intrinsics/associated.c \
41 intrinsics/abort.c \
42 intrinsics/args.c \
43 intrinsics/bessel.c \
44 intrinsics/c99_functions.c \
45 intrinsics/chdir.c \
46 intrinsics/cpu_time.c \
47 intrinsics/cshift0.c \
48 intrinsics/ctime.c \
49 intrinsics/date_and_time.c \
50 intrinsics/env.c \
51 intrinsics/erf.c \
52 intrinsics/eoshift0.c \
53 intrinsics/eoshift2.c \
54 intrinsics/etime.c \
55 intrinsics/exit.c \
56 intrinsics/fget.c \
57 intrinsics/flush.c \
58 intrinsics/fnum.c \
59 intrinsics/ftell.c \
60 intrinsics/gerror.c \
61 intrinsics/getcwd.c \
62 intrinsics/getlog.c \
63 intrinsics/getXid.c \
64 intrinsics/hyper.c \
65 intrinsics/hostnm.c \
66 intrinsics/kill.c \
67 intrinsics/ierrno.c \
68 intrinsics/ishftc.c \
69 intrinsics/link.c \
70 intrinsics/malloc.c \
71 intrinsics/mvbits.c \
72 intrinsics/pack_generic.c \
73 intrinsics/perror.c \
74 intrinsics/signal.c \
75 intrinsics/size.c \
76 intrinsics/sleep.c \
77 intrinsics/spread_generic.c \
78 intrinsics/string_intrinsics.c \
79 intrinsics/system.c \
80 intrinsics/rand.c \
81 intrinsics/random.c \
82 intrinsics/rename.c \
83 intrinsics/reshape_generic.c \
84 intrinsics/reshape_packed.c \
85 intrinsics/selected_int_kind.f90 \
86 intrinsics/selected_real_kind.f90 \
87 intrinsics/stat.c \
88 intrinsics/symlnk.c \
89 intrinsics/system_clock.c \
90 intrinsics/time.c \
91 intrinsics/transpose_generic.c \
92 intrinsics/tty.c \
93 intrinsics/umask.c \
94 intrinsics/unlink.c \
95 intrinsics/unpack_generic.c \
96 runtime/in_pack_generic.c \
97 runtime/in_unpack_generic.c \
98 runtime/normalize.c
99
100 gfor_src= \
101 runtime/compile_options.c \
102 runtime/environ.c \
103 runtime/error.c \
104 runtime/fpu.c \
105 runtime/main.c \
106 runtime/memory.c \
107 runtime/pause.c \
108 runtime/stop.c \
109 runtime/string.c \
110 runtime/select.c \
111 gfortypes.h \
112 libgfortran.h
113
114 i_all_c= \
115 generated/all_l4.c \
116 generated/all_l8.c \
117 generated/all_l16.c
118
119 i_any_c= \
120 generated/any_l4.c \
121 generated/any_l8.c \
122 generated/any_l16.c
123
124 i_count_c= \
125 generated/count_4_l4.c \
126 generated/count_8_l4.c \
127 generated/count_16_l4.c \
128 generated/count_4_l8.c \
129 generated/count_8_l8.c \
130 generated/count_16_l8.c \
131 generated/count_4_l16.c \
132 generated/count_8_l16.c \
133 generated/count_16_l16.c
134
135 i_maxloc0_c= \
136 generated/maxloc0_4_i4.c \
137 generated/maxloc0_8_i4.c \
138 generated/maxloc0_16_i4.c \
139 generated/maxloc0_4_i8.c \
140 generated/maxloc0_8_i8.c \
141 generated/maxloc0_16_i8.c \
142 generated/maxloc0_4_i16.c \
143 generated/maxloc0_8_i16.c \
144 generated/maxloc0_16_i16.c \
145 generated/maxloc0_4_r4.c \
146 generated/maxloc0_8_r4.c \
147 generated/maxloc0_16_r4.c \
148 generated/maxloc0_4_r8.c \
149 generated/maxloc0_8_r8.c \
150 generated/maxloc0_16_r8.c \
151 generated/maxloc0_4_r10.c \
152 generated/maxloc0_8_r10.c \
153 generated/maxloc0_16_r10.c \
154 generated/maxloc0_4_r16.c \
155 generated/maxloc0_8_r16.c \
156 generated/maxloc0_16_r16.c
157
158 i_maxloc1_c= \
159 generated/maxloc1_4_i4.c \
160 generated/maxloc1_8_i4.c \
161 generated/maxloc1_16_i4.c \
162 generated/maxloc1_4_i8.c \
163 generated/maxloc1_8_i8.c \
164 generated/maxloc1_16_i8.c \
165 generated/maxloc1_4_i16.c \
166 generated/maxloc1_8_i16.c \
167 generated/maxloc1_16_i16.c \
168 generated/maxloc1_4_r4.c \
169 generated/maxloc1_8_r4.c \
170 generated/maxloc1_16_r4.c \
171 generated/maxloc1_4_r8.c \
172 generated/maxloc1_8_r8.c \
173 generated/maxloc1_16_r8.c \
174 generated/maxloc1_4_r10.c \
175 generated/maxloc1_8_r10.c \
176 generated/maxloc1_16_r10.c \
177 generated/maxloc1_4_r16.c \
178 generated/maxloc1_8_r16.c \
179 generated/maxloc1_16_r16.c
180
181 i_maxval_c= \
182 generated/maxval_i4.c \
183 generated/maxval_i8.c \
184 generated/maxval_i16.c \
185 generated/maxval_r4.c \
186 generated/maxval_r8.c \
187 generated/maxval_r10.c \
188 generated/maxval_r16.c
189
190 i_minloc0_c= \
191 generated/minloc0_4_i4.c \
192 generated/minloc0_8_i4.c \
193 generated/minloc0_16_i4.c \
194 generated/minloc0_4_i8.c \
195 generated/minloc0_8_i8.c \
196 generated/minloc0_16_i8.c \
197 generated/minloc0_4_i16.c \
198 generated/minloc0_8_i16.c \
199 generated/minloc0_16_i16.c \
200 generated/minloc0_4_r4.c \
201 generated/minloc0_8_r4.c \
202 generated/minloc0_16_r4.c \
203 generated/minloc0_4_r8.c \
204 generated/minloc0_8_r8.c \
205 generated/minloc0_16_r8.c \
206 generated/minloc0_4_r10.c \
207 generated/minloc0_8_r10.c \
208 generated/minloc0_16_r10.c \
209 generated/minloc0_4_r16.c \
210 generated/minloc0_8_r16.c \
211 generated/minloc0_16_r16.c
212
213 i_minloc1_c= \
214 generated/minloc1_4_i4.c \
215 generated/minloc1_8_i4.c \
216 generated/minloc1_16_i4.c \
217 generated/minloc1_4_i8.c \
218 generated/minloc1_8_i8.c \
219 generated/minloc1_16_i8.c \
220 generated/minloc1_4_i16.c \
221 generated/minloc1_8_i16.c \
222 generated/minloc1_16_i16.c \
223 generated/minloc1_4_r4.c \
224 generated/minloc1_8_r4.c \
225 generated/minloc1_16_r4.c \
226 generated/minloc1_4_r8.c \
227 generated/minloc1_8_r8.c \
228 generated/minloc1_16_r8.c \
229 generated/minloc1_4_r10.c \
230 generated/minloc1_8_r10.c \
231 generated/minloc1_16_r10.c \
232 generated/minloc1_4_r16.c \
233 generated/minloc1_8_r16.c \
234 generated/minloc1_16_r16.c
235
236 i_minval_c= \
237 generated/minval_i4.c \
238 generated/minval_i8.c \
239 generated/minval_i16.c \
240 generated/minval_r4.c \
241 generated/minval_r8.c \
242 generated/minval_r10.c \
243 generated/minval_r16.c
244
245 i_sum_c= \
246 generated/sum_i4.c \
247 generated/sum_i8.c \
248 generated/sum_i16.c \
249 generated/sum_r4.c \
250 generated/sum_r8.c \
251 generated/sum_r10.c \
252 generated/sum_r16.c \
253 generated/sum_c4.c \
254 generated/sum_c8.c \
255 generated/sum_c10.c \
256 generated/sum_c16.c
257
258 i_product_c= \
259 generated/product_i4.c \
260 generated/product_i8.c \
261 generated/product_i16.c \
262 generated/product_r4.c \
263 generated/product_r8.c \
264 generated/product_r10.c \
265 generated/product_r16.c \
266 generated/product_c4.c \
267 generated/product_c8.c \
268 generated/product_c10.c \
269 generated/product_c16.c
270
271 i_dotprod_c= \
272 generated/dotprod_i4.c \
273 generated/dotprod_i8.c \
274 generated/dotprod_i16.c \
275 generated/dotprod_r4.c \
276 generated/dotprod_r8.c \
277 generated/dotprod_r10.c \
278 generated/dotprod_r16.c
279
280 i_dotprodl_c= \
281 generated/dotprod_l4.c \
282 generated/dotprod_l8.c \
283 generated/dotprod_l16.c
284
285 i_dotprodc_c= \
286 generated/dotprod_c4.c \
287 generated/dotprod_c8.c \
288 generated/dotprod_c10.c \
289 generated/dotprod_c16.c
290
291 i_matmul_c= \
292 generated/matmul_i4.c \
293 generated/matmul_i8.c \
294 generated/matmul_i16.c \
295 generated/matmul_r4.c \
296 generated/matmul_r8.c \
297 generated/matmul_r10.c \
298 generated/matmul_r16.c \
299 generated/matmul_c4.c \
300 generated/matmul_c8.c \
301 generated/matmul_c10.c \
302 generated/matmul_c16.c
303
304 i_matmull_c= \
305 generated/matmul_l4.c \
306 generated/matmul_l8.c \
307 generated/matmul_l16.c
308
309 i_transpose_c= \
310 generated/transpose_i4.c \
311 generated/transpose_i8.c \
312 generated/transpose_i16.c \
313 generated/transpose_c4.c \
314 generated/transpose_c8.c \
315 generated/transpose_c10.c \
316 generated/transpose_c16.c
317
318 i_shape_c= \
319 generated/shape_i4.c \
320 generated/shape_i8.c \
321 generated/shape_i16.c
322
323 i_reshape_c= \
324 generated/reshape_i4.c \
325 generated/reshape_i8.c \
326 generated/reshape_i16.c \
327 generated/reshape_c4.c \
328 generated/reshape_c8.c \
329 generated/reshape_c10.c \
330 generated/reshape_c16.c
331
332 i_eoshift1_c= \
333 generated/eoshift1_4.c \
334 generated/eoshift1_8.c \
335 generated/eoshift1_16.c
336
337 i_eoshift3_c= \
338 generated/eoshift3_4.c \
339 generated/eoshift3_8.c \
340 generated/eoshift3_16.c
341
342 i_cshift1_c= \
343 generated/cshift1_4.c \
344 generated/cshift1_8.c \
345 generated/cshift1_16.c
346
347 in_pack_c = \
348 generated/in_pack_i4.c \
349 generated/in_pack_i8.c \
350 generated/in_pack_i16.c \
351 generated/in_pack_c4.c \
352 generated/in_pack_c8.c \
353 generated/in_pack_c10.c \
354 generated/in_pack_c16.c
355
356 in_unpack_c = \
357 generated/in_unpack_i4.c \
358 generated/in_unpack_i8.c \
359 generated/in_unpack_i16.c \
360 generated/in_unpack_c4.c \
361 generated/in_unpack_c8.c \
362 generated/in_unpack_c10.c \
363 generated/in_unpack_c16.c
364
365 i_exponent_c = \
366 generated/exponent_r4.c \
367 generated/exponent_r8.c \
368 generated/exponent_r10.c \
369 generated/exponent_r16.c
370
371 i_fraction_c = \
372 generated/fraction_r4.c \
373 generated/fraction_r8.c \
374 generated/fraction_r10.c \
375 generated/fraction_r16.c
376
377 i_nearest_c = \
378 generated/nearest_r4.c \
379 generated/nearest_r8.c \
380 generated/nearest_r10.c \
381 generated/nearest_r16.c
382
383 i_set_exponent_c = \
384 generated/set_exponent_r4.c \
385 generated/set_exponent_r8.c \
386 generated/set_exponent_r10.c \
387 generated/set_exponent_r16.c
388
389 i_pow_c = \
390 generated/pow_i4_i4.c \
391 generated/pow_i8_i4.c \
392 generated/pow_i16_i4.c \
393 generated/pow_r4_i4.c \
394 generated/pow_r8_i4.c \
395 generated/pow_r10_i4.c \
396 generated/pow_r16_i4.c \
397 generated/pow_c4_i4.c \
398 generated/pow_c8_i4.c \
399 generated/pow_c10_i4.c \
400 generated/pow_c16_i4.c \
401 generated/pow_i4_i8.c \
402 generated/pow_i8_i8.c \
403 generated/pow_i16_i8.c \
404 generated/pow_r4_i8.c \
405 generated/pow_r8_i8.c \
406 generated/pow_r10_i8.c \
407 generated/pow_r16_i8.c \
408 generated/pow_c4_i8.c \
409 generated/pow_c8_i8.c \
410 generated/pow_c10_i8.c \
411 generated/pow_c16_i8.c \
412 generated/pow_i4_i16.c \
413 generated/pow_i8_i16.c \
414 generated/pow_i16_i16.c \
415 generated/pow_r4_i16.c \
416 generated/pow_r8_i16.c \
417 generated/pow_r10_i16.c \
418 generated/pow_r16_i16.c \
419 generated/pow_c4_i16.c \
420 generated/pow_c8_i16.c \
421 generated/pow_c10_i16.c \
422 generated/pow_c16_i16.c
423
424 m4_files= m4/iparm.m4 m4/ifunction.m4 m4/iforeach.m4 m4/all.m4 \
425     m4/any.m4 m4/count.m4 m4/maxloc0.m4 m4/maxloc1.m4 m4/maxval.m4 \
426     m4/minloc0.m4 m4/minloc1.m4 m4/minval.m4 m4/product.m4 m4/sum.m4 \
427     m4/dotprod.m4 m4/dotprodl.m4 m4/dotprodc.m4 m4/matmul.m4 m4/matmull.m4 \
428     m4/ctrig.m4 m4/cexp.m4 m4/chyp.m4 m4/mtype.m4 \
429     m4/specific.m4 m4/specific2.m4 m4/head.m4 m4/shape.m4 m4/reshape.m4 \
430     m4/transpose.m4 m4/eoshift1.m4 m4/eoshift3.m4 m4/exponent.m4 \
431     m4/fraction.m4 m4/nearest.m4 m4/set_exponent.m4 m4/pow.m4
432
433 gfor_built_src= $(i_all_c) $(i_any_c) $(i_count_c) $(i_maxloc0_c) \
434     $(i_maxloc1_c) $(i_maxval_c) $(i_minloc0_c) $(i_minloc1_c) $(i_minval_c) \
435     $(i_product_c) $(i_sum_c) $(i_dotprod_c) $(i_dotprodl_c) $(i_dotprodc_c) \
436     $(i_matmull_c) $(i_transpose_c) $(i_shape_c) $(i_eoshift1_c) \
437     $(i_eoshift3_c) $(i_cshift1_c) $(i_reshape_c) $(in_pack_c) $(in_unpack_c) \
438     $(i_exponent_c) $(i_fraction_c) $(i_nearest_c) $(i_set_exponent_c) \
439     $(i_pow_c) \
440     selected_int_kind.inc selected_real_kind.inc kinds.h \
441     kinds.inc c99_protos.inc fpu-target.h
442
443 # Machine generated specifics
444 gfor_built_specific_src= \
445 generated/_abs_c4.F90 \
446 generated/_abs_c8.F90 \
447 generated/_abs_c10.F90 \
448 generated/_abs_c16.F90 \
449 generated/_abs_i4.F90 \
450 generated/_abs_i8.F90 \
451 generated/_abs_i16.F90 \
452 generated/_abs_r4.F90 \
453 generated/_abs_r8.F90 \
454 generated/_abs_r10.F90 \
455 generated/_abs_r16.F90 \
456 generated/_exp_r4.F90 \
457 generated/_exp_r8.F90 \
458 generated/_exp_r10.F90 \
459 generated/_exp_r16.F90 \
460 generated/_exp_c4.F90 \
461 generated/_exp_c8.F90 \
462 generated/_exp_c10.F90 \
463 generated/_exp_c16.F90 \
464 generated/_log_r4.F90 \
465 generated/_log_r8.F90 \
466 generated/_log_r10.F90 \
467 generated/_log_r16.F90 \
468 generated/_log_c4.F90 \
469 generated/_log_c8.F90 \
470 generated/_log_c10.F90 \
471 generated/_log_c16.F90 \
472 generated/_log10_r4.F90 \
473 generated/_log10_r8.F90 \
474 generated/_log10_r10.F90 \
475 generated/_log10_r16.F90 \
476 generated/_sqrt_r4.F90 \
477 generated/_sqrt_r8.F90 \
478 generated/_sqrt_r10.F90 \
479 generated/_sqrt_r16.F90 \
480 generated/_sqrt_c4.F90 \
481 generated/_sqrt_c8.F90 \
482 generated/_sqrt_c10.F90 \
483 generated/_sqrt_c16.F90 \
484 generated/_asin_r4.F90 \
485 generated/_asin_r8.F90 \
486 generated/_asin_r10.F90 \
487 generated/_asin_r16.F90 \
488 generated/_acos_r4.F90 \
489 generated/_acos_r8.F90 \
490 generated/_acos_r10.F90 \
491 generated/_acos_r16.F90 \
492 generated/_atan_r4.F90 \
493 generated/_atan_r8.F90 \
494 generated/_atan_r10.F90 \
495 generated/_atan_r16.F90 \
496 generated/_sin_r4.F90 \
497 generated/_sin_r8.F90 \
498 generated/_sin_r10.F90 \
499 generated/_sin_r16.F90 \
500 generated/_sin_c4.F90 \
501 generated/_sin_c8.F90 \
502 generated/_sin_c10.F90 \
503 generated/_sin_c16.F90 \
504 generated/_cos_r4.F90 \
505 generated/_cos_r8.F90 \
506 generated/_cos_r10.F90 \
507 generated/_cos_r16.F90 \
508 generated/_cos_c4.F90 \
509 generated/_cos_c8.F90 \
510 generated/_cos_c10.F90 \
511 generated/_cos_c16.F90 \
512 generated/_tan_r4.F90 \
513 generated/_tan_r8.F90 \
514 generated/_tan_r10.F90 \
515 generated/_tan_r16.F90 \
516 generated/_sinh_r4.F90 \
517 generated/_sinh_r8.F90 \
518 generated/_sinh_r10.F90 \
519 generated/_sinh_r16.F90 \
520 generated/_cosh_r4.F90 \
521 generated/_cosh_r8.F90 \
522 generated/_cosh_r10.F90 \
523 generated/_cosh_r16.F90 \
524 generated/_tanh_r4.F90 \
525 generated/_tanh_r8.F90 \
526 generated/_tanh_r10.F90 \
527 generated/_tanh_r16.F90 \
528 generated/_conjg_c4.F90 \
529 generated/_conjg_c8.F90 \
530 generated/_conjg_c10.F90 \
531 generated/_conjg_c16.F90 \
532 generated/_aint_r4.F90 \
533 generated/_aint_r8.F90 \
534 generated/_aint_r10.F90 \
535 generated/_aint_r16.F90 \
536 generated/_anint_r4.F90 \
537 generated/_anint_r8.F90 \
538 generated/_anint_r10.F90 \
539 generated/_anint_r16.F90
540
541 gfor_built_specific2_src= \
542 generated/_sign_i4.F90 \
543 generated/_sign_i8.F90 \
544 generated/_sign_i16.F90 \
545 generated/_sign_r4.F90 \
546 generated/_sign_r8.F90 \
547 generated/_sign_r10.F90 \
548 generated/_sign_r16.F90 \
549 generated/_dim_i4.F90 \
550 generated/_dim_i8.F90 \
551 generated/_dim_i16.F90 \
552 generated/_dim_r4.F90 \
553 generated/_dim_r8.F90 \
554 generated/_dim_r10.F90 \
555 generated/_dim_r16.F90 \
556 generated/_atan2_r4.F90 \
557 generated/_atan2_r8.F90 \
558 generated/_atan2_r10.F90 \
559 generated/_atan2_r16.F90 \
560 generated/_mod_i4.F90 \
561 generated/_mod_i8.F90 \
562 generated/_mod_i16.F90 \
563 generated/_mod_r4.F90 \
564 generated/_mod_r8.F90
565 # There are commented out due to a bug in the way the front-end
566 # handles MOD
567 #generated/_mod_r10.F90
568 #generated/_mod_r16.F90
569
570 gfor_specific_src= \
571 $(gfor_built_specific_src) \
572 $(gfor_built_specific2_src) \
573 intrinsics/dprod_r8.f90 \
574 intrinsics/f2c_specifics.F90
575
576 EXTRA_LTLIBRARIES = libmatmul.la
577 libmatmul_la_SOURCES = $(i_matmul_c)
578 libmatmul_la_CFLAGS = -ftree-vectorize $(AM_CFLAGS)
579
580 BUILT_SOURCES=$(gfor_built_src) $(gfor_built_specific_src) \
581     $(gfor_built_specific2_src) $(libmatmul_la_SOURCES)
582 libgfortran_la_SOURCES = $(gfor_src) $(gfor_built_src) $(gfor_io_src) \
583     $(gfor_helper_src) $(gfor_io_headers) $(gfor_specific_src)
584
585 libgfortran_la_LIBADD =  libmatmul.la
586
587 I_M4_DEPS=m4/iparm.m4
588 I_M4_DEPS0=$(I_M4_DEPS) m4/iforeach.m4
589 I_M4_DEPS1=$(I_M4_DEPS) m4/ifunction.m4
590
591 kinds.h: $(srcdir)/mk-kinds-h.sh
592         $(SHELL) $(srcdir)/mk-kinds-h.sh '$(FCCOMPILE)' > $@ || rm $@
593
594 kinds.inc: kinds.h
595         grep '^#' < kinds.h > $@
596
597 c99_protos.inc: $(srcdir)/c99_protos.h
598         grep '^#' < $(srcdir)/c99_protos.h > $@
599
600 selected_int_kind.inc: $(srcdir)/mk-sik-inc.sh
601         $(SHELL) $(srcdir)/mk-sik-inc.sh '$(FCCOMPILE)' > $@ || rm $@
602
603 selected_real_kind.inc: $(srcdir)/mk-srk-inc.sh
604         $(SHELL) $(srcdir)/mk-srk-inc.sh '$(FCCOMPILE)' > $@ || rm $@
605
606 fpu-target.h: $(srcdir)/$(FPU_HOST_HEADER)
607         cp $(srcdir)/$(FPU_HOST_HEADER) $@
608
609 ## A 'normal' build shouldn't need to regenerate these
610 ## so we only include them in maintainer mode
611
612 if MAINTAINER_MODE
613 $(i_all_c): m4/all.m4 $(I_M4_DEPS1)
614         m4 -Dfile=$@ -I$(srcdir)/m4 all.m4 > $(srcdir)/$@
615
616 $(i_any_c): m4/any.m4 $(I_M4_DEPS1)
617         m4 -Dfile=$@ -I$(srcdir)/m4 any.m4> $(srcdir)/$@
618
619 $(i_count_c): m4/count.m4 $(I_M4_DEPS1)
620         m4 -Dfile=$@ -I$(srcdir)/m4 count.m4> $(srcdir)/$@
621
622 $(i_maxloc0_c): m4/maxloc0.m4 $(I_M4_DEPS0)
623         m4 -Dfile=$@ -I$(srcdir)/m4 maxloc0.m4 > $(srcdir)/$@
624
625 $(i_maxloc1_c): m4/maxloc1.m4 $(I_M4_DEPS1)
626         m4 -Dfile=$@ -I$(srcdir)/m4 maxloc1.m4 > $(srcdir)/$@
627
628 $(i_maxval_c): m4/maxval.m4 $(I_M4_DEPS1)
629         m4 -Dfile=$@ -I$(srcdir)/m4 maxval.m4 > $(srcdir)/$@
630
631 $(i_minloc0_c): m4/minloc0.m4 $(I_M4_DEPS0)
632         m4 -Dfile=$@ -I$(srcdir)/m4 minloc0.m4 > $(srcdir)/$@
633
634 $(i_minloc1_c): m4/minloc1.m4 $(I_M4_DEPS1)
635         m4 -Dfile=$@ -I$(srcdir)/m4 minloc1.m4 > $(srcdir)/$@
636
637 $(i_minval_c): m4/minval.m4 $(I_M4_DEPS1)
638         m4 -Dfile=$@ -I$(srcdir)/m4 minval.m4 > $(srcdir)/$@
639
640 $(i_product_c): m4/product.m4 $(I_M4_DEPS1)
641         m4 -Dfile=$@ -I$(srcdir)/m4 product.m4 > $(srcdir)/$@
642
643 $(i_sum_c): m4/sum.m4 $(I_M4_DEPS1)
644         m4 -Dfile=$@ -I$(srcdir)/m4 sum.m4 > $(srcdir)/$@
645
646 $(i_dotprod_c): m4/dotprod.m4 $(I_M4_DEPS)
647         m4 -Dfile=$@ -I$(srcdir)/m4 dotprod.m4 > $(srcdir)/$@
648
649 $(i_dotprodl_c): m4/dotprodl.m4 $(I_M4_DEPS)
650         m4 -Dfile=$@ -I$(srcdir)/m4 dotprodl.m4 > $(srcdir)/$@
651
652 $(i_dotprodc_c): m4/dotprodc.m4 $(I_M4_DEPS)
653         m4 -Dfile=$@ -I$(srcdir)/m4 dotprodc.m4 > $(srcdir)/$@
654
655 $(i_matmul_c): m4/matmul.m4 $(I_M4_DEPS)
656         m4 -Dfile=$@ -I$(srcdir)/m4 matmul.m4 > $(srcdir)/$@
657
658 $(i_matmull_c): m4/matmull.m4 $(I_M4_DEPS)
659         m4 -Dfile=$@ -I$(srcdir)/m4 matmull.m4 > $(srcdir)/$@
660
661 $(i_transpose_c): m4/transpose.m4 $(I_M4_DEPS)
662         m4 -Dfile=$@ -I$(srcdir)/m4 transpose.m4 > $(srcdir)/$@
663
664 $(i_shape_c): m4/shape.m4 $(I_M4_DEPS)
665         m4 -Dfile=$@ -I$(srcdir)/m4 shape.m4 > $(srcdir)/$@
666
667 $(i_reshape_c): m4/reshape.m4 $(I_M4_DEPS)
668         m4 -Dfile=$@ -I$(srcdir)/m4 reshape.m4 > $(srcdir)/$@
669
670 $(i_eoshift1_c): m4/eoshift1.m4 $(I_M4_DEPS)
671         m4 -Dfile=$@ -I$(srcdir)/m4 eoshift1.m4 > $(srcdir)/$@
672
673 $(i_eoshift3_c): m4/eoshift3.m4 $(I_M4_DEPS)
674         m4 -Dfile=$@ -I$(srcdir)/m4 eoshift3.m4 > $(srcdir)/$@
675
676 $(i_cshift1_c): m4/cshift1.m4 $(I_M4_DEPS)
677         m4 -Dfile=$@ -I$(srcdir)/m4 cshift1.m4 > $(srcdir)/$@
678
679 $(in_pack_c): m4/in_pack.m4 $(I_M4_DEPS)
680         m4 -Dfile=$@ -I$(srcdir)/m4 in_pack.m4 > $(srcdir)/$@
681
682 $(in_unpack_c): m4/in_unpack.m4 $(I_M4_DEPS)
683         m4 -Dfile=$@ -I$(srcdir)/m4 in_unpack.m4 > $(srcdir)/$@
684
685 $(i_exponent_c): m4/exponent.m4 m4/mtype.m4
686         m4 -Dfile=$@ -I$(srcdir)/m4 exponent.m4 > $(srcdir)/$@
687
688 $(i_fraction_c): m4/fraction.m4 m4/mtype.m4
689         m4 -Dfile=$@ -I$(srcdir)/m4 fraction.m4 > $(srcdir)/$@
690
691 $(i_nearest_c): m4/nearest.m4 m4/mtype.m4
692         m4 -Dfile=$@ -I$(srcdir)/m4 nearest.m4 > $(srcdir)/$@
693
694 $(i_set_exponent_c): m4/set_exponent.m4 m4/mtype.m4
695         m4 -Dfile=$@ -I$(srcdir)/m4 set_exponent.m4 > $(srcdir)/$@
696
697 $(i_pow_c): m4/pow.m4 $(I_M4_DEPS)
698         m4 -Dfile=$@ -I$(srcdir)/m4 pow.m4 > $(srcdir)/$@
699
700 $(gfor_built_specific_src): m4/specific.m4 m4/head.m4
701         m4 -Dfile=$@ -I$(srcdir)/m4 specific.m4 > $(srcdir)/$@
702
703 $(gfor_built_specific2_src): m4/specific2.m4 m4/head.m4
704         m4 -Dfile=$@ -I$(srcdir)/m4 specific2.m4 > $(srcdir)/$@
705 ## end of maintainer mode only rules
706 endif
707
708 EXTRA_DIST = $(m4_files)