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).
11 # -Wc is only a libtool option.
13 PREPROCESS = $(subst -Wc$(comma), , $(COMPILE)) -E
15 gfortran.ver: $(srcdir)/gfortran.map kinds.inc
16 $(EGREP) -v '#(#| |$$)' $< | \
17 $(PREPROCESS) -P -include config.h -include kinds.inc - > $@ || (rm -f $@ ; exit 1)
19 if LIBGFOR_USE_SYMVER_GNU
20 version_arg = -Wl,--version-script=gfortran.ver
21 version_dep = gfortran.ver
23 if LIBGFOR_USE_SYMVER_SUN
24 version_arg = -Wl,-M,gfortran.ver-sun
25 version_dep = gfortran.ver-sun gfortran.ver
26 gfortran.ver-sun : gfortran.ver \
27 $(top_srcdir)/../contrib/make_sunver.pl \
28 $(libgfortran_la_OBJECTS) $(libgfortran_la_LIBADD)
29 perl $(top_srcdir)/../contrib/make_sunver.pl \
31 $(libgfortran_la_OBJECTS:%.lo=.libs/%.o) \
32 `echo $(libgfortran_la_LIBADD) | \
33 sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
34 > $@ || (rm -f $@ ; exit 1)
40 extra_darwin_ldflags_libgfortran = @extra_ldflags_libgfortran@
41 if ENABLE_DARWIN_AT_RPATH
42 extra_darwin_ldflags_libgfortran += -Wc,-nodefaultrpaths
43 extra_darwin_ldflags_libgfortran += -Wl,-rpath,@loader_path
46 gfor_c_HEADERS = ISO_Fortran_binding.h
47 gfor_cdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
49 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) \
52 toolexeclib_LTLIBRARIES = libgfortran.la
53 toolexeclib_DATA = libgfortran.spec
54 libgfortran_la_LINK = $(LINK) $(libgfortran_la_LDFLAGS)
55 libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` \
56 $(LTLDFLAGS) $(LIBQUADLIB) ../libbacktrace/libbacktrace.la \
58 $(LIBM) $(extra_darwin_ldflags_libgfortran) \
59 $(version_arg) -Wc,-shared-libgcc
60 libgfortran_la_DEPENDENCIES = $(version_dep) libgfortran.spec $(LIBQUADLIB_DEP)
62 cafexeclib_LTLIBRARIES = libcaf_single.la
63 cafexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)
64 libcaf_single_la_SOURCES = caf/single.c
65 libcaf_single_la_LDFLAGS = -static
66 libcaf_single_la_DEPENDENCIES = caf/libcaf.h
67 libcaf_single_la_LINK = $(LINK) $(libcaf_single_la_LDFLAGS)
70 fincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)/finclude
71 nodist_finclude_HEADERS = ieee_arithmetic.mod ieee_exceptions.mod ieee_features.mod
74 ## io.h conflicts with a system header on some platforms, so
76 AM_CPPFLAGS = -iquote$(srcdir)/io -I$(srcdir)/$(MULTISRCTOP)../gcc \
77 -I$(srcdir)/$(MULTISRCTOP)../gcc/config $(LIBQUADINCLUDE) \
78 -I$(MULTIBUILDTOP)../../$(host_subdir)/gcc \
79 -I$(srcdir)/$(MULTISRCTOP)../libgcc \
80 -I$(MULTIBUILDTOP)../libgcc \
81 -I$(srcdir)/$(MULTISRCTOP)../libbacktrace \
82 -I$(MULTIBUILDTOP)../libbacktrace \
85 # Fortran rules for complex multiplication and division
86 AM_CFLAGS += -fcx-fortran-rules
88 # Use -ffunction-sections -fdata-sections if supported by the compiler
89 AM_CFLAGS += $(SECTION_FLAGS)
91 # Some targets require additional compiler options for IEEE compatibility.
92 AM_CFLAGS += $(IEEE_FLAGS)
93 AM_FCFLAGS += $(IEEE_FLAGS)
96 AM_CFLAGS += -DLIBGFOR_MINIMAL
132 intrinsics/associated.c \
135 intrinsics/cshift0.c \
136 intrinsics/eoshift0.c \
137 intrinsics/eoshift2.c \
138 intrinsics/erfc_scaled.c \
139 intrinsics/extends_type_of.c \
141 intrinsics/ierrno.c \
142 intrinsics/ishftc.c \
143 intrinsics/is_contiguous.c \
144 intrinsics/mvbits.c \
145 intrinsics/move_alloc.c \
146 intrinsics/pack_generic.c \
147 intrinsics/selected_char_kind.c \
149 intrinsics/spread_generic.c \
150 intrinsics/string_intrinsics.c \
152 intrinsics/random.c \
153 intrinsics/reshape_generic.c \
154 intrinsics/reshape_packed.c \
155 intrinsics/selected_int_kind.f90 \
156 intrinsics/selected_real_kind.f90 \
158 intrinsics/unpack_generic.c \
159 runtime/in_pack_generic.c \
160 runtime/in_unpack_generic.c
165 intrinsics/access.c \
166 intrinsics/c99_functions.c \
170 intrinsics/cpu_time.c \
172 intrinsics/date_and_time.c \
176 intrinsics/execute_command_line.c \
178 intrinsics/gerror.c \
179 intrinsics/getcwd.c \
180 intrinsics/getlog.c \
181 intrinsics/getXid.c \
182 intrinsics/hostnm.c \
185 intrinsics/perror.c \
186 intrinsics/signal.c \
188 intrinsics/system.c \
189 intrinsics/rename.c \
191 intrinsics/symlnk.c \
192 intrinsics/system_clock.c \
201 gfor_ieee_helper_src=ieee/ieee_helper.c
203 gfor_helper_src+=ieee/ieee_helper.c
206 ieee/ieee_arithmetic.F90 \
207 ieee/ieee_exceptions.F90 \
208 ieee/ieee_features.F90
218 runtime/compile_options.c \
225 gfor_src+= runtime/minimal.c
230 runtime/backtrace.c \
231 runtime/convert_char.c \
242 $(srcdir)/generated/all_l1.c \
243 $(srcdir)/generated/all_l2.c \
244 $(srcdir)/generated/all_l4.c \
245 $(srcdir)/generated/all_l8.c \
246 $(srcdir)/generated/all_l16.c
249 $(srcdir)/generated/any_l1.c \
250 $(srcdir)/generated/any_l2.c \
251 $(srcdir)/generated/any_l4.c \
252 $(srcdir)/generated/any_l8.c \
253 $(srcdir)/generated/any_l16.c
256 $(srcdir)/generated/bessel_r4.c \
257 $(srcdir)/generated/bessel_r8.c \
258 $(srcdir)/generated/bessel_r10.c \
259 $(srcdir)/generated/bessel_r16.c \
260 $(srcdir)/generated/bessel_r17.c
263 $(srcdir)/generated/count_1_l.c \
264 $(srcdir)/generated/count_2_l.c \
265 $(srcdir)/generated/count_4_l.c \
266 $(srcdir)/generated/count_8_l.c \
267 $(srcdir)/generated/count_16_l.c
270 $(srcdir)/generated/iall_i1.c \
271 $(srcdir)/generated/iall_i2.c \
272 $(srcdir)/generated/iall_i4.c \
273 $(srcdir)/generated/iall_i8.c \
274 $(srcdir)/generated/iall_i16.c
277 $(srcdir)/generated/iany_i1.c \
278 $(srcdir)/generated/iany_i2.c \
279 $(srcdir)/generated/iany_i4.c \
280 $(srcdir)/generated/iany_i8.c \
281 $(srcdir)/generated/iany_i16.c
284 $(srcdir)/generated/iparity_i1.c \
285 $(srcdir)/generated/iparity_i2.c \
286 $(srcdir)/generated/iparity_i4.c \
287 $(srcdir)/generated/iparity_i8.c \
288 $(srcdir)/generated/iparity_i16.c
291 $(srcdir)/generated/findloc0_i1.c \
292 $(srcdir)/generated/findloc0_i2.c \
293 $(srcdir)/generated/findloc0_i4.c \
294 $(srcdir)/generated/findloc0_i8.c \
295 $(srcdir)/generated/findloc0_i16.c \
296 $(srcdir)/generated/findloc0_r4.c \
297 $(srcdir)/generated/findloc0_r8.c \
298 $(srcdir)/generated/findloc0_r10.c \
299 $(srcdir)/generated/findloc0_r16.c \
300 $(srcdir)/generated/findloc0_r17.c \
301 $(srcdir)/generated/findloc0_c4.c \
302 $(srcdir)/generated/findloc0_c8.c \
303 $(srcdir)/generated/findloc0_c10.c \
304 $(srcdir)/generated/findloc0_c16.c \
305 $(srcdir)/generated/findloc0_c17.c
308 $(srcdir)/generated/findloc0_s1.c \
309 $(srcdir)/generated/findloc0_s4.c
312 $(srcdir)/generated/findloc1_i1.c \
313 $(srcdir)/generated/findloc1_i2.c \
314 $(srcdir)/generated/findloc1_i4.c \
315 $(srcdir)/generated/findloc1_i8.c \
316 $(srcdir)/generated/findloc1_i16.c \
317 $(srcdir)/generated/findloc1_r4.c \
318 $(srcdir)/generated/findloc1_r8.c \
319 $(srcdir)/generated/findloc1_r10.c \
320 $(srcdir)/generated/findloc1_r16.c \
321 $(srcdir)/generated/findloc1_r17.c \
322 $(srcdir)/generated/findloc1_c4.c \
323 $(srcdir)/generated/findloc1_c8.c \
324 $(srcdir)/generated/findloc1_c10.c \
325 $(srcdir)/generated/findloc1_c16.c \
326 $(srcdir)/generated/findloc1_c17.c
329 $(srcdir)/generated/findloc1_s1.c \
330 $(srcdir)/generated/findloc1_s4.c
333 $(srcdir)/generated/findloc2_s1.c \
334 $(srcdir)/generated/findloc2_s4.c
337 $(srcdir)/generated/maxloc0_4_i1.c \
338 $(srcdir)/generated/maxloc0_8_i1.c \
339 $(srcdir)/generated/maxloc0_16_i1.c \
340 $(srcdir)/generated/maxloc0_4_i2.c \
341 $(srcdir)/generated/maxloc0_8_i2.c \
342 $(srcdir)/generated/maxloc0_16_i2.c \
343 $(srcdir)/generated/maxloc0_4_i4.c \
344 $(srcdir)/generated/maxloc0_8_i4.c \
345 $(srcdir)/generated/maxloc0_16_i4.c \
346 $(srcdir)/generated/maxloc0_4_i8.c \
347 $(srcdir)/generated/maxloc0_8_i8.c \
348 $(srcdir)/generated/maxloc0_16_i8.c \
349 $(srcdir)/generated/maxloc0_4_i16.c \
350 $(srcdir)/generated/maxloc0_8_i16.c \
351 $(srcdir)/generated/maxloc0_16_i16.c \
352 $(srcdir)/generated/maxloc0_4_r4.c \
353 $(srcdir)/generated/maxloc0_8_r4.c \
354 $(srcdir)/generated/maxloc0_16_r4.c \
355 $(srcdir)/generated/maxloc0_4_r8.c \
356 $(srcdir)/generated/maxloc0_8_r8.c \
357 $(srcdir)/generated/maxloc0_16_r8.c \
358 $(srcdir)/generated/maxloc0_4_r10.c \
359 $(srcdir)/generated/maxloc0_8_r10.c \
360 $(srcdir)/generated/maxloc0_16_r10.c \
361 $(srcdir)/generated/maxloc0_4_r16.c \
362 $(srcdir)/generated/maxloc0_8_r16.c \
363 $(srcdir)/generated/maxloc0_16_r16.c \
364 $(srcdir)/generated/maxloc0_4_r17.c \
365 $(srcdir)/generated/maxloc0_8_r17.c \
366 $(srcdir)/generated/maxloc0_16_r17.c
369 $(srcdir)/generated/maxloc0_4_s1.c \
370 $(srcdir)/generated/maxloc0_4_s4.c \
371 $(srcdir)/generated/maxloc0_8_s1.c \
372 $(srcdir)/generated/maxloc0_8_s4.c \
373 $(srcdir)/generated/maxloc0_16_s1.c \
374 $(srcdir)/generated/maxloc0_16_s4.c
377 $(srcdir)/generated/maxloc1_4_i1.c \
378 $(srcdir)/generated/maxloc1_8_i1.c \
379 $(srcdir)/generated/maxloc1_16_i1.c \
380 $(srcdir)/generated/maxloc1_4_i2.c \
381 $(srcdir)/generated/maxloc1_8_i2.c \
382 $(srcdir)/generated/maxloc1_16_i2.c \
383 $(srcdir)/generated/maxloc1_4_i4.c \
384 $(srcdir)/generated/maxloc1_8_i4.c \
385 $(srcdir)/generated/maxloc1_16_i4.c \
386 $(srcdir)/generated/maxloc1_4_i8.c \
387 $(srcdir)/generated/maxloc1_8_i8.c \
388 $(srcdir)/generated/maxloc1_16_i8.c \
389 $(srcdir)/generated/maxloc1_4_i16.c \
390 $(srcdir)/generated/maxloc1_8_i16.c \
391 $(srcdir)/generated/maxloc1_16_i16.c \
392 $(srcdir)/generated/maxloc1_4_r4.c \
393 $(srcdir)/generated/maxloc1_8_r4.c \
394 $(srcdir)/generated/maxloc1_16_r4.c \
395 $(srcdir)/generated/maxloc1_4_r8.c \
396 $(srcdir)/generated/maxloc1_8_r8.c \
397 $(srcdir)/generated/maxloc1_16_r8.c \
398 $(srcdir)/generated/maxloc1_4_r10.c \
399 $(srcdir)/generated/maxloc1_8_r10.c \
400 $(srcdir)/generated/maxloc1_16_r10.c \
401 $(srcdir)/generated/maxloc1_4_r16.c \
402 $(srcdir)/generated/maxloc1_8_r16.c \
403 $(srcdir)/generated/maxloc1_16_r16.c \
404 $(srcdir)/generated/maxloc1_4_r17.c \
405 $(srcdir)/generated/maxloc1_8_r17.c \
406 $(srcdir)/generated/maxloc1_16_r17.c
409 $(srcdir)/generated/maxloc1_4_s1.c \
410 $(srcdir)/generated/maxloc1_4_s4.c \
411 $(srcdir)/generated/maxloc1_8_s1.c \
412 $(srcdir)/generated/maxloc1_8_s4.c \
413 $(srcdir)/generated/maxloc1_16_s1.c \
414 $(srcdir)/generated/maxloc1_16_s4.c
417 $(srcdir)/generated/maxloc2_4_s1.c \
418 $(srcdir)/generated/maxloc2_4_s4.c \
419 $(srcdir)/generated/maxloc2_8_s1.c \
420 $(srcdir)/generated/maxloc2_8_s4.c \
421 $(srcdir)/generated/maxloc2_16_s1.c \
422 $(srcdir)/generated/maxloc2_16_s4.c
425 $(srcdir)/generated/maxval_i1.c \
426 $(srcdir)/generated/maxval_i2.c \
427 $(srcdir)/generated/maxval_i4.c \
428 $(srcdir)/generated/maxval_i8.c \
429 $(srcdir)/generated/maxval_i16.c \
430 $(srcdir)/generated/maxval_r4.c \
431 $(srcdir)/generated/maxval_r8.c \
432 $(srcdir)/generated/maxval_r10.c \
433 $(srcdir)/generated/maxval_r16.c \
434 $(srcdir)/generated/maxval_r17.c
437 $(srcdir)/generated/maxval0_s1.c \
438 $(srcdir)/generated/maxval0_s4.c
441 $(srcdir)/generated/maxval1_s1.c \
442 $(srcdir)/generated/maxval1_s4.c
445 $(srcdir)/generated/minloc0_4_i1.c \
446 $(srcdir)/generated/minloc0_8_i1.c \
447 $(srcdir)/generated/minloc0_16_i1.c \
448 $(srcdir)/generated/minloc0_4_i2.c \
449 $(srcdir)/generated/minloc0_8_i2.c \
450 $(srcdir)/generated/minloc0_16_i2.c \
451 $(srcdir)/generated/minloc0_4_i4.c \
452 $(srcdir)/generated/minloc0_8_i4.c \
453 $(srcdir)/generated/minloc0_16_i4.c \
454 $(srcdir)/generated/minloc0_4_i8.c \
455 $(srcdir)/generated/minloc0_8_i8.c \
456 $(srcdir)/generated/minloc0_16_i8.c \
457 $(srcdir)/generated/minloc0_4_i16.c \
458 $(srcdir)/generated/minloc0_8_i16.c \
459 $(srcdir)/generated/minloc0_16_i16.c \
460 $(srcdir)/generated/minloc0_4_r4.c \
461 $(srcdir)/generated/minloc0_8_r4.c \
462 $(srcdir)/generated/minloc0_16_r4.c \
463 $(srcdir)/generated/minloc0_4_r8.c \
464 $(srcdir)/generated/minloc0_8_r8.c \
465 $(srcdir)/generated/minloc0_16_r8.c \
466 $(srcdir)/generated/minloc0_4_r10.c \
467 $(srcdir)/generated/minloc0_8_r10.c \
468 $(srcdir)/generated/minloc0_16_r10.c \
469 $(srcdir)/generated/minloc0_4_r16.c \
470 $(srcdir)/generated/minloc0_8_r16.c \
471 $(srcdir)/generated/minloc0_16_r16.c \
472 $(srcdir)/generated/minloc0_4_r17.c \
473 $(srcdir)/generated/minloc0_8_r17.c \
474 $(srcdir)/generated/minloc0_16_r17.c
477 $(srcdir)/generated/minloc0_4_s1.c \
478 $(srcdir)/generated/minloc0_4_s4.c \
479 $(srcdir)/generated/minloc0_8_s1.c \
480 $(srcdir)/generated/minloc0_8_s4.c \
481 $(srcdir)/generated/minloc0_16_s1.c \
482 $(srcdir)/generated/minloc0_16_s4.c
485 $(srcdir)/generated/minloc1_4_i1.c \
486 $(srcdir)/generated/minloc1_8_i1.c \
487 $(srcdir)/generated/minloc1_16_i1.c \
488 $(srcdir)/generated/minloc1_4_i2.c \
489 $(srcdir)/generated/minloc1_8_i2.c \
490 $(srcdir)/generated/minloc1_16_i2.c \
491 $(srcdir)/generated/minloc1_4_i4.c \
492 $(srcdir)/generated/minloc1_8_i4.c \
493 $(srcdir)/generated/minloc1_16_i4.c \
494 $(srcdir)/generated/minloc1_4_i8.c \
495 $(srcdir)/generated/minloc1_8_i8.c \
496 $(srcdir)/generated/minloc1_16_i8.c \
497 $(srcdir)/generated/minloc1_4_i16.c \
498 $(srcdir)/generated/minloc1_8_i16.c \
499 $(srcdir)/generated/minloc1_16_i16.c \
500 $(srcdir)/generated/minloc1_4_r4.c \
501 $(srcdir)/generated/minloc1_8_r4.c \
502 $(srcdir)/generated/minloc1_16_r4.c \
503 $(srcdir)/generated/minloc1_4_r8.c \
504 $(srcdir)/generated/minloc1_8_r8.c \
505 $(srcdir)/generated/minloc1_16_r8.c \
506 $(srcdir)/generated/minloc1_4_r10.c \
507 $(srcdir)/generated/minloc1_8_r10.c \
508 $(srcdir)/generated/minloc1_16_r10.c \
509 $(srcdir)/generated/minloc1_4_r16.c \
510 $(srcdir)/generated/minloc1_8_r16.c \
511 $(srcdir)/generated/minloc1_16_r16.c \
512 $(srcdir)/generated/minloc1_4_r17.c \
513 $(srcdir)/generated/minloc1_8_r17.c \
514 $(srcdir)/generated/minloc1_16_r17.c
517 $(srcdir)/generated/minloc1_4_s1.c \
518 $(srcdir)/generated/minloc1_4_s4.c \
519 $(srcdir)/generated/minloc1_8_s1.c \
520 $(srcdir)/generated/minloc1_8_s4.c \
521 $(srcdir)/generated/minloc1_16_s1.c \
522 $(srcdir)/generated/minloc1_16_s4.c
525 $(srcdir)/generated/minloc2_4_s1.c \
526 $(srcdir)/generated/minloc2_4_s4.c \
527 $(srcdir)/generated/minloc2_8_s1.c \
528 $(srcdir)/generated/minloc2_8_s4.c \
529 $(srcdir)/generated/minloc2_16_s1.c \
530 $(srcdir)/generated/minloc2_16_s4.c
533 $(srcdir)/generated/minval_i1.c \
534 $(srcdir)/generated/minval_i2.c \
535 $(srcdir)/generated/minval_i4.c \
536 $(srcdir)/generated/minval_i8.c \
537 $(srcdir)/generated/minval_i16.c \
538 $(srcdir)/generated/minval_r4.c \
539 $(srcdir)/generated/minval_r8.c \
540 $(srcdir)/generated/minval_r10.c \
541 $(srcdir)/generated/minval_r16.c \
542 $(srcdir)/generated/minval_r17.c
545 $(srcdir)/generated/minval0_s1.c \
546 $(srcdir)/generated/minval0_s4.c
549 $(srcdir)/generated/minval1_s1.c \
550 $(srcdir)/generated/minval1_s4.c
553 $(srcdir)/generated/norm2_r4.c \
554 $(srcdir)/generated/norm2_r8.c \
555 $(srcdir)/generated/norm2_r10.c \
556 $(srcdir)/generated/norm2_r16.c \
557 $(srcdir)/generated/norm2_r17.c
560 $(srcdir)/generated/parity_l1.c \
561 $(srcdir)/generated/parity_l2.c \
562 $(srcdir)/generated/parity_l4.c \
563 $(srcdir)/generated/parity_l8.c \
564 $(srcdir)/generated/parity_l16.c
567 $(srcdir)/generated/sum_i1.c \
568 $(srcdir)/generated/sum_i2.c \
569 $(srcdir)/generated/sum_i4.c \
570 $(srcdir)/generated/sum_i8.c \
571 $(srcdir)/generated/sum_i16.c \
572 $(srcdir)/generated/sum_r4.c \
573 $(srcdir)/generated/sum_r8.c \
574 $(srcdir)/generated/sum_r10.c \
575 $(srcdir)/generated/sum_r16.c \
576 $(srcdir)/generated/sum_r17.c \
577 $(srcdir)/generated/sum_c4.c \
578 $(srcdir)/generated/sum_c8.c \
579 $(srcdir)/generated/sum_c10.c \
580 $(srcdir)/generated/sum_c16.c \
581 $(srcdir)/generated/sum_c17.c
584 $(srcdir)/generated/product_i1.c \
585 $(srcdir)/generated/product_i2.c \
586 $(srcdir)/generated/product_i4.c \
587 $(srcdir)/generated/product_i8.c \
588 $(srcdir)/generated/product_i16.c \
589 $(srcdir)/generated/product_r4.c \
590 $(srcdir)/generated/product_r8.c \
591 $(srcdir)/generated/product_r10.c \
592 $(srcdir)/generated/product_r16.c \
593 $(srcdir)/generated/product_r17.c \
594 $(srcdir)/generated/product_c4.c \
595 $(srcdir)/generated/product_c8.c \
596 $(srcdir)/generated/product_c10.c \
597 $(srcdir)/generated/product_c16.c \
598 $(srcdir)/generated/product_c17.c
601 $(srcdir)/generated/matmul_i1.c \
602 $(srcdir)/generated/matmul_i2.c \
603 $(srcdir)/generated/matmul_i4.c \
604 $(srcdir)/generated/matmul_i8.c \
605 $(srcdir)/generated/matmul_i16.c \
606 $(srcdir)/generated/matmul_r4.c \
607 $(srcdir)/generated/matmul_r8.c \
608 $(srcdir)/generated/matmul_r10.c \
609 $(srcdir)/generated/matmul_r16.c \
610 $(srcdir)/generated/matmul_r17.c \
611 $(srcdir)/generated/matmul_c4.c \
612 $(srcdir)/generated/matmul_c8.c \
613 $(srcdir)/generated/matmul_c10.c \
614 $(srcdir)/generated/matmul_c16.c \
615 $(srcdir)/generated/matmul_c17.c
618 $(srcdir)/generated/matmulavx128_i1.c \
619 $(srcdir)/generated/matmulavx128_i2.c \
620 $(srcdir)/generated/matmulavx128_i4.c \
621 $(srcdir)/generated/matmulavx128_i8.c \
622 $(srcdir)/generated/matmulavx128_i16.c \
623 $(srcdir)/generated/matmulavx128_r4.c \
624 $(srcdir)/generated/matmulavx128_r8.c \
625 $(srcdir)/generated/matmulavx128_r10.c \
626 $(srcdir)/generated/matmulavx128_r16.c \
627 $(srcdir)/generated/matmulavx128_r17.c \
628 $(srcdir)/generated/matmulavx128_c4.c \
629 $(srcdir)/generated/matmulavx128_c8.c \
630 $(srcdir)/generated/matmulavx128_c10.c \
631 $(srcdir)/generated/matmulavx128_c16.c \
632 $(srcdir)/generated/matmulavx128_c17.c
635 $(srcdir)/generated/matmul_l4.c \
636 $(srcdir)/generated/matmul_l8.c \
637 $(srcdir)/generated/matmul_l16.c
640 $(srcdir)/generated/shape_i1.c \
641 $(srcdir)/generated/shape_i2.c \
642 $(srcdir)/generated/shape_i4.c \
643 $(srcdir)/generated/shape_i8.c \
644 $(srcdir)/generated/shape_i16.c
647 $(srcdir)/generated/reshape_i4.c \
648 $(srcdir)/generated/reshape_i8.c \
649 $(srcdir)/generated/reshape_i16.c \
650 $(srcdir)/generated/reshape_r4.c \
651 $(srcdir)/generated/reshape_r8.c \
652 $(srcdir)/generated/reshape_r10.c \
653 $(srcdir)/generated/reshape_r16.c \
654 $(srcdir)/generated/reshape_r17.c \
655 $(srcdir)/generated/reshape_c4.c \
656 $(srcdir)/generated/reshape_c8.c \
657 $(srcdir)/generated/reshape_c10.c \
658 $(srcdir)/generated/reshape_c16.c \
659 $(srcdir)/generated/reshape_c17.c
662 $(srcdir)/generated/eoshift1_4.c \
663 $(srcdir)/generated/eoshift1_8.c \
664 $(srcdir)/generated/eoshift1_16.c
667 $(srcdir)/generated/eoshift3_4.c \
668 $(srcdir)/generated/eoshift3_8.c \
669 $(srcdir)/generated/eoshift3_16.c
672 $(srcdir)/generated/cshift0_i1.c \
673 $(srcdir)/generated/cshift0_i2.c \
674 $(srcdir)/generated/cshift0_i4.c \
675 $(srcdir)/generated/cshift0_i8.c \
676 $(srcdir)/generated/cshift0_i16.c \
677 $(srcdir)/generated/cshift0_r4.c \
678 $(srcdir)/generated/cshift0_r8.c \
679 $(srcdir)/generated/cshift0_r10.c \
680 $(srcdir)/generated/cshift0_r16.c \
681 $(srcdir)/generated/cshift0_r17.c \
682 $(srcdir)/generated/cshift0_c4.c \
683 $(srcdir)/generated/cshift0_c8.c \
684 $(srcdir)/generated/cshift0_c10.c \
685 $(srcdir)/generated/cshift0_c16.c \
686 $(srcdir)/generated/cshift0_c17.c
689 $(srcdir)/generated/cshift1_4.c \
690 $(srcdir)/generated/cshift1_8.c \
691 $(srcdir)/generated/cshift1_16.c
694 $(srcdir)/generated/cshift1_4_i1.c \
695 $(srcdir)/generated/cshift1_4_i2.c \
696 $(srcdir)/generated/cshift1_4_i4.c \
697 $(srcdir)/generated/cshift1_4_i8.c \
698 $(srcdir)/generated/cshift1_4_i16.c \
699 $(srcdir)/generated/cshift1_4_r4.c \
700 $(srcdir)/generated/cshift1_4_r8.c \
701 $(srcdir)/generated/cshift1_4_r10.c \
702 $(srcdir)/generated/cshift1_4_r16.c \
703 $(srcdir)/generated/cshift1_4_r17.c \
704 $(srcdir)/generated/cshift1_4_c4.c \
705 $(srcdir)/generated/cshift1_4_c8.c \
706 $(srcdir)/generated/cshift1_4_c10.c \
707 $(srcdir)/generated/cshift1_4_c16.c \
708 $(srcdir)/generated/cshift1_4_c17.c \
709 $(srcdir)/generated/cshift1_8_i1.c \
710 $(srcdir)/generated/cshift1_8_i2.c \
711 $(srcdir)/generated/cshift1_8_i4.c \
712 $(srcdir)/generated/cshift1_8_i8.c \
713 $(srcdir)/generated/cshift1_8_i16.c \
714 $(srcdir)/generated/cshift1_8_r4.c \
715 $(srcdir)/generated/cshift1_8_r8.c \
716 $(srcdir)/generated/cshift1_8_r10.c \
717 $(srcdir)/generated/cshift1_8_r16.c \
718 $(srcdir)/generated/cshift1_8_r17.c \
719 $(srcdir)/generated/cshift1_8_c4.c \
720 $(srcdir)/generated/cshift1_8_c8.c \
721 $(srcdir)/generated/cshift1_8_c10.c \
722 $(srcdir)/generated/cshift1_8_c16.c \
723 $(srcdir)/generated/cshift1_8_c17.c \
724 $(srcdir)/generated/cshift1_16_i1.c \
725 $(srcdir)/generated/cshift1_16_i2.c \
726 $(srcdir)/generated/cshift1_16_i4.c \
727 $(srcdir)/generated/cshift1_16_i8.c \
728 $(srcdir)/generated/cshift1_16_i16.c \
729 $(srcdir)/generated/cshift1_16_r4.c \
730 $(srcdir)/generated/cshift1_16_r8.c \
731 $(srcdir)/generated/cshift1_16_r10.c \
732 $(srcdir)/generated/cshift1_16_r16.c \
733 $(srcdir)/generated/cshift1_16_r17.c \
734 $(srcdir)/generated/cshift1_16_c4.c \
735 $(srcdir)/generated/cshift1_16_c8.c \
736 $(srcdir)/generated/cshift1_16_c10.c \
737 $(srcdir)/generated/cshift1_16_c16.c \
738 $(srcdir)/generated/cshift1_16_c17.c
741 $(srcdir)/generated/in_pack_i1.c \
742 $(srcdir)/generated/in_pack_i2.c \
743 $(srcdir)/generated/in_pack_i4.c \
744 $(srcdir)/generated/in_pack_i8.c \
745 $(srcdir)/generated/in_pack_i16.c \
746 $(srcdir)/generated/in_pack_r4.c \
747 $(srcdir)/generated/in_pack_r8.c \
748 $(srcdir)/generated/in_pack_r10.c \
749 $(srcdir)/generated/in_pack_r16.c \
750 $(srcdir)/generated/in_pack_r17.c \
751 $(srcdir)/generated/in_pack_c4.c \
752 $(srcdir)/generated/in_pack_c8.c \
753 $(srcdir)/generated/in_pack_c10.c \
754 $(srcdir)/generated/in_pack_c16.c \
755 $(srcdir)/generated/in_pack_c17.c
758 $(srcdir)/generated/in_unpack_i1.c \
759 $(srcdir)/generated/in_unpack_i2.c \
760 $(srcdir)/generated/in_unpack_i4.c \
761 $(srcdir)/generated/in_unpack_i8.c \
762 $(srcdir)/generated/in_unpack_i16.c \
763 $(srcdir)/generated/in_unpack_r4.c \
764 $(srcdir)/generated/in_unpack_r8.c \
765 $(srcdir)/generated/in_unpack_r10.c \
766 $(srcdir)/generated/in_unpack_r16.c \
767 $(srcdir)/generated/in_unpack_r17.c \
768 $(srcdir)/generated/in_unpack_c4.c \
769 $(srcdir)/generated/in_unpack_c8.c \
770 $(srcdir)/generated/in_unpack_c10.c \
771 $(srcdir)/generated/in_unpack_c16.c \
772 $(srcdir)/generated/in_unpack_c17.c
775 $(srcdir)/generated/pow_i4_i4.c \
776 $(srcdir)/generated/pow_i8_i4.c \
777 $(srcdir)/generated/pow_i16_i4.c \
778 $(srcdir)/generated/pow_r16_i4.c \
779 $(srcdir)/generated/pow_r17_i4.c \
780 $(srcdir)/generated/pow_c4_i4.c \
781 $(srcdir)/generated/pow_c8_i4.c \
782 $(srcdir)/generated/pow_c10_i4.c \
783 $(srcdir)/generated/pow_c16_i4.c \
784 $(srcdir)/generated/pow_c17_i4.c \
785 $(srcdir)/generated/pow_i4_i8.c \
786 $(srcdir)/generated/pow_i8_i8.c \
787 $(srcdir)/generated/pow_i16_i8.c \
788 $(srcdir)/generated/pow_r4_i8.c \
789 $(srcdir)/generated/pow_r8_i8.c \
790 $(srcdir)/generated/pow_r10_i8.c \
791 $(srcdir)/generated/pow_r16_i8.c \
792 $(srcdir)/generated/pow_r17_i8.c \
793 $(srcdir)/generated/pow_c4_i8.c \
794 $(srcdir)/generated/pow_c8_i8.c \
795 $(srcdir)/generated/pow_c10_i8.c \
796 $(srcdir)/generated/pow_c16_i8.c \
797 $(srcdir)/generated/pow_c17_i8.c \
798 $(srcdir)/generated/pow_i4_i16.c \
799 $(srcdir)/generated/pow_i8_i16.c \
800 $(srcdir)/generated/pow_i16_i16.c \
801 $(srcdir)/generated/pow_r4_i16.c \
802 $(srcdir)/generated/pow_r8_i16.c \
803 $(srcdir)/generated/pow_r10_i16.c \
804 $(srcdir)/generated/pow_r16_i16.c \
805 $(srcdir)/generated/pow_r17_i16.c \
806 $(srcdir)/generated/pow_c4_i16.c \
807 $(srcdir)/generated/pow_c8_i16.c \
808 $(srcdir)/generated/pow_c10_i16.c \
809 $(srcdir)/generated/pow_c16_i16.c \
810 $(srcdir)/generated/pow_c17_i16.c
813 $(srcdir)/generated/pack_i1.c \
814 $(srcdir)/generated/pack_i2.c \
815 $(srcdir)/generated/pack_i4.c \
816 $(srcdir)/generated/pack_i8.c \
817 $(srcdir)/generated/pack_i16.c \
818 $(srcdir)/generated/pack_r4.c \
819 $(srcdir)/generated/pack_r8.c \
820 $(srcdir)/generated/pack_r10.c \
821 $(srcdir)/generated/pack_r16.c \
822 $(srcdir)/generated/pack_r17.c \
823 $(srcdir)/generated/pack_c4.c \
824 $(srcdir)/generated/pack_c8.c \
825 $(srcdir)/generated/pack_c10.c \
826 $(srcdir)/generated/pack_c16.c \
827 $(srcdir)/generated/pack_c17.c
830 $(srcdir)/generated/unpack_i1.c \
831 $(srcdir)/generated/unpack_i2.c \
832 $(srcdir)/generated/unpack_i4.c \
833 $(srcdir)/generated/unpack_i8.c \
834 $(srcdir)/generated/unpack_i16.c \
835 $(srcdir)/generated/unpack_r4.c \
836 $(srcdir)/generated/unpack_r8.c \
837 $(srcdir)/generated/unpack_r10.c \
838 $(srcdir)/generated/unpack_r16.c \
839 $(srcdir)/generated/unpack_r17.c \
840 $(srcdir)/generated/unpack_c4.c \
841 $(srcdir)/generated/unpack_c8.c \
842 $(srcdir)/generated/unpack_c10.c \
843 $(srcdir)/generated/unpack_c16.c \
844 $(srcdir)/generated/unpack_c17.c
847 $(srcdir)/generated/spread_i1.c \
848 $(srcdir)/generated/spread_i2.c \
849 $(srcdir)/generated/spread_i4.c \
850 $(srcdir)/generated/spread_i8.c \
851 $(srcdir)/generated/spread_i16.c \
852 $(srcdir)/generated/spread_r4.c \
853 $(srcdir)/generated/spread_r8.c \
854 $(srcdir)/generated/spread_r10.c \
855 $(srcdir)/generated/spread_r16.c \
856 $(srcdir)/generated/spread_r17.c \
857 $(srcdir)/generated/spread_c4.c \
858 $(srcdir)/generated/spread_c8.c \
859 $(srcdir)/generated/spread_c10.c \
860 $(srcdir)/generated/spread_c16.c \
861 $(srcdir)/generated/spread_c17.c
864 $(srcdir)/runtime/ISO_Fortran_binding.c
866 m4_files= m4/iparm.m4 m4/ifunction.m4 m4/iforeach.m4 m4/all.m4 \
867 m4/any.m4 m4/count.m4 m4/maxloc0.m4 m4/maxloc1.m4 m4/maxval.m4 \
868 m4/minloc0.m4 m4/minloc1.m4 m4/minval.m4 m4/product.m4 m4/sum.m4 \
869 m4/matmul.m4 m4/matmull.m4 m4/ifunction_logical.m4 \
870 m4/ctrig.m4 m4/cexp.m4 m4/chyp.m4 m4/mtype.m4 \
871 m4/specific.m4 m4/specific2.m4 m4/head.m4 m4/shape.m4 m4/reshape.m4 \
872 m4/eoshift1.m4 m4/eoshift3.m4 \
874 m4/misc_specifics.m4 m4/pack.m4 \
875 m4/unpack.m4 m4/spread.m4 m4/bessel.m4 m4/norm2.m4 m4/parity.m4 \
876 m4/iall.m4 m4/iany.m4 m4/iparity.m4 m4/iforeach-s.m4 m4/findloc0.m4 \
877 m4/findloc0s.m4 m4/ifindloc0.m4 m4/findloc1.m4 m4/ifindloc1.m4 \
878 m4/findloc2s.m4 m4/ifindloc2.m4
880 gfor_built_src= $(i_all_c) $(i_any_c) $(i_count_c) $(i_maxloc0_c) \
881 $(i_maxloc1_c) $(i_maxval_c) $(i_minloc0_c) $(i_minloc1_c) $(i_minval_c) \
882 $(i_product_c) $(i_sum_c) $(i_bessel_c) $(i_iall_c) $(i_iany_c) \
883 $(i_iparity_c) $(i_norm2_c) $(i_parity_c) \
884 $(i_matmul_c) $(i_matmull_c) $(i_shape_c) $(i_eoshift1_c) \
885 $(i_eoshift3_c) $(i_cshift1_c) $(i_reshape_c) $(in_pack_c) $(in_unpack_c) \
886 $(i_pow_c) $(i_pack_c) $(i_unpack_c) $(i_matmulavx128_c) \
887 $(i_spread_c) selected_int_kind.inc selected_real_kind.inc kinds.h \
888 $(i_cshift0_c) kinds.inc c99_protos.inc fpu-target.h fpu-target.inc \
889 include/ISO_Fortran_binding.h \
890 $(i_cshift1a_c) $(i_maxloc0s_c) $(i_minloc0s_c) $(i_maxloc1s_c) \
891 $(i_minloc1s_c) $(i_maxloc2s_c) $(i_minloc2s_c) $(i_maxvals_c) \
892 $(i_maxval0s_c) $(i_minval0s_c) $(i_maxval1s_c) $(i_minval1s_c) \
893 $(i_findloc0_c) $(i_findloc0s_c) $(i_findloc1_c) $(i_findloc1s_c) \
894 $(i_findloc2s_c) $(i_isobinding_c)
896 # Machine generated specifics
897 gfor_built_specific_src= \
898 $(srcdir)/generated/_abs_c4.F90 \
899 $(srcdir)/generated/_abs_c8.F90 \
900 $(srcdir)/generated/_abs_c10.F90 \
901 $(srcdir)/generated/_abs_c16.F90 \
902 $(srcdir)/generated/_abs_c17.F90 \
903 $(srcdir)/generated/_abs_i4.F90 \
904 $(srcdir)/generated/_abs_i8.F90 \
905 $(srcdir)/generated/_abs_i16.F90 \
906 $(srcdir)/generated/_abs_r4.F90 \
907 $(srcdir)/generated/_abs_r8.F90 \
908 $(srcdir)/generated/_abs_r10.F90 \
909 $(srcdir)/generated/_abs_r16.F90 \
910 $(srcdir)/generated/_abs_r17.F90 \
911 $(srcdir)/generated/_aimag_c4.F90 \
912 $(srcdir)/generated/_aimag_c8.F90 \
913 $(srcdir)/generated/_aimag_c10.F90 \
914 $(srcdir)/generated/_aimag_c16.F90 \
915 $(srcdir)/generated/_aimag_c17.F90 \
916 $(srcdir)/generated/_exp_r4.F90 \
917 $(srcdir)/generated/_exp_r8.F90 \
918 $(srcdir)/generated/_exp_r10.F90 \
919 $(srcdir)/generated/_exp_r16.F90 \
920 $(srcdir)/generated/_exp_r17.F90 \
921 $(srcdir)/generated/_exp_c4.F90 \
922 $(srcdir)/generated/_exp_c8.F90 \
923 $(srcdir)/generated/_exp_c10.F90 \
924 $(srcdir)/generated/_exp_c16.F90 \
925 $(srcdir)/generated/_exp_c17.F90 \
926 $(srcdir)/generated/_log_r4.F90 \
927 $(srcdir)/generated/_log_r8.F90 \
928 $(srcdir)/generated/_log_r10.F90 \
929 $(srcdir)/generated/_log_r16.F90 \
930 $(srcdir)/generated/_log_r17.F90 \
931 $(srcdir)/generated/_log_c4.F90 \
932 $(srcdir)/generated/_log_c8.F90 \
933 $(srcdir)/generated/_log_c10.F90 \
934 $(srcdir)/generated/_log_c16.F90 \
935 $(srcdir)/generated/_log_c17.F90 \
936 $(srcdir)/generated/_log10_r4.F90 \
937 $(srcdir)/generated/_log10_r8.F90 \
938 $(srcdir)/generated/_log10_r10.F90 \
939 $(srcdir)/generated/_log10_r16.F90 \
940 $(srcdir)/generated/_log10_r17.F90 \
941 $(srcdir)/generated/_sqrt_r4.F90 \
942 $(srcdir)/generated/_sqrt_r8.F90 \
943 $(srcdir)/generated/_sqrt_r10.F90 \
944 $(srcdir)/generated/_sqrt_r16.F90 \
945 $(srcdir)/generated/_sqrt_r17.F90 \
946 $(srcdir)/generated/_sqrt_c4.F90 \
947 $(srcdir)/generated/_sqrt_c8.F90 \
948 $(srcdir)/generated/_sqrt_c10.F90 \
949 $(srcdir)/generated/_sqrt_c16.F90 \
950 $(srcdir)/generated/_sqrt_c17.F90 \
951 $(srcdir)/generated/_asin_r4.F90 \
952 $(srcdir)/generated/_asin_r8.F90 \
953 $(srcdir)/generated/_asin_r10.F90 \
954 $(srcdir)/generated/_asin_r16.F90 \
955 $(srcdir)/generated/_asin_r17.F90 \
956 $(srcdir)/generated/_asinh_r4.F90 \
957 $(srcdir)/generated/_asinh_r8.F90 \
958 $(srcdir)/generated/_asinh_r10.F90 \
959 $(srcdir)/generated/_asinh_r16.F90 \
960 $(srcdir)/generated/_asinh_r17.F90 \
961 $(srcdir)/generated/_acos_r4.F90 \
962 $(srcdir)/generated/_acos_r8.F90 \
963 $(srcdir)/generated/_acos_r10.F90 \
964 $(srcdir)/generated/_acos_r16.F90 \
965 $(srcdir)/generated/_acos_r17.F90 \
966 $(srcdir)/generated/_acosh_r4.F90 \
967 $(srcdir)/generated/_acosh_r8.F90 \
968 $(srcdir)/generated/_acosh_r10.F90 \
969 $(srcdir)/generated/_acosh_r16.F90 \
970 $(srcdir)/generated/_acosh_r17.F90 \
971 $(srcdir)/generated/_atan_r4.F90 \
972 $(srcdir)/generated/_atan_r8.F90 \
973 $(srcdir)/generated/_atan_r10.F90 \
974 $(srcdir)/generated/_atan_r16.F90 \
975 $(srcdir)/generated/_atan_r17.F90 \
976 $(srcdir)/generated/_atanh_r4.F90 \
977 $(srcdir)/generated/_atanh_r8.F90 \
978 $(srcdir)/generated/_atanh_r10.F90 \
979 $(srcdir)/generated/_atanh_r16.F90 \
980 $(srcdir)/generated/_atanh_r17.F90 \
981 $(srcdir)/generated/_sin_r4.F90 \
982 $(srcdir)/generated/_sin_r8.F90 \
983 $(srcdir)/generated/_sin_r10.F90 \
984 $(srcdir)/generated/_sin_r16.F90 \
985 $(srcdir)/generated/_sin_r17.F90 \
986 $(srcdir)/generated/_sin_c4.F90 \
987 $(srcdir)/generated/_sin_c8.F90 \
988 $(srcdir)/generated/_sin_c10.F90 \
989 $(srcdir)/generated/_sin_c16.F90 \
990 $(srcdir)/generated/_sin_c17.F90 \
991 $(srcdir)/generated/_cos_r4.F90 \
992 $(srcdir)/generated/_cos_r8.F90 \
993 $(srcdir)/generated/_cos_r10.F90 \
994 $(srcdir)/generated/_cos_r16.F90 \
995 $(srcdir)/generated/_cos_r17.F90 \
996 $(srcdir)/generated/_cos_c4.F90 \
997 $(srcdir)/generated/_cos_c8.F90 \
998 $(srcdir)/generated/_cos_c10.F90 \
999 $(srcdir)/generated/_cos_c16.F90 \
1000 $(srcdir)/generated/_cos_c17.F90 \
1001 $(srcdir)/generated/_tan_r4.F90 \
1002 $(srcdir)/generated/_tan_r8.F90 \
1003 $(srcdir)/generated/_tan_r10.F90 \
1004 $(srcdir)/generated/_tan_r16.F90 \
1005 $(srcdir)/generated/_tan_r17.F90 \
1006 $(srcdir)/generated/_sinh_r4.F90 \
1007 $(srcdir)/generated/_sinh_r8.F90 \
1008 $(srcdir)/generated/_sinh_r10.F90 \
1009 $(srcdir)/generated/_sinh_r16.F90 \
1010 $(srcdir)/generated/_sinh_r17.F90 \
1011 $(srcdir)/generated/_cosh_r4.F90 \
1012 $(srcdir)/generated/_cosh_r8.F90 \
1013 $(srcdir)/generated/_cosh_r10.F90 \
1014 $(srcdir)/generated/_cosh_r16.F90 \
1015 $(srcdir)/generated/_cosh_r17.F90 \
1016 $(srcdir)/generated/_tanh_r4.F90 \
1017 $(srcdir)/generated/_tanh_r8.F90 \
1018 $(srcdir)/generated/_tanh_r10.F90 \
1019 $(srcdir)/generated/_tanh_r16.F90 \
1020 $(srcdir)/generated/_tanh_r17.F90 \
1021 $(srcdir)/generated/_conjg_c4.F90 \
1022 $(srcdir)/generated/_conjg_c8.F90 \
1023 $(srcdir)/generated/_conjg_c10.F90 \
1024 $(srcdir)/generated/_conjg_c16.F90 \
1025 $(srcdir)/generated/_conjg_c17.F90 \
1026 $(srcdir)/generated/_aint_r4.F90 \
1027 $(srcdir)/generated/_aint_r8.F90 \
1028 $(srcdir)/generated/_aint_r10.F90 \
1029 $(srcdir)/generated/_aint_r16.F90 \
1030 $(srcdir)/generated/_aint_r17.F90 \
1031 $(srcdir)/generated/_anint_r4.F90 \
1032 $(srcdir)/generated/_anint_r8.F90 \
1033 $(srcdir)/generated/_anint_r10.F90 \
1034 $(srcdir)/generated/_anint_r16.F90 \
1035 $(srcdir)/generated/_anint_r17.F90
1037 gfor_built_specific2_src= \
1038 $(srcdir)/generated/_sign_i4.F90 \
1039 $(srcdir)/generated/_sign_i8.F90 \
1040 $(srcdir)/generated/_sign_i16.F90 \
1041 $(srcdir)/generated/_sign_r4.F90 \
1042 $(srcdir)/generated/_sign_r8.F90 \
1043 $(srcdir)/generated/_sign_r10.F90 \
1044 $(srcdir)/generated/_sign_r16.F90 \
1045 $(srcdir)/generated/_sign_r17.F90 \
1046 $(srcdir)/generated/_dim_i4.F90 \
1047 $(srcdir)/generated/_dim_i8.F90 \
1048 $(srcdir)/generated/_dim_i16.F90 \
1049 $(srcdir)/generated/_dim_r4.F90 \
1050 $(srcdir)/generated/_dim_r8.F90 \
1051 $(srcdir)/generated/_dim_r10.F90 \
1052 $(srcdir)/generated/_dim_r16.F90 \
1053 $(srcdir)/generated/_dim_r17.F90 \
1054 $(srcdir)/generated/_atan2_r4.F90 \
1055 $(srcdir)/generated/_atan2_r8.F90 \
1056 $(srcdir)/generated/_atan2_r10.F90 \
1057 $(srcdir)/generated/_atan2_r16.F90 \
1058 $(srcdir)/generated/_atan2_r17.F90 \
1059 $(srcdir)/generated/_mod_i4.F90 \
1060 $(srcdir)/generated/_mod_i8.F90 \
1061 $(srcdir)/generated/_mod_i16.F90 \
1062 $(srcdir)/generated/_mod_r4.F90 \
1063 $(srcdir)/generated/_mod_r8.F90 \
1064 $(srcdir)/generated/_mod_r10.F90 \
1065 $(srcdir)/generated/_mod_r16.F90 \
1066 $(srcdir)/generated/_mod_r17.F90
1068 gfor_misc_specifics = $(srcdir)/generated/misc_specifics.F90
1070 gfor_specific_src= \
1071 $(gfor_built_specific_src) \
1072 $(gfor_built_specific2_src) \
1073 $(gfor_misc_specifics) \
1074 intrinsics/dprod_r8.f90 \
1075 intrinsics/f2c_specifics.F90 \
1076 intrinsics/random_init.f90
1078 # Turn on vectorization and loop unrolling for matmul.
1079 $(patsubst %.c,%.lo,$(notdir $(i_matmul_c))): AM_CFLAGS += -ffast-math -ftree-vectorize -funroll-loops --param max-unroll-times=4
1082 # Turn on AVX128 for AMD-specific matmul, but only if the compiler understands -mprefer-avx128
1083 $(patsubst %.c,%.lo,$(notdir $(i_matmulavx128_c))): AM_CFLAGS += -ffast-math -ftree-vectorize -funroll-loops --param max-unroll-times=4 -mprefer-avx128
1085 # Logical matmul doesn't vectorize.
1086 $(patsubst %.c,%.lo,$(notdir $(i_matmull_c))): AM_CFLAGS += -funroll-loops
1088 # Add the -fallow-leading-underscore option when needed
1089 $(patsubst %.F90,%.lo,$(patsubst %.f90,%.lo,$(notdir $(gfor_specific_src)))): AM_FCFLAGS += -fallow-leading-underscore -fbuilding-libgfortran
1090 selected_real_kind.lo selected_int_kind.lo: AM_FCFLAGS += -fallow-leading-underscore -fbuilding-libgfortran
1092 # Build *_r17.F90 and *_c17.F90 with additional -mabi=ieeelongdouble on powerpc64le-linux.
1095 $(patsubst %_r16.F90,%_r16.lo,$(notdir $(gfor_specific_src))): AM_FCFLAGS += -mabi=ibmlongdouble
1096 $(patsubst %_c16.F90,%_c16.lo,$(notdir $(gfor_specific_src))): AM_FCFLAGS += -mabi=ibmlongdouble
1097 $(patsubst %_r17.F90,%_r17.lo,$(notdir $(gfor_specific_src))): AM_FCFLAGS += -mabi=ieeelongdouble -D__powerpc64__
1098 $(patsubst %_c17.F90,%_c17.lo,$(notdir $(gfor_specific_src))): AM_FCFLAGS += -mabi=ieeelongdouble -D__powerpc64__
1099 $(patsubst %_r16.c,%_r16.lo,$(notdir $(gfor_built_src))): AM_CFLAGS += -mabi=ibmlongdouble
1100 $(patsubst %_c16.c,%_c16.lo,$(notdir $(gfor_built_src))): AM_CFLAGS += -mabi=ibmlongdouble
1101 $(patsubst %_r17.c,%_r17.lo,$(notdir $(gfor_built_src))): AM_CFLAGS += -mabi=ieeelongdouble
1102 $(patsubst %_c17.c,%_c17.lo,$(notdir $(gfor_built_src))): AM_CFLAGS += -mabi=ieeelongdouble
1106 # Add flags for IEEE modules
1107 $(patsubst %.F90,%.lo,$(notdir $(gfor_ieee_src))): AM_FCFLAGS += -Wno-unused-dummy-argument -Wno-c-binding-type -ffree-line-length-0 -fallow-leading-underscore -fsignaling-nans -fbuilding-libgfortran
1109 # Add flags for IEEE helper code
1110 $(patsubst %.c,%.lo,$(notdir $(gfor_ieee_helper_src))): AM_CFLAGS += -fsignaling-nans
1114 # Dependencies between IEEE_ARITHMETIC and IEEE_EXCEPTIONS
1115 ieee_arithmetic.lo: ieee/ieee_arithmetic.F90 ieee_exceptions.lo
1116 $(LTPPFCCOMPILE) -c -o $@ $<
1118 ieee_features.mod: ieee_features.lo
1120 ieee_exceptions.mod: ieee_exceptions.lo
1122 ieee_arithmetic.mod: ieee_arithmetic.lo
1125 BUILT_SOURCES=$(gfor_built_src) $(gfor_built_specific_src) \
1126 $(gfor_built_specific2_src) $(gfor_misc_specifics)
1128 libgfortran_la_SOURCES = $(gfor_src) $(gfor_built_src) $(gfor_io_src) \
1129 $(gfor_helper_src) $(gfor_ieee_src) $(gfor_io_headers) $(gfor_specific_src)
1131 I_M4_DEPS=m4/iparm.m4 m4/mtype.m4
1132 I_M4_DEPS0=$(I_M4_DEPS) m4/iforeach.m4
1133 I_M4_DEPS1=$(I_M4_DEPS) m4/ifunction.m4
1134 I_M4_DEPS2=$(I_M4_DEPS) m4/ifunction_logical.m4
1135 I_M4_DEPS3=$(I_M4_DEPS) m4/iforeach-s.m4
1136 I_M4_DEPS4=$(I_M4_DEPS) m4/ifunction-s.m4
1137 I_M4_DEPS5=$(I_M4_DEPS) m4/iforeach-s2.m4
1138 I_M4_DEPS6=$(I_M4_DEPS) m4/ifunction-s2.m4
1139 I_M4_DEPS7=$(I_M4_DEPS) m4/ifindloc0.m4
1140 I_M4_DEPS8=$(I_M4_DEPS) m4/ifindloc1.m4
1141 I_M4_DEPS9=$(I_M4_DEPS) m4/ifindloc2.m4
1143 kinds.h: $(srcdir)/mk-kinds-h.sh
1144 $(SHELL) $(srcdir)/mk-kinds-h.sh '@LIBGOMP_CHECKED_INT_KINDS@' \
1145 '@LIBGOMP_CHECKED_REAL_KINDS@' \
1146 '$(FCCOMPILE)' '@USE_IEC_60559@' > $@ || rm $@
1148 kinds.inc: kinds.h $(srcdir)/kinds-override.h
1149 cat kinds.h $(srcdir)/kinds-override.h | grep '^#' | grep -v include > $@
1151 c99_protos.inc: $(srcdir)/c99_protos.h
1152 grep '^#' < $(srcdir)/c99_protos.h > $@
1154 selected_int_kind.inc: $(srcdir)/mk-sik-inc.sh
1155 $(SHELL) $(srcdir)/mk-sik-inc.sh '@LIBGOMP_CHECKED_INT_KINDS@' '$(FCCOMPILE)' > $@ || rm $@
1157 selected_real_kind.inc: $(srcdir)/mk-srk-inc.sh
1158 $(SHELL) $(srcdir)/mk-srk-inc.sh '@LIBGOMP_CHECKED_REAL_KINDS@' '$(FCCOMPILE)' > $@ || rm $@
1160 fpu-target.h: $(srcdir)/$(FPU_HOST_HEADER)
1161 cp $(srcdir)/$(FPU_HOST_HEADER) $@
1163 fpu-target.inc: fpu-target.h $(srcdir)/libgfortran.h
1164 grep '^#define GFC_FPE_' < $(top_srcdir)/../gcc/fortran/libgfortran.h > $@ || true
1165 grep '^#define GFC_FPE_' < $(srcdir)/libgfortran.h >> $@ || true
1167 # Place ISO_Fortran_binding.h under include/ in the build directory such
1168 # that it can be used for in-built-tree testsuite runs without interference of
1169 # other files in the build dir - like intrinsic .mod files or other .h files.
1170 include/ISO_Fortran_binding.h: $(srcdir)/ISO_Fortran_binding.h
1173 cp $(srcdir)/ISO_Fortran_binding.h $@
1175 ## A 'normal' build shouldn't need to regenerate these
1176 ## so we only include them in maintainer mode
1179 $(i_all_c): m4/all.m4 $(I_M4_DEPS2)
1180 $(M4) -Dfile=$@ -I$(srcdir)/m4 all.m4 > $@
1182 $(i_bessel_c): m4/bessel.m4 $(I_M4_DEPS)
1183 $(M4) -Dfile=$@ -I$(srcdir)/m4 bessel.m4 > $@
1185 $(i_any_c): m4/any.m4 $(I_M4_DEPS2)
1186 $(M4) -Dfile=$@ -I$(srcdir)/m4 any.m4 > $@
1188 $(i_count_c): m4/count.m4 $(I_M4_DEPS2)
1189 $(M4) -Dfile=$@ -I$(srcdir)/m4 count.m4 > $@
1191 $(i_findloc0_c): m4/findloc0.m4 $(I_M4_DEPS7)
1192 $(M4) -Dfile=$@ -I$(srcdir)/m4 findloc0.m4 > $@
1194 $(i_findloc0s_c): m4/findloc0s.m4 $(I_M4_DEPS7)
1195 $(M4) -Dfile=$@ -I$(srcdir)/m4 findloc0s.m4 > $@
1197 $(i_findloc1_c): m4/findloc1.m4 $(I_M4_DEPS8)
1198 $(M4) -Dfile=$@ -I$(srcdir)/m4 findloc1.m4 > $@
1200 $(i_findloc1s_c): m4/findloc1s.m4 $(I_M4_DEPS8)
1201 $(M4) -Dfile=$@ -I$(srcdir)/m4 findloc1s.m4 > $@
1203 $(i_findloc2s_c): m4/findloc2s.m4 $(I_M4_DEPS9)
1204 $(M4) -Dfile=$@ -I$(srcdir)/m4 findloc2s.m4 > $@
1206 $(i_iall_c): m4/iall.m4 $(I_M4_DEPS1)
1207 $(M4) -Dfile=$@ -I$(srcdir)/m4 iall.m4 > $@
1209 $(i_iany_c): m4/iany.m4 $(I_M4_DEPS1)
1210 $(M4) -Dfile=$@ -I$(srcdir)/m4 iany.m4 > $@
1212 $(i_iparity_c): m4/iparity.m4 $(I_M4_DEPS1)
1213 $(M4) -Dfile=$@ -I$(srcdir)/m4 iparity.m4 > $@
1215 $(i_maxloc0_c): m4/maxloc0.m4 $(I_M4_DEPS0)
1216 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc0.m4 > $@
1218 $(i_maxloc0s_c) : m4/maxloc0s.m4 $(I_M4_DEPS3)
1219 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc0s.m4 > $@
1221 $(i_maxloc1_c): m4/maxloc1.m4 $(I_M4_DEPS1)
1222 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc1.m4 > $@
1224 $(i_maxloc1s_c): m4/maxloc1s.m4 $(I_M4_DEPS4)
1225 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc1s.m4 > $@
1227 $(i_maxloc2s_c): m4/maxloc2s.m4 $(I_M4_DEPS)
1228 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc2s.m4 > $@
1230 $(i_maxval_c): m4/maxval.m4 $(I_M4_DEPS1)
1231 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxval.m4 > $@
1233 $(i_maxval0s_c): m4/maxval0s.m4 $(I_M4_DEPS5)
1234 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxval0s.m4 > $@
1236 $(i_maxval1s_c): m4/maxval1s.m4 $(I_M4_DEPS6)
1237 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxval1s.m4 > $@
1239 $(i_minloc0_c): m4/minloc0.m4 $(I_M4_DEPS0)
1240 $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc0.m4 > $@
1242 $(i_minloc0s_c) : m4/minloc0s.m4 $(I_M4_DEPS3)
1243 $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc0s.m4 > $@
1245 $(i_minloc1_c): m4/minloc1.m4 $(I_M4_DEPS1)
1246 $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc1.m4 > $@
1248 $(i_minloc1s_c): m4/minloc1s.m4 $(I_M4_DEPS4)
1249 $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc1s.m4 > $@
1251 $(i_minloc2s_c): m4/minloc2s.m4 $(I_M4_DEPS)
1252 $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc2s.m4 > $@
1254 $(i_minval_c): m4/minval.m4 $(I_M4_DEPS1)
1255 $(M4) -Dfile=$@ -I$(srcdir)/m4 minval.m4 > $@
1257 $(i_minval0s_c): m4/minval0s.m4 $(I_M4_DEPS5)
1258 $(M4) -Dfile=$@ -I$(srcdir)/m4 minval0s.m4 > $@
1260 $(i_minval1s_c): m4/minval1s.m4 $(I_M4_DEPS6)
1261 $(M4) -Dfile=$@ -I$(srcdir)/m4 minval1s.m4 > $@
1263 $(i_product_c): m4/product.m4 $(I_M4_DEPS1)
1264 $(M4) -Dfile=$@ -I$(srcdir)/m4 product.m4 > $@
1266 $(i_sum_c): m4/sum.m4 $(I_M4_DEPS1)
1267 $(M4) -Dfile=$@ -I$(srcdir)/m4 sum.m4 > $@
1269 $(i_matmul_c): m4/matmul.m4 m4/matmul_internal.m4 $(I_M4_DEPS)
1270 $(M4) -Dfile=$@ -I$(srcdir)/m4 matmul.m4 > $@
1272 $(i_matmulavx128_c): m4/matmulavx128.m4 m4/matmul_internal.m4 $(I_M4_DEPS)
1273 $(M4) -Dfile=$@ -I$(srcdir)/m4 matmulavx128.m4 > $@
1275 $(i_matmull_c): m4/matmull.m4 $(I_M4_DEPS)
1276 $(M4) -Dfile=$@ -I$(srcdir)/m4 matmull.m4 > $@
1278 $(i_norm2_c): m4/norm2.m4 $(I_M4_DEPS1)
1279 $(M4) -Dfile=$@ -I$(srcdir)/m4 norm2.m4 > $@
1281 $(i_parity_c): m4/parity.m4 $(I_M4_DEPS1)
1282 $(M4) -Dfile=$@ -I$(srcdir)/m4 parity.m4 > $@
1284 $(i_shape_c): m4/shape.m4 $(I_M4_DEPS)
1285 $(M4) -Dfile=$@ -I$(srcdir)/m4 shape.m4 > $@
1287 $(i_reshape_c): m4/reshape.m4 $(I_M4_DEPS)
1288 $(M4) -Dfile=$@ -I$(srcdir)/m4 reshape.m4 > $@
1290 $(i_eoshift1_c): m4/eoshift1.m4 $(I_M4_DEPS)
1291 $(M4) -Dfile=$@ -I$(srcdir)/m4 eoshift1.m4 > $@
1293 $(i_eoshift3_c): m4/eoshift3.m4 $(I_M4_DEPS)
1294 $(M4) -Dfile=$@ -I$(srcdir)/m4 eoshift3.m4 > $@
1296 $(i_cshift0_c): m4/cshift0.m4 $(I_M4_DEPS)
1297 $(M4) -Dfile=$@ -I$(srcdir)/m4 cshift0.m4 > $@
1299 $(i_cshift1_c): m4/cshift1.m4 $(I_M4_DEPS)
1300 $(M4) -Dfile=$@ -I$(srcdir)/m4 cshift1.m4 > $@
1302 $(i_cshift1a_c): m4/cshift1a.m4 $(I_M$_DEPS)
1303 $(M4) -Dfile=$@ -I$(srcdir)/m4 cshift1a.m4 > $@
1305 $(in_pack_c): m4/in_pack.m4 $(I_M4_DEPS)
1306 $(M4) -Dfile=$@ -I$(srcdir)/m4 in_pack.m4 > $@
1308 $(in_unpack_c): m4/in_unpack.m4 $(I_M4_DEPS)
1309 $(M4) -Dfile=$@ -I$(srcdir)/m4 in_unpack.m4 > $@
1311 $(i_pow_c): m4/pow.m4 $(I_M4_DEPS)
1312 $(M4) -Dfile=$@ -I$(srcdir)/m4 pow.m4 > $@
1314 $(i_pack_c): m4/pack.m4 $(I_M4_DEPS)
1315 $(M4) -Dfile=$@ -I$(srcdir)/m4 pack.m4 > $@
1317 $(i_unpack_c): m4/unpack.m4 $(I_M4_DEPS)
1318 $(M4) -Dfile=$@ -I$(srcdir)/m4 unpack.m4 > $@
1320 $(i_spread_c): m4/spread.m4 $(I_M4_DEPS)
1321 $(M4) -Dfile=$@ -I$(srcdir)/m4 spread.m4 > $@
1323 $(gfor_built_specific_src): m4/specific.m4 m4/head.m4
1324 $(M4) -Dfile=$@ -I$(srcdir)/m4 specific.m4 > $@
1326 $(gfor_built_specific2_src): m4/specific2.m4 m4/head.m4
1327 $(M4) -Dfile=$@ -I$(srcdir)/m4 specific2.m4 > $@
1329 $(gfor_misc_specifics): m4/misc_specifics.m4 m4/head.m4
1330 $(M4) -Dfile=$@ -I$(srcdir)/m4 misc_specifics.m4 > $@
1331 ## end of maintainer mode only rules
1335 -rm -rf include $(version_dep)
1337 EXTRA_DIST = $(m4_files)
1340 -include $(tmake_file)
1342 include $(top_srcdir)/../multilib.am