# - 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
# Actual names to use when installing a cross-compiler.
F77_CROSS_NAME = `t='$(program_transform_cross_name)'; echo f77 | sed $$t`
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
# $(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
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).
rm -rf include/f2c.h ; \
rm -rf $(libdir)/libf2c.a ; \
fi
-\f
# Clean hooks:
# A lot of the ancillary files are deleted by the main makefile.
# We just have to delete files specific to us.
-cd f/runtime; $(MAKE) -f ../../$(srcdir)/f/runtime/Makefile.in maintainer-clean
-$(MAKE) f77.maintainer-clean
-rm -f f/g77.info* f/g77.*aux f/TAGS f/BUGS f/INSTALL f/NEWS f/intdoc.texi
-\f
# Stage hooks:
# The main makefile has already created stage?/f.
-mv $(LIBF77STAGESTUFF) stage4/f/runtime/libF77
-mv $(LIBI77STAGESTUFF) stage4/f/runtime/libI77
-mv $(LIBU77STAGESTUFF) stage4/f/runtime/libU77
-\f
# Maintenance hooks:
# This target creates the files that can be rebuilt, but go in the
####host overrides
####cross overrides
####build overrides
-\f
# Now figure out from those variables how to compile and link.
all.indirect: f/Makefile f771
.c.o:
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< -o $@
-\f
# Lists of files for various purposes.
# Language-specific object files for g77
Makefile: $(srcdir)/f/Makefile.in $(srcdir)/configure
native: f771
-\f
# Compiling object files from source files.
# Note that dependencies on obstack.h are not written
-e 's: \([.]/\)*f/str[.]h: f/stamp-str:g' \
-e 's%^\(.*\)[ ]*: %f/\1: %g'
-\f
# These exist for maintenance purposes.
# Update the tags table.