OSDN Git Service

ed65af61c94dd32d4f753c50372a8fbbc0f34a0a
[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
10 libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` -lm $(extra_ldflags_libgfortran)
11
12 myexeclib_LTLIBRARIES = libgfortranbegin.la
13 myexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)
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 -I$(srcdir)/$(MULTISRCTOP)../gcc \
20               -I$(srcdir)/$(MULTISRCTOP)../gcc/config \
21               -I$(MULTIBUILDTOP)../../$(host_subdir)/gcc -D_GNU_SOURCE
22
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
37
38 gfor_io_headers= \
39 io/io.h
40
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
103
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 libgfortran.h
116
117 i_all_c= \
118 generated/all_l4.c \
119 generated/all_l8.c \
120 generated/all_l16.c
121
122 i_any_c= \
123 generated/any_l4.c \
124 generated/any_l8.c \
125 generated/any_l16.c
126
127 i_count_c= \
128 generated/count_4_l4.c \
129 generated/count_8_l4.c \
130 generated/count_16_l4.c \
131 generated/count_4_l8.c \
132 generated/count_8_l8.c \
133 generated/count_16_l8.c \
134 generated/count_4_l16.c \
135 generated/count_8_l16.c \
136 generated/count_16_l16.c
137
138 i_maxloc0_c= \
139 generated/maxloc0_4_i4.c \
140 generated/maxloc0_8_i4.c \
141 generated/maxloc0_16_i4.c \
142 generated/maxloc0_4_i8.c \
143 generated/maxloc0_8_i8.c \
144 generated/maxloc0_16_i8.c \
145 generated/maxloc0_4_i16.c \
146 generated/maxloc0_8_i16.c \
147 generated/maxloc0_16_i16.c \
148 generated/maxloc0_4_r4.c \
149 generated/maxloc0_8_r4.c \
150 generated/maxloc0_16_r4.c \
151 generated/maxloc0_4_r8.c \
152 generated/maxloc0_8_r8.c \
153 generated/maxloc0_16_r8.c \
154 generated/maxloc0_4_r10.c \
155 generated/maxloc0_8_r10.c \
156 generated/maxloc0_16_r10.c \
157 generated/maxloc0_4_r16.c \
158 generated/maxloc0_8_r16.c \
159 generated/maxloc0_16_r16.c
160
161 i_maxloc1_c= \
162 generated/maxloc1_4_i4.c \
163 generated/maxloc1_8_i4.c \
164 generated/maxloc1_16_i4.c \
165 generated/maxloc1_4_i8.c \
166 generated/maxloc1_8_i8.c \
167 generated/maxloc1_16_i8.c \
168 generated/maxloc1_4_i16.c \
169 generated/maxloc1_8_i16.c \
170 generated/maxloc1_16_i16.c \
171 generated/maxloc1_4_r4.c \
172 generated/maxloc1_8_r4.c \
173 generated/maxloc1_16_r4.c \
174 generated/maxloc1_4_r8.c \
175 generated/maxloc1_8_r8.c \
176 generated/maxloc1_16_r8.c \
177 generated/maxloc1_4_r10.c \
178 generated/maxloc1_8_r10.c \
179 generated/maxloc1_16_r10.c \
180 generated/maxloc1_4_r16.c \
181 generated/maxloc1_8_r16.c \
182 generated/maxloc1_16_r16.c
183
184 i_maxval_c= \
185 generated/maxval_i4.c \
186 generated/maxval_i8.c \
187 generated/maxval_i16.c \
188 generated/maxval_r4.c \
189 generated/maxval_r8.c \
190 generated/maxval_r10.c \
191 generated/maxval_r16.c
192
193 i_minloc0_c= \
194 generated/minloc0_4_i4.c \
195 generated/minloc0_8_i4.c \
196 generated/minloc0_16_i4.c \
197 generated/minloc0_4_i8.c \
198 generated/minloc0_8_i8.c \
199 generated/minloc0_16_i8.c \
200 generated/minloc0_4_i16.c \
201 generated/minloc0_8_i16.c \
202 generated/minloc0_16_i16.c \
203 generated/minloc0_4_r4.c \
204 generated/minloc0_8_r4.c \
205 generated/minloc0_16_r4.c \
206 generated/minloc0_4_r8.c \
207 generated/minloc0_8_r8.c \
208 generated/minloc0_16_r8.c \
209 generated/minloc0_4_r10.c \
210 generated/minloc0_8_r10.c \
211 generated/minloc0_16_r10.c \
212 generated/minloc0_4_r16.c \
213 generated/minloc0_8_r16.c \
214 generated/minloc0_16_r16.c
215
216 i_minloc1_c= \
217 generated/minloc1_4_i4.c \
218 generated/minloc1_8_i4.c \
219 generated/minloc1_16_i4.c \
220 generated/minloc1_4_i8.c \
221 generated/minloc1_8_i8.c \
222 generated/minloc1_16_i8.c \
223 generated/minloc1_4_i16.c \
224 generated/minloc1_8_i16.c \
225 generated/minloc1_16_i16.c \
226 generated/minloc1_4_r4.c \
227 generated/minloc1_8_r4.c \
228 generated/minloc1_16_r4.c \
229 generated/minloc1_4_r8.c \
230 generated/minloc1_8_r8.c \
231 generated/minloc1_16_r8.c \
232 generated/minloc1_4_r10.c \
233 generated/minloc1_8_r10.c \
234 generated/minloc1_16_r10.c \
235 generated/minloc1_4_r16.c \
236 generated/minloc1_8_r16.c \
237 generated/minloc1_16_r16.c
238
239 i_minval_c= \
240 generated/minval_i4.c \
241 generated/minval_i8.c \
242 generated/minval_i16.c \
243 generated/minval_r4.c \
244 generated/minval_r8.c \
245 generated/minval_r10.c \
246 generated/minval_r16.c
247
248 i_sum_c= \
249 generated/sum_i4.c \
250 generated/sum_i8.c \
251 generated/sum_i16.c \
252 generated/sum_r4.c \
253 generated/sum_r8.c \
254 generated/sum_r10.c \
255 generated/sum_r16.c \
256 generated/sum_c4.c \
257 generated/sum_c8.c \
258 generated/sum_c10.c \
259 generated/sum_c16.c
260
261 i_product_c= \
262 generated/product_i4.c \
263 generated/product_i8.c \
264 generated/product_i16.c \
265 generated/product_r4.c \
266 generated/product_r8.c \
267 generated/product_r10.c \
268 generated/product_r16.c \
269 generated/product_c4.c \
270 generated/product_c8.c \
271 generated/product_c10.c \
272 generated/product_c16.c
273
274 i_matmul_c= \
275 generated/matmul_i4.c \
276 generated/matmul_i8.c \
277 generated/matmul_i16.c \
278 generated/matmul_r4.c \
279 generated/matmul_r8.c \
280 generated/matmul_r10.c \
281 generated/matmul_r16.c \
282 generated/matmul_c4.c \
283 generated/matmul_c8.c \
284 generated/matmul_c10.c \
285 generated/matmul_c16.c
286
287 i_matmull_c= \
288 generated/matmul_l4.c \
289 generated/matmul_l8.c \
290 generated/matmul_l16.c
291
292 i_transpose_c= \
293 generated/transpose_i4.c \
294 generated/transpose_i8.c \
295 generated/transpose_i16.c \
296 generated/transpose_r4.c \
297 generated/transpose_r8.c \
298 generated/transpose_r10.c \
299 generated/transpose_r16.c \
300 generated/transpose_c4.c \
301 generated/transpose_c8.c \
302 generated/transpose_c10.c \
303 generated/transpose_c16.c
304
305 i_shape_c= \
306 generated/shape_i4.c \
307 generated/shape_i8.c \
308 generated/shape_i16.c
309
310 i_reshape_c= \
311 generated/reshape_i4.c \
312 generated/reshape_i8.c \
313 generated/reshape_i16.c \
314 generated/reshape_r4.c \
315 generated/reshape_r8.c \
316 generated/reshape_r10.c \
317 generated/reshape_r16.c \
318 generated/reshape_c4.c \
319 generated/reshape_c8.c \
320 generated/reshape_c10.c \
321 generated/reshape_c16.c
322
323 i_eoshift1_c= \
324 generated/eoshift1_4.c \
325 generated/eoshift1_8.c \
326 generated/eoshift1_16.c
327
328 i_eoshift3_c= \
329 generated/eoshift3_4.c \
330 generated/eoshift3_8.c \
331 generated/eoshift3_16.c
332
333 i_cshift1_c= \
334 generated/cshift1_4.c \
335 generated/cshift1_8.c \
336 generated/cshift1_16.c
337
338 in_pack_c = \
339 generated/in_pack_i4.c \
340 generated/in_pack_i8.c \
341 generated/in_pack_i16.c \
342 generated/in_pack_c4.c \
343 generated/in_pack_c8.c \
344 generated/in_pack_c10.c \
345 generated/in_pack_c16.c
346
347 in_unpack_c = \
348 generated/in_unpack_i4.c \
349 generated/in_unpack_i8.c \
350 generated/in_unpack_i16.c \
351 generated/in_unpack_c4.c \
352 generated/in_unpack_c8.c \
353 generated/in_unpack_c10.c \
354 generated/in_unpack_c16.c
355
356 i_exponent_c = \
357 generated/exponent_r4.c \
358 generated/exponent_r8.c \
359 generated/exponent_r10.c \
360 generated/exponent_r16.c
361
362 i_fraction_c = \
363 generated/fraction_r4.c \
364 generated/fraction_r8.c \
365 generated/fraction_r10.c \
366 generated/fraction_r16.c
367
368 i_nearest_c = \
369 generated/nearest_r4.c \
370 generated/nearest_r8.c \
371 generated/nearest_r10.c \
372 generated/nearest_r16.c
373
374 i_set_exponent_c = \
375 generated/set_exponent_r4.c \
376 generated/set_exponent_r8.c \
377 generated/set_exponent_r10.c \
378 generated/set_exponent_r16.c
379
380 i_pow_c = \
381 generated/pow_i4_i4.c \
382 generated/pow_i8_i4.c \
383 generated/pow_i16_i4.c \
384 generated/pow_r4_i4.c \
385 generated/pow_r8_i4.c \
386 generated/pow_r10_i4.c \
387 generated/pow_r16_i4.c \
388 generated/pow_c4_i4.c \
389 generated/pow_c8_i4.c \
390 generated/pow_c10_i4.c \
391 generated/pow_c16_i4.c \
392 generated/pow_i4_i8.c \
393 generated/pow_i8_i8.c \
394 generated/pow_i16_i8.c \
395 generated/pow_r4_i8.c \
396 generated/pow_r8_i8.c \
397 generated/pow_r10_i8.c \
398 generated/pow_r16_i8.c \
399 generated/pow_c4_i8.c \
400 generated/pow_c8_i8.c \
401 generated/pow_c10_i8.c \
402 generated/pow_c16_i8.c \
403 generated/pow_i4_i16.c \
404 generated/pow_i8_i16.c \
405 generated/pow_i16_i16.c \
406 generated/pow_r4_i16.c \
407 generated/pow_r8_i16.c \
408 generated/pow_r10_i16.c \
409 generated/pow_r16_i16.c \
410 generated/pow_c4_i16.c \
411 generated/pow_c8_i16.c \
412 generated/pow_c10_i16.c \
413 generated/pow_c16_i16.c
414
415 m4_files= m4/iparm.m4 m4/ifunction.m4 m4/iforeach.m4 m4/all.m4 \
416     m4/any.m4 m4/count.m4 m4/maxloc0.m4 m4/maxloc1.m4 m4/maxval.m4 \
417     m4/minloc0.m4 m4/minloc1.m4 m4/minval.m4 m4/product.m4 m4/sum.m4 \
418     m4/matmul.m4 m4/matmull.m4 \
419     m4/ctrig.m4 m4/cexp.m4 m4/chyp.m4 m4/mtype.m4 \
420     m4/specific.m4 m4/specific2.m4 m4/head.m4 m4/shape.m4 m4/reshape.m4 \
421     m4/transpose.m4 m4/eoshift1.m4 m4/eoshift3.m4 m4/exponent.m4 \
422     m4/fraction.m4 m4/nearest.m4 m4/set_exponent.m4 m4/pow.m4
423
424 gfor_built_src= $(i_all_c) $(i_any_c) $(i_count_c) $(i_maxloc0_c) \
425     $(i_maxloc1_c) $(i_maxval_c) $(i_minloc0_c) $(i_minloc1_c) $(i_minval_c) \
426     $(i_product_c) $(i_sum_c) \
427     $(i_matmul_c) $(i_matmull_c) $(i_transpose_c) $(i_shape_c) $(i_eoshift1_c) \
428     $(i_eoshift3_c) $(i_cshift1_c) $(i_reshape_c) $(in_pack_c) $(in_unpack_c) \
429     $(i_exponent_c) $(i_fraction_c) $(i_nearest_c) $(i_set_exponent_c) \
430     $(i_pow_c) \
431     selected_int_kind.inc selected_real_kind.inc kinds.h \
432     kinds.inc c99_protos.inc fpu-target.h
433
434 # Machine generated specifics
435 gfor_built_specific_src= \
436 generated/_abs_c4.F90 \
437 generated/_abs_c8.F90 \
438 generated/_abs_c10.F90 \
439 generated/_abs_c16.F90 \
440 generated/_abs_i4.F90 \
441 generated/_abs_i8.F90 \
442 generated/_abs_i16.F90 \
443 generated/_abs_r4.F90 \
444 generated/_abs_r8.F90 \
445 generated/_abs_r10.F90 \
446 generated/_abs_r16.F90 \
447 generated/_exp_r4.F90 \
448 generated/_exp_r8.F90 \
449 generated/_exp_r10.F90 \
450 generated/_exp_r16.F90 \
451 generated/_exp_c4.F90 \
452 generated/_exp_c8.F90 \
453 generated/_exp_c10.F90 \
454 generated/_exp_c16.F90 \
455 generated/_log_r4.F90 \
456 generated/_log_r8.F90 \
457 generated/_log_r10.F90 \
458 generated/_log_r16.F90 \
459 generated/_log_c4.F90 \
460 generated/_log_c8.F90 \
461 generated/_log_c10.F90 \
462 generated/_log_c16.F90 \
463 generated/_log10_r4.F90 \
464 generated/_log10_r8.F90 \
465 generated/_log10_r10.F90 \
466 generated/_log10_r16.F90 \
467 generated/_sqrt_r4.F90 \
468 generated/_sqrt_r8.F90 \
469 generated/_sqrt_r10.F90 \
470 generated/_sqrt_r16.F90 \
471 generated/_sqrt_c4.F90 \
472 generated/_sqrt_c8.F90 \
473 generated/_sqrt_c10.F90 \
474 generated/_sqrt_c16.F90 \
475 generated/_asin_r4.F90 \
476 generated/_asin_r8.F90 \
477 generated/_asin_r10.F90 \
478 generated/_asin_r16.F90 \
479 generated/_acos_r4.F90 \
480 generated/_acos_r8.F90 \
481 generated/_acos_r10.F90 \
482 generated/_acos_r16.F90 \
483 generated/_atan_r4.F90 \
484 generated/_atan_r8.F90 \
485 generated/_atan_r10.F90 \
486 generated/_atan_r16.F90 \
487 generated/_sin_r4.F90 \
488 generated/_sin_r8.F90 \
489 generated/_sin_r10.F90 \
490 generated/_sin_r16.F90 \
491 generated/_sin_c4.F90 \
492 generated/_sin_c8.F90 \
493 generated/_sin_c10.F90 \
494 generated/_sin_c16.F90 \
495 generated/_cos_r4.F90 \
496 generated/_cos_r8.F90 \
497 generated/_cos_r10.F90 \
498 generated/_cos_r16.F90 \
499 generated/_cos_c4.F90 \
500 generated/_cos_c8.F90 \
501 generated/_cos_c10.F90 \
502 generated/_cos_c16.F90 \
503 generated/_tan_r4.F90 \
504 generated/_tan_r8.F90 \
505 generated/_tan_r10.F90 \
506 generated/_tan_r16.F90 \
507 generated/_sinh_r4.F90 \
508 generated/_sinh_r8.F90 \
509 generated/_sinh_r10.F90 \
510 generated/_sinh_r16.F90 \
511 generated/_cosh_r4.F90 \
512 generated/_cosh_r8.F90 \
513 generated/_cosh_r10.F90 \
514 generated/_cosh_r16.F90 \
515 generated/_tanh_r4.F90 \
516 generated/_tanh_r8.F90 \
517 generated/_tanh_r10.F90 \
518 generated/_tanh_r16.F90 \
519 generated/_conjg_c4.F90 \
520 generated/_conjg_c8.F90 \
521 generated/_conjg_c10.F90 \
522 generated/_conjg_c16.F90 \
523 generated/_aint_r4.F90 \
524 generated/_aint_r8.F90 \
525 generated/_aint_r10.F90 \
526 generated/_aint_r16.F90 \
527 generated/_anint_r4.F90 \
528 generated/_anint_r8.F90 \
529 generated/_anint_r10.F90 \
530 generated/_anint_r16.F90
531
532 gfor_built_specific2_src= \
533 generated/_sign_i4.F90 \
534 generated/_sign_i8.F90 \
535 generated/_sign_i16.F90 \
536 generated/_sign_r4.F90 \
537 generated/_sign_r8.F90 \
538 generated/_sign_r10.F90 \
539 generated/_sign_r16.F90 \
540 generated/_dim_i4.F90 \
541 generated/_dim_i8.F90 \
542 generated/_dim_i16.F90 \
543 generated/_dim_r4.F90 \
544 generated/_dim_r8.F90 \
545 generated/_dim_r10.F90 \
546 generated/_dim_r16.F90 \
547 generated/_atan2_r4.F90 \
548 generated/_atan2_r8.F90 \
549 generated/_atan2_r10.F90 \
550 generated/_atan2_r16.F90 \
551 generated/_mod_i4.F90 \
552 generated/_mod_i8.F90 \
553 generated/_mod_i16.F90 \
554 generated/_mod_r4.F90 \
555 generated/_mod_r8.F90 \
556 generated/_mod_r10.F90 \
557 generated/_mod_r16.F90
558
559 gfor_specific_src= \
560 $(gfor_built_specific_src) \
561 $(gfor_built_specific2_src) \
562 intrinsics/dprod_r8.f90 \
563 intrinsics/f2c_specifics.F90
564
565 # No install-html support yet.
566 .PHONY: install-html
567 install-html:
568
569 # Turn on vectorization and loop unrolling for matmul.
570 $(patsubst %.c,%.lo,$(notdir $(i_matmul_c))): AM_CFLAGS += -ftree-vectorize -funroll-loops
571 # Logical matmul doesn't vectorize.
572 $(patsubst %.c,%.lo,$(notdir $(i_matmull_c))): AM_CFLAGS += -funroll-loops
573
574 BUILT_SOURCES=$(gfor_built_src) $(gfor_built_specific_src) \
575     $(gfor_built_specific2_src)
576 libgfortran_la_SOURCES = $(gfor_src) $(gfor_built_src) $(gfor_io_src) \
577     $(gfor_helper_src) $(gfor_io_headers) $(gfor_specific_src)
578
579 I_M4_DEPS=m4/iparm.m4
580 I_M4_DEPS0=$(I_M4_DEPS) m4/iforeach.m4
581 I_M4_DEPS1=$(I_M4_DEPS) m4/ifunction.m4
582
583 kinds.h: $(srcdir)/mk-kinds-h.sh
584         $(SHELL) $(srcdir)/mk-kinds-h.sh '$(FCCOMPILE)' > $@ || rm $@
585
586 kinds.inc: kinds.h
587         grep '^#' < kinds.h > $@
588
589 c99_protos.inc: $(srcdir)/c99_protos.h
590         grep '^#' < $(srcdir)/c99_protos.h > $@
591
592 selected_int_kind.inc: $(srcdir)/mk-sik-inc.sh
593         $(SHELL) $(srcdir)/mk-sik-inc.sh '$(FCCOMPILE)' > $@ || rm $@
594
595 selected_real_kind.inc: $(srcdir)/mk-srk-inc.sh
596         $(SHELL) $(srcdir)/mk-srk-inc.sh '$(FCCOMPILE)' > $@ || rm $@
597
598 fpu-target.h: $(srcdir)/$(FPU_HOST_HEADER)
599         cp $(srcdir)/$(FPU_HOST_HEADER) $@
600
601 ## A 'normal' build shouldn't need to regenerate these
602 ## so we only include them in maintainer mode
603
604 if MAINTAINER_MODE
605 $(i_all_c): m4/all.m4 $(I_M4_DEPS1)
606         m4 -Dfile=$@ -I$(srcdir)/m4 all.m4 > $(srcdir)/$@
607
608 $(i_any_c): m4/any.m4 $(I_M4_DEPS1)
609         m4 -Dfile=$@ -I$(srcdir)/m4 any.m4> $(srcdir)/$@
610
611 $(i_count_c): m4/count.m4 $(I_M4_DEPS1)
612         m4 -Dfile=$@ -I$(srcdir)/m4 count.m4> $(srcdir)/$@
613
614 $(i_maxloc0_c): m4/maxloc0.m4 $(I_M4_DEPS0)
615         m4 -Dfile=$@ -I$(srcdir)/m4 maxloc0.m4 > $(srcdir)/$@
616
617 $(i_maxloc1_c): m4/maxloc1.m4 $(I_M4_DEPS1)
618         m4 -Dfile=$@ -I$(srcdir)/m4 maxloc1.m4 > $(srcdir)/$@
619
620 $(i_maxval_c): m4/maxval.m4 $(I_M4_DEPS1)
621         m4 -Dfile=$@ -I$(srcdir)/m4 maxval.m4 > $(srcdir)/$@
622
623 $(i_minloc0_c): m4/minloc0.m4 $(I_M4_DEPS0)
624         m4 -Dfile=$@ -I$(srcdir)/m4 minloc0.m4 > $(srcdir)/$@
625
626 $(i_minloc1_c): m4/minloc1.m4 $(I_M4_DEPS1)
627         m4 -Dfile=$@ -I$(srcdir)/m4 minloc1.m4 > $(srcdir)/$@
628
629 $(i_minval_c): m4/minval.m4 $(I_M4_DEPS1)
630         m4 -Dfile=$@ -I$(srcdir)/m4 minval.m4 > $(srcdir)/$@
631
632 $(i_product_c): m4/product.m4 $(I_M4_DEPS1)
633         m4 -Dfile=$@ -I$(srcdir)/m4 product.m4 > $(srcdir)/$@
634
635 $(i_sum_c): m4/sum.m4 $(I_M4_DEPS1)
636         m4 -Dfile=$@ -I$(srcdir)/m4 sum.m4 > $(srcdir)/$@
637
638 $(i_matmul_c): m4/matmul.m4 $(I_M4_DEPS)
639         m4 -Dfile=$@ -I$(srcdir)/m4 matmul.m4 > $(srcdir)/$@
640
641 $(i_matmull_c): m4/matmull.m4 $(I_M4_DEPS)
642         m4 -Dfile=$@ -I$(srcdir)/m4 matmull.m4 > $(srcdir)/$@
643
644 $(i_transpose_c): m4/transpose.m4 $(I_M4_DEPS)
645         m4 -Dfile=$@ -I$(srcdir)/m4 transpose.m4 > $(srcdir)/$@
646
647 $(i_shape_c): m4/shape.m4 $(I_M4_DEPS)
648         m4 -Dfile=$@ -I$(srcdir)/m4 shape.m4 > $(srcdir)/$@
649
650 $(i_reshape_c): m4/reshape.m4 $(I_M4_DEPS)
651         m4 -Dfile=$@ -I$(srcdir)/m4 reshape.m4 > $(srcdir)/$@
652
653 $(i_eoshift1_c): m4/eoshift1.m4 $(I_M4_DEPS)
654         m4 -Dfile=$@ -I$(srcdir)/m4 eoshift1.m4 > $(srcdir)/$@
655
656 $(i_eoshift3_c): m4/eoshift3.m4 $(I_M4_DEPS)
657         m4 -Dfile=$@ -I$(srcdir)/m4 eoshift3.m4 > $(srcdir)/$@
658
659 $(i_cshift1_c): m4/cshift1.m4 $(I_M4_DEPS)
660         m4 -Dfile=$@ -I$(srcdir)/m4 cshift1.m4 > $(srcdir)/$@
661
662 $(in_pack_c): m4/in_pack.m4 $(I_M4_DEPS)
663         m4 -Dfile=$@ -I$(srcdir)/m4 in_pack.m4 > $(srcdir)/$@
664
665 $(in_unpack_c): m4/in_unpack.m4 $(I_M4_DEPS)
666         m4 -Dfile=$@ -I$(srcdir)/m4 in_unpack.m4 > $(srcdir)/$@
667
668 $(i_exponent_c): m4/exponent.m4 m4/mtype.m4
669         m4 -Dfile=$@ -I$(srcdir)/m4 exponent.m4 > $(srcdir)/$@
670
671 $(i_fraction_c): m4/fraction.m4 m4/mtype.m4
672         m4 -Dfile=$@ -I$(srcdir)/m4 fraction.m4 > $(srcdir)/$@
673
674 $(i_nearest_c): m4/nearest.m4 m4/mtype.m4
675         m4 -Dfile=$@ -I$(srcdir)/m4 nearest.m4 > $(srcdir)/$@
676
677 $(i_set_exponent_c): m4/set_exponent.m4 m4/mtype.m4
678         m4 -Dfile=$@ -I$(srcdir)/m4 set_exponent.m4 > $(srcdir)/$@
679
680 $(i_pow_c): m4/pow.m4 $(I_M4_DEPS)
681         m4 -Dfile=$@ -I$(srcdir)/m4 pow.m4 > $(srcdir)/$@
682
683 $(gfor_built_specific_src): m4/specific.m4 m4/head.m4
684         m4 -Dfile=$@ -I$(srcdir)/m4 specific.m4 > $(srcdir)/$@
685
686 $(gfor_built_specific2_src): m4/specific2.m4 m4/head.m4
687         m4 -Dfile=$@ -I$(srcdir)/m4 specific2.m4 > $(srcdir)/$@
688 ## end of maintainer mode only rules
689 endif
690
691 EXTRA_DIST = $(m4_files)