# Top level makefile fragment for GNU Fortran. -*-makefile-*-
-# Copyright (C) 1995-1997 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
#This file is part of GNU Fortran.
#You should have received a copy of the GNU General Public License
#along with GNU Fortran; see the file COPYING. If not, write to
-#the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-#02111-1307, USA.
+#the Free Software Foundation, 59 Temple Place - Suite 330,
+#Boston, MA 02111-1307, USA.
# This file provides the language dependent support in the main Makefile.
# Each language makefile fragment must provide the following targets:
# foo.all.build, foo.all.cross, foo.start.encap, foo.rest.encap,
# foo.info, foo.dvi,
# foo.install-normal, foo.install-common, foo.install-info, foo.install-man,
-# foo.uninstall, foo.distdir,
+# foo.uninstall,
# foo.mostlyclean, foo.clean, foo.distclean, foo.extraclean,
# foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
#
#
# It should also provide rules for:
#
-# - making any compiler driver (eg: g77)
-# - the compiler proper (eg: f771)
+# - making any compiler driver (eg: g++)
+# - the compiler proper (eg: cc1plus)
# - define the names for selecting the language in LANGUAGES.
#
# $(srcdir) must be set to the gcc/ source directory (not gcc/f/).
#\f
-# Extra flags to pass to recursive makes (and to sub-configure).
-# Use different quoting rules compared with FLAGS_TO_PASS so we can use
-# this to set environment variables as well
-# Note that GCC_FOR_TARGET, GCC_FLAGS aren't in here -- treated separately.
-F77_FLAGS_TO_PASS = \
- CROSS="$(CROSS)" \
- AR_FLAGS="$(AR_FLAGS)" \
- AR_FOR_TARGET="$(AR_FOR_TARGET)" \
- BISON="$(BISON)" \
- BISONFLAGS="$(BISONFLAGS)" \
- CC="$(CC)" \
- CFLAGS="$(CFLAGS)" \
- X_CFLAGS="$(X_CFLAGS)" \
- LDFLAGS="$(LDFLAGS)" \
- LEX="$(LEX)" \
- LEXFLAGS="$(LEXFLAGS)" \
- MAKEINFO="$(MAKEINFO)" \
- MAKEINFOFLAGS="$(MAKEINFOFLAGS)" \
- RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)" \
- RANLIB_TEST_FOR_TARGET="$(RANLIB_TEST_FOR_TARGET)" \
- SHELL="$(SHELL)" \
- exec_prefix="$(exec_prefix)" \
- prefix="$(prefix)" \
- tooldir="$(tooldir)" \
- bindir="$(bindir)" \
- libsubdir="$(libsubdir)"
-# "F77_FOR_BUILD=$(F77_FOR_BUILD)" \
-# "F77FLAGS=$(F77FLAGS)" \
-# "F77_FOR_TARGET=$(F77_FOR_TARGET)"
-
-# This flag controls whether to install (overwrite) f77 on this system,
-# and also whether to uninstall it when using the uninstall target.
-# As shipped, the flag is a test of whether the `f77_install_ok'
-# file exists in the build or source directories (top level), but
-# you can just change it here if you like.
-F77_INSTALL_FLAG = [ -f f77-install-ok -o -f $(srcdir)/f77-install-ok ]
-
-# This flag is similar to F77_INSTALL_FLAG, but controls whether
-# to install (ovewrite) f2c-related items on this system. Currently
-# these are `include/f2c.h' and `lib/libf2c.a', though at some point
-# `bin/f2c' itself might be added to the g77 distribution.
-F2C_INSTALL_FLAG = [ -f f2c-install-ok -o -f $(srcdir)/f2c-install-ok ]
-
-# This flag controls whether it is safe to install gcc's libf2c.a
-# even when there's already a lib/libf2c.a installed (which, unless
-# F2C_INSTALL_FLAG is set, will be left alone).
-F2CLIBOK = [ -f f2c-exists-ok -o -f $(srcdir)/f2c-exists-ok ]
-
-# Actual names to use when installing a native compiler.
-F77_INSTALL_NAME = `t='$(program_transform_name)'; echo f77 | sed $$t`
+# Actual name to use when installing a native compiler.
G77_INSTALL_NAME = `t='$(program_transform_name)'; echo g77 | sed $$t`
-# Actual names to use when installing a cross-compiler.
-F77_CROSS_NAME = `t='$(program_transform_cross_name)'; echo f77 | sed $$t`
+# Actual name to use when installing a cross-compiler.
G77_CROSS_NAME = `t='$(program_transform_cross_name)'; echo g77 | sed $$t`
#\f
# Define the names for selecting f77 in LANGUAGES.
# Note that it would be nice to move the dependency on g77
# into the F77 rule, but that needs a little bit of work
# to do the right thing within all.cross.
-F77 f77: f771
+F77 f77: f771$(exeext)
# Tell GNU make to ignore these if they exist.
-.PHONY: F77 f77 f77-runtime f77-runtime-unsafe f77.all.build f77.all.cross \
- f77.start.encap f77.rest.encap f77.info f77.dvi maybe-f2c \
- f77.install-normal install-libf77 install-f2c-all install-f2c-header \
- install-f2c-lib f77.install-common f77.install-info f77.install-man \
- f77.uninstall f77.mostlyclean f77.clean f77.distclean f77.extraclean \
- f77.maintainer-clean f77.realclean f77.stage1 f77.stage2 f77.stage3 \
- f77.stage4 f77.distdir f77.rebuilt
-
-# Create the compiler driver for g77 (only if `f77' is in LANGUAGES).
-g77: $(srcdir)/f/g77.c $(srcdir)/f/version.c $(CONFIG_H) $(LIBDEPS)
- case '$(LANGUAGES)' in \
- *f77*) \
- $(CC) $(ALL_CFLAGS) $(INCLUDES) $(LDFLAGS) \
- -o $@ $(srcdir)/f/g77.c $(srcdir)/f/version.c $(LIBS) ;; \
- esac
-
-# Create a version of the g77 driver which calls the cross-compiler
-# (only if `f77' is in LANGUAGES).
-g77-cross: $(srcdir)/f/g77.c $(srcdir)/f/version.c version.o $(LIBDEPS)
- case '$(LANGUAGES)' in \
- *f77*) \
- $(CC) $(ALL_CFLAGS) $(INCLUDES) $(LDFLAGS) \
- -DGCC_NAME=\"$(GCC_CROSS_NAME)\" \
- -o $@ $(srcdir)/f/g77.c $(srcdir)/f/version.c $(LIBS) ;; \
+.PHONY: F77 f77 f77.all.build f77.all.cross \
+ f77.start.encap f77.rest.encap f77.info f77.dvi \
+ f77.install-normal \
+ f77.install-common f77.install-info f77.install-man \
+ f77.uninstall f77.mostlyclean f77.clean f77.distclean \
+ f77.extraclean f77.maintainer-clean f77.rebuilt \
+ f77.stage1 f77.stage2 f77.stage3 f77.stage4
+
+g77spec.o: $(srcdir)/f/g77spec.c $(srcdir)/f/version.h system.h $(GCC_H) \
+ $(CONFIG_H)
+ case "$(LANGUAGES)" in \
+ *[fF]77*) touch lang-f77;; \
+ *) rm -f lang-f77;; \
esac
+ if [ -f lang-f77 ]; then \
+ $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+ $(srcdir)/f/g77spec.c $(OUTPUT_OPTION); \
+ else true; fi
-F77_SRCS = \
- $(srcdir)/f/assert.j \
- $(srcdir)/f/bad.c \
- $(srcdir)/f/bad.def \
- $(srcdir)/f/bad.h \
- $(srcdir)/f/bit.c \
- $(srcdir)/f/bit.h \
- $(srcdir)/f/bld-op.def \
- $(srcdir)/f/bld.c \
- $(srcdir)/f/bld.h \
- $(srcdir)/f/com-rt.def \
- $(srcdir)/f/com.c \
- $(srcdir)/f/com.h \
- $(srcdir)/f/config.j \
- $(srcdir)/f/convert.j \
- $(srcdir)/f/data.c \
- $(srcdir)/f/data.h \
- $(srcdir)/f/equiv.c \
- $(srcdir)/f/equiv.h \
- $(srcdir)/f/expr.c \
- $(srcdir)/f/expr.h \
- $(srcdir)/f/fini.c \
- $(srcdir)/f/flags.j \
- $(srcdir)/f/glimits.j \
- $(srcdir)/f/global.c \
- $(srcdir)/f/global.h \
- $(srcdir)/f/hconfig.j \
- $(srcdir)/f/implic.c \
- $(srcdir)/f/implic.h \
- $(srcdir)/f/input.j \
- $(srcdir)/f/info-b.def \
- $(srcdir)/f/info-k.def \
- $(srcdir)/f/info-w.def \
- $(srcdir)/f/info.c \
- $(srcdir)/f/info.h \
- $(srcdir)/f/intrin.c \
- $(srcdir)/f/intrin.def \
- $(srcdir)/f/intrin.h \
- $(srcdir)/f/lab.c \
- $(srcdir)/f/lab.h \
- $(srcdir)/f/lex.c \
- $(srcdir)/f/lex.h \
- $(srcdir)/f/malloc.c \
- $(srcdir)/f/malloc.h \
- $(srcdir)/f/name.c \
- $(srcdir)/f/name.h \
- $(srcdir)/f/parse.c \
- $(srcdir)/f/proj.c \
- $(srcdir)/f/proj.h \
- $(srcdir)/f/rtl.j \
- $(srcdir)/f/src.c \
- $(srcdir)/f/src.h \
- $(srcdir)/f/st.c \
- $(srcdir)/f/st.h \
- $(srcdir)/f/sta.c \
- $(srcdir)/f/sta.h \
- $(srcdir)/f/stb.c \
- $(srcdir)/f/stb.h \
- $(srcdir)/f/stc.c \
- $(srcdir)/f/stc.h \
- $(srcdir)/f/std.c \
- $(srcdir)/f/std.h \
- $(srcdir)/f/ste.c \
- $(srcdir)/f/ste.h \
- $(srcdir)/f/storag.c \
- $(srcdir)/f/storag.h \
- $(srcdir)/f/stp.c \
- $(srcdir)/f/stp.h \
- $(srcdir)/f/str-1t.fin \
- $(srcdir)/f/str-2t.fin \
- $(srcdir)/f/str-fo.fin \
- $(srcdir)/f/str-io.fin \
- $(srcdir)/f/str-nq.fin \
- $(srcdir)/f/str-op.fin \
- $(srcdir)/f/str-ot.fin \
- $(srcdir)/f/str.c \
- $(srcdir)/f/str.h \
- $(srcdir)/f/sts.c \
- $(srcdir)/f/sts.h \
- $(srcdir)/f/stt.c \
- $(srcdir)/f/stt.h \
- $(srcdir)/f/stu.c \
- $(srcdir)/f/stu.h \
- $(srcdir)/f/stv.c \
- $(srcdir)/f/stv.h \
- $(srcdir)/f/stw.c \
- $(srcdir)/f/stw.h \
- $(srcdir)/f/symbol.c \
- $(srcdir)/f/symbol.def \
- $(srcdir)/f/symbol.h \
- $(srcdir)/f/target.c \
- $(srcdir)/f/target.h \
- $(srcdir)/f/tconfig.j \
- $(srcdir)/f/tm.j \
- $(srcdir)/f/top.c \
- $(srcdir)/f/top.h \
- $(srcdir)/f/tree.j \
- $(srcdir)/f/type.c \
- $(srcdir)/f/type.h \
- $(srcdir)/f/version.c \
- $(srcdir)/f/version.h \
- $(srcdir)/f/where.c \
- $(srcdir)/f/where.h
-
-f771: $(P) $(F77_SRCS) $(LIBDEPS) stamp-objlist f/Makefile
- $(MAKE) -f f/Makefile $(FLAGS_TO_PASS) VPATH=$(srcdir) srcdir=$(srcdir) f771
-
-f/Makefile: $(srcdir)/f/Makefile.in $(srcdir)/configure
- $(SHELL) config.status
-
-# Note that the runtime is built in the top-level directory rather
-# than in f/runtime a la the Cygnus CHILL example; then xgcc -B./ will
-# find it. Use an absolute name for GCC_FOR_TARGET (so we don't have
-# to keep stage? links around everywhere) unless this value has been
-# overridden from the default "./xgcc -B./", hence the case statement.
-# We depend on GCC_PASSES through f/runtime/Makefile.
-stmp-headers = stmp-headers # to be overrideable in unsafe version
-# Depend on stmp-headers, not stmp-int-hdrs, since libF77 needs float.h.
-f77-runtime: f/runtime/Makefile include/f2c.h $(stmp-headers) \
- f/runtime/libF77/Makefile f/runtime/libI77/Makefile f/runtime/libU77/Makefile
+g77version.o: $(srcdir)/f/version.c
case "$(LANGUAGES)" in \
- *f77*) top=`pwd`; \
- cd f/runtime && $(MAKE) \
- GCC_FOR_TARGET="`case '$(GCC_FOR_TARGET)' in \
- './xgcc -B./') echo $${top}/xgcc -B$${top}/;; \
- *) echo '$(GCC_FOR_TARGET)';; esac`" \
- GCC_FLAGS="$(GCC_FLAGS)" $(F77_FLAGS_TO_PASS) \
- all ;; \
+ *[fF]77*) touch lang-f77;; \
+ *) rm -f lang-f77;; \
esac
+ if [ -f lang-f77 ]; then \
+ $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -o g77version.o \
+ $(srcdir)/f/version.c; \
+ else true; fi
+
+# Create the compiler driver for g77.
+g77$(exeext): gcc.o g77spec.o g77version.o version.o prefix.o intl.o \
+ $(LIBDEPS) $(EXTRA_GCC_OBJS)
+ if [ -f lang-f77 ]; then \
+ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ gcc.o g77spec.o g77version.o \
+ version.o prefix.o intl.o $(EXTRA_GCC_OBJS) $(LIBS); \
+ else true; fi
+
+# Create a version of the g77 driver which calls the cross-compiler.
+g77-cross$(exeext): g77$(exeext)
+ if [ -f lang-f77 ]; then \
+ rm -f g77-cross$(exeext); \
+ cp g77$(exeext) g77-cross$(exeext); \
+ else true; fi
+
+# The compiler itself.
+
+F77_OBJS = f/bad.o f/bit.o f/bld.o f/com.o f/data.o f/equiv.o f/expr.o \
+ f/global.o f/implic.o f/info.o f/intrin.o f/lab.o f/lex.o f/malloc.o \
+ f/name.o f/parse.o f/proj.o f/src.o f/st.o f/sta.o f/stb.o f/stc.o \
+ f/std.o f/ste.o f/storag.o f/stp.o f/str.o f/sts.o f/stt.o f/stu.o \
+ f/stv.o f/stw.o f/symbol.o f/target.o f/top.o f/type.o f/version.o f/where.o
+
+# Use loose warnings for this front end.
+f-warn =
+
+f771$(exeext): $(F77_OBJS) $(BACKEND) $(LIBDEPS)
+ rm -f f771$(exeext)
+ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(F77_OBJS) $(BACKEND) $(LIBS)
+
+# Keyword tables.
+f/stamp-str: f/str-1t.h f/str-1t.j f/str-2t.h f/str-2t.j \
+ f/str-fo.h f/str-fo.j f/str-io.h f/str-io.j f/str-nq.h f/str-nq.j \
+ f/str-op.h f/str-op.j f/str-ot.h f/str-ot.j
+ touch f/stamp-str
+
+f/str-1t.h f/str-1t.j: f/fini$(build_exeext) f/str-1t.fin
+ ./f/fini$(build_exeext) $(srcdir)/f/str-1t.fin f/str-1t.j f/str-1t.h
+
+f/str-2t.h f/str-2t.j: f/fini$(build_exeext) f/str-2t.fin
+ ./f/fini$(build_exeext) $(srcdir)/f/str-2t.fin f/str-2t.j f/str-2t.h
+
+f/str-fo.h f/str-fo.j: f/fini$(build_exeext) f/str-fo.fin
+ ./f/fini$(build_exeext) $(srcdir)/f/str-fo.fin f/str-fo.j f/str-fo.h
+
+f/str-io.h f/str-io.j: f/fini$(build_exeext) f/str-io.fin
+ ./f/fini$(build_exeext) $(srcdir)/f/str-io.fin f/str-io.j f/str-io.h
+
+f/str-nq.h f/str-nq.j: f/fini$(build_exeext) f/str-nq.fin
+ ./f/fini$(build_exeext) $(srcdir)/f/str-nq.fin f/str-nq.j f/str-nq.h
+
+f/str-op.h f/str-op.j: f/fini$(build_exeext) f/str-op.fin
+ ./f/fini$(build_exeext) $(srcdir)/f/str-op.fin f/str-op.j f/str-op.h
+
+f/str-ot.h f/str-ot.j: f/fini$(build_exeext) f/str-ot.fin
+ ./f/fini$(build_exeext) $(srcdir)/f/str-ot.fin f/str-ot.j f/str-ot.h
+
+f/fini$(build_exeext): f/fini.o f/proj-h.o safe-ctype.o
+ $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o f/fini$(build_exeext) \
+ f/fini.o f/proj-h.o safe-ctype.o
+
+f/fini.o:
+ $(HOST_CC) $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \
+ -c $(srcdir)/f/fini.c $(OUTPUT_OPTION)
+
+# Like proj.o, but depends on hconfig.h instead of config.h.
+f/proj-h.o: f/proj.c f/proj.h $(HCONFIG_H) $(SYSTEM_H) $(ASSERT_H) $(GLIMITS_H)
+ $(HOST_CC) -DUSE_HCONFIG \
+ $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \
+ -c $(srcdir)/f/proj.c $(OUTPUT_OPTION)
-# This one doesn't depend on cc1 etc. but f2c.h may not be found,
-# in particular, at present...
-f77-runtime-unsafe:
- $(MAKE) stmp-headers= GCC_PARTS= f77-runtime
-
-# The configuration of the runtime system relies on an autoconf-type
-# configure, not a Cygnus-type one. It needs to be run *after* the
-# appropriate (cross-)compiler has been built, thus depend on GCC_PARTS.
-# NB, sh uses the *first* value of $a from `a=fred a=joe prog'.
-stmp-f2c.h: \
- $(srcdir)/f/runtime/f2c.h.in \
- $(srcdir)/f/com.h $(srcdir)/f/proj.h \
- $(srcdir)/f/runtime/Makefile.in \
- $(srcdir)/f/runtime/libF77/Makefile.in \
- $(srcdir)/f/runtime/libI77/Makefile.in \
- $(srcdir)/f/runtime/libU77/Makefile.in \
- $(srcdir)/f/runtime/configure \
- $(srcdir)/f/runtime/libU77/configure \
- $(GCC_PARTS)
-# The make "stage?" in compiler spec. is fully qualified as above
- rm -f stmp-f2c.h
- top=`pwd`; \
- src=`cd $(srcdir); pwd`; \
- cd f/runtime; \
- CC="`case '$(GCC_FOR_TARGET)' in \
- './xgcc -B./') echo $${top}/xgcc -B$${top}/;; \
- *) echo '$(GCC_FOR_TARGET)';; esac`" \
- $(F77_FLAGS_TO_PASS) CONFIG_SITE=/dev/null $(SHELL) \
- $${src}/f/runtime/configure --srcdir=$${src}/f/runtime
- top=`pwd`; \
- src=`cd $(srcdir); pwd`; \
- cd f/runtime/libU77; \
- CC="`case '$(GCC_FOR_TARGET)' in \
- './xgcc -B./') echo $${top}/xgcc -B$${top}/;; \
- *) echo '$(GCC_FOR_TARGET)';; esac`" \
- $(F77_FLAGS_TO_PASS) CONFIG_SITE=/dev/null $(SHELL) \
- $${src}/f/runtime/libU77/configure --srcdir=$${src}/f/runtime/libU77
- touch stmp-f2c.h
-
-# Support parallel build.
-include/f2c.h \
-f/runtime/Makefile \
-f/runtime/libF77/Makefile \
-f/runtime/libI77/Makefile \
-f/runtime/libU77/Makefile: stmp-f2c.h
-
-#For now, omit f2c stuff. -- burley
-#f2c: stmp-headers f/f2c/Makefile
-# cd f/f2c; $(MAKE) all
-#
-#f/f2c/Makefile: $(srcdir)/f/f2c/Makefile.in $(GCC_PARTS) \
-# $(srcdir)/config/$(xmake_file) $(srcdir)/config/$(tmake_file)
-# top=`pwd`; cd f/f2c; \
-# $${top}/f/f2c/configure --srcdir=$${top}/f/f2c
#\f
# Build hooks:
-# I'm not sure there's a way of getting f2c into here conditionally on
-# the --enable-f2c flag detected by config-lang.in so kluge it with the
-# maybe-f2c target by looking at STAGESTUFF.
-# We need to build the runtime after libgcc.a, so as to avoid a circular
-# dependence on cplib2.ready. So instead of putting it in LANGUAGES (via
-# the f77 rule), it goes at the end of each all.* build rule.
-f77.all.build: g77 maybe-f2c f77-runtime
-f77.all.cross: g77-cross maybe-f2c f77-runtime
-f77.start.encap: g77 maybe-f2c
-f77.rest.encap: f77-runtime
-
-f77.info: f/g77.info
+f77.all.build: g77$(exeext)
+f77.all.cross: g77-cross$(exeext)
+f77.start.encap: g77$(exeext)
+f77.rest.encap:
+
+f77.info: $(srcdir)/f/g77.info
f77.dvi: f/g77.dvi
# g77 documentation.
-f/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
+$(srcdir)/f/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
+ $(srcdir)/f/ffe.texi \
$(srcdir)/f/g77install.texi $(srcdir)/f/news.texi \
- $(srcdir)/f/intdoc.texi
- $(MAKEINFO) -I$(srcdir)/f $(srcdir)/f/g77.texi -o f/g77.info
+ $(srcdir)/f/intdoc.texi $(srcdir)/f/root.texi
+ case "$(LANGUAGES)" in \
+ *[fF]77*) touch lang-f77;; \
+ *) rm -f lang-f77;; \
+ esac
+ if [ -f lang-f77 ] && [ x$(BUILD_INFO) = xinfo ]; then \
+ rm -f $(srcdir)/f/g77.info-*; \
+ cd $(srcdir)/f && $(MAKEINFO) -o g77.info g77.texi; \
+ else true; fi
f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
- $(srcdir)/f/g77install.texi $(srcdir)/f/news.texi \
- $(srcdir)/f/intdoc.texi
- $(TEXI2DVI) -I$(srcdir)/f $(srcdir)/f/g77.texi -o f/g77.dvi
+ $(srcdir)/f/ffe.texi \
+ $(srcdir)/f/g77install.texi $(srcdir)/f/news.texi \
+ $(srcdir)/f/intdoc.texi $(srcdir)/f/root.texi
+ case "$(LANGUAGES)" in \
+ *[fF]77*) touch lang-f77;; \
+ *) rm -f lang-f77;; \
+ esac
+# `tex2dvi' was used below, but the Texinfo 3.12 one won't work properly
+# with the include files from $(srcdir). This use of TEXINPUTS may not
+# be universally valid. `$(TEX)' should be used if it gets defined in
+# gcc/Makefile.in.
+ if [ -f lang-f77 ]; then \
+ TEXINPUTS=$(srcdir)/f:$$TEXINPUTS tex $(srcdir)/f/g77.texi; \
+ texindex g77.??; \
+ TEXINPUTS=$(srcdir)/f:$$TEXINPUTS tex $(srcdir)/f/g77.texi; \
+ mv g77.dvi f; \
+ else true; fi
# This dance is all about producing accurate documentation for g77's
# intrinsics with minimum fuss. f/ansify appends "\n\" to C strings
# itself, which uses f/intrin.def; in fact, many bugs in f/intrin.def have
# been found only upon reading the documentation that was automatically
# produced from it.
-$(srcdir)/f/intdoc.texi: f/intdoc.c f/intdoc.in f/ansify.c f/intrin.def f/intrin.h
- $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \
- `echo $(srcdir)/f/ansify.c | sed 's,^\./,,'` -o f/ansify
- f/ansify < $(srcdir)/f/intdoc.in > f/intdoc.h0 $(srcdir)/f/intdoc.in
- $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -I./f \
- `echo $(srcdir)/f/intdoc.c | sed 's,^\./,,'` -o f/intdoc
- f/intdoc > $(srcdir)/f/intdoc.texi
- rm f/intdoc f/ansify f/intdoc.h0
-
-$(srcdir)/f/BUGS: f/bugs0.texi f/bugs.texi
- cd $(srcdir)/f; $(MAKEINFO) -D BUGSONLY --no-header --no-split \
- --no-validate bugs0.texi -o BUGS
-$(srcdir)/f/INSTALL: f/install0.texi f/g77install.texi
- cd $(srcdir)/f; $(MAKEINFO) -D INSTALLONLY --no-header --no-split \
- --no-validate install0.texi -o INSTALL
+# If the documentation files depended on executables in the build
+# tree, there'd be no way to ship a source tree with the documentation
+# already generated such that `make' wouldn't attempt to rebuilt it.
+# So, we punt and arrange for the documentation files to depend on the
+# dependencies of the executables, not on the executables themselves.
+# But then, we have to build the executables explicitly in their build
+# rules.
-$(srcdir)/f/NEWS: f/news0.texi f/news.texi
- cd $(srcdir)/f; $(MAKEINFO) -D NEWSONLY --no-header --no-split \
- --no-validate news0.texi -o NEWS
+INTDOC_DEPS = $(srcdir)/f/intdoc.c $(srcdir)/f/intrin.h $(srcdir)/f/intrin.def
-$(srcdir)/f/runtime/configure: $(srcdir)/f/runtime/configure.in
- cd $(srcdir)/f/runtime && $(MAKE) srcdir=. -f Makefile.in rebuilt
-$(srcdir)/f/runtime/libU77/configure: $(srcdir)/f/runtime/libU77/configure.in
- cd $(srcdir)/f/runtime && $(MAKE) srcdir=. -f Makefile.in rebuilt
+$(srcdir)/f/intdoc.texi: $(INTDOC_DEPS) $(srcdir)/f/intdoc.in
+ $(MAKE) f/intdoc$(build_exeext)
+ f/intdoc$(build_exeext) > $(srcdir)/f/intdoc.texi
-f77.rebuilt: $(srcdir)/f/g77.info $(srcdir)/f/BUGS $(srcdir)/f/INSTALL \
- $(srcdir)/f/NEWS $(srcdir)/f/runtime/configure \
- $(srcdir)/f/runtime/libU77/configure
+f/intdoc$(build_exeext): $(INTDOC_DEPS) f/intdoc.h0 hconfig.h system.h
+ $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) \
+ $(srcdir)/f/intdoc.c -o f/intdoc$(build_exeext)
-maybe-f2c:
-#For now, omit f2c stuff. -- burley
-# case "$(STAGESTUFF)" in *f2c*) $(MAKE) f2c;; esac
-#\f
-# Install hooks:
-# f771 is installed elsewhere as part of $(COMPILERS).
+f/intdoc.h0: f/intdoc.in f/ansify$(build_exeext)
+ f/ansify$(build_exeext) $(srcdir)/f/intdoc.in \
+ < $(srcdir)/f/intdoc.in > f/intdoc.h0
-f77.install-normal: install-libf77 install-f2c-all
-
-# Install the F77 run time library.
-install-libf77: f77-runtime
-# Check for the presence of other versions of the library and includes.
-# Test libf2c.* in case of a shared version, for instance.
- @if test -z "$(F2CLIBOK)" && \
- test -z "$(F2C_INSTALL_FLAG)" && \
- test "`echo $(libdir)/libf2c.*`" != "$(libdir)/libf2c.*"; then \
- echo ; \
- echo 'You already have a version of libf2c installed as' $(libdir)/libf2c.*; \
- echo 'To use g77 this must be consistent with the one that will be built.'; \
- echo 'You should probably delete it and/or install ./libf2c.a in its place.'; \
- echo 'Resume the "make install" after removing the existing library or'; \
- echo 'define the make variable F2CLIBOK to avoid this test.'; \
- echo 'Check also for' $(includedir)/f2c.h 'per INSTALL instructions.'; \
- echo '(Note that a quick and easy way to resume "make -k install" is to'; \
- echo 'use "make install-libf77".)'; \
- exit 1; else true; fi
- if [ -f libf2c.a ] ; then \
- $(INSTALL_DATA) libf2c.a $(libsubdir)/libf2c.a; \
- if $(RANLIB_TEST) ; then \
- (cd $(libsubdir); $(RANLIB) libf2c.a); else true; fi; \
- chmod a-x $(libsubdir)/libf2c.a; \
- else true; fi
- if [ -f include/f2c.h ] ; then \
- $(INSTALL_DATA) include/f2c.h $(libsubdir)/include/f2c.h; \
- else true; fi
+f/ansify$(build_exeext): f/ansify.c hconfig.h system.h
+ $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) \
+ $(srcdir)/f/ansify.c -o f/ansify$(build_exeext)
+
+$(srcdir)/f/BUGS: f/bugs0.texi f/bugs.texi f/root.texi
+ cd $(srcdir)/f; $(MAKEINFO) -D BUGSONLY --no-header --no-split \
+ --no-validate -o BUGS bugs0.texi
-# Install the f2c-related stuff in the directories
-# where f2c and vanilla ld might look for them.
+$(srcdir)/f/NEWS: f/news0.texi f/news.texi f/root.texi
+ cd $(srcdir)/f; $(MAKEINFO) -D NEWSONLY --no-header --no-split \
+ --no-validate -o NEWS news0.texi
-install-f2c-all: install-f2c-header install-f2c-lib
+f77.rebuilt: f/g77.info $(srcdir)/f/BUGS \
+ $(srcdir)/f/NEWS
-install-f2c-header:
- -if test -n "$(F2C_INSTALL_FLAG)" && test -f include/f2c.h; then \
- $(INSTALL_DATA) include/f2c.h $(includedir)/f2c.h; \
- chmod a+r $(includedir)/f2c.h; \
- else true; fi
+#\f
+# Install hooks:
+# f771 is installed elsewhere as part of $(COMPILERS).
-install-f2c-lib:
- -if test -n "$(F2C_INSTALL_FLAG)" && test -f libf2c.a; then \
- $(INSTALL_DATA) libf2c.a $(libdir)/libf2c.a; \
- if $(RANLIB_TEST) ; then \
- (cd $(libdir); $(RANLIB) libf2c.a); else true; fi; \
- chmod a-x $(libdir)/libf2c.a; \
- else true; fi
+f77.install-normal:
# Install the driver program as $(target)-g77
# and also as either g77 (if native) or $(tooldir)/bin/g77.
-f77.install-common:
- -if [ -f f771$(exeext) ] ; then \
+# Make sure `installdirs' target (from gcc Makefile) has been
+# run, since we use libsubdir to store our `flag' file, lang-f77.
+f77.install-common: installdirs
+ case "$(LANGUAGES)" in \
+ *[fF]77*) touch $(libsubdir)/lang-f77.com;; \
+ *) rm -f $(libsubdir)/lang-f77.com;; \
+ esac
+ -if [ -f $(libsubdir)/lang-f77.com -a -f f771$(exeext) ] ; then \
if [ -f g77-cross$(exeext) ] ; then \
rm -f $(bindir)/$(G77_CROSS_NAME)$(exeext); \
$(INSTALL_PROGRAM) g77-cross$(exeext) $(bindir)/$(G77_CROSS_NAME)$(exeext); \
chmod a+x $(bindir)/$(G77_CROSS_NAME)$(exeext); \
- if $(F77_INSTALL_FLAG) ; then \
- rm -f $(bindir)/$(F77_CROSS_NAME)$(exeext); \
- $(LN) $(bindir)/$(G77_CROSS_NAME)$(exeext) $(bindir)/$(F77_CROSS_NAME)$(exeext); \
- fi ; \
else \
rm -f $(bindir)/$(G77_INSTALL_NAME)$(exeext); \
$(INSTALL_PROGRAM) g77$(exeext) $(bindir)/$(G77_INSTALL_NAME)$(exeext); \
chmod a+x $(bindir)/$(G77_INSTALL_NAME)$(exeext); \
- if $(F77_INSTALL_FLAG) ; then \
- rm -f $(bindir)/$(F77_INSTALL_NAME)$(exeext); \
- $(LN) $(bindir)/$(G77_INSTALL_NAME)$(exeext) $(bindir)/$(F77_INSTALL_NAME)$(exeext); \
- fi ; \
fi ; \
else true; fi
+ @if [ -f f77-install-ok -o -f $(srcdir)/f77-install-ok ]; then \
+ echo ''; \
+ echo 'Warning: gcc no longer installs an f77 command.'; \
+ echo ' You must do so yourself. For more information,'; \
+ echo ' read "Distributing Binaries" in the g77 docs.'; \
+ echo ' (To turn off this warning, delete the file'; \
+ echo ' f77-install-ok in the source or build directory.)'; \
+ echo ''; \
+ else true; fi
+ rm -f $(libsubdir)/lang-f77.com
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
# to do the install. The sed rule was copied from stmp-int-hdrs.
-f77.install-info:
- -rm -f $(infodir)/g77.info*
- for f in f/g77.info*; do \
- realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
- $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
- done
- -chmod a-x $(infodir)/g77.info*
-
-f77.install-man: $(srcdir)/f/g77.1
- -if [ -f f771$(exeext) ] ; then \
+# Make sure `installdirs' target (from gcc Makefile) has been
+# run, since we use libsubdir to store our `flag' file, lang-f77.
+f77.install-info: f77.info installdirs
+ case "$(LANGUAGES)" in \
+ *[fF]77*) touch $(libsubdir)/lang-f77.info;; \
+ *) rm -f $(libsubdir)/lang-f77.info;; \
+ esac
+ if [ -f $(libsubdir)/lang-f77.info -a -f $(srcdir)/f/g77.info ] ; then \
+ rm -f $(infodir)/g77.info*; \
+ for f in $(srcdir)/f/g77.info*; do \
+ realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
+ $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
+ done; \
+ chmod a-x $(infodir)/g77.info*; \
+ else true; fi
+ @if [ -f $(libsubdir)/lang-f77.info -a -f $(srcdir)/f/g77.info ] ; then \
+ if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+ echo " install-info --info-dir=$(infodir) $(infodir)/g77.info"; \
+ install-info --info-dir=$(infodir) $(infodir)/g77.info || : ; \
+ else : ; fi; \
+ else : ; fi
+ rm -f $(libsubdir)/lang-f77.info
+
+# Make sure `installdirs' target (from gcc Makefile) has been
+# run, since we use libsubdir to store our `flag' file, lang-f77.
+f77.install-man: $(srcdir)/f/g77.1 installdirs
+ case "$(LANGUAGES)" in \
+ *[fF]77*) touch $(libsubdir)/lang-f77.man;; \
+ *) rm -f $(libsubdir)/lang-f77.man;; \
+ esac
+ -if [ -f $(libsubdir)/lang-f77.man -a -f f771$(exeext) ] ; then \
if [ -f g77-cross$(exeext) ] ; then \
- rm -f $(mandir)/$(G77_CROSS_NAME)$(manext); \
- $(INSTALL_DATA) $(srcdir)/f/g77.1 $(mandir)/$(G77_CROSS_NAME)$(manext); \
- chmod a-x $(mandir)/$(G77_CROSS_NAME)$(manext); \
- if $(F77_INSTALL_FLAG) ; then \
- rm -f $(mandir)/$(F77_CROSS_NAME)$(manext); \
- $(LN) $(mandir)/$(G77_CROSS_NAME)$(manext) $(mandir)/$(F77_CROSS_NAME)$(manext); \
- fi ;\
+ rm -f $(man1dir)/$(G77_CROSS_NAME)$(manext); \
+ $(INSTALL_DATA) $(srcdir)/f/g77.1 $(man1dir)/$(G77_CROSS_NAME)$(manext); \
+ chmod a-x $(man1dir)/$(G77_CROSS_NAME)$(manext); \
else \
- rm -f $(mandir)/$(G77_INSTALL_NAME)$(manext); \
- $(INSTALL_DATA) $(srcdir)/f/g77.1 $(mandir)/$(G77_INSTALL_NAME)$(manext); \
- chmod a-x $(mandir)/$(G77_INSTALL_NAME)$(manext); \
- if $(F77_INSTALL_FLAG) ; then \
- rm -f $(mandir)/$(F77_INSTALL_NAME)$(manext); \
- $(LN) $(mandir)/$(G77_INSTALL_NAME)$(manext) $(mandir)/$(F77_INSTALL_NAME)$(manext); \
- fi ;\
+ rm -f $(man1dir)/$(G77_INSTALL_NAME)$(manext); \
+ $(INSTALL_DATA) $(srcdir)/f/g77.1 $(man1dir)/$(G77_INSTALL_NAME)$(manext); \
+ chmod a-x $(man1dir)/$(G77_INSTALL_NAME)$(manext); \
fi; \
else true; fi
+ rm -f $(libsubdir)/lang-f77.man
-f77.uninstall:
- -if $(F77_INSTALL_FLAG) ; then \
- rm -rf $(bindir)/$(F77_INSTALL_NAME)$(exeext) ; \
- rm -rf $(bindir)/$(F77_CROSS_NAME)$(exeext) ; \
- rm -rf $(mandir)/$(F77_INSTALL_NAME)$(manext) ; \
- rm -rf $(mandir)/$(F77_CROSS_NAME)$(manext) ; \
- fi
- -rm -rf $(bindir)/$(G77_INSTALL_NAME)$(exeext)
- -rm -rf $(bindir)/$(G77_CROSS_NAME)$(exeext)
- -rm -rf $(mandir)/$(G77_INSTALL_NAME)$(manext)
- -rm -rf $(mandir)/$(G77_CROSS_NAME)$(manext)
- -rm -rf $(infodir)/g77.info*
- -rm -rf $(libsubdir)/libf2c.a
- -if $(F2C_INSTALL_FLAG) ; then \
- rm -rf include/f2c.h ; \
- rm -rf $(libdir)/libf2c.a ; \
+# Make sure `installdirs' target (from gcc Makefile) has been
+# run, since we use libsubdir to store our `flag' file, lang-f77.
+f77.uninstall: installdirs
+ case "$(LANGUAGES)" in \
+ *[fF]77*) touch $(libsubdir)/lang-f77.un;; \
+ *) rm -f $(libsubdir)/lang-f77.un;; \
+ esac
+ @if [ -f $(libsubdir)/lang-f77.un ] ; then \
+ if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+ echo " install-info --delete --info-dir=$(infodir) $(infodir)/g77.info"; \
+ install-info --delete --info-dir=$(infodir) $(infodir)/g77.info || : ; \
+ else : ; fi; \
+ else : ; fi
+ -if [ -f $(libsubdir)/lang-f77.un ]; then \
+ rm -rf $(bindir)/$(G77_INSTALL_NAME)$(exeext); \
+ rm -rf $(bindir)/$(G77_CROSS_NAME)$(exeext); \
+ rm -rf $(man1dir)/$(G77_INSTALL_NAME)$(manext); \
+ rm -rf $(man1dir)/$(G77_CROSS_NAME)$(manext); \
+ rm -rf $(infodir)/g77.info*; \
fi
+ rm -f $(libsubdir)/lang-f77.un
#\f
# Clean hooks:
# A lot of the ancillary files are deleted by the main makefile.
f77.mostlyclean:
-rm -f f/*$(objext)
- -rm -f f/fini f/f771 f/stamp-str f/str-*.h f/str-*.j f/intdoc f/ansify f/intdoc.h0
- -cd $(srcdir)/f/runtime; $(MAKE) -f Makefile.in mostlyclean
+ -rm -f f/fini$(build_exeext) f/stamp-str f/str-*.h f/str-*.j
+ -rm -f f/intdoc$(build_exeext) f/ansify$(build_exeext) f/intdoc.h0
+ -rm -f g77.aux g77.cps g77.ky g77.toc g77.vr g77.fn g77.kys \
+ g77.pg g77.tp g77.vrs g77.cp g77.fns g77.log g77.pgs g77.tps
f77.clean:
- -cd $(srcdir)/f/runtime; $(MAKE) -f Makefile.in clean
+ -rm -f g77spec.o g77version.o
f77.distclean:
- -cd $(srcdir)/f/runtime; $(MAKE) -f Makefile.in distclean
- -rm -f f/Makefile
-# like gcc's extraclean, which does clean f/ for us, but not f/gbe,
-# f/runtime, f/runtime/libF77, f/runtime/libI77, and f/runtime/libU77,
-# so do those.
-f77.extraclean: f77.distclean
- -rm -f f/*/=* f/*/"#"* f/*/*~*
- -rm -f f/*/patch* f/*/*.orig f/*/*.rej
- -rm -f f/*/*.dvi f/*/*.oaux f/*/*.d f/*/*.[zZ] f/*/*.gz
- -rm -f f/*/*.tar f/*/*.xtar f/*/*diff f/*/*.diff.* f/*/*.tar.* f/*/*.xtar.* f/*/*diffs
- -rm -f f/*/*lose f/*/*.s f/*/*.s[0-9] f/*/*.i
- -rm -f f/*/*/=* f/*/*/"#"* f/*/*/*~*
- -rm -f f/*/*/patch* f/*/*/*.orig f/*/*/*.rej
- -rm -f f/*/*/*.dvi f/*/*/*.oaux f/*/*/*.d f/*/*/*.[zZ] f/*/*/*.gz
- -rm -f f/*/*/*.tar f/*/*/*.xtar f/*/*/*diff f/*/*/*.diff.* f/*/*/*.tar.* f/*/*/*.xtar.* f/*/*/*diffs
- -rm -f f/*/*/*lose f/*/*/*.s f/*/*/*.s[0-9] f/*/*/*.i
-# realclean is the pre-2.7.0 name for maintainer-clean
-f77.maintainer-clean f77.realclean: f77.distclean
- -cd $(srcdir)/f/runtime; $(MAKE) -f Makefile.in maintainer-clean;; \
- -rm -f f/g77.info* f/g77.*aux f/TAGS f/BUGS f/INSTALL f/NEWS f/intdoc.texi
+ -rm -f lang-f77 f/Makefile
+f77.extraclean:
+f77.maintainer-clean:
+ -rm -f f/g77.info* f/g77.*aux f/TAGS f/BUGS f/NEWS f/intdoc.texi
#\f
# Stage hooks:
# The main makefile has already created stage?/f.
-G77STAGESTUFF = f/*$(objext) f/fini f/stamp-str f/str-*.h f/str-*.j
-RUNTIMESTAGESTUFF = f/runtime/config.cache f/runtime/config.log \
- f/runtime/config.status f/runtime/Makefile f/runtime/stamp-lib
-LIBF77STAGESTUFF = f/runtime/libF77/*$(objext) f/runtime/libF77/Makefile
-LIBI77STAGESTUFF = f/runtime/libI77/*$(objext) f/runtime/libI77/Makefile
-LIBU77STAGESTUFF = f/runtime/libU77/*$(objext) f/runtime/libU77/Makefile \
- f/runtime/libU77/config.cache f/runtime/libU77/config.log \
- f/runtime/libU77/config.status
-
-f77.stage1:
- -mv $(G77STAGESTUFF) stage1/f
- -mv $(RUNTIMESTAGESTUFF) stage1/f/runtime
- -mv $(LIBF77STAGESTUFF) stage1/f/runtime/libF77
- -mv $(LIBI77STAGESTUFF) stage1/f/runtime/libI77
- -mv $(LIBU77STAGESTUFF) stage1/f/runtime/libU77
-f77.stage2:
- -mv $(G77STAGESTUFF) stage2/f
- -mv $(RUNTIMESTAGESTUFF) stage2/f/runtime
- -mv $(LIBF77STAGESTUFF) stage2/f/runtime/libF77
- -mv $(LIBI77STAGESTUFF) stage2/f/runtime/libI77
- -mv $(LIBU77STAGESTUFF) stage2/f/runtime/libU77
-f77.stage3:
- -mv $(G77STAGESTUFF) stage3/f
- -mv $(RUNTIMESTAGESTUFF) stage3/f/runtime
- -mv $(LIBF77STAGESTUFF) stage3/f/runtime/libF77
- -mv $(LIBI77STAGESTUFF) stage3/f/runtime/libI77
- -mv $(LIBU77STAGESTUFF) stage3/f/runtime/libU77
-f77.stage4:
- -mv $(G77STAGESTUFF) stage4/f
- -mv $(RUNTIMESTAGESTUFF) stage4/f/runtime
- -mv $(LIBF77STAGESTUFF) stage4/f/runtime/libF77
- -mv $(LIBI77STAGESTUFF) stage4/f/runtime/libI77
- -mv $(LIBU77STAGESTUFF) stage4/f/runtime/libU77
+G77STAGESTUFF = f/*$(objext) f/fini$(build_exeext) f/stamp-str \
+ f/str-*.h f/str-*.j lang-f77 g77spec.o g77version.o
+
+f77.stage1: stage1-start
+ -if [ -f lang-f77 ]; then \
+ mv -f $(G77STAGESTUFF) stage1/f; \
+ fi
+f77.stage2: stage2-start
+ -if [ -f lang-f77 ]; then \
+ mv -f $(G77STAGESTUFF) stage2/f; \
+ fi
+f77.stage3: stage3-start
+ -if [ -f lang-f77 ]; then \
+ mv -f $(G77STAGESTUFF) stage3/f; \
+ fi
+f77.stage4: stage4-start
+ -if [ -f lang-f77 ]; then \
+ mv -f $(G77STAGESTUFF) stage4/f; \
+ fi
+
#\f
-# Maintenance hooks:
-
-# This target creates the files that can be rebuilt, but go in the
-# distribution anyway. It then copies the files to the distdir directory.
-f77.distdir: f77.rebuilt
- mkdir tmp/f
- cd f; \
- for file in *[0-9a-zA-Z+]; do \
- ($LN) $$file ../tmp/f
- done
+# .o: .h dependencies.
+
+f/bad.o: f/bad.c f/proj.h $(CONFIG_H) system.h f/bad.h f/bad.def f/where.h \
+ glimits.h f/top.h f/malloc.h flags.h f/com.h f/com-rt.def $(TREE_H) f/bld.h \
+ f/bld-op.def f/bit.h f/info.h f/info-b.def f/info-k.def f/info-w.def \
+ f/target.h f/lex.h f/type.h f/intrin.h f/intrin.def f/lab.h f/symbol.h \
+ f/symbol.def f/equiv.h f/storag.h f/global.h f/name.h toplev.h
+f/bit.o: f/bit.c f/proj.h $(CONFIG_H) system.h glimits.h f/bit.h \
+ f/malloc.h
+f/bld.o: f/bld.c f/proj.h $(CONFIG_H) system.h f/bld.h f/bld-op.def f/bit.h \
+ f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \
+ f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h f/top.h f/lex.h \
+ f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h f/global.h \
+ f/name.h f/intrin.h f/intrin.def
+f/com.o: f/com.c f/proj.h $(CONFIG_H) system.h flags.h $(RTL_H) $(TREE_H) \
+ output.h convert.h f/com.h f/com-rt.def f/bld.h f/bld-op.def f/bit.h \
+ f/malloc.h f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \
+ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/intrin.h \
+ f/intrin.def f/lab.h f/symbol.h f/symbol.def f/equiv.h f/storag.h f/global.h \
+ f/name.h f/expr.h f/implic.h f/src.h f/st.h $(GGC_H) toplev.h
+f/data.o: f/data.c f/proj.h $(CONFIG_H) system.h f/data.h f/bld.h f/bld-op.def \
+ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \
+ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \
+ f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h \
+ f/global.h f/name.h f/intrin.h f/intrin.def f/expr.h f/st.h
+f/equiv.o: f/equiv.c f/proj.h $(CONFIG_H) system.h f/equiv.h f/bld.h \
+ f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h \
+ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h \
+ glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def \
+ f/global.h f/name.h f/intrin.h f/intrin.def f/data.h
+f/expr.o: f/expr.c f/proj.h $(CONFIG_H) system.h f/expr.h f/bld.h f/bld-op.def \
+ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \
+ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \
+ f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h \
+ f/global.h f/name.h f/intrin.h f/intrin.def f/implic.h f/src.h f/st.h \
+ f/stamp-str
+f/fini.o: f/fini.c f/proj.h hconfig.h system.h f/malloc.h
+f/global.o: f/global.c f/proj.h $(CONFIG_H) system.h f/global.h f/info.h \
+ f/info-b.def f/info-k.def f/info-w.def f/target.h $(TREE_H) f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/type.h f/name.h f/symbol.h \
+ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def f/lab.h \
+ f/storag.h f/intrin.h f/intrin.def f/equiv.h
+f/implic.o: f/implic.c f/proj.h $(CONFIG_H) system.h f/implic.h f/info.h \
+ f/info-b.def f/info-k.def f/info-w.def f/target.h $(TREE_H) f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/type.h f/symbol.h \
+ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def f/lab.h \
+ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/global.h f/name.h f/src.h
+f/info.o: f/info.c f/proj.h $(CONFIG_H) system.h f/info.h f/info-b.def \
+ f/info-k.def f/info-w.def f/target.h $(TREE_H) f/bad.h f/bad.def f/where.h \
+ glimits.h f/top.h f/malloc.h f/lex.h f/type.h
+f/intrin.o: f/intrin.c f/proj.h $(CONFIG_H) system.h f/intrin.h \
+ f/intrin.def f/bld.h f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def \
+ $(TREE_H) f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \
+ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h \
+ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/expr.h f/src.h
+f/lab.o: f/lab.c f/proj.h $(CONFIG_H) system.h f/lab.h f/com.h f/com-rt.def \
+ $(TREE_H) f/bld.h f/bld-op.def f/bit.h f/malloc.h f/info.h f/info-b.def \
+ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \
+ f/top.h f/lex.h f/type.h f/intrin.h f/intrin.def f/symbol.h f/symbol.def \
+ f/equiv.h f/storag.h f/global.h f/name.h
+f/lex.o: f/lex.c f/proj.h $(CONFIG_H) system.h f/top.h f/malloc.h f/where.h \
+ glimits.h f/bad.h f/bad.def f/com.h f/com-rt.def $(TREE_H) f/bld.h \
+ f/bld-op.def f/bit.h f/info.h f/info-b.def f/info-k.def f/info-w.def \
+ f/target.h f/lex.h f/type.h f/intrin.h f/intrin.def f/lab.h f/symbol.h \
+ f/symbol.def f/equiv.h f/storag.h f/global.h f/name.h f/src.h flags.h \
+ input.h toplev.h output.h $(GGC_H)
+f/malloc.o: f/malloc.c f/proj.h $(CONFIG_H) system.h f/malloc.h
+f/name.o: f/name.c f/proj.h $(CONFIG_H) system.h f/bad.h f/bad.def f/where.h \
+ glimits.h f/top.h f/malloc.h f/name.h f/global.h f/info.h f/info-b.def \
+ f/info-k.def f/info-w.def f/target.h $(TREE_H) f/lex.h f/type.h f/symbol.h \
+ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def f/lab.h \
+ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/src.h
+f/parse.o: f/parse.c f/proj.h $(CONFIG_H) system.h f/top.h f/malloc.h \
+ f/where.h glimits.h f/com.h f/com-rt.def $(TREE_H) f/bld.h f/bld-op.def \
+ f/bit.h f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \
+ f/bad.def f/lex.h f/type.h f/intrin.h f/intrin.def f/lab.h f/symbol.h \
+ f/symbol.def f/equiv.h f/storag.h f/global.h f/name.h f/version.h flags.h
+f/proj.o: f/proj.c f/proj.h $(CONFIG_H) system.h glimits.h
+f/src.o: f/src.c f/proj.h $(CONFIG_H) system.h f/src.h f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/malloc.h
+f/st.o: f/st.c f/proj.h $(CONFIG_H) system.h f/st.h f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/symbol.h f/symbol.def \
+ f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def $(TREE_H) f/info.h \
+ f/info-b.def f/info-k.def f/info-w.def f/target.h f/type.h f/lab.h \
+ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/global.h f/name.h f/sta.h \
+ f/stamp-str f/stb.h f/expr.h f/stp.h f/stt.h f/stc.h f/std.h \
+ f/stv.h f/stw.h f/ste.h f/sts.h f/stu.h
+f/sta.o: f/sta.c f/proj.h $(CONFIG_H) system.h f/sta.h f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/stamp-str f/symbol.h \
+ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def $(TREE_H) \
+ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/type.h f/lab.h \
+ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/global.h f/name.h f/implic.h \
+ f/stb.h f/expr.h f/stp.h f/stt.h f/stc.h f/std.h f/stv.h f/stw.h
+f/stb.o: f/stb.c f/proj.h $(CONFIG_H) system.h f/stb.h f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/malloc.h f/expr.h f/bld.h f/bld-op.def f/bit.h \
+ f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \
+ f/info-w.def f/target.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \
+ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def f/stp.h \
+ f/stt.h f/stamp-str f/src.h f/sta.h f/stc.h
+f/stc.o: f/stc.c f/proj.h $(CONFIG_H) system.h f/stc.h f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/malloc.h f/bld.h f/bld-op.def f/bit.h f/com.h \
+ f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def f/info-w.def \
+ f/target.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def \
+ f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def f/expr.h f/stp.h \
+ f/stt.h f/stamp-str f/data.h f/implic.h f/src.h f/sta.h f/std.h f/stv.h f/stw.h
+f/std.o: f/std.c f/proj.h $(CONFIG_H) system.h f/std.h f/bld.h f/bld-op.def \
+ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \
+ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \
+ f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h \
+ f/global.h f/name.h f/intrin.h f/intrin.def f/stp.h f/stt.h f/stamp-str \
+ f/stv.h f/stw.h f/sta.h f/ste.h f/sts.h
+f/ste.o: f/ste.c f/proj.h $(CONFIG_H) system.h $(RTL_H) toplev.h f/ste.h \
+ f/bld.h f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) \
+ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \
+ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def f/stp.h \
+ f/stt.h f/stamp-str f/sts.h f/stv.h f/stw.h f/expr.h f/sta.h $(GGC_H)
+f/storag.o: f/storag.c f/proj.h $(CONFIG_H) system.h f/storag.h f/bld.h \
+ f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) \
+ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \
+ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h \
+ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \
+ f/intrin.def f/data.h
+f/stp.o: f/stp.c f/proj.h $(CONFIG_H) system.h f/stp.h f/bld.h f/bld-op.def \
+ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h \
+ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h \
+ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \
+ f/intrin.def f/stt.h
+f/str.o: f/str.c f/proj.h $(CONFIG_H) system.h f/src.h f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/malloc.h f/stamp-str f/lex.h
+f/sts.o: f/sts.c f/proj.h $(CONFIG_H) system.h f/sts.h f/malloc.h f/com.h \
+ f/com-rt.def $(TREE_H) f/bld.h f/bld-op.def f/bit.h f/info.h \
+ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/lex.h f/type.h f/intrin.h f/intrin.def \
+ f/lab.h f/symbol.h f/symbol.def f/equiv.h f/storag.h f/global.h \
+ f/name.h
+f/stt.o: f/stt.c f/proj.h $(CONFIG_H) system.h f/stt.h f/top.h f/malloc.h \
+ f/where.h glimits.h f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def \
+ $(TREE_H) f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h \
+ f/bad.h f/bad.def f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \
+ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def \
+ f/stp.h f/expr.h f/sta.h f/stamp-str
+f/stu.o: f/stu.c f/proj.h $(CONFIG_H) system.h f/bld.h f/bld-op.def f/bit.h \
+ f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \
+ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h \
+ glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \
+ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def \
+ f/implic.h f/stu.h f/sta.h f/stamp-str
+f/stv.o: f/stv.c f/proj.h $(CONFIG_H) system.h f/stv.h f/lab.h f/com.h \
+ f/com-rt.def $(TREE_H) f/bld.h f/bld-op.def f/bit.h f/malloc.h \
+ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \
+ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/intrin.h \
+ f/intrin.def f/symbol.h f/symbol.def f/equiv.h f/storag.h f/global.h \
+ f/name.h
+f/stw.o: f/stw.c f/proj.h $(CONFIG_H) system.h f/stw.h f/bld.h f/bld-op.def \
+ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h \
+ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \
+ f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h \
+ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \
+ f/intrin.def f/stv.h f/sta.h f/stamp-str
+f/symbol.o: f/symbol.c f/proj.h $(CONFIG_H) system.h f/symbol.h \
+ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/malloc.h f/com.h \
+ f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \
+ f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h f/top.h \
+ f/lex.h f/type.h f/lab.h f/storag.h f/intrin.h f/intrin.def f/equiv.h \
+ f/global.h f/name.h f/src.h f/st.h
+f/target.o: f/target.c f/proj.h $(CONFIG_H) system.h glimits.h f/target.h \
+ $(TREE_H) f/bad.h f/bad.def f/where.h f/top.h f/malloc.h f/info.h \
+ f/info-b.def f/info-k.def f/info-w.def f/type.h f/lex.h
+f/top.o: f/top.c f/proj.h $(CONFIG_H) system.h f/top.h f/malloc.h f/where.h \
+ glimits.h f/bad.h f/bad.def f/bit.h f/bld.h f/bld-op.def f/com.h \
+ f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \
+ f/info-w.def f/target.h f/lex.h f/type.h f/lab.h f/storag.h \
+ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \
+ f/intrin.def f/data.h f/expr.h f/implic.h f/src.h f/st.h flags.h \
+ toplev.h
+f/type.o: f/type.c f/proj.h $(CONFIG_H) system.h f/type.h f/malloc.h
+f/version.o: f/version.c
+f/where.o: f/where.c f/proj.h $(CONFIG_H) system.h f/where.h glimits.h f/top.h \
+ f/malloc.h f/lex.h $(GGC_H)