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