Daily bump.
[official-gcc.git] / libgfortran / Makefile.am
blobc5982a7d9db3c6d782efa2e9de5bb784628ce25c
1 ## Process this file with automake to produce Makefile.in
4 ACLOCAL_AMFLAGS = -I .. -I ../config
6 ## May be used by toolexeclibdir.
7 gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
9 ## Symbol versioning (copied from libssp).
10 if LIBGFOR_USE_SYMVER
11 if LIBGFOR_USE_SYMVER_GNU
12 version_arg = -Wl,--version-script=$(srcdir)/gfortran.map
13 version_dep = $(srcdir)/gfortran.map
14 endif
15 if LIBGFOR_USE_SYMVER_SUN
16 version_arg = -Wl,-M,gfortran.map-sun
17 version_dep = gfortran.map-sun
18 gfortran.map-sun : $(srcdir)/gfortran.map \
19                 $(top_srcdir)/../contrib/make_sunver.pl \
20                 $(libgfortran_la_OBJECTS) $(libgfortran_la_LIBADD)
21         perl $(top_srcdir)/../contrib/make_sunver.pl \
22           $(srcdir)/gfortran.map \
23           $(libgfortran_la_OBJECTS:%.lo=.libs/%.o) \
24          `echo $(libgfortran_la_LIBADD) | \
25             sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
26          > $@ || (rm -f $@ ; exit 1)
27 endif
28 else
29 version_arg =
30 version_dep =
31 endif
33 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) \
34             $(lt_host_flags)
36 toolexeclib_LTLIBRARIES = libgfortran.la
37 toolexeclib_DATA = libgfortran.spec
38 libgfortran_la_LINK = $(LINK) $(libgfortran_la_LDFLAGS)
39 libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` \
40         $(LTLDFLAGS) $(LIBQUADLIB) ../libbacktrace/libbacktrace.la \
41         $(HWCAP_LDFLAGS) \
42         -lm $(extra_ldflags_libgfortran) \
43         $(version_arg) -Wc,-shared-libgcc
44 libgfortran_la_DEPENDENCIES = $(version_dep) libgfortran.spec $(LIBQUADLIB_DEP)
46 cafexeclib_LTLIBRARIES = libcaf_single.la
47 cafexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)
48 libcaf_single_la_SOURCES = caf/single.c
49 libcaf_single_la_LDFLAGS = -static
50 libcaf_single_la_DEPENDENCIES = caf/libcaf.h
51 libcaf_single_la_LINK = $(LINK) $(libcaf_single_la_LDFLAGS)
53 if IEEE_SUPPORT
54 fincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)/finclude
55 nodist_finclude_HEADERS = ieee_arithmetic.mod ieee_exceptions.mod ieee_features.mod
56 endif
58 ## io.h conflicts with a system header on some platforms, so
59 ## use -iquote
60 AM_CPPFLAGS = -iquote$(srcdir)/io -I$(srcdir)/$(MULTISRCTOP)../gcc \
61               -I$(srcdir)/$(MULTISRCTOP)../gcc/config $(LIBQUADINCLUDE) \
62               -I$(MULTIBUILDTOP)../../$(host_subdir)/gcc \
63               -I$(srcdir)/$(MULTISRCTOP)../libgcc \
64               -I$(MULTIBUILDTOP)../libgcc \
65               -I$(srcdir)/$(MULTISRCTOP)../libbacktrace \
66               -I$(MULTIBUILDTOP)../libbacktrace \
67               -I../libbacktrace
69 # Fortran rules for complex multiplication and division
70 AM_CFLAGS += -fcx-fortran-rules
72 # Use -ffunction-sections -fdata-sections if supported by the compiler
73 AM_CFLAGS += $(SECTION_FLAGS)
75 # Some targets require additional compiler options for IEEE compatibility.
76 AM_CFLAGS += $(IEEE_FLAGS)
77 AM_FCFLAGS += $(IEEE_FLAGS)
79 if LIBGFOR_MINIMAL
80 AM_CFLAGS += -DLIBGFOR_MINIMAL
81 endif
83 gfor_io_src= \
84 io/size_from_kind.c
86 if !LIBGFOR_MINIMAL
88 gfor_io_src+= \
89 io/close.c \
90 io/file_pos.c \
91 io/format.c \
92 io/inquire.c \
93 io/intrinsics.c \
94 io/list_read.c \
95 io/lock.c \
96 io/open.c \
97 io/read.c \
98 io/transfer.c \
99 io/transfer128.c \
100 io/unit.c \
101 io/unix.c \
102 io/write.c \
103 io/fbuf.c
105 endif
107 gfor_io_headers= \
108 io/io.h \
109 io/fbuf.h \
110 io/format.h \
111 io/unix.h
113 gfor_helper_src= \
114 intrinsics/associated.c \
115 intrinsics/abort.c \
116 intrinsics/args.c \
117 intrinsics/cshift0.c \
118 intrinsics/eoshift0.c \
119 intrinsics/eoshift2.c \
120 intrinsics/erfc_scaled.c \
121 intrinsics/extends_type_of.c \
122 intrinsics/fnum.c \
123 intrinsics/ierrno.c \
124 intrinsics/ishftc.c \
125 intrinsics/mvbits.c \
126 intrinsics/move_alloc.c \
127 intrinsics/pack_generic.c \
128 intrinsics/selected_char_kind.c \
129 intrinsics/size.c \
130 intrinsics/spread_generic.c \
131 intrinsics/string_intrinsics.c \
132 intrinsics/rand.c \
133 intrinsics/random.c \
134 intrinsics/reshape_generic.c \
135 intrinsics/reshape_packed.c \
136 intrinsics/selected_int_kind.f90 \
137 intrinsics/selected_real_kind.f90 \
138 intrinsics/unpack_generic.c \
139 runtime/in_pack_generic.c \
140 runtime/in_unpack_generic.c
142 if !LIBGFOR_MINIMAL
144 gfor_helper_src+= \
145 intrinsics/access.c \
146 intrinsics/c99_functions.c \
147 intrinsics/chdir.c \
148 intrinsics/chmod.c \
149 intrinsics/clock.c \
150 intrinsics/cpu_time.c \
151 intrinsics/ctime.c \
152 intrinsics/date_and_time.c \
153 intrinsics/dtime.c \
154 intrinsics/env.c \
155 intrinsics/etime.c \
156 intrinsics/execute_command_line.c \
157 intrinsics/exit.c \
158 intrinsics/gerror.c \
159 intrinsics/getcwd.c \
160 intrinsics/getlog.c \
161 intrinsics/getXid.c \
162 intrinsics/hostnm.c \
163 intrinsics/kill.c \
164 intrinsics/link.c \
165 intrinsics/perror.c \
166 intrinsics/signal.c \
167 intrinsics/sleep.c \
168 intrinsics/system.c \
169 intrinsics/rename.c \
170 intrinsics/stat.c \
171 intrinsics/symlnk.c \
172 intrinsics/system_clock.c \
173 intrinsics/time.c \
174 intrinsics/umask.c \
175 intrinsics/unlink.c
177 endif
179 if IEEE_SUPPORT
181 gfor_helper_src+=ieee/ieee_helper.c
183 gfor_ieee_src= \
184 ieee/ieee_arithmetic.F90 \
185 ieee/ieee_exceptions.F90 \
186 ieee/ieee_features.F90
188 else
190 gfor_ieee_src=
192 endif
194 gfor_src= \
195 runtime/bounds.c \
196 runtime/compile_options.c \
197 runtime/memory.c \
198 runtime/string.c \
199 runtime/select.c
201 if LIBGFOR_MINIMAL
203 gfor_src+= runtime/minimal.c
205 else
207 gfor_src+= \
208 runtime/backtrace.c \
209 runtime/convert_char.c \
210 runtime/environ.c \
211 runtime/error.c \
212 runtime/fpu.c \
213 runtime/main.c \
214 runtime/pause.c \
215 runtime/stop.c
217 endif
219 i_all_c= \
220 $(srcdir)/generated/all_l1.c \
221 $(srcdir)/generated/all_l2.c \
222 $(srcdir)/generated/all_l4.c \
223 $(srcdir)/generated/all_l8.c \
224 $(srcdir)/generated/all_l16.c
226 i_any_c= \
227 $(srcdir)/generated/any_l1.c \
228 $(srcdir)/generated/any_l2.c \
229 $(srcdir)/generated/any_l4.c \
230 $(srcdir)/generated/any_l8.c \
231 $(srcdir)/generated/any_l16.c
233 i_bessel_c= \
234 $(srcdir)/generated/bessel_r4.c \
235 $(srcdir)/generated/bessel_r8.c \
236 $(srcdir)/generated/bessel_r10.c \
237 $(srcdir)/generated/bessel_r16.c
239 i_count_c= \
240 $(srcdir)/generated/count_1_l.c \
241 $(srcdir)/generated/count_2_l.c \
242 $(srcdir)/generated/count_4_l.c \
243 $(srcdir)/generated/count_8_l.c \
244 $(srcdir)/generated/count_16_l.c
246 i_iall_c= \
247 $(srcdir)/generated/iall_i1.c \
248 $(srcdir)/generated/iall_i2.c \
249 $(srcdir)/generated/iall_i4.c \
250 $(srcdir)/generated/iall_i8.c \
251 $(srcdir)/generated/iall_i16.c
253 i_iany_c= \
254 $(srcdir)/generated/iany_i1.c \
255 $(srcdir)/generated/iany_i2.c \
256 $(srcdir)/generated/iany_i4.c \
257 $(srcdir)/generated/iany_i8.c \
258 $(srcdir)/generated/iany_i16.c
260 i_iparity_c= \
261 $(srcdir)/generated/iparity_i1.c \
262 $(srcdir)/generated/iparity_i2.c \
263 $(srcdir)/generated/iparity_i4.c \
264 $(srcdir)/generated/iparity_i8.c \
265 $(srcdir)/generated/iparity_i16.c
267 i_maxloc0_c= \
268 $(srcdir)/generated/maxloc0_4_i1.c \
269 $(srcdir)/generated/maxloc0_8_i1.c \
270 $(srcdir)/generated/maxloc0_16_i1.c \
271 $(srcdir)/generated/maxloc0_4_i2.c \
272 $(srcdir)/generated/maxloc0_8_i2.c \
273 $(srcdir)/generated/maxloc0_16_i2.c \
274 $(srcdir)/generated/maxloc0_4_i4.c \
275 $(srcdir)/generated/maxloc0_8_i4.c \
276 $(srcdir)/generated/maxloc0_16_i4.c \
277 $(srcdir)/generated/maxloc0_4_i8.c \
278 $(srcdir)/generated/maxloc0_8_i8.c \
279 $(srcdir)/generated/maxloc0_16_i8.c \
280 $(srcdir)/generated/maxloc0_4_i16.c \
281 $(srcdir)/generated/maxloc0_8_i16.c \
282 $(srcdir)/generated/maxloc0_16_i16.c \
283 $(srcdir)/generated/maxloc0_4_r4.c \
284 $(srcdir)/generated/maxloc0_8_r4.c \
285 $(srcdir)/generated/maxloc0_16_r4.c \
286 $(srcdir)/generated/maxloc0_4_r8.c \
287 $(srcdir)/generated/maxloc0_8_r8.c \
288 $(srcdir)/generated/maxloc0_16_r8.c \
289 $(srcdir)/generated/maxloc0_4_r10.c \
290 $(srcdir)/generated/maxloc0_8_r10.c \
291 $(srcdir)/generated/maxloc0_16_r10.c \
292 $(srcdir)/generated/maxloc0_4_r16.c \
293 $(srcdir)/generated/maxloc0_8_r16.c \
294 $(srcdir)/generated/maxloc0_16_r16.c
296 i_maxloc1_c= \
297 $(srcdir)/generated/maxloc1_4_i1.c \
298 $(srcdir)/generated/maxloc1_8_i1.c \
299 $(srcdir)/generated/maxloc1_16_i1.c \
300 $(srcdir)/generated/maxloc1_4_i2.c \
301 $(srcdir)/generated/maxloc1_8_i2.c \
302 $(srcdir)/generated/maxloc1_16_i2.c \
303 $(srcdir)/generated/maxloc1_4_i4.c \
304 $(srcdir)/generated/maxloc1_8_i4.c \
305 $(srcdir)/generated/maxloc1_16_i4.c \
306 $(srcdir)/generated/maxloc1_4_i8.c \
307 $(srcdir)/generated/maxloc1_8_i8.c \
308 $(srcdir)/generated/maxloc1_16_i8.c \
309 $(srcdir)/generated/maxloc1_4_i16.c \
310 $(srcdir)/generated/maxloc1_8_i16.c \
311 $(srcdir)/generated/maxloc1_16_i16.c \
312 $(srcdir)/generated/maxloc1_4_r4.c \
313 $(srcdir)/generated/maxloc1_8_r4.c \
314 $(srcdir)/generated/maxloc1_16_r4.c \
315 $(srcdir)/generated/maxloc1_4_r8.c \
316 $(srcdir)/generated/maxloc1_8_r8.c \
317 $(srcdir)/generated/maxloc1_16_r8.c \
318 $(srcdir)/generated/maxloc1_4_r10.c \
319 $(srcdir)/generated/maxloc1_8_r10.c \
320 $(srcdir)/generated/maxloc1_16_r10.c \
321 $(srcdir)/generated/maxloc1_4_r16.c \
322 $(srcdir)/generated/maxloc1_8_r16.c \
323 $(srcdir)/generated/maxloc1_16_r16.c
325 i_maxval_c= \
326 $(srcdir)/generated/maxval_i1.c \
327 $(srcdir)/generated/maxval_i2.c \
328 $(srcdir)/generated/maxval_i4.c \
329 $(srcdir)/generated/maxval_i8.c \
330 $(srcdir)/generated/maxval_i16.c \
331 $(srcdir)/generated/maxval_r4.c \
332 $(srcdir)/generated/maxval_r8.c \
333 $(srcdir)/generated/maxval_r10.c \
334 $(srcdir)/generated/maxval_r16.c
336 i_minloc0_c= \
337 $(srcdir)/generated/minloc0_4_i1.c \
338 $(srcdir)/generated/minloc0_8_i1.c \
339 $(srcdir)/generated/minloc0_16_i1.c \
340 $(srcdir)/generated/minloc0_4_i2.c \
341 $(srcdir)/generated/minloc0_8_i2.c \
342 $(srcdir)/generated/minloc0_16_i2.c \
343 $(srcdir)/generated/minloc0_4_i4.c \
344 $(srcdir)/generated/minloc0_8_i4.c \
345 $(srcdir)/generated/minloc0_16_i4.c \
346 $(srcdir)/generated/minloc0_4_i8.c \
347 $(srcdir)/generated/minloc0_8_i8.c \
348 $(srcdir)/generated/minloc0_16_i8.c \
349 $(srcdir)/generated/minloc0_4_i16.c \
350 $(srcdir)/generated/minloc0_8_i16.c \
351 $(srcdir)/generated/minloc0_16_i16.c \
352 $(srcdir)/generated/minloc0_4_r4.c \
353 $(srcdir)/generated/minloc0_8_r4.c \
354 $(srcdir)/generated/minloc0_16_r4.c \
355 $(srcdir)/generated/minloc0_4_r8.c \
356 $(srcdir)/generated/minloc0_8_r8.c \
357 $(srcdir)/generated/minloc0_16_r8.c \
358 $(srcdir)/generated/minloc0_4_r10.c \
359 $(srcdir)/generated/minloc0_8_r10.c \
360 $(srcdir)/generated/minloc0_16_r10.c \
361 $(srcdir)/generated/minloc0_4_r16.c \
362 $(srcdir)/generated/minloc0_8_r16.c \
363 $(srcdir)/generated/minloc0_16_r16.c
365 i_minloc1_c= \
366 $(srcdir)/generated/minloc1_4_i1.c \
367 $(srcdir)/generated/minloc1_8_i1.c \
368 $(srcdir)/generated/minloc1_16_i1.c \
369 $(srcdir)/generated/minloc1_4_i2.c \
370 $(srcdir)/generated/minloc1_8_i2.c \
371 $(srcdir)/generated/minloc1_16_i2.c \
372 $(srcdir)/generated/minloc1_4_i4.c \
373 $(srcdir)/generated/minloc1_8_i4.c \
374 $(srcdir)/generated/minloc1_16_i4.c \
375 $(srcdir)/generated/minloc1_4_i8.c \
376 $(srcdir)/generated/minloc1_8_i8.c \
377 $(srcdir)/generated/minloc1_16_i8.c \
378 $(srcdir)/generated/minloc1_4_i16.c \
379 $(srcdir)/generated/minloc1_8_i16.c \
380 $(srcdir)/generated/minloc1_16_i16.c \
381 $(srcdir)/generated/minloc1_4_r4.c \
382 $(srcdir)/generated/minloc1_8_r4.c \
383 $(srcdir)/generated/minloc1_16_r4.c \
384 $(srcdir)/generated/minloc1_4_r8.c \
385 $(srcdir)/generated/minloc1_8_r8.c \
386 $(srcdir)/generated/minloc1_16_r8.c \
387 $(srcdir)/generated/minloc1_4_r10.c \
388 $(srcdir)/generated/minloc1_8_r10.c \
389 $(srcdir)/generated/minloc1_16_r10.c \
390 $(srcdir)/generated/minloc1_4_r16.c \
391 $(srcdir)/generated/minloc1_8_r16.c \
392 $(srcdir)/generated/minloc1_16_r16.c
394 i_minval_c= \
395 $(srcdir)/generated/minval_i1.c \
396 $(srcdir)/generated/minval_i2.c \
397 $(srcdir)/generated/minval_i4.c \
398 $(srcdir)/generated/minval_i8.c \
399 $(srcdir)/generated/minval_i16.c \
400 $(srcdir)/generated/minval_r4.c \
401 $(srcdir)/generated/minval_r8.c \
402 $(srcdir)/generated/minval_r10.c \
403 $(srcdir)/generated/minval_r16.c
405 i_norm2_c= \
406 $(srcdir)/generated/norm2_r4.c \
407 $(srcdir)/generated/norm2_r8.c \
408 $(srcdir)/generated/norm2_r10.c \
409 $(srcdir)/generated/norm2_r16.c
411 i_parity_c = \
412 $(srcdir)/generated/parity_l1.c \
413 $(srcdir)/generated/parity_l2.c \
414 $(srcdir)/generated/parity_l4.c \
415 $(srcdir)/generated/parity_l8.c \
416 $(srcdir)/generated/parity_l16.c
418 i_sum_c= \
419 $(srcdir)/generated/sum_i1.c \
420 $(srcdir)/generated/sum_i2.c \
421 $(srcdir)/generated/sum_i4.c \
422 $(srcdir)/generated/sum_i8.c \
423 $(srcdir)/generated/sum_i16.c \
424 $(srcdir)/generated/sum_r4.c \
425 $(srcdir)/generated/sum_r8.c \
426 $(srcdir)/generated/sum_r10.c \
427 $(srcdir)/generated/sum_r16.c \
428 $(srcdir)/generated/sum_c4.c \
429 $(srcdir)/generated/sum_c8.c \
430 $(srcdir)/generated/sum_c10.c \
431 $(srcdir)/generated/sum_c16.c
433 i_product_c= \
434 $(srcdir)/generated/product_i1.c \
435 $(srcdir)/generated/product_i2.c \
436 $(srcdir)/generated/product_i4.c \
437 $(srcdir)/generated/product_i8.c \
438 $(srcdir)/generated/product_i16.c \
439 $(srcdir)/generated/product_r4.c \
440 $(srcdir)/generated/product_r8.c \
441 $(srcdir)/generated/product_r10.c \
442 $(srcdir)/generated/product_r16.c \
443 $(srcdir)/generated/product_c4.c \
444 $(srcdir)/generated/product_c8.c \
445 $(srcdir)/generated/product_c10.c \
446 $(srcdir)/generated/product_c16.c
448 i_matmul_c= \
449 $(srcdir)/generated/matmul_i1.c \
450 $(srcdir)/generated/matmul_i2.c \
451 $(srcdir)/generated/matmul_i4.c \
452 $(srcdir)/generated/matmul_i8.c \
453 $(srcdir)/generated/matmul_i16.c \
454 $(srcdir)/generated/matmul_r4.c \
455 $(srcdir)/generated/matmul_r8.c \
456 $(srcdir)/generated/matmul_r10.c \
457 $(srcdir)/generated/matmul_r16.c \
458 $(srcdir)/generated/matmul_c4.c \
459 $(srcdir)/generated/matmul_c8.c \
460 $(srcdir)/generated/matmul_c10.c \
461 $(srcdir)/generated/matmul_c16.c
463 i_matmulavx128_c= \
464 $(srcdir)/generated/matmulavx128_i1.c \
465 $(srcdir)/generated/matmulavx128_i2.c \
466 $(srcdir)/generated/matmulavx128_i4.c \
467 $(srcdir)/generated/matmulavx128_i8.c \
468 $(srcdir)/generated/matmulavx128_i16.c \
469 $(srcdir)/generated/matmulavx128_r4.c \
470 $(srcdir)/generated/matmulavx128_r8.c \
471 $(srcdir)/generated/matmulavx128_r10.c \
472 $(srcdir)/generated/matmulavx128_r16.c \
473 $(srcdir)/generated/matmulavx128_c4.c \
474 $(srcdir)/generated/matmulavx128_c8.c \
475 $(srcdir)/generated/matmulavx128_c10.c \
476 $(srcdir)/generated/matmulavx128_c16.c
478 i_matmull_c= \
479 $(srcdir)/generated/matmul_l4.c \
480 $(srcdir)/generated/matmul_l8.c \
481 $(srcdir)/generated/matmul_l16.c
483 i_shape_c= \
484 $(srcdir)/generated/shape_i1.c \
485 $(srcdir)/generated/shape_i2.c \
486 $(srcdir)/generated/shape_i4.c \
487 $(srcdir)/generated/shape_i8.c \
488 $(srcdir)/generated/shape_i16.c
490 i_reshape_c= \
491 $(srcdir)/generated/reshape_i4.c \
492 $(srcdir)/generated/reshape_i8.c \
493 $(srcdir)/generated/reshape_i16.c \
494 $(srcdir)/generated/reshape_r4.c \
495 $(srcdir)/generated/reshape_r8.c \
496 $(srcdir)/generated/reshape_r10.c \
497 $(srcdir)/generated/reshape_r16.c \
498 $(srcdir)/generated/reshape_c4.c \
499 $(srcdir)/generated/reshape_c8.c \
500 $(srcdir)/generated/reshape_c10.c \
501 $(srcdir)/generated/reshape_c16.c
503 i_eoshift1_c= \
504 $(srcdir)/generated/eoshift1_4.c \
505 $(srcdir)/generated/eoshift1_8.c \
506 $(srcdir)/generated/eoshift1_16.c
508 i_eoshift3_c= \
509 $(srcdir)/generated/eoshift3_4.c \
510 $(srcdir)/generated/eoshift3_8.c \
511 $(srcdir)/generated/eoshift3_16.c
513 i_cshift0_c= \
514 $(srcdir)/generated/cshift0_i1.c \
515 $(srcdir)/generated/cshift0_i2.c \
516 $(srcdir)/generated/cshift0_i4.c \
517 $(srcdir)/generated/cshift0_i8.c \
518 $(srcdir)/generated/cshift0_i16.c \
519 $(srcdir)/generated/cshift0_r4.c \
520 $(srcdir)/generated/cshift0_r8.c \
521 $(srcdir)/generated/cshift0_r10.c \
522 $(srcdir)/generated/cshift0_r16.c \
523 $(srcdir)/generated/cshift0_c4.c \
524 $(srcdir)/generated/cshift0_c8.c \
525 $(srcdir)/generated/cshift0_c10.c \
526 $(srcdir)/generated/cshift0_c16.c
528 i_cshift1_c= \
529 $(srcdir)/generated/cshift1_4.c \
530 $(srcdir)/generated/cshift1_8.c \
531 $(srcdir)/generated/cshift1_16.c
533 i_cshift1a_c = \
534 $(srcdir)/generated/cshift1_4_i1.c \
535 $(srcdir)/generated/cshift1_4_i2.c \
536 $(srcdir)/generated/cshift1_4_i4.c \
537 $(srcdir)/generated/cshift1_4_i8.c \
538 $(srcdir)/generated/cshift1_4_i16.c \
539 $(srcdir)/generated/cshift1_4_r4.c \
540 $(srcdir)/generated/cshift1_4_r8.c \
541 $(srcdir)/generated/cshift1_4_r10.c \
542 $(srcdir)/generated/cshift1_4_r16.c \
543 $(srcdir)/generated/cshift1_4_c4.c \
544 $(srcdir)/generated/cshift1_4_c8.c \
545 $(srcdir)/generated/cshift1_4_c10.c \
546 $(srcdir)/generated/cshift1_4_c16.c \
547 $(srcdir)/generated/cshift1_8_i1.c \
548 $(srcdir)/generated/cshift1_8_i2.c \
549 $(srcdir)/generated/cshift1_8_i4.c \
550 $(srcdir)/generated/cshift1_8_i8.c \
551 $(srcdir)/generated/cshift1_8_i16.c \
552 $(srcdir)/generated/cshift1_8_r4.c \
553 $(srcdir)/generated/cshift1_8_r8.c \
554 $(srcdir)/generated/cshift1_8_r10.c \
555 $(srcdir)/generated/cshift1_8_r16.c \
556 $(srcdir)/generated/cshift1_8_c4.c \
557 $(srcdir)/generated/cshift1_8_c8.c \
558 $(srcdir)/generated/cshift1_8_c10.c \
559 $(srcdir)/generated/cshift1_8_c16.c \
560 $(srcdir)/generated/cshift1_16_i1.c \
561 $(srcdir)/generated/cshift1_16_i2.c \
562 $(srcdir)/generated/cshift1_16_i4.c \
563 $(srcdir)/generated/cshift1_16_i8.c \
564 $(srcdir)/generated/cshift1_16_i16.c \
565 $(srcdir)/generated/cshift1_16_r4.c \
566 $(srcdir)/generated/cshift1_16_r8.c \
567 $(srcdir)/generated/cshift1_16_r10.c \
568 $(srcdir)/generated/cshift1_16_r16.c \
569 $(srcdir)/generated/cshift1_16_c4.c \
570 $(srcdir)/generated/cshift1_16_c8.c \
571 $(srcdir)/generated/cshift1_16_c10.c \
572 $(srcdir)/generated/cshift1_16_c16.c
574 in_pack_c = \
575 $(srcdir)/generated/in_pack_i1.c \
576 $(srcdir)/generated/in_pack_i2.c \
577 $(srcdir)/generated/in_pack_i4.c \
578 $(srcdir)/generated/in_pack_i8.c \
579 $(srcdir)/generated/in_pack_i16.c \
580 $(srcdir)/generated/in_pack_r4.c \
581 $(srcdir)/generated/in_pack_r8.c \
582 $(srcdir)/generated/in_pack_r10.c \
583 $(srcdir)/generated/in_pack_r16.c \
584 $(srcdir)/generated/in_pack_c4.c \
585 $(srcdir)/generated/in_pack_c8.c \
586 $(srcdir)/generated/in_pack_c10.c \
587 $(srcdir)/generated/in_pack_c16.c
589 in_unpack_c = \
590 $(srcdir)/generated/in_unpack_i1.c \
591 $(srcdir)/generated/in_unpack_i2.c \
592 $(srcdir)/generated/in_unpack_i4.c \
593 $(srcdir)/generated/in_unpack_i8.c \
594 $(srcdir)/generated/in_unpack_i16.c \
595 $(srcdir)/generated/in_unpack_r4.c \
596 $(srcdir)/generated/in_unpack_r8.c \
597 $(srcdir)/generated/in_unpack_r10.c \
598 $(srcdir)/generated/in_unpack_r16.c \
599 $(srcdir)/generated/in_unpack_c4.c \
600 $(srcdir)/generated/in_unpack_c8.c \
601 $(srcdir)/generated/in_unpack_c10.c \
602 $(srcdir)/generated/in_unpack_c16.c
604 i_pow_c = \
605 $(srcdir)/generated/pow_i4_i4.c \
606 $(srcdir)/generated/pow_i8_i4.c \
607 $(srcdir)/generated/pow_i16_i4.c \
608 $(srcdir)/generated/pow_r16_i4.c \
609 $(srcdir)/generated/pow_c4_i4.c \
610 $(srcdir)/generated/pow_c8_i4.c \
611 $(srcdir)/generated/pow_c10_i4.c \
612 $(srcdir)/generated/pow_c16_i4.c \
613 $(srcdir)/generated/pow_i4_i8.c \
614 $(srcdir)/generated/pow_i8_i8.c \
615 $(srcdir)/generated/pow_i16_i8.c \
616 $(srcdir)/generated/pow_r4_i8.c \
617 $(srcdir)/generated/pow_r8_i8.c \
618 $(srcdir)/generated/pow_r10_i8.c \
619 $(srcdir)/generated/pow_r16_i8.c \
620 $(srcdir)/generated/pow_c4_i8.c \
621 $(srcdir)/generated/pow_c8_i8.c \
622 $(srcdir)/generated/pow_c10_i8.c \
623 $(srcdir)/generated/pow_c16_i8.c \
624 $(srcdir)/generated/pow_i4_i16.c \
625 $(srcdir)/generated/pow_i8_i16.c \
626 $(srcdir)/generated/pow_i16_i16.c \
627 $(srcdir)/generated/pow_r4_i16.c \
628 $(srcdir)/generated/pow_r8_i16.c \
629 $(srcdir)/generated/pow_r10_i16.c \
630 $(srcdir)/generated/pow_r16_i16.c \
631 $(srcdir)/generated/pow_c4_i16.c \
632 $(srcdir)/generated/pow_c8_i16.c \
633 $(srcdir)/generated/pow_c10_i16.c \
634 $(srcdir)/generated/pow_c16_i16.c
636 i_pack_c = \
637 $(srcdir)/generated/pack_i1.c \
638 $(srcdir)/generated/pack_i2.c \
639 $(srcdir)/generated/pack_i4.c \
640 $(srcdir)/generated/pack_i8.c \
641 $(srcdir)/generated/pack_i16.c \
642 $(srcdir)/generated/pack_r4.c \
643 $(srcdir)/generated/pack_r8.c \
644 $(srcdir)/generated/pack_r10.c \
645 $(srcdir)/generated/pack_r16.c \
646 $(srcdir)/generated/pack_c4.c \
647 $(srcdir)/generated/pack_c8.c \
648 $(srcdir)/generated/pack_c10.c \
649 $(srcdir)/generated/pack_c16.c
651 i_unpack_c = \
652 $(srcdir)/generated/unpack_i1.c \
653 $(srcdir)/generated/unpack_i2.c \
654 $(srcdir)/generated/unpack_i4.c \
655 $(srcdir)/generated/unpack_i8.c \
656 $(srcdir)/generated/unpack_i16.c \
657 $(srcdir)/generated/unpack_r4.c \
658 $(srcdir)/generated/unpack_r8.c \
659 $(srcdir)/generated/unpack_r10.c \
660 $(srcdir)/generated/unpack_r16.c \
661 $(srcdir)/generated/unpack_c4.c \
662 $(srcdir)/generated/unpack_c8.c \
663 $(srcdir)/generated/unpack_c10.c \
664 $(srcdir)/generated/unpack_c16.c
666 i_spread_c = \
667 $(srcdir)/generated/spread_i1.c \
668 $(srcdir)/generated/spread_i2.c \
669 $(srcdir)/generated/spread_i4.c \
670 $(srcdir)/generated/spread_i8.c \
671 $(srcdir)/generated/spread_i16.c \
672 $(srcdir)/generated/spread_r4.c \
673 $(srcdir)/generated/spread_r8.c \
674 $(srcdir)/generated/spread_r10.c \
675 $(srcdir)/generated/spread_r16.c \
676 $(srcdir)/generated/spread_c4.c \
677 $(srcdir)/generated/spread_c8.c \
678 $(srcdir)/generated/spread_c10.c \
679 $(srcdir)/generated/spread_c16.c 
681 m4_files= m4/iparm.m4 m4/ifunction.m4 m4/iforeach.m4 m4/all.m4 \
682     m4/any.m4 m4/count.m4 m4/maxloc0.m4 m4/maxloc1.m4 m4/maxval.m4 \
683     m4/minloc0.m4 m4/minloc1.m4 m4/minval.m4 m4/product.m4 m4/sum.m4 \
684     m4/matmul.m4 m4/matmull.m4 m4/ifunction_logical.m4 \
685     m4/ctrig.m4 m4/cexp.m4 m4/chyp.m4 m4/mtype.m4 \
686     m4/specific.m4 m4/specific2.m4 m4/head.m4 m4/shape.m4 m4/reshape.m4 \
687     m4/eoshift1.m4 m4/eoshift3.m4 \
688     m4/pow.m4 \
689     m4/misc_specifics.m4 m4/pack.m4 \
690     m4/unpack.m4 m4/spread.m4 m4/bessel.m4 m4/norm2.m4 m4/parity.m4 \
691     m4/iall.m4 m4/iany.m4 m4/iparity.m4
693 gfor_built_src= $(i_all_c) $(i_any_c) $(i_count_c) $(i_maxloc0_c) \
694     $(i_maxloc1_c) $(i_maxval_c) $(i_minloc0_c) $(i_minloc1_c) $(i_minval_c) \
695     $(i_product_c) $(i_sum_c) $(i_bessel_c) $(i_iall_c) $(i_iany_c) \
696     $(i_iparity_c) $(i_norm2_c) $(i_parity_c) \
697     $(i_matmul_c) $(i_matmull_c) $(i_shape_c) $(i_eoshift1_c) \
698     $(i_eoshift3_c) $(i_cshift1_c) $(i_reshape_c) $(in_pack_c) $(in_unpack_c) \
699     $(i_pow_c) $(i_pack_c) $(i_unpack_c) $(i_matmulavx128_c) \
700     $(i_spread_c) selected_int_kind.inc selected_real_kind.inc kinds.h \
701     $(i_cshift0_c) kinds.inc c99_protos.inc fpu-target.h fpu-target.inc \
702     $(i_cshift1a_c)
704 # Machine generated specifics
705 gfor_built_specific_src= \
706 $(srcdir)/generated/_abs_c4.F90 \
707 $(srcdir)/generated/_abs_c8.F90 \
708 $(srcdir)/generated/_abs_c10.F90 \
709 $(srcdir)/generated/_abs_c16.F90 \
710 $(srcdir)/generated/_abs_i4.F90 \
711 $(srcdir)/generated/_abs_i8.F90 \
712 $(srcdir)/generated/_abs_i16.F90 \
713 $(srcdir)/generated/_abs_r4.F90 \
714 $(srcdir)/generated/_abs_r8.F90 \
715 $(srcdir)/generated/_abs_r10.F90 \
716 $(srcdir)/generated/_abs_r16.F90 \
717 $(srcdir)/generated/_aimag_c4.F90 \
718 $(srcdir)/generated/_aimag_c8.F90 \
719 $(srcdir)/generated/_aimag_c10.F90 \
720 $(srcdir)/generated/_aimag_c16.F90 \
721 $(srcdir)/generated/_exp_r4.F90 \
722 $(srcdir)/generated/_exp_r8.F90 \
723 $(srcdir)/generated/_exp_r10.F90 \
724 $(srcdir)/generated/_exp_r16.F90 \
725 $(srcdir)/generated/_exp_c4.F90 \
726 $(srcdir)/generated/_exp_c8.F90 \
727 $(srcdir)/generated/_exp_c10.F90 \
728 $(srcdir)/generated/_exp_c16.F90 \
729 $(srcdir)/generated/_log_r4.F90 \
730 $(srcdir)/generated/_log_r8.F90 \
731 $(srcdir)/generated/_log_r10.F90 \
732 $(srcdir)/generated/_log_r16.F90 \
733 $(srcdir)/generated/_log_c4.F90 \
734 $(srcdir)/generated/_log_c8.F90 \
735 $(srcdir)/generated/_log_c10.F90 \
736 $(srcdir)/generated/_log_c16.F90 \
737 $(srcdir)/generated/_log10_r4.F90 \
738 $(srcdir)/generated/_log10_r8.F90 \
739 $(srcdir)/generated/_log10_r10.F90 \
740 $(srcdir)/generated/_log10_r16.F90 \
741 $(srcdir)/generated/_sqrt_r4.F90 \
742 $(srcdir)/generated/_sqrt_r8.F90 \
743 $(srcdir)/generated/_sqrt_r10.F90 \
744 $(srcdir)/generated/_sqrt_r16.F90 \
745 $(srcdir)/generated/_sqrt_c4.F90 \
746 $(srcdir)/generated/_sqrt_c8.F90 \
747 $(srcdir)/generated/_sqrt_c10.F90 \
748 $(srcdir)/generated/_sqrt_c16.F90 \
749 $(srcdir)/generated/_asin_r4.F90 \
750 $(srcdir)/generated/_asin_r8.F90 \
751 $(srcdir)/generated/_asin_r10.F90 \
752 $(srcdir)/generated/_asin_r16.F90 \
753 $(srcdir)/generated/_asinh_r4.F90 \
754 $(srcdir)/generated/_asinh_r8.F90 \
755 $(srcdir)/generated/_asinh_r10.F90 \
756 $(srcdir)/generated/_asinh_r16.F90 \
757 $(srcdir)/generated/_acos_r4.F90 \
758 $(srcdir)/generated/_acos_r8.F90 \
759 $(srcdir)/generated/_acos_r10.F90 \
760 $(srcdir)/generated/_acos_r16.F90 \
761 $(srcdir)/generated/_acosh_r4.F90 \
762 $(srcdir)/generated/_acosh_r8.F90 \
763 $(srcdir)/generated/_acosh_r10.F90 \
764 $(srcdir)/generated/_acosh_r16.F90 \
765 $(srcdir)/generated/_atan_r4.F90 \
766 $(srcdir)/generated/_atan_r8.F90 \
767 $(srcdir)/generated/_atan_r10.F90 \
768 $(srcdir)/generated/_atan_r16.F90 \
769 $(srcdir)/generated/_atanh_r4.F90 \
770 $(srcdir)/generated/_atanh_r8.F90 \
771 $(srcdir)/generated/_atanh_r10.F90 \
772 $(srcdir)/generated/_atanh_r16.F90 \
773 $(srcdir)/generated/_sin_r4.F90 \
774 $(srcdir)/generated/_sin_r8.F90 \
775 $(srcdir)/generated/_sin_r10.F90 \
776 $(srcdir)/generated/_sin_r16.F90 \
777 $(srcdir)/generated/_sin_c4.F90 \
778 $(srcdir)/generated/_sin_c8.F90 \
779 $(srcdir)/generated/_sin_c10.F90 \
780 $(srcdir)/generated/_sin_c16.F90 \
781 $(srcdir)/generated/_cos_r4.F90 \
782 $(srcdir)/generated/_cos_r8.F90 \
783 $(srcdir)/generated/_cos_r10.F90 \
784 $(srcdir)/generated/_cos_r16.F90 \
785 $(srcdir)/generated/_cos_c4.F90 \
786 $(srcdir)/generated/_cos_c8.F90 \
787 $(srcdir)/generated/_cos_c10.F90 \
788 $(srcdir)/generated/_cos_c16.F90 \
789 $(srcdir)/generated/_tan_r4.F90 \
790 $(srcdir)/generated/_tan_r8.F90 \
791 $(srcdir)/generated/_tan_r10.F90 \
792 $(srcdir)/generated/_tan_r16.F90 \
793 $(srcdir)/generated/_sinh_r4.F90 \
794 $(srcdir)/generated/_sinh_r8.F90 \
795 $(srcdir)/generated/_sinh_r10.F90 \
796 $(srcdir)/generated/_sinh_r16.F90 \
797 $(srcdir)/generated/_cosh_r4.F90 \
798 $(srcdir)/generated/_cosh_r8.F90 \
799 $(srcdir)/generated/_cosh_r10.F90 \
800 $(srcdir)/generated/_cosh_r16.F90 \
801 $(srcdir)/generated/_tanh_r4.F90 \
802 $(srcdir)/generated/_tanh_r8.F90 \
803 $(srcdir)/generated/_tanh_r10.F90 \
804 $(srcdir)/generated/_tanh_r16.F90 \
805 $(srcdir)/generated/_conjg_c4.F90 \
806 $(srcdir)/generated/_conjg_c8.F90 \
807 $(srcdir)/generated/_conjg_c10.F90 \
808 $(srcdir)/generated/_conjg_c16.F90 \
809 $(srcdir)/generated/_aint_r4.F90 \
810 $(srcdir)/generated/_aint_r8.F90 \
811 $(srcdir)/generated/_aint_r10.F90 \
812 $(srcdir)/generated/_aint_r16.F90 \
813 $(srcdir)/generated/_anint_r4.F90 \
814 $(srcdir)/generated/_anint_r8.F90 \
815 $(srcdir)/generated/_anint_r10.F90 \
816 $(srcdir)/generated/_anint_r16.F90
818 gfor_built_specific2_src= \
819 $(srcdir)/generated/_sign_i4.F90 \
820 $(srcdir)/generated/_sign_i8.F90 \
821 $(srcdir)/generated/_sign_i16.F90 \
822 $(srcdir)/generated/_sign_r4.F90 \
823 $(srcdir)/generated/_sign_r8.F90 \
824 $(srcdir)/generated/_sign_r10.F90 \
825 $(srcdir)/generated/_sign_r16.F90 \
826 $(srcdir)/generated/_dim_i4.F90 \
827 $(srcdir)/generated/_dim_i8.F90 \
828 $(srcdir)/generated/_dim_i16.F90 \
829 $(srcdir)/generated/_dim_r4.F90 \
830 $(srcdir)/generated/_dim_r8.F90 \
831 $(srcdir)/generated/_dim_r10.F90 \
832 $(srcdir)/generated/_dim_r16.F90 \
833 $(srcdir)/generated/_atan2_r4.F90 \
834 $(srcdir)/generated/_atan2_r8.F90 \
835 $(srcdir)/generated/_atan2_r10.F90 \
836 $(srcdir)/generated/_atan2_r16.F90 \
837 $(srcdir)/generated/_mod_i4.F90 \
838 $(srcdir)/generated/_mod_i8.F90 \
839 $(srcdir)/generated/_mod_i16.F90 \
840 $(srcdir)/generated/_mod_r4.F90 \
841 $(srcdir)/generated/_mod_r8.F90 \
842 $(srcdir)/generated/_mod_r10.F90 \
843 $(srcdir)/generated/_mod_r16.F90
845 gfor_misc_specifics = $(srcdir)/generated/misc_specifics.F90
847 gfor_specific_src= \
848 $(gfor_built_specific_src) \
849 $(gfor_built_specific2_src) \
850 $(gfor_misc_specifics) \
851 intrinsics/dprod_r8.f90 \
852 intrinsics/f2c_specifics.F90
854 # Turn on vectorization and loop unrolling for matmul.
855 $(patsubst %.c,%.lo,$(notdir $(i_matmul_c))): AM_CFLAGS += -ffast-math -ftree-vectorize -funroll-loops --param max-unroll-times=4
857 if HAVE_AVX128
858 # Turn on AVX128 for AMD-specific matmul, but only if the compiler understands -mprefer-avx128
859 $(patsubst %.c,%.lo,$(notdir $(i_matmulavx128_c))): AM_CFLAGS += -ffast-math -ftree-vectorize -funroll-loops --param max-unroll-times=4 -mprefer-avx128
860 endif
861 # Logical matmul doesn't vectorize.
862 $(patsubst %.c,%.lo,$(notdir $(i_matmull_c))): AM_CFLAGS += -funroll-loops
864 # Add the -fallow-leading-underscore option when needed
865 $(patsubst %.F90,%.lo,$(patsubst %.f90,%.lo,$(notdir $(gfor_specific_src)))): AM_FCFLAGS += -fallow-leading-underscore
866 selected_real_kind.lo selected_int_kind.lo: AM_FCFLAGS += -fallow-leading-underscore
868 if IEEE_SUPPORT
869 # Add flags for IEEE modules
870 $(patsubst %.F90,%.lo,$(notdir $(gfor_ieee_src))): AM_FCFLAGS += -Wno-unused-dummy-argument -Wno-c-binding-type -ffree-line-length-0 -fallow-leading-underscore
871 endif
873 # Dependencies between IEEE_ARITHMETIC and IEEE_EXCEPTIONS
874 ieee_arithmetic.lo: ieee/ieee_arithmetic.F90 ieee_exceptions.lo
875         $(LTPPFCCOMPILE) -c -o $@ $<
877 ieee_features.mod: ieee_features.lo
878         :
879 ieee_exceptions.mod: ieee_exceptions.lo
880         :
881 ieee_arithmetic.mod: ieee_arithmetic.lo
882         :
884 BUILT_SOURCES=$(gfor_built_src) $(gfor_built_specific_src) \
885     $(gfor_built_specific2_src) $(gfor_misc_specifics)
887 prereq_SRC = $(gfor_src) $(gfor_built_src) $(gfor_io_src) \
888     $(gfor_helper_src) $(gfor_ieee_src) $(gfor_io_headers) $(gfor_specific_src)
890 if onestep
891 # dummy sources for libtool
892 BUILT_SOURCES+=libgfortran_c.c libgfortran_f.f90
893 libgfortran_c.c libgfortran_f.f90 libgfortran_F.F90:
894         echo > $@
895 # overrides for libtool perusing the dummy sources
896 libgfortran_c.o: $(filter %.c,$(prereq_SRC))
897         $(COMPILE) -c $^ -o $@ -combine
899 libgfortran_c.lo: $(filter %.c,$(prereq_SRC))
900         $(LTCOMPILE) -c -o $@ $^ -combine
902 #libgfortran_f.o: $(filter %.f %.f90,$(prereq_SRC))
903 #       $(FCCOMPILE) -c $^ -o $@ -combine
905 #libgfortran_f.lo: $(filter %.f %.f90,$(prereq_SRC))
906 #       $(LTFCCOMPILE) -c -o $@ $^ -combine
907 # not currently used:
908 #libgfortran_F.o: $(filter %.F %.F90,$(prereq_SRC))
909 #       $(PPFCCOMPILE) -c $^ -o $@ -combine
911 #libgfortran_F.lo: 
912 #       $(LTPPFCCOMPILE) -c -o $@ $^ -combine
914 libgfortran_la_SOURCES = libgfortran_c.c $(filter-out %.c,$(prereq_SRC))
916 else
917 libgfortran_la_SOURCES = $(prereq_SRC)
919 endif
921 I_M4_DEPS=m4/iparm.m4
922 I_M4_DEPS0=$(I_M4_DEPS) m4/iforeach.m4
923 I_M4_DEPS1=$(I_M4_DEPS) m4/ifunction.m4
924 I_M4_DEPS2=$(I_M4_DEPS) m4/ifunction_logical.m4
926 kinds.h: $(srcdir)/mk-kinds-h.sh
927         $(SHELL) $(srcdir)/mk-kinds-h.sh '$(FCCOMPILE)' > $@ || rm $@
929 kinds.inc: kinds.h
930         grep '^#' < kinds.h > $@
932 c99_protos.inc: $(srcdir)/c99_protos.h
933         grep '^#' < $(srcdir)/c99_protos.h > $@
935 selected_int_kind.inc: $(srcdir)/mk-sik-inc.sh
936         $(SHELL) $(srcdir)/mk-sik-inc.sh '$(FCCOMPILE)' > $@ || rm $@
938 selected_real_kind.inc: $(srcdir)/mk-srk-inc.sh
939         $(SHELL) $(srcdir)/mk-srk-inc.sh '$(FCCOMPILE)' > $@ || rm $@
941 fpu-target.h: $(srcdir)/$(FPU_HOST_HEADER)
942         cp $(srcdir)/$(FPU_HOST_HEADER) $@
944 fpu-target.inc: fpu-target.h $(srcdir)/libgfortran.h
945         grep '^#define GFC_FPE_' < $(top_srcdir)/../gcc/fortran/libgfortran.h > $@ || true
946         grep '^#define GFC_FPE_' < $(srcdir)/libgfortran.h >> $@ || true
948 ## A 'normal' build shouldn't need to regenerate these
949 ## so we only include them in maintainer mode
951 if MAINTAINER_MODE
952 $(i_all_c): m4/all.m4 $(I_M4_DEPS2)
953         $(M4) -Dfile=$@ -I$(srcdir)/m4 all.m4 > $@
955 $(i_bessel_c): m4/bessel.m4 $(I_M4_DEPS)
956         $(M4) -Dfile=$@ -I$(srcdir)/m4 bessel.m4 > $@
958 $(i_any_c): m4/any.m4 $(I_M4_DEPS2)
959         $(M4) -Dfile=$@ -I$(srcdir)/m4 any.m4 > $@
961 $(i_count_c): m4/count.m4 $(I_M4_DEPS2)
962         $(M4) -Dfile=$@ -I$(srcdir)/m4 count.m4 > $@
964 $(i_iall_c): m4/iall.m4 $(I_M4_DEPS1)
965         $(M4) -Dfile=$@ -I$(srcdir)/m4 iall.m4 > $@
967 $(i_iany_c): m4/iany.m4 $(I_M4_DEPS1)
968         $(M4) -Dfile=$@ -I$(srcdir)/m4 iany.m4 > $@
970 $(i_iparity_c): m4/iparity.m4 $(I_M4_DEPS1)
971         $(M4) -Dfile=$@ -I$(srcdir)/m4 iparity.m4 > $@
973 $(i_maxloc0_c): m4/maxloc0.m4 $(I_M4_DEPS0)
974         $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc0.m4 > $@
976 $(i_maxloc1_c): m4/maxloc1.m4 $(I_M4_DEPS1)
977         $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc1.m4 > $@
979 $(i_maxval_c): m4/maxval.m4 $(I_M4_DEPS1)
980         $(M4) -Dfile=$@ -I$(srcdir)/m4 maxval.m4 > $@
982 $(i_minloc0_c): m4/minloc0.m4 $(I_M4_DEPS0)
983         $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc0.m4 > $@
985 $(i_minloc1_c): m4/minloc1.m4 $(I_M4_DEPS1)
986         $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc1.m4 > $@
988 $(i_minval_c): m4/minval.m4 $(I_M4_DEPS1)
989         $(M4) -Dfile=$@ -I$(srcdir)/m4 minval.m4 > $@
991 $(i_product_c): m4/product.m4 $(I_M4_DEPS1)
992         $(M4) -Dfile=$@ -I$(srcdir)/m4 product.m4 > $@
994 $(i_sum_c): m4/sum.m4 $(I_M4_DEPS1)
995         $(M4) -Dfile=$@ -I$(srcdir)/m4 sum.m4 > $@
997 $(i_matmul_c): m4/matmul.m4 m4/matmul_internal.m4 $(I_M4_DEPS)
998         $(M4) -Dfile=$@ -I$(srcdir)/m4 matmul.m4 > $@
1000 $(i_matmulavx128_c): m4/matmulavx128.m4 m4/matmul_internal.m4 $(I_M4_DEPS)
1001         $(M4) -Dfile=$@ -I$(srcdir)/m4 matmulavx128.m4 > $@
1003 $(i_matmull_c): m4/matmull.m4 $(I_M4_DEPS)
1004         $(M4) -Dfile=$@ -I$(srcdir)/m4 matmull.m4 > $@
1006 $(i_norm2_c): m4/norm2.m4 $(I_M4_DEPS1)
1007         $(M4) -Dfile=$@ -I$(srcdir)/m4 norm2.m4 > $@
1009 $(i_parity_c): m4/parity.m4 $(I_M4_DEPS1)
1010         $(M4) -Dfile=$@ -I$(srcdir)/m4 parity.m4 > $@
1012 $(i_shape_c): m4/shape.m4 $(I_M4_DEPS)
1013         $(M4) -Dfile=$@ -I$(srcdir)/m4 shape.m4 > $@
1015 $(i_reshape_c): m4/reshape.m4 $(I_M4_DEPS)
1016         $(M4) -Dfile=$@ -I$(srcdir)/m4 reshape.m4 > $@
1018 $(i_eoshift1_c): m4/eoshift1.m4 $(I_M4_DEPS)
1019         $(M4) -Dfile=$@ -I$(srcdir)/m4 eoshift1.m4 > $@
1021 $(i_eoshift3_c): m4/eoshift3.m4 $(I_M4_DEPS)
1022         $(M4) -Dfile=$@ -I$(srcdir)/m4 eoshift3.m4 > $@
1024 $(i_cshift0_c): m4/cshift0.m4 $(I_M4_DEPS)
1025         $(M4) -Dfile=$@ -I$(srcdir)/m4 cshift0.m4 > $@
1027 $(i_cshift1_c): m4/cshift1.m4 $(I_M4_DEPS)
1028         $(M4) -Dfile=$@ -I$(srcdir)/m4 cshift1.m4 > $@
1030 $(i_cshift1a_c): m4/cshift1a.m4 $(I_M$_DEPS)
1031         $(M4) -Dfile=$@ -I$(srcdir)/m4 cshift1a.m4 > $@
1033 $(in_pack_c): m4/in_pack.m4 $(I_M4_DEPS)
1034         $(M4) -Dfile=$@ -I$(srcdir)/m4 in_pack.m4 > $@
1036 $(in_unpack_c): m4/in_unpack.m4 $(I_M4_DEPS)
1037         $(M4) -Dfile=$@ -I$(srcdir)/m4 in_unpack.m4 > $@
1039 $(i_pow_c): m4/pow.m4 $(I_M4_DEPS)
1040         $(M4) -Dfile=$@ -I$(srcdir)/m4 pow.m4 > $@
1042 $(i_pack_c): m4/pack.m4 $(I_M4_DEPS)
1043         $(M4) -Dfile=$@ -I$(srcdir)/m4 pack.m4 > $@
1045 $(i_unpack_c): m4/unpack.m4 $(I_M4_DEPS)
1046         $(M4) -Dfile=$@ -I$(srcdir)/m4 unpack.m4 > $@
1048 $(i_spread_c): m4/spread.m4 $(I_M4_DEPS)
1049         $(M4) -Dfile=$@ -I$(srcdir)/m4 spread.m4 > $@
1051 $(gfor_built_specific_src): m4/specific.m4 m4/head.m4
1052         $(M4) -Dfile=$@ -I$(srcdir)/m4 specific.m4 > $@
1054 $(gfor_built_specific2_src): m4/specific2.m4 m4/head.m4
1055         $(M4) -Dfile=$@ -I$(srcdir)/m4 specific2.m4 > $@
1057 $(gfor_misc_specifics): m4/misc_specifics.m4 m4/head.m4
1058         $(M4) -Dfile=$@ -I$(srcdir)/m4 misc_specifics.m4 > $@
1059 ## end of maintainer mode only rules
1060 endif
1062 EXTRA_DIST = $(m4_files)