1## Process this file with automake to produce Makefile.in 2 3 4ACLOCAL_AMFLAGS = -I .. -I ../config 5 6## May be used by toolexeclibdir. 7gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER) 8 9## Symbol versioning (copied from libssp). 10if LIBGFOR_USE_SYMVER 11if LIBGFOR_USE_SYMVER_GNU 12version_arg = -Wl,--version-script=$(srcdir)/gfortran.map 13version_dep = $(srcdir)/gfortran.map 14endif 15if LIBGFOR_USE_SYMVER_SUN 16version_arg = -Wl,-M,gfortran.map-sun 17version_dep = gfortran.map-sun 18gfortran.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) 27endif 28else 29version_arg = 30version_dep = 31endif 32 33LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) \ 34 $(lt_host_flags) 35 36toolexeclib_LTLIBRARIES = libgfortran.la 37toolexeclib_DATA = libgfortran.spec 38libgfortran_la_LINK = $(LINK) $(libgfortran_la_LDFLAGS) 39libgfortran_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 44libgfortran_la_DEPENDENCIES = $(version_dep) libgfortran.spec $(LIBQUADLIB_DEP) 45 46cafexeclib_LTLIBRARIES = libcaf_single.la 47cafexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR) 48libcaf_single_la_SOURCES = caf/single.c 49libcaf_single_la_LDFLAGS = -static 50libcaf_single_la_DEPENDENCIES = caf/libcaf.h 51libcaf_single_la_LINK = $(LINK) $(libcaf_single_la_LDFLAGS) 52 53if IEEE_SUPPORT 54fincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)/finclude 55nodist_finclude_HEADERS = ieee_arithmetic.mod ieee_exceptions.mod ieee_features.mod 56endif 57 58## io.h conflicts with a system header on some platforms, so 59## use -iquote 60AM_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 68 69# Fortran rules for complex multiplication and division 70AM_CFLAGS += -fcx-fortran-rules 71 72# Use -ffunction-sections -fdata-sections if supported by the compiler 73AM_CFLAGS += $(SECTION_FLAGS) 74 75# Some targets require additional compiler options for IEEE compatibility. 76AM_CFLAGS += $(IEEE_FLAGS) 77AM_FCFLAGS += $(IEEE_FLAGS) 78 79if LIBGFOR_MINIMAL 80AM_CFLAGS += -DLIBGFOR_MINIMAL 81endif 82 83gfor_io_src= \ 84io/size_from_kind.c 85 86if !LIBGFOR_MINIMAL 87 88gfor_io_src+= \ 89io/close.c \ 90io/file_pos.c \ 91io/format.c \ 92io/inquire.c \ 93io/intrinsics.c \ 94io/list_read.c \ 95io/lock.c \ 96io/open.c \ 97io/read.c \ 98io/transfer.c \ 99io/transfer128.c \ 100io/unit.c \ 101io/unix.c \ 102io/write.c \ 103io/fbuf.c 104 105endif 106 107gfor_io_headers= \ 108io/io.h \ 109io/fbuf.h \ 110io/format.h \ 111io/unix.h 112 113gfor_helper_src= \ 114intrinsics/associated.c \ 115intrinsics/abort.c \ 116intrinsics/args.c \ 117intrinsics/cshift0.c \ 118intrinsics/eoshift0.c \ 119intrinsics/eoshift2.c \ 120intrinsics/erfc_scaled.c \ 121intrinsics/extends_type_of.c \ 122intrinsics/fnum.c \ 123intrinsics/ierrno.c \ 124intrinsics/ishftc.c \ 125intrinsics/mvbits.c \ 126intrinsics/move_alloc.c \ 127intrinsics/pack_generic.c \ 128intrinsics/selected_char_kind.c \ 129intrinsics/size.c \ 130intrinsics/spread_generic.c \ 131intrinsics/string_intrinsics.c \ 132intrinsics/rand.c \ 133intrinsics/random.c \ 134intrinsics/reshape_generic.c \ 135intrinsics/reshape_packed.c \ 136intrinsics/selected_int_kind.f90 \ 137intrinsics/selected_real_kind.f90 \ 138intrinsics/unpack_generic.c \ 139runtime/in_pack_generic.c \ 140runtime/in_unpack_generic.c 141 142if !LIBGFOR_MINIMAL 143 144gfor_helper_src+= \ 145intrinsics/access.c \ 146intrinsics/c99_functions.c \ 147intrinsics/chdir.c \ 148intrinsics/chmod.c \ 149intrinsics/clock.c \ 150intrinsics/cpu_time.c \ 151intrinsics/ctime.c \ 152intrinsics/date_and_time.c \ 153intrinsics/dtime.c \ 154intrinsics/env.c \ 155intrinsics/etime.c \ 156intrinsics/execute_command_line.c \ 157intrinsics/exit.c \ 158intrinsics/gerror.c \ 159intrinsics/getcwd.c \ 160intrinsics/getlog.c \ 161intrinsics/getXid.c \ 162intrinsics/hostnm.c \ 163intrinsics/kill.c \ 164intrinsics/link.c \ 165intrinsics/perror.c \ 166intrinsics/signal.c \ 167intrinsics/sleep.c \ 168intrinsics/system.c \ 169intrinsics/rename.c \ 170intrinsics/stat.c \ 171intrinsics/symlnk.c \ 172intrinsics/system_clock.c \ 173intrinsics/time.c \ 174intrinsics/umask.c \ 175intrinsics/unlink.c 176 177endif 178 179if IEEE_SUPPORT 180 181gfor_helper_src+=ieee/ieee_helper.c 182 183gfor_ieee_src= \ 184ieee/ieee_arithmetic.F90 \ 185ieee/ieee_exceptions.F90 \ 186ieee/ieee_features.F90 187 188else 189 190gfor_ieee_src= 191 192endif 193 194gfor_src= \ 195runtime/bounds.c \ 196runtime/compile_options.c \ 197runtime/memory.c \ 198runtime/string.c \ 199runtime/select.c 200 201if LIBGFOR_MINIMAL 202 203gfor_src+= runtime/minimal.c 204 205else 206 207gfor_src+= \ 208runtime/backtrace.c \ 209runtime/convert_char.c \ 210runtime/environ.c \ 211runtime/error.c \ 212runtime/fpu.c \ 213runtime/main.c \ 214runtime/pause.c \ 215runtime/stop.c 216 217endif 218 219i_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 225 226i_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 232 233i_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 238 239i_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 245 246i_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 252 253i_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 259 260i_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 266 267i_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 295 296i_maxloc0s_c = \ 297$(srcdir)/generated/maxloc0_4_s1.c \ 298$(srcdir)/generated/maxloc0_4_s4.c \ 299$(srcdir)/generated/maxloc0_8_s1.c \ 300$(srcdir)/generated/maxloc0_8_s4.c \ 301$(srcdir)/generated/maxloc0_16_s1.c \ 302$(srcdir)/generated/maxloc0_16_s4.c 303 304i_maxloc1_c= \ 305$(srcdir)/generated/maxloc1_4_i1.c \ 306$(srcdir)/generated/maxloc1_8_i1.c \ 307$(srcdir)/generated/maxloc1_16_i1.c \ 308$(srcdir)/generated/maxloc1_4_i2.c \ 309$(srcdir)/generated/maxloc1_8_i2.c \ 310$(srcdir)/generated/maxloc1_16_i2.c \ 311$(srcdir)/generated/maxloc1_4_i4.c \ 312$(srcdir)/generated/maxloc1_8_i4.c \ 313$(srcdir)/generated/maxloc1_16_i4.c \ 314$(srcdir)/generated/maxloc1_4_i8.c \ 315$(srcdir)/generated/maxloc1_8_i8.c \ 316$(srcdir)/generated/maxloc1_16_i8.c \ 317$(srcdir)/generated/maxloc1_4_i16.c \ 318$(srcdir)/generated/maxloc1_8_i16.c \ 319$(srcdir)/generated/maxloc1_16_i16.c \ 320$(srcdir)/generated/maxloc1_4_r4.c \ 321$(srcdir)/generated/maxloc1_8_r4.c \ 322$(srcdir)/generated/maxloc1_16_r4.c \ 323$(srcdir)/generated/maxloc1_4_r8.c \ 324$(srcdir)/generated/maxloc1_8_r8.c \ 325$(srcdir)/generated/maxloc1_16_r8.c \ 326$(srcdir)/generated/maxloc1_4_r10.c \ 327$(srcdir)/generated/maxloc1_8_r10.c \ 328$(srcdir)/generated/maxloc1_16_r10.c \ 329$(srcdir)/generated/maxloc1_4_r16.c \ 330$(srcdir)/generated/maxloc1_8_r16.c \ 331$(srcdir)/generated/maxloc1_16_r16.c 332 333i_maxloc1s_c= \ 334$(srcdir)/generated/maxloc1_4_s1.c \ 335$(srcdir)/generated/maxloc1_4_s4.c \ 336$(srcdir)/generated/maxloc1_8_s1.c \ 337$(srcdir)/generated/maxloc1_8_s4.c \ 338$(srcdir)/generated/maxloc1_16_s1.c \ 339$(srcdir)/generated/maxloc1_16_s4.c 340 341i_maxloc2s_c= \ 342$(srcdir)/generated/maxloc2_4_s1.c \ 343$(srcdir)/generated/maxloc2_4_s4.c \ 344$(srcdir)/generated/maxloc2_8_s1.c \ 345$(srcdir)/generated/maxloc2_8_s4.c \ 346$(srcdir)/generated/maxloc2_16_s1.c \ 347$(srcdir)/generated/maxloc2_16_s4.c 348 349i_maxval_c= \ 350$(srcdir)/generated/maxval_i1.c \ 351$(srcdir)/generated/maxval_i2.c \ 352$(srcdir)/generated/maxval_i4.c \ 353$(srcdir)/generated/maxval_i8.c \ 354$(srcdir)/generated/maxval_i16.c \ 355$(srcdir)/generated/maxval_r4.c \ 356$(srcdir)/generated/maxval_r8.c \ 357$(srcdir)/generated/maxval_r10.c \ 358$(srcdir)/generated/maxval_r16.c 359 360i_maxval0s_c=\ 361$(srcdir)/generated/maxval0_s1.c \ 362$(srcdir)/generated/maxval0_s4.c 363 364i_maxval1s_c=\ 365$(srcdir)/generated/maxval1_s1.c \ 366$(srcdir)/generated/maxval1_s4.c 367 368i_minloc0_c= \ 369$(srcdir)/generated/minloc0_4_i1.c \ 370$(srcdir)/generated/minloc0_8_i1.c \ 371$(srcdir)/generated/minloc0_16_i1.c \ 372$(srcdir)/generated/minloc0_4_i2.c \ 373$(srcdir)/generated/minloc0_8_i2.c \ 374$(srcdir)/generated/minloc0_16_i2.c \ 375$(srcdir)/generated/minloc0_4_i4.c \ 376$(srcdir)/generated/minloc0_8_i4.c \ 377$(srcdir)/generated/minloc0_16_i4.c \ 378$(srcdir)/generated/minloc0_4_i8.c \ 379$(srcdir)/generated/minloc0_8_i8.c \ 380$(srcdir)/generated/minloc0_16_i8.c \ 381$(srcdir)/generated/minloc0_4_i16.c \ 382$(srcdir)/generated/minloc0_8_i16.c \ 383$(srcdir)/generated/minloc0_16_i16.c \ 384$(srcdir)/generated/minloc0_4_r4.c \ 385$(srcdir)/generated/minloc0_8_r4.c \ 386$(srcdir)/generated/minloc0_16_r4.c \ 387$(srcdir)/generated/minloc0_4_r8.c \ 388$(srcdir)/generated/minloc0_8_r8.c \ 389$(srcdir)/generated/minloc0_16_r8.c \ 390$(srcdir)/generated/minloc0_4_r10.c \ 391$(srcdir)/generated/minloc0_8_r10.c \ 392$(srcdir)/generated/minloc0_16_r10.c \ 393$(srcdir)/generated/minloc0_4_r16.c \ 394$(srcdir)/generated/minloc0_8_r16.c \ 395$(srcdir)/generated/minloc0_16_r16.c 396 397i_minloc0s_c = \ 398$(srcdir)/generated/minloc0_4_s1.c \ 399$(srcdir)/generated/minloc0_4_s4.c \ 400$(srcdir)/generated/minloc0_8_s1.c \ 401$(srcdir)/generated/minloc0_8_s4.c \ 402$(srcdir)/generated/minloc0_16_s1.c \ 403$(srcdir)/generated/minloc0_16_s4.c 404 405i_minloc1_c= \ 406$(srcdir)/generated/minloc1_4_i1.c \ 407$(srcdir)/generated/minloc1_8_i1.c \ 408$(srcdir)/generated/minloc1_16_i1.c \ 409$(srcdir)/generated/minloc1_4_i2.c \ 410$(srcdir)/generated/minloc1_8_i2.c \ 411$(srcdir)/generated/minloc1_16_i2.c \ 412$(srcdir)/generated/minloc1_4_i4.c \ 413$(srcdir)/generated/minloc1_8_i4.c \ 414$(srcdir)/generated/minloc1_16_i4.c \ 415$(srcdir)/generated/minloc1_4_i8.c \ 416$(srcdir)/generated/minloc1_8_i8.c \ 417$(srcdir)/generated/minloc1_16_i8.c \ 418$(srcdir)/generated/minloc1_4_i16.c \ 419$(srcdir)/generated/minloc1_8_i16.c \ 420$(srcdir)/generated/minloc1_16_i16.c \ 421$(srcdir)/generated/minloc1_4_r4.c \ 422$(srcdir)/generated/minloc1_8_r4.c \ 423$(srcdir)/generated/minloc1_16_r4.c \ 424$(srcdir)/generated/minloc1_4_r8.c \ 425$(srcdir)/generated/minloc1_8_r8.c \ 426$(srcdir)/generated/minloc1_16_r8.c \ 427$(srcdir)/generated/minloc1_4_r10.c \ 428$(srcdir)/generated/minloc1_8_r10.c \ 429$(srcdir)/generated/minloc1_16_r10.c \ 430$(srcdir)/generated/minloc1_4_r16.c \ 431$(srcdir)/generated/minloc1_8_r16.c \ 432$(srcdir)/generated/minloc1_16_r16.c 433 434i_minloc1s_c= \ 435$(srcdir)/generated/minloc1_4_s1.c \ 436$(srcdir)/generated/minloc1_4_s4.c \ 437$(srcdir)/generated/minloc1_8_s1.c \ 438$(srcdir)/generated/minloc1_8_s4.c \ 439$(srcdir)/generated/minloc1_16_s1.c \ 440$(srcdir)/generated/minloc1_16_s4.c 441 442i_minloc2s_c= \ 443$(srcdir)/generated/minloc2_4_s1.c \ 444$(srcdir)/generated/minloc2_4_s4.c \ 445$(srcdir)/generated/minloc2_8_s1.c \ 446$(srcdir)/generated/minloc2_8_s4.c \ 447$(srcdir)/generated/minloc2_16_s1.c \ 448$(srcdir)/generated/minloc2_16_s4.c 449 450i_minval_c= \ 451$(srcdir)/generated/minval_i1.c \ 452$(srcdir)/generated/minval_i2.c \ 453$(srcdir)/generated/minval_i4.c \ 454$(srcdir)/generated/minval_i8.c \ 455$(srcdir)/generated/minval_i16.c \ 456$(srcdir)/generated/minval_r4.c \ 457$(srcdir)/generated/minval_r8.c \ 458$(srcdir)/generated/minval_r10.c \ 459$(srcdir)/generated/minval_r16.c 460 461i_minval0s_c=\ 462$(srcdir)/generated/minval0_s1.c \ 463$(srcdir)/generated/minval0_s4.c 464 465i_minval1s_c=\ 466$(srcdir)/generated/minval1_s1.c \ 467$(srcdir)/generated/minval1_s4.c 468 469i_norm2_c= \ 470$(srcdir)/generated/norm2_r4.c \ 471$(srcdir)/generated/norm2_r8.c \ 472$(srcdir)/generated/norm2_r10.c \ 473$(srcdir)/generated/norm2_r16.c 474 475i_parity_c = \ 476$(srcdir)/generated/parity_l1.c \ 477$(srcdir)/generated/parity_l2.c \ 478$(srcdir)/generated/parity_l4.c \ 479$(srcdir)/generated/parity_l8.c \ 480$(srcdir)/generated/parity_l16.c 481 482i_sum_c= \ 483$(srcdir)/generated/sum_i1.c \ 484$(srcdir)/generated/sum_i2.c \ 485$(srcdir)/generated/sum_i4.c \ 486$(srcdir)/generated/sum_i8.c \ 487$(srcdir)/generated/sum_i16.c \ 488$(srcdir)/generated/sum_r4.c \ 489$(srcdir)/generated/sum_r8.c \ 490$(srcdir)/generated/sum_r10.c \ 491$(srcdir)/generated/sum_r16.c \ 492$(srcdir)/generated/sum_c4.c \ 493$(srcdir)/generated/sum_c8.c \ 494$(srcdir)/generated/sum_c10.c \ 495$(srcdir)/generated/sum_c16.c 496 497i_product_c= \ 498$(srcdir)/generated/product_i1.c \ 499$(srcdir)/generated/product_i2.c \ 500$(srcdir)/generated/product_i4.c \ 501$(srcdir)/generated/product_i8.c \ 502$(srcdir)/generated/product_i16.c \ 503$(srcdir)/generated/product_r4.c \ 504$(srcdir)/generated/product_r8.c \ 505$(srcdir)/generated/product_r10.c \ 506$(srcdir)/generated/product_r16.c \ 507$(srcdir)/generated/product_c4.c \ 508$(srcdir)/generated/product_c8.c \ 509$(srcdir)/generated/product_c10.c \ 510$(srcdir)/generated/product_c16.c 511 512i_matmul_c= \ 513$(srcdir)/generated/matmul_i1.c \ 514$(srcdir)/generated/matmul_i2.c \ 515$(srcdir)/generated/matmul_i4.c \ 516$(srcdir)/generated/matmul_i8.c \ 517$(srcdir)/generated/matmul_i16.c \ 518$(srcdir)/generated/matmul_r4.c \ 519$(srcdir)/generated/matmul_r8.c \ 520$(srcdir)/generated/matmul_r10.c \ 521$(srcdir)/generated/matmul_r16.c \ 522$(srcdir)/generated/matmul_c4.c \ 523$(srcdir)/generated/matmul_c8.c \ 524$(srcdir)/generated/matmul_c10.c \ 525$(srcdir)/generated/matmul_c16.c 526 527i_matmulavx128_c= \ 528$(srcdir)/generated/matmulavx128_i1.c \ 529$(srcdir)/generated/matmulavx128_i2.c \ 530$(srcdir)/generated/matmulavx128_i4.c \ 531$(srcdir)/generated/matmulavx128_i8.c \ 532$(srcdir)/generated/matmulavx128_i16.c \ 533$(srcdir)/generated/matmulavx128_r4.c \ 534$(srcdir)/generated/matmulavx128_r8.c \ 535$(srcdir)/generated/matmulavx128_r10.c \ 536$(srcdir)/generated/matmulavx128_r16.c \ 537$(srcdir)/generated/matmulavx128_c4.c \ 538$(srcdir)/generated/matmulavx128_c8.c \ 539$(srcdir)/generated/matmulavx128_c10.c \ 540$(srcdir)/generated/matmulavx128_c16.c 541 542i_matmull_c= \ 543$(srcdir)/generated/matmul_l4.c \ 544$(srcdir)/generated/matmul_l8.c \ 545$(srcdir)/generated/matmul_l16.c 546 547i_shape_c= \ 548$(srcdir)/generated/shape_i1.c \ 549$(srcdir)/generated/shape_i2.c \ 550$(srcdir)/generated/shape_i4.c \ 551$(srcdir)/generated/shape_i8.c \ 552$(srcdir)/generated/shape_i16.c 553 554i_reshape_c= \ 555$(srcdir)/generated/reshape_i4.c \ 556$(srcdir)/generated/reshape_i8.c \ 557$(srcdir)/generated/reshape_i16.c \ 558$(srcdir)/generated/reshape_r4.c \ 559$(srcdir)/generated/reshape_r8.c \ 560$(srcdir)/generated/reshape_r10.c \ 561$(srcdir)/generated/reshape_r16.c \ 562$(srcdir)/generated/reshape_c4.c \ 563$(srcdir)/generated/reshape_c8.c \ 564$(srcdir)/generated/reshape_c10.c \ 565$(srcdir)/generated/reshape_c16.c 566 567i_eoshift1_c= \ 568$(srcdir)/generated/eoshift1_4.c \ 569$(srcdir)/generated/eoshift1_8.c \ 570$(srcdir)/generated/eoshift1_16.c 571 572i_eoshift3_c= \ 573$(srcdir)/generated/eoshift3_4.c \ 574$(srcdir)/generated/eoshift3_8.c \ 575$(srcdir)/generated/eoshift3_16.c 576 577i_cshift0_c= \ 578$(srcdir)/generated/cshift0_i1.c \ 579$(srcdir)/generated/cshift0_i2.c \ 580$(srcdir)/generated/cshift0_i4.c \ 581$(srcdir)/generated/cshift0_i8.c \ 582$(srcdir)/generated/cshift0_i16.c \ 583$(srcdir)/generated/cshift0_r4.c \ 584$(srcdir)/generated/cshift0_r8.c \ 585$(srcdir)/generated/cshift0_r10.c \ 586$(srcdir)/generated/cshift0_r16.c \ 587$(srcdir)/generated/cshift0_c4.c \ 588$(srcdir)/generated/cshift0_c8.c \ 589$(srcdir)/generated/cshift0_c10.c \ 590$(srcdir)/generated/cshift0_c16.c 591 592i_cshift1_c= \ 593$(srcdir)/generated/cshift1_4.c \ 594$(srcdir)/generated/cshift1_8.c \ 595$(srcdir)/generated/cshift1_16.c 596 597i_cshift1a_c = \ 598$(srcdir)/generated/cshift1_4_i1.c \ 599$(srcdir)/generated/cshift1_4_i2.c \ 600$(srcdir)/generated/cshift1_4_i4.c \ 601$(srcdir)/generated/cshift1_4_i8.c \ 602$(srcdir)/generated/cshift1_4_i16.c \ 603$(srcdir)/generated/cshift1_4_r4.c \ 604$(srcdir)/generated/cshift1_4_r8.c \ 605$(srcdir)/generated/cshift1_4_r10.c \ 606$(srcdir)/generated/cshift1_4_r16.c \ 607$(srcdir)/generated/cshift1_4_c4.c \ 608$(srcdir)/generated/cshift1_4_c8.c \ 609$(srcdir)/generated/cshift1_4_c10.c \ 610$(srcdir)/generated/cshift1_4_c16.c \ 611$(srcdir)/generated/cshift1_8_i1.c \ 612$(srcdir)/generated/cshift1_8_i2.c \ 613$(srcdir)/generated/cshift1_8_i4.c \ 614$(srcdir)/generated/cshift1_8_i8.c \ 615$(srcdir)/generated/cshift1_8_i16.c \ 616$(srcdir)/generated/cshift1_8_r4.c \ 617$(srcdir)/generated/cshift1_8_r8.c \ 618$(srcdir)/generated/cshift1_8_r10.c \ 619$(srcdir)/generated/cshift1_8_r16.c \ 620$(srcdir)/generated/cshift1_8_c4.c \ 621$(srcdir)/generated/cshift1_8_c8.c \ 622$(srcdir)/generated/cshift1_8_c10.c \ 623$(srcdir)/generated/cshift1_8_c16.c \ 624$(srcdir)/generated/cshift1_16_i1.c \ 625$(srcdir)/generated/cshift1_16_i2.c \ 626$(srcdir)/generated/cshift1_16_i4.c \ 627$(srcdir)/generated/cshift1_16_i8.c \ 628$(srcdir)/generated/cshift1_16_i16.c \ 629$(srcdir)/generated/cshift1_16_r4.c \ 630$(srcdir)/generated/cshift1_16_r8.c \ 631$(srcdir)/generated/cshift1_16_r10.c \ 632$(srcdir)/generated/cshift1_16_r16.c \ 633$(srcdir)/generated/cshift1_16_c4.c \ 634$(srcdir)/generated/cshift1_16_c8.c \ 635$(srcdir)/generated/cshift1_16_c10.c \ 636$(srcdir)/generated/cshift1_16_c16.c 637 638in_pack_c = \ 639$(srcdir)/generated/in_pack_i1.c \ 640$(srcdir)/generated/in_pack_i2.c \ 641$(srcdir)/generated/in_pack_i4.c \ 642$(srcdir)/generated/in_pack_i8.c \ 643$(srcdir)/generated/in_pack_i16.c \ 644$(srcdir)/generated/in_pack_r4.c \ 645$(srcdir)/generated/in_pack_r8.c \ 646$(srcdir)/generated/in_pack_r10.c \ 647$(srcdir)/generated/in_pack_r16.c \ 648$(srcdir)/generated/in_pack_c4.c \ 649$(srcdir)/generated/in_pack_c8.c \ 650$(srcdir)/generated/in_pack_c10.c \ 651$(srcdir)/generated/in_pack_c16.c 652 653in_unpack_c = \ 654$(srcdir)/generated/in_unpack_i1.c \ 655$(srcdir)/generated/in_unpack_i2.c \ 656$(srcdir)/generated/in_unpack_i4.c \ 657$(srcdir)/generated/in_unpack_i8.c \ 658$(srcdir)/generated/in_unpack_i16.c \ 659$(srcdir)/generated/in_unpack_r4.c \ 660$(srcdir)/generated/in_unpack_r8.c \ 661$(srcdir)/generated/in_unpack_r10.c \ 662$(srcdir)/generated/in_unpack_r16.c \ 663$(srcdir)/generated/in_unpack_c4.c \ 664$(srcdir)/generated/in_unpack_c8.c \ 665$(srcdir)/generated/in_unpack_c10.c \ 666$(srcdir)/generated/in_unpack_c16.c 667 668i_pow_c = \ 669$(srcdir)/generated/pow_i4_i4.c \ 670$(srcdir)/generated/pow_i8_i4.c \ 671$(srcdir)/generated/pow_i16_i4.c \ 672$(srcdir)/generated/pow_r16_i4.c \ 673$(srcdir)/generated/pow_c4_i4.c \ 674$(srcdir)/generated/pow_c8_i4.c \ 675$(srcdir)/generated/pow_c10_i4.c \ 676$(srcdir)/generated/pow_c16_i4.c \ 677$(srcdir)/generated/pow_i4_i8.c \ 678$(srcdir)/generated/pow_i8_i8.c \ 679$(srcdir)/generated/pow_i16_i8.c \ 680$(srcdir)/generated/pow_r4_i8.c \ 681$(srcdir)/generated/pow_r8_i8.c \ 682$(srcdir)/generated/pow_r10_i8.c \ 683$(srcdir)/generated/pow_r16_i8.c \ 684$(srcdir)/generated/pow_c4_i8.c \ 685$(srcdir)/generated/pow_c8_i8.c \ 686$(srcdir)/generated/pow_c10_i8.c \ 687$(srcdir)/generated/pow_c16_i8.c \ 688$(srcdir)/generated/pow_i4_i16.c \ 689$(srcdir)/generated/pow_i8_i16.c \ 690$(srcdir)/generated/pow_i16_i16.c \ 691$(srcdir)/generated/pow_r4_i16.c \ 692$(srcdir)/generated/pow_r8_i16.c \ 693$(srcdir)/generated/pow_r10_i16.c \ 694$(srcdir)/generated/pow_r16_i16.c \ 695$(srcdir)/generated/pow_c4_i16.c \ 696$(srcdir)/generated/pow_c8_i16.c \ 697$(srcdir)/generated/pow_c10_i16.c \ 698$(srcdir)/generated/pow_c16_i16.c 699 700i_pack_c = \ 701$(srcdir)/generated/pack_i1.c \ 702$(srcdir)/generated/pack_i2.c \ 703$(srcdir)/generated/pack_i4.c \ 704$(srcdir)/generated/pack_i8.c \ 705$(srcdir)/generated/pack_i16.c \ 706$(srcdir)/generated/pack_r4.c \ 707$(srcdir)/generated/pack_r8.c \ 708$(srcdir)/generated/pack_r10.c \ 709$(srcdir)/generated/pack_r16.c \ 710$(srcdir)/generated/pack_c4.c \ 711$(srcdir)/generated/pack_c8.c \ 712$(srcdir)/generated/pack_c10.c \ 713$(srcdir)/generated/pack_c16.c 714 715i_unpack_c = \ 716$(srcdir)/generated/unpack_i1.c \ 717$(srcdir)/generated/unpack_i2.c \ 718$(srcdir)/generated/unpack_i4.c \ 719$(srcdir)/generated/unpack_i8.c \ 720$(srcdir)/generated/unpack_i16.c \ 721$(srcdir)/generated/unpack_r4.c \ 722$(srcdir)/generated/unpack_r8.c \ 723$(srcdir)/generated/unpack_r10.c \ 724$(srcdir)/generated/unpack_r16.c \ 725$(srcdir)/generated/unpack_c4.c \ 726$(srcdir)/generated/unpack_c8.c \ 727$(srcdir)/generated/unpack_c10.c \ 728$(srcdir)/generated/unpack_c16.c 729 730i_spread_c = \ 731$(srcdir)/generated/spread_i1.c \ 732$(srcdir)/generated/spread_i2.c \ 733$(srcdir)/generated/spread_i4.c \ 734$(srcdir)/generated/spread_i8.c \ 735$(srcdir)/generated/spread_i16.c \ 736$(srcdir)/generated/spread_r4.c \ 737$(srcdir)/generated/spread_r8.c \ 738$(srcdir)/generated/spread_r10.c \ 739$(srcdir)/generated/spread_r16.c \ 740$(srcdir)/generated/spread_c4.c \ 741$(srcdir)/generated/spread_c8.c \ 742$(srcdir)/generated/spread_c10.c \ 743$(srcdir)/generated/spread_c16.c 744 745m4_files= m4/iparm.m4 m4/ifunction.m4 m4/iforeach.m4 m4/all.m4 \ 746 m4/any.m4 m4/count.m4 m4/maxloc0.m4 m4/maxloc1.m4 m4/maxval.m4 \ 747 m4/minloc0.m4 m4/minloc1.m4 m4/minval.m4 m4/product.m4 m4/sum.m4 \ 748 m4/matmul.m4 m4/matmull.m4 m4/ifunction_logical.m4 \ 749 m4/ctrig.m4 m4/cexp.m4 m4/chyp.m4 m4/mtype.m4 \ 750 m4/specific.m4 m4/specific2.m4 m4/head.m4 m4/shape.m4 m4/reshape.m4 \ 751 m4/eoshift1.m4 m4/eoshift3.m4 \ 752 m4/pow.m4 \ 753 m4/misc_specifics.m4 m4/pack.m4 \ 754 m4/unpack.m4 m4/spread.m4 m4/bessel.m4 m4/norm2.m4 m4/parity.m4 \ 755 m4/iall.m4 m4/iany.m4 m4/iparity.m4 m4/iforeach-s.m4 756 757gfor_built_src= $(i_all_c) $(i_any_c) $(i_count_c) $(i_maxloc0_c) \ 758 $(i_maxloc1_c) $(i_maxval_c) $(i_minloc0_c) $(i_minloc1_c) $(i_minval_c) \ 759 $(i_product_c) $(i_sum_c) $(i_bessel_c) $(i_iall_c) $(i_iany_c) \ 760 $(i_iparity_c) $(i_norm2_c) $(i_parity_c) \ 761 $(i_matmul_c) $(i_matmull_c) $(i_shape_c) $(i_eoshift1_c) \ 762 $(i_eoshift3_c) $(i_cshift1_c) $(i_reshape_c) $(in_pack_c) $(in_unpack_c) \ 763 $(i_pow_c) $(i_pack_c) $(i_unpack_c) $(i_matmulavx128_c) \ 764 $(i_spread_c) selected_int_kind.inc selected_real_kind.inc kinds.h \ 765 $(i_cshift0_c) kinds.inc c99_protos.inc fpu-target.h fpu-target.inc \ 766 $(i_cshift1a_c) $(i_maxloc0s_c) $(i_minloc0s_c) $(i_maxloc1s_c) \ 767 $(i_minloc1s_c) $(i_maxloc2s_c) $(i_minloc2s_c) $(i_maxvals_c) \ 768 $(i_maxval0s_c) $(i_minval0s_c) $(i_maxval1s_c) $(i_minval1s_c) 769 770# Machine generated specifics 771gfor_built_specific_src= \ 772$(srcdir)/generated/_abs_c4.F90 \ 773$(srcdir)/generated/_abs_c8.F90 \ 774$(srcdir)/generated/_abs_c10.F90 \ 775$(srcdir)/generated/_abs_c16.F90 \ 776$(srcdir)/generated/_abs_i4.F90 \ 777$(srcdir)/generated/_abs_i8.F90 \ 778$(srcdir)/generated/_abs_i16.F90 \ 779$(srcdir)/generated/_abs_r4.F90 \ 780$(srcdir)/generated/_abs_r8.F90 \ 781$(srcdir)/generated/_abs_r10.F90 \ 782$(srcdir)/generated/_abs_r16.F90 \ 783$(srcdir)/generated/_aimag_c4.F90 \ 784$(srcdir)/generated/_aimag_c8.F90 \ 785$(srcdir)/generated/_aimag_c10.F90 \ 786$(srcdir)/generated/_aimag_c16.F90 \ 787$(srcdir)/generated/_exp_r4.F90 \ 788$(srcdir)/generated/_exp_r8.F90 \ 789$(srcdir)/generated/_exp_r10.F90 \ 790$(srcdir)/generated/_exp_r16.F90 \ 791$(srcdir)/generated/_exp_c4.F90 \ 792$(srcdir)/generated/_exp_c8.F90 \ 793$(srcdir)/generated/_exp_c10.F90 \ 794$(srcdir)/generated/_exp_c16.F90 \ 795$(srcdir)/generated/_log_r4.F90 \ 796$(srcdir)/generated/_log_r8.F90 \ 797$(srcdir)/generated/_log_r10.F90 \ 798$(srcdir)/generated/_log_r16.F90 \ 799$(srcdir)/generated/_log_c4.F90 \ 800$(srcdir)/generated/_log_c8.F90 \ 801$(srcdir)/generated/_log_c10.F90 \ 802$(srcdir)/generated/_log_c16.F90 \ 803$(srcdir)/generated/_log10_r4.F90 \ 804$(srcdir)/generated/_log10_r8.F90 \ 805$(srcdir)/generated/_log10_r10.F90 \ 806$(srcdir)/generated/_log10_r16.F90 \ 807$(srcdir)/generated/_sqrt_r4.F90 \ 808$(srcdir)/generated/_sqrt_r8.F90 \ 809$(srcdir)/generated/_sqrt_r10.F90 \ 810$(srcdir)/generated/_sqrt_r16.F90 \ 811$(srcdir)/generated/_sqrt_c4.F90 \ 812$(srcdir)/generated/_sqrt_c8.F90 \ 813$(srcdir)/generated/_sqrt_c10.F90 \ 814$(srcdir)/generated/_sqrt_c16.F90 \ 815$(srcdir)/generated/_asin_r4.F90 \ 816$(srcdir)/generated/_asin_r8.F90 \ 817$(srcdir)/generated/_asin_r10.F90 \ 818$(srcdir)/generated/_asin_r16.F90 \ 819$(srcdir)/generated/_asinh_r4.F90 \ 820$(srcdir)/generated/_asinh_r8.F90 \ 821$(srcdir)/generated/_asinh_r10.F90 \ 822$(srcdir)/generated/_asinh_r16.F90 \ 823$(srcdir)/generated/_acos_r4.F90 \ 824$(srcdir)/generated/_acos_r8.F90 \ 825$(srcdir)/generated/_acos_r10.F90 \ 826$(srcdir)/generated/_acos_r16.F90 \ 827$(srcdir)/generated/_acosh_r4.F90 \ 828$(srcdir)/generated/_acosh_r8.F90 \ 829$(srcdir)/generated/_acosh_r10.F90 \ 830$(srcdir)/generated/_acosh_r16.F90 \ 831$(srcdir)/generated/_atan_r4.F90 \ 832$(srcdir)/generated/_atan_r8.F90 \ 833$(srcdir)/generated/_atan_r10.F90 \ 834$(srcdir)/generated/_atan_r16.F90 \ 835$(srcdir)/generated/_atanh_r4.F90 \ 836$(srcdir)/generated/_atanh_r8.F90 \ 837$(srcdir)/generated/_atanh_r10.F90 \ 838$(srcdir)/generated/_atanh_r16.F90 \ 839$(srcdir)/generated/_sin_r4.F90 \ 840$(srcdir)/generated/_sin_r8.F90 \ 841$(srcdir)/generated/_sin_r10.F90 \ 842$(srcdir)/generated/_sin_r16.F90 \ 843$(srcdir)/generated/_sin_c4.F90 \ 844$(srcdir)/generated/_sin_c8.F90 \ 845$(srcdir)/generated/_sin_c10.F90 \ 846$(srcdir)/generated/_sin_c16.F90 \ 847$(srcdir)/generated/_cos_r4.F90 \ 848$(srcdir)/generated/_cos_r8.F90 \ 849$(srcdir)/generated/_cos_r10.F90 \ 850$(srcdir)/generated/_cos_r16.F90 \ 851$(srcdir)/generated/_cos_c4.F90 \ 852$(srcdir)/generated/_cos_c8.F90 \ 853$(srcdir)/generated/_cos_c10.F90 \ 854$(srcdir)/generated/_cos_c16.F90 \ 855$(srcdir)/generated/_tan_r4.F90 \ 856$(srcdir)/generated/_tan_r8.F90 \ 857$(srcdir)/generated/_tan_r10.F90 \ 858$(srcdir)/generated/_tan_r16.F90 \ 859$(srcdir)/generated/_sinh_r4.F90 \ 860$(srcdir)/generated/_sinh_r8.F90 \ 861$(srcdir)/generated/_sinh_r10.F90 \ 862$(srcdir)/generated/_sinh_r16.F90 \ 863$(srcdir)/generated/_cosh_r4.F90 \ 864$(srcdir)/generated/_cosh_r8.F90 \ 865$(srcdir)/generated/_cosh_r10.F90 \ 866$(srcdir)/generated/_cosh_r16.F90 \ 867$(srcdir)/generated/_tanh_r4.F90 \ 868$(srcdir)/generated/_tanh_r8.F90 \ 869$(srcdir)/generated/_tanh_r10.F90 \ 870$(srcdir)/generated/_tanh_r16.F90 \ 871$(srcdir)/generated/_conjg_c4.F90 \ 872$(srcdir)/generated/_conjg_c8.F90 \ 873$(srcdir)/generated/_conjg_c10.F90 \ 874$(srcdir)/generated/_conjg_c16.F90 \ 875$(srcdir)/generated/_aint_r4.F90 \ 876$(srcdir)/generated/_aint_r8.F90 \ 877$(srcdir)/generated/_aint_r10.F90 \ 878$(srcdir)/generated/_aint_r16.F90 \ 879$(srcdir)/generated/_anint_r4.F90 \ 880$(srcdir)/generated/_anint_r8.F90 \ 881$(srcdir)/generated/_anint_r10.F90 \ 882$(srcdir)/generated/_anint_r16.F90 883 884gfor_built_specific2_src= \ 885$(srcdir)/generated/_sign_i4.F90 \ 886$(srcdir)/generated/_sign_i8.F90 \ 887$(srcdir)/generated/_sign_i16.F90 \ 888$(srcdir)/generated/_sign_r4.F90 \ 889$(srcdir)/generated/_sign_r8.F90 \ 890$(srcdir)/generated/_sign_r10.F90 \ 891$(srcdir)/generated/_sign_r16.F90 \ 892$(srcdir)/generated/_dim_i4.F90 \ 893$(srcdir)/generated/_dim_i8.F90 \ 894$(srcdir)/generated/_dim_i16.F90 \ 895$(srcdir)/generated/_dim_r4.F90 \ 896$(srcdir)/generated/_dim_r8.F90 \ 897$(srcdir)/generated/_dim_r10.F90 \ 898$(srcdir)/generated/_dim_r16.F90 \ 899$(srcdir)/generated/_atan2_r4.F90 \ 900$(srcdir)/generated/_atan2_r8.F90 \ 901$(srcdir)/generated/_atan2_r10.F90 \ 902$(srcdir)/generated/_atan2_r16.F90 \ 903$(srcdir)/generated/_mod_i4.F90 \ 904$(srcdir)/generated/_mod_i8.F90 \ 905$(srcdir)/generated/_mod_i16.F90 \ 906$(srcdir)/generated/_mod_r4.F90 \ 907$(srcdir)/generated/_mod_r8.F90 \ 908$(srcdir)/generated/_mod_r10.F90 \ 909$(srcdir)/generated/_mod_r16.F90 910 911gfor_misc_specifics = $(srcdir)/generated/misc_specifics.F90 912 913gfor_specific_src= \ 914$(gfor_built_specific_src) \ 915$(gfor_built_specific2_src) \ 916$(gfor_misc_specifics) \ 917intrinsics/dprod_r8.f90 \ 918intrinsics/f2c_specifics.F90 919 920# Turn on vectorization and loop unrolling for matmul. 921$(patsubst %.c,%.lo,$(notdir $(i_matmul_c))): AM_CFLAGS += -ffast-math -ftree-vectorize -funroll-loops --param max-unroll-times=4 922 923if HAVE_AVX128 924# Turn on AVX128 for AMD-specific matmul, but only if the compiler understands -mprefer-avx128 925$(patsubst %.c,%.lo,$(notdir $(i_matmulavx128_c))): AM_CFLAGS += -ffast-math -ftree-vectorize -funroll-loops --param max-unroll-times=4 -mprefer-avx128 926endif 927# Logical matmul doesn't vectorize. 928$(patsubst %.c,%.lo,$(notdir $(i_matmull_c))): AM_CFLAGS += -funroll-loops 929 930# Add the -fallow-leading-underscore option when needed 931$(patsubst %.F90,%.lo,$(patsubst %.f90,%.lo,$(notdir $(gfor_specific_src)))): AM_FCFLAGS += -fallow-leading-underscore 932selected_real_kind.lo selected_int_kind.lo: AM_FCFLAGS += -fallow-leading-underscore 933 934if IEEE_SUPPORT 935# Add flags for IEEE modules 936$(patsubst %.F90,%.lo,$(notdir $(gfor_ieee_src))): AM_FCFLAGS += -Wno-unused-dummy-argument -Wno-c-binding-type -ffree-line-length-0 -fallow-leading-underscore 937endif 938 939# Dependencies between IEEE_ARITHMETIC and IEEE_EXCEPTIONS 940ieee_arithmetic.lo: ieee/ieee_arithmetic.F90 ieee_exceptions.lo 941 $(LTPPFCCOMPILE) -c -o $@ $< 942 943ieee_features.mod: ieee_features.lo 944 : 945ieee_exceptions.mod: ieee_exceptions.lo 946 : 947ieee_arithmetic.mod: ieee_arithmetic.lo 948 : 949 950BUILT_SOURCES=$(gfor_built_src) $(gfor_built_specific_src) \ 951 $(gfor_built_specific2_src) $(gfor_misc_specifics) 952 953prereq_SRC = $(gfor_src) $(gfor_built_src) $(gfor_io_src) \ 954 $(gfor_helper_src) $(gfor_ieee_src) $(gfor_io_headers) $(gfor_specific_src) 955 956if onestep 957# dummy sources for libtool 958BUILT_SOURCES+=libgfortran_c.c libgfortran_f.f90 959libgfortran_c.c libgfortran_f.f90 libgfortran_F.F90: 960 echo > $@ 961# overrides for libtool perusing the dummy sources 962libgfortran_c.o: $(filter %.c,$(prereq_SRC)) 963 $(COMPILE) -c $^ -o $@ -combine 964 965libgfortran_c.lo: $(filter %.c,$(prereq_SRC)) 966 $(LTCOMPILE) -c -o $@ $^ -combine 967 968#libgfortran_f.o: $(filter %.f %.f90,$(prereq_SRC)) 969# $(FCCOMPILE) -c $^ -o $@ -combine 970 971#libgfortran_f.lo: $(filter %.f %.f90,$(prereq_SRC)) 972# $(LTFCCOMPILE) -c -o $@ $^ -combine 973# not currently used: 974#libgfortran_F.o: $(filter %.F %.F90,$(prereq_SRC)) 975# $(PPFCCOMPILE) -c $^ -o $@ -combine 976# 977#libgfortran_F.lo: 978# $(LTPPFCCOMPILE) -c -o $@ $^ -combine 979 980libgfortran_la_SOURCES = libgfortran_c.c $(filter-out %.c,$(prereq_SRC)) 981 982else 983libgfortran_la_SOURCES = $(prereq_SRC) 984 985endif 986 987I_M4_DEPS=m4/iparm.m4 988I_M4_DEPS0=$(I_M4_DEPS) m4/iforeach.m4 989I_M4_DEPS1=$(I_M4_DEPS) m4/ifunction.m4 990I_M4_DEPS2=$(I_M4_DEPS) m4/ifunction_logical.m4 991I_M4_DEPS3=$(I_M4_DEPS) m4/iforeach-s.m4 992I_M4_DEPS4=$(I_M4_DEPS) m4/ifunction-s.m4 993I_M4_DEPS5=$(I_M4_DEPS) m4/iforeach-s2.m4 994I_M4_DEPS6=$(I_M4_DEPS) m4/ifunction-s2.m4 995 996kinds.h: $(srcdir)/mk-kinds-h.sh 997 $(SHELL) $(srcdir)/mk-kinds-h.sh '$(FCCOMPILE)' > $@ || rm $@ 998 999kinds.inc: kinds.h 1000 grep '^#' < kinds.h > $@ 1001 1002c99_protos.inc: $(srcdir)/c99_protos.h 1003 grep '^#' < $(srcdir)/c99_protos.h > $@ 1004 1005selected_int_kind.inc: $(srcdir)/mk-sik-inc.sh 1006 $(SHELL) $(srcdir)/mk-sik-inc.sh '$(FCCOMPILE)' > $@ || rm $@ 1007 1008selected_real_kind.inc: $(srcdir)/mk-srk-inc.sh 1009 $(SHELL) $(srcdir)/mk-srk-inc.sh '$(FCCOMPILE)' > $@ || rm $@ 1010 1011fpu-target.h: $(srcdir)/$(FPU_HOST_HEADER) 1012 cp $(srcdir)/$(FPU_HOST_HEADER) $@ 1013 1014fpu-target.inc: fpu-target.h $(srcdir)/libgfortran.h 1015 grep '^#define GFC_FPE_' < $(top_srcdir)/../gcc/fortran/libgfortran.h > $@ || true 1016 grep '^#define GFC_FPE_' < $(srcdir)/libgfortran.h >> $@ || true 1017 1018## A 'normal' build shouldn't need to regenerate these 1019## so we only include them in maintainer mode 1020 1021if MAINTAINER_MODE 1022$(i_all_c): m4/all.m4 $(I_M4_DEPS2) 1023 $(M4) -Dfile=$@ -I$(srcdir)/m4 all.m4 > $@ 1024 1025$(i_bessel_c): m4/bessel.m4 $(I_M4_DEPS) 1026 $(M4) -Dfile=$@ -I$(srcdir)/m4 bessel.m4 > $@ 1027 1028$(i_any_c): m4/any.m4 $(I_M4_DEPS2) 1029 $(M4) -Dfile=$@ -I$(srcdir)/m4 any.m4 > $@ 1030 1031$(i_count_c): m4/count.m4 $(I_M4_DEPS2) 1032 $(M4) -Dfile=$@ -I$(srcdir)/m4 count.m4 > $@ 1033 1034$(i_iall_c): m4/iall.m4 $(I_M4_DEPS1) 1035 $(M4) -Dfile=$@ -I$(srcdir)/m4 iall.m4 > $@ 1036 1037$(i_iany_c): m4/iany.m4 $(I_M4_DEPS1) 1038 $(M4) -Dfile=$@ -I$(srcdir)/m4 iany.m4 > $@ 1039 1040$(i_iparity_c): m4/iparity.m4 $(I_M4_DEPS1) 1041 $(M4) -Dfile=$@ -I$(srcdir)/m4 iparity.m4 > $@ 1042 1043$(i_maxloc0_c): m4/maxloc0.m4 $(I_M4_DEPS0) 1044 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc0.m4 > $@ 1045 1046$(i_maxloc0s_c) : m4/maxloc0s.m4 $(I_M4_DEPS3) 1047 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc0s.m4 > $@ 1048 1049$(i_maxloc1_c): m4/maxloc1.m4 $(I_M4_DEPS1) 1050 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc1.m4 > $@ 1051 1052$(i_maxloc1s_c): m4/maxloc1s.m4 $(I_M4_DEPS4) 1053 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc1s.m4 > $@ 1054 1055$(i_maxloc2s_c): m4/maxloc2s.m4 $(I_M4_DEPS) 1056 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxloc2s.m4 > $@ 1057 1058$(i_maxval_c): m4/maxval.m4 $(I_M4_DEPS1) 1059 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxval.m4 > $@ 1060 1061$(i_maxval0s_c): m4/maxval0s.m4 $(I_M4_DEPS5) 1062 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxval0s.m4 > $@ 1063 1064$(i_maxval1s_c): m4/maxval1s.m4 $(I_M4_DEPS6) 1065 $(M4) -Dfile=$@ -I$(srcdir)/m4 maxval1s.m4 > $@ 1066 1067$(i_minloc0_c): m4/minloc0.m4 $(I_M4_DEPS0) 1068 $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc0.m4 > $@ 1069 1070$(i_minloc0s_c) : m4/minloc0s.m4 $(I_M4_DEPS3) 1071 $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc0s.m4 > $@ 1072 1073$(i_minloc1_c): m4/minloc1.m4 $(I_M4_DEPS1) 1074 $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc1.m4 > $@ 1075 1076$(i_minloc1s_c): m4/minloc1s.m4 $(I_M4_DEPS4) 1077 $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc1s.m4 > $@ 1078 1079$(i_minloc2s_c): m4/minloc2s.m4 $(I_M4_DEPS) 1080 $(M4) -Dfile=$@ -I$(srcdir)/m4 minloc2s.m4 > $@ 1081 1082$(i_minval_c): m4/minval.m4 $(I_M4_DEPS1) 1083 $(M4) -Dfile=$@ -I$(srcdir)/m4 minval.m4 > $@ 1084 1085$(i_minval0s_c): m4/minval0s.m4 $(I_M4_DEPS5) 1086 $(M4) -Dfile=$@ -I$(srcdir)/m4 minval0s.m4 > $@ 1087 1088$(i_minval1s_c): m4/minval1s.m4 $(I_M4_DEPS6) 1089 $(M4) -Dfile=$@ -I$(srcdir)/m4 minval1s.m4 > $@ 1090 1091$(i_product_c): m4/product.m4 $(I_M4_DEPS1) 1092 $(M4) -Dfile=$@ -I$(srcdir)/m4 product.m4 > $@ 1093 1094$(i_sum_c): m4/sum.m4 $(I_M4_DEPS1) 1095 $(M4) -Dfile=$@ -I$(srcdir)/m4 sum.m4 > $@ 1096 1097$(i_matmul_c): m4/matmul.m4 m4/matmul_internal.m4 $(I_M4_DEPS) 1098 $(M4) -Dfile=$@ -I$(srcdir)/m4 matmul.m4 > $@ 1099 1100$(i_matmulavx128_c): m4/matmulavx128.m4 m4/matmul_internal.m4 $(I_M4_DEPS) 1101 $(M4) -Dfile=$@ -I$(srcdir)/m4 matmulavx128.m4 > $@ 1102 1103$(i_matmull_c): m4/matmull.m4 $(I_M4_DEPS) 1104 $(M4) -Dfile=$@ -I$(srcdir)/m4 matmull.m4 > $@ 1105 1106$(i_norm2_c): m4/norm2.m4 $(I_M4_DEPS1) 1107 $(M4) -Dfile=$@ -I$(srcdir)/m4 norm2.m4 > $@ 1108 1109$(i_parity_c): m4/parity.m4 $(I_M4_DEPS1) 1110 $(M4) -Dfile=$@ -I$(srcdir)/m4 parity.m4 > $@ 1111 1112$(i_shape_c): m4/shape.m4 $(I_M4_DEPS) 1113 $(M4) -Dfile=$@ -I$(srcdir)/m4 shape.m4 > $@ 1114 1115$(i_reshape_c): m4/reshape.m4 $(I_M4_DEPS) 1116 $(M4) -Dfile=$@ -I$(srcdir)/m4 reshape.m4 > $@ 1117 1118$(i_eoshift1_c): m4/eoshift1.m4 $(I_M4_DEPS) 1119 $(M4) -Dfile=$@ -I$(srcdir)/m4 eoshift1.m4 > $@ 1120 1121$(i_eoshift3_c): m4/eoshift3.m4 $(I_M4_DEPS) 1122 $(M4) -Dfile=$@ -I$(srcdir)/m4 eoshift3.m4 > $@ 1123 1124$(i_cshift0_c): m4/cshift0.m4 $(I_M4_DEPS) 1125 $(M4) -Dfile=$@ -I$(srcdir)/m4 cshift0.m4 > $@ 1126 1127$(i_cshift1_c): m4/cshift1.m4 $(I_M4_DEPS) 1128 $(M4) -Dfile=$@ -I$(srcdir)/m4 cshift1.m4 > $@ 1129 1130$(i_cshift1a_c): m4/cshift1a.m4 $(I_M$_DEPS) 1131 $(M4) -Dfile=$@ -I$(srcdir)/m4 cshift1a.m4 > $@ 1132 1133$(in_pack_c): m4/in_pack.m4 $(I_M4_DEPS) 1134 $(M4) -Dfile=$@ -I$(srcdir)/m4 in_pack.m4 > $@ 1135 1136$(in_unpack_c): m4/in_unpack.m4 $(I_M4_DEPS) 1137 $(M4) -Dfile=$@ -I$(srcdir)/m4 in_unpack.m4 > $@ 1138 1139$(i_pow_c): m4/pow.m4 $(I_M4_DEPS) 1140 $(M4) -Dfile=$@ -I$(srcdir)/m4 pow.m4 > $@ 1141 1142$(i_pack_c): m4/pack.m4 $(I_M4_DEPS) 1143 $(M4) -Dfile=$@ -I$(srcdir)/m4 pack.m4 > $@ 1144 1145$(i_unpack_c): m4/unpack.m4 $(I_M4_DEPS) 1146 $(M4) -Dfile=$@ -I$(srcdir)/m4 unpack.m4 > $@ 1147 1148$(i_spread_c): m4/spread.m4 $(I_M4_DEPS) 1149 $(M4) -Dfile=$@ -I$(srcdir)/m4 spread.m4 > $@ 1150 1151$(gfor_built_specific_src): m4/specific.m4 m4/head.m4 1152 $(M4) -Dfile=$@ -I$(srcdir)/m4 specific.m4 > $@ 1153 1154$(gfor_built_specific2_src): m4/specific2.m4 m4/head.m4 1155 $(M4) -Dfile=$@ -I$(srcdir)/m4 specific2.m4 > $@ 1156 1157$(gfor_misc_specifics): m4/misc_specifics.m4 m4/head.m4 1158 $(M4) -Dfile=$@ -I$(srcdir)/m4 misc_specifics.m4 > $@ 1159## end of maintainer mode only rules 1160endif 1161 1162EXTRA_DIST = $(m4_files) 1163