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