]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/fortran/Make-lang.in
Makefile.in (LLINKER): New variable.
[thirdparty/gcc.git] / gcc / fortran / Make-lang.in
CommitLineData
6de9cd9a
DN
1# -*- makefile -*-
2# Top level makefile fragment for GNU gfortran, the GNU Fortran 95 compiler.
d1e082c2 3# Copyright (C) 2002-2013 Free Software Foundation, Inc.
6de9cd9a
DN
4# Contributed by Paul Brook <paul@nowt.org
5# and Steven Bosscher <s.bosscher@student.tudelft.nl>
6
9fc4d79b 7#This file is part of GCC.
6de9cd9a 8
9fc4d79b 9#GCC is free software; you can redistribute it and/or modify
6de9cd9a 10#it under the terms of the GNU General Public License as published by
d234d788 11#the Free Software Foundation; either version 3, or (at your option)
6de9cd9a
DN
12#any later version.
13
9fc4d79b 14#GCC is distributed in the hope that it will be useful,
6de9cd9a
DN
15#but WITHOUT ANY WARRANTY; without even the implied warranty of
16#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17#GNU General Public License for more details.
18
19#You should have received a copy of the GNU General Public License
d234d788
NC
20#along with GCC; see the file COPYING3. If not see
21#<http://www.gnu.org/licenses/>.
6de9cd9a
DN
22
23# This file provides the language dependent support in the main Makefile.
24# Each language makefile fragment must provide the following targets:
25#
bd97af06 26# foo.all.cross, foo.start.encap, foo.rest.encap,
b7826893 27# foo.install-common, foo.install-man, foo.install-info, foo.install-pdf,
55bcd32b 28# foo.install-html, foo.info, foo.dvi, foo.pdf, foo.html, foo.uninstall,
b7826893 29# foo.mostlyclean, foo.clean, foo.distclean,
6de9cd9a
DN
30# foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
31#
32# where `foo' is the name of the language.
33#
34# It should also provide rules for:
35#
36# - making any compiler driver (eg: gfortran)
37# - the compiler proper (eg: f951)
38# - define the names for selecting the language in LANGUAGES.
39# $(srcdir) must be set to the gcc/ source directory (*not* gcc/fortran/).
40
41# Actual name to use when installing a native compiler.
e62be46e 42GFORTRAN_INSTALL_NAME := $(shell echo gfortran|sed '$(program_transform_name)')
def6f170 43GFORTRAN_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo gfortran|sed '$(program_transform_name)')
6de9cd9a
DN
44
45#^L
46
5f42ddb0 47# Use strict warnings for this front end.
ffee7efd
KG
48fortran-warn = $(STRICT_WARN)
49
6de9cd9a
DN
50# These are the groups of object files we have. The F95_PARSER_OBJS are
51# all the front end files, the F95_OBJS are the files for the translation
974ede64 52# from the parse tree to GENERIC
6de9cd9a 53
fd528377 54F95_PARSER_OBJS = fortran/arith.o fortran/array.o fortran/bbt.o \
d15bac21
JW
55 fortran/check.o fortran/class.o fortran/constructor.o fortran/cpp.o \
56 fortran/data.o fortran/decl.o fortran/dump-parse-tree.o fortran/error.o \
57 fortran/expr.o fortran/interface.o fortran/intrinsic.o fortran/io.o \
58 fortran/iresolve.o fortran/match.o fortran/matchexp.o fortran/misc.o \
59 fortran/module.o fortran/openmp.o fortran/options.o fortran/parse.o \
60 fortran/primary.o fortran/resolve.o fortran/scanner.o fortran/simplify.o \
61 fortran/st.o fortran/symbol.o fortran/target-memory.o
6de9cd9a 62
c776a6d0 63F95_OBJS = $(F95_PARSER_OBJS) $(FORTRAN_TARGET_OBJS) \
fd528377
TS
64 fortran/convert.o fortran/dependency.o fortran/f95-lang.o \
65 fortran/trans.o fortran/trans-array.o fortran/trans-common.o \
66 fortran/trans-const.o fortran/trans-decl.o fortran/trans-expr.o \
6c7a4dfd 67 fortran/trans-intrinsic.o fortran/trans-io.o fortran/trans-openmp.o \
601d98be 68 fortran/trans-stmt.o fortran/trans-types.o fortran/frontend-passes.o
6de9cd9a 69
6cba282a
TT
70fortran_OBJS = $(F95_OBJS) gfortranspec.o
71
6de9cd9a
DN
72#\f
73# Define the names for selecting gfortran in LANGUAGES.
9d29a5b7 74fortran: f951$(exeext)
6de9cd9a
DN
75
76# Tell GNU make to ignore files by these names if they exist.
9d29a5b7 77.PHONY: fortran
6de9cd9a 78
e63ea00c 79gfortranspec.o: $(srcdir)/fortran/gfortranspec.c $(SYSTEM_H) $(TM_H) $(GCC_H) \
a4d8c676 80 $(CONFIG_H) coretypes.h intl.h $(OPTS_H)
b040f2be 81 (SHLIB='$(SHLIB)'; \
7980bfb8 82 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(DRIVER_DEFINES) \
e980df8e 83 $(INCLUDES) $(srcdir)/fortran/gfortranspec.c)
6de9cd9a
DN
84
85# Create the compiler driver gfortran.
1ed1641d
JM
86GFORTRAN_D_OBJS = $(GCC_OBJS) gfortranspec.o
87gfortran$(exeext): $(GFORTRAN_D_OBJS) $(EXTRA_GCC_OBJS) libcommon-target.a \
88 $(LIBDEPS)
a90163e9 89 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
e3b3fa45
RO
90 $(GFORTRAN_D_OBJS) $(EXTRA_GCC_OBJS) libcommon-target.a \
91 $(EXTRA_GCC_LIBS) $(LIBS)
6de9cd9a
DN
92
93# Create a version of the gfortran driver which calls the cross-compiler.
94gfortran-cross$(exeext): gfortran$(exeext)
95 -rm -f gfortran-cross$(exeext)
96 cp gfortran$(exeext) gfortran-cross$(exeext)
97
98# The compiler itself is called f951.
974ede64 99f951$(exeext): $(F95_OBJS) \
c79efc4d 100 $(BACKEND) $(LIBDEPS) attribs.o
427b248d 101 +$(LLINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
9c818d13
JB
102 $(F95_OBJS) $(BACKEND) $(ZLIB) $(LIBS) attribs.o \
103 $(BACKENDLIBS)
6de9cd9a 104
2f4d2d18 105gt-fortran-trans.h : s-gtype; @true
6de9cd9a
DN
106#\f
107# Build hooks:
108
7f26dfa3 109fortran.all.cross: gfortran-cross$(exeext)
6de9cd9a 110
7f26dfa3
FXC
111fortran.start.encap: gfortran$(exeext)
112fortran.rest.encap:
6de9cd9a 113
7f26dfa3 114fortran.srcinfo: doc/gfortran.info
6de9cd9a
DN
115 -cp -p $^ $(srcdir)/fortran
116
7f26dfa3 117fortran.tags: force
6de9cd9a
DN
118 cd $(srcdir)/fortran; etags -o TAGS.sub *.c *.h; \
119 etags --include TAGS.sub --include ../TAGS.sub
120
52f2f1d7
BM
121fortran.info: doc/gfortran.info doc/gfc-internals.info
122fortran.dvi: doc/gfortran.dvi doc/gfc-internals.dvi
55bcd32b
AJ
123
124F95_HTMLFILES = $(build_htmldir)/gfortran
125
126fortran.html: $(F95_HTMLFILES)/index.html
127
128fortran.install-html: $(F95_HTMLFILES)
129 @$(NORMAL_INSTALL)
130 test -z "$(htmldir)" || $(mkinstalldirs) "$(DESTDIR)$(htmldir)"
131 @list='$(F95_HTMLFILES)'; for p in $$list; do \
132 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
133 f=$(html__strip_dir) \
134 if test -d "$$d$$p"; then \
135 echo " $(mkinstalldirs) '$(DESTDIR)$(htmldir)/$$f'"; \
136 $(mkinstalldirs) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
137 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
138 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
139 else \
140 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
141 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
142 fi; \
143 done
6de9cd9a 144
b7826893
BM
145F95_PDFFILES = doc/gfortran.pdf
146
52f2f1d7 147fortran.pdf: $(F95_PDFFILES) doc/gfc-internals.pdf
b7826893
BM
148
149fortran.install-pdf: $(F95_PDFFILES)
150 @$(NORMAL_INSTALL)
151 test -z "$(pdfdir)/gcc" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)/gcc"
152 @list='$(F95_PDFFILES)'; for p in $$list; do \
153 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
154 f=$(pdf__strip_dir) \
155 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/gcc/$$f'"; \
156 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/gcc/$$f"; \
157 done
158
e62be46e
MK
159F95_MANFILES = doc/gfortran.1
160
7f26dfa3 161fortran.man: $(F95_MANFILES)
e62be46e 162
7f26dfa3 163fortran.srcman: $(F95_MANFILES)
e62be46e
MK
164 -cp -p $^ $(srcdir)/doc
165
7f26dfa3 166fortran.srcextra:
6de9cd9a
DN
167
168check-f95 : check-gfortran
2c05c0da 169check-fortran : check-gfortran
7134e605
JJ
170check-f95-subtargets : check-gfortran-subtargets
171check-fortran-subtargets : check-gfortran-subtargets
6de9cd9a 172lang_checks += check-gfortran
7134e605
JJ
173lang_checks_parallelized += check-gfortran
174# For description see comment above check_gcc_parallelize in gcc/Makefile.in.
f1ee724c
JJ
175check_gfortran_parallelize = dg.exp=gfortran.dg/\[adAD\]* \
176 dg.exp=gfortran.dg/\[bcBC\]* \
177 dg.exp=gfortran.dg/\[nopNOP\]* \
178 dg.exp=gfortran.dg/\[isuvISUV\]* \
179 dg.exp=gfortran.dg/\[efhkqrxzEFHKQRXZ\]* \
180 dg.exp=gfortran.dg/\[0-9gjlmtwyGJLMTWY\]*
6de9cd9a
DN
181
182# GFORTRAN documentation.
183GFORTRAN_TEXI = \
184 $(srcdir)/fortran/gfortran.texi \
2e582661 185 $(srcdir)/fortran/intrinsic.texi \
6de9cd9a
DN
186 $(srcdir)/fortran/invoke.texi \
187 $(srcdir)/doc/include/fdl.texi \
7f9766e4 188 $(srcdir)/doc/include/gpl_v3.texi \
6de9cd9a 189 $(srcdir)/doc/include/funding.texi \
a1286ef5
ZW
190 $(srcdir)/doc/include/gcc-common.texi \
191 gcc-vers.texi
6de9cd9a 192
fc897984 193doc/gfortran.info: $(GFORTRAN_TEXI)
6de9cd9a 194 if [ x$(BUILD_INFO) = xinfo ]; then \
fc897984 195 rm -f doc/gfortran.info-*; \
9d65c5cb
MS
196 $(MAKEINFO) -I $(srcdir)/doc/include -I $(srcdir)/fortran \
197 -o $@ $<; \
6de9cd9a
DN
198 else true; fi
199
fc897984
JM
200doc/gfortran.dvi: $(GFORTRAN_TEXI)
201 $(TEXI2DVI) -I $(srcdir)/fortran -I $(abs_docdir)/include -o $@ $<
6de9cd9a 202
b5422ad7
BM
203doc/gfortran.pdf: $(GFORTRAN_TEXI)
204 $(TEXI2PDF) -I $(srcdir)/fortran -I $(abs_docdir)/include -o $@ $<
205
22482f74 206$(build_htmldir)/gfortran/index.html: $(GFORTRAN_TEXI)
9d65c5cb
MS
207 $(mkinstalldirs) $(@D)
208 rm -f $(@D)/*
ad3a7ce3 209 $(TEXI2HTML) -I $(gcc_docdir)/include -I $(srcdir)/fortran -o $(@D) $<
9d65c5cb 210
e62be46e
MK
211.INTERMEDIATE: gfortran.pod
212
213gfortran.pod: $(GFORTRAN_TEXI)
2f41c1d6
PB
214 -$(TEXI2POD) -DBUGURL="$(BUGURL_TEXI)" \
215 < $(srcdir)/fortran/invoke.texi > $@
e62be46e 216
52f2f1d7
BM
217# GFORTRAN internals documentation.
218GFC_INTERNALS_TEXI = \
219 $(srcdir)/fortran/gfc-internals.texi \
220 $(srcdir)/doc/include/fdl.texi \
221 $(srcdir)/doc/include/gcc-common.texi \
222 gcc-vers.texi
223
224doc/gfc-internals.info: $(GFC_INTERNALS_TEXI)
225 if [ x$(BUILD_INFO) = xinfo ]; then \
226 rm -f doc/gfc-internals.info-*; \
227 $(MAKEINFO) -I $(srcdir)/doc/include -I $(srcdir)/fortran \
228 -o $@ $<; \
229 else true; fi
230
231doc/gfc-internals.dvi: $(GFC_INTERNALS_TEXI)
232 $(TEXI2DVI) -I $(srcdir)/fortran -I $(abs_docdir)/include -o $@ $<
233
234doc/gfc-internals.pdf: $(GFC_INTERNALS_TEXI)
235 $(TEXI2PDF) -I $(srcdir)/fortran -I $(abs_docdir)/include -o $@ $<
236
dd8d6dfe
JJ
237# Create or recreate the gfortran private include file directory.
238install-finclude-dir: installdirs
150da9f4 239 $(mkinstalldirs) -m 0755 $(DESTDIR)$(libsubdir)/finclude
6de9cd9a
DN
240#\f
241# Install hooks:
242# f951 is installed elsewhere as part of $(COMPILERS).
243
6de9cd9a
DN
244# Install the driver program as $(target)-gfortran
245# and also as either gfortran (if native) or $(tooldir)/bin/gfortran.
dd8d6dfe 246fortran.install-common: install-finclude-dir installdirs
6de9cd9a 247 -if [ -f f951$(exeext) ] ; then \
def6f170
AS
248 rm -f $(DESTDIR)$(bindir)/$(GFORTRAN_INSTALL_NAME)$(exeext); \
249 $(INSTALL_PROGRAM) gfortran$(exeext) $(DESTDIR)$(bindir)/$(GFORTRAN_INSTALL_NAME)$(exeext); \
250 chmod a+x $(DESTDIR)$(bindir)/$(GFORTRAN_INSTALL_NAME)$(exeext); \
6de9cd9a 251 if [ -f gfortran-cross$(exeext) ] ; then \
6de9cd9a
DN
252 if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \
253 rm -f $(DESTDIR)$(gcc_tooldir)/bin/gfortran$(exeext); \
254 $(INSTALL_PROGRAM) gfortran-cross$(exeext) $(DESTDIR)$(gcc_tooldir)/bin/gfortran$(exeext); \
255 else true; fi; \
256 else \
6de9cd9a
DN
257 rm -f $(DESTDIR)$(bindir)/$(GFORTRAN_TARGET_INSTALL_NAME)$(exeext); \
258 $(LN) $(DESTDIR)$(bindir)/$(GFORTRAN_INSTALL_NAME)$(exeext) $(DESTDIR)$(bindir)/$(GFORTRAN_TARGET_INSTALL_NAME)$(exeext); \
259 fi ; \
260 fi
261
2a4c0366
TG
262fortran.install-plugin:
263
b2d7fd7b 264fortran.install-info: $(DESTDIR)$(infodir)/gfortran.info
6de9cd9a 265
7f26dfa3 266fortran.install-man: $(DESTDIR)$(man1dir)/$(GFORTRAN_INSTALL_NAME)$(man1ext)
e62be46e 267
7bfb5ccc
GK
268$(DESTDIR)$(man1dir)/$(GFORTRAN_INSTALL_NAME)$(man1ext): doc/gfortran.1 \
269 installdirs
e62be46e
MK
270 -rm -f $@
271 -$(INSTALL_DATA) $< $@
272 -chmod a-x $@
6de9cd9a 273
7f26dfa3 274fortran.uninstall:
6de9cd9a
DN
275 if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
276 echo " install-info --delete --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gfortran.info"; \
277 install-info --delete --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/gfortran.info || : ; \
278 else : ; fi; \
279 rm -rf $(DESTDIR)$(bindir)/$(GFORTRAN_INSTALL_NAME)$(exeext); \
e62be46e 280 rm -rf $(DESTDIR)$(man1dir)/$(GFORTRAN_INSTALL_NAME)$(man1ext); \
def6f170 281 rm -rf $(DESTDIR)$(bindir)/$(GFORTRAN_TARGET_INSTALL_NAME)$(exeext); \
6de9cd9a
DN
282 rm -rf $(DESTDIR)$(infodir)/gfortran.info*
283
284#\f
285# Clean hooks:
286# A lot of the ancillary files are deleted by the main makefile.
287# We just have to delete files specific to us.
288
7f26dfa3 289fortran.mostlyclean:
6de9cd9a
DN
290 -rm -f f951$(exeext)
291 -rm -f fortran/*.o
292
7f26dfa3
FXC
293fortran.clean:
294fortran.distclean:
6de9cd9a
DN
295 -rm -f fortran/config.status fortran/Makefile
296
7f26dfa3
FXC
297fortran.extraclean:
298fortran.maintainer-clean:
fc897984 299 -rm -f doc/gfortran.info* fortran/gfortran.*aux
e62be46e 300 -rm -f $(docobjdir)/gfortran.1
6de9cd9a
DN
301
302#\f
303# Stage hooks:
304# The toplevel makefile has already created stage?/fortran at this point.
305
7f26dfa3 306fortran.stage1: stage1-start
6de9cd9a 307 -mv fortran/*$(objext) stage1/fortran
7f26dfa3 308fortran.stage2: stage2-start
6de9cd9a 309 -mv fortran/*$(objext) stage2/fortran
7f26dfa3 310fortran.stage3: stage3-start
6de9cd9a 311 -mv fortran/*$(objext) stage3/fortran
7f26dfa3 312fortran.stage4: stage4-start
6de9cd9a 313 -mv fortran/*$(objext) stage4/fortran
7f26dfa3 314fortran.stageprofile: stageprofile-start
6de9cd9a 315 -mv fortran/*$(objext) stageprofile/fortran
7f26dfa3 316fortran.stagefeedback: stageprofile-start
6de9cd9a 317 -mv fortran/*$(objext) stagefeedback/fortran
e980df8e
TT
318
319#\f
320# .o: .h dependencies.
321
322# Everything depends on gfortran.h, but only a few files depend on
323# the other headers. So at some point we'll have to split out
324# which objects depend on what. FIXME
325# TODO: Add dependencies on the backend/tree header files
326
327$(F95_PARSER_OBJS): fortran/gfortran.h fortran/libgfortran.h \
b7e75771 328 fortran/intrinsic.h fortran/match.h fortran/constructor.h \
e980df8e
TT
329 fortran/parse.h fortran/arith.h fortran/target-memory.h \
330 $(CONFIG_H) $(SYSTEM_H) $(TM_H) $(TM_P_H) coretypes.h \
dd355a42 331 dumpfile.h $(TREE_H) dumpfile.h $(GGC_H) $(VEC_H) \
be7a421e 332 $(FLAGS_H) $(DIAGNOSTIC_H) errors.h $(FUNCTION_H) \
28d0b595 333 fortran/iso-c-binding.def fortran/iso-fortran-env.def
e980df8e
TT
334fortran/openmp.o: pointer-set.h $(TARGET_H) toplev.h
335
336GFORTRAN_TRANS_DEPS = fortran/gfortran.h fortran/libgfortran.h \
337 fortran/intrinsic.h fortran/trans-array.h \
338 fortran/trans-const.h fortran/trans-const.h fortran/trans.h \
339 fortran/trans-stmt.h fortran/trans-types.h \
28d0b595
TB
340 $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TM_H) coretypes.h $(GGC_H) \
341 fortran/iso-c-binding.def fortran/iso-fortran-env.def
e980df8e 342
ce86ad58 343CFLAGS-fortran/cpp.o += $(TARGET_SYSTEM_ROOT_DEFINE)
e980df8e 344fortran/f95-lang.o: $(GFORTRAN_TRANS_DEPS) fortran/mathbuiltins.def \
670637ee 345 gt-fortran-f95-lang.h gtype-fortran.h $(CGRAPH_H) $(TARGET_H) fortran/cpp.h \
602b8523 346 $(BUILTINS_DEF) fortran/types.def \
3edf1dd5
KT
347 $(TM_H) debug.h langhooks.h $(FLAGS_H) $(EXPR_H) $(LANGHOOKS_DEF_H) \
348 libfuncs.h expr.h $(DIAGNOSTIC_H)
670637ee 349fortran/scanner.o: toplev.h fortran/cpp.h
77dec518 350fortran/convert.o: $(GFORTRAN_TRANS_DEPS) convert.h
f024c89f 351fortran/frontend-passes.o: $(GFORTRAN_TRANS_DEPS)
726a989a 352fortran/trans.o: $(GFORTRAN_TRANS_DEPS) tree-iterator.h
e980df8e 353fortran/trans-decl.o: $(GFORTRAN_TRANS_DEPS) gt-fortran-trans-decl.h \
726a989a 354 $(CGRAPH_H) $(TARGET_H) $(FUNCTION_H) $(FLAGS_H) $(RTL_H) $(GIMPLE_H) \
77f2a970 355 $(TREE_DUMP_H) debug.h pointer-set.h
e980df8e
TT
356fortran/trans-types.o: $(GFORTRAN_TRANS_DEPS) gt-fortran-trans-types.h \
357 $(REAL_H) toplev.h $(TARGET_H) $(FLAGS_H) dwarf2out.h
d49b6e1e 358fortran/trans-const.o: $(GFORTRAN_TRANS_DEPS) realmpfr.h
e980df8e
TT
359fortran/trans-expr.o: $(GFORTRAN_TRANS_DEPS) fortran/dependency.h
360fortran/trans-stmt.o: $(GFORTRAN_TRANS_DEPS) fortran/dependency.h
361fortran/trans-openmp.o: $(GFORTRAN_TRANS_DEPS)
362fortran/trans-io.o: $(GFORTRAN_TRANS_DEPS) gt-fortran-trans-io.h \
363 fortran/ioparm.def
c76f8d52 364fortran/trans-array.o: $(GFORTRAN_TRANS_DEPS) $(GIMPLE_H)
e980df8e
TT
365fortran/trans-intrinsic.o: $(GFORTRAN_TRANS_DEPS) fortran/mathbuiltins.def \
366 gt-fortran-trans-intrinsic.h
367fortran/dependency.o: $(GFORTRAN_TRANS_DEPS) fortran/dependency.h
368fortran/trans-common.o: $(GFORTRAN_TRANS_DEPS) $(TARGET_H) $(RTL_H)
369fortran/resolve.o: fortran/dependency.h fortran/data.h fortran/target-memory.h
370fortran/data.o: fortran/data.h
670637ee 371fortran/options.o: $(PARAMS_H) $(TARGET_H) fortran/cpp.h
82a1c2fe 372fortran/cpp.o: fortran/cpp.c incpath.h incpath.o cppbuiltin.h
070edbc2 373fortran/scanner.o: fortran/scanner.h
9c818d13 374CFLAGS-fortran/module.o += $(ZLIBINC)
070edbc2 375fortran/module.o: fortran/scanner.h