1 # Makefile for GNU F77 compiler runtime.
2 # Copyright 1990 - 1994 by AT&T Bell Laboratories and Bellcore (see the
4 # Portions of this file Copyright (C) 1995, 1996 Free Software Foundation, Inc.
5 # Contributed by Dave Love (d.love@dl.ac.uk).
7 #This file is part of GNU Fortran.
9 #GNU Fortran is free software; you can redistribute it and/or modify
10 #it under the terms of the GNU General Public License as published by
11 #the Free Software Foundation; either version 2, or (at your option)
14 #GNU Fortran is distributed in the hope that it will be useful,
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.
19 #You should have received a copy of the GNU General Public License
20 #along with GNU Fortran; see the file COPYING. If not, write to
21 #the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
29 #### Start of system configuration section. ####
31 # The _FOR_TARGET things are appropriate for a cross-make, passed by the
34 CC
= $(GCC_FOR_TARGET
)
35 CFLAGS
= @CFLAGS@
$(GCC_FLAGS
)
39 # f2c.h should already be installed in xgcc's include directory but add that
40 # to -I anyhow in case not using xgcc.
41 ALL_CFLAGS
= -I.
-I
$(srcdir) -I..
/..
/..
/include $(CPPFLAGS
) $(DEFS
) $(CFLAGS
)
45 RANLIB_TEST
= @RANLIB_TEST@
52 $(CC
) -c
-DSkip_f2c_Undefs
-DAllow_TYQUAD
$(ALL_CFLAGS
) $(CGFLAGS
) $<
54 OBJ
= VersionI.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
55 fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
56 rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o uio.o \
57 util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o \
60 F2C_H
= ..
/..
/..
/include/f2c.h
65 $(CC
) -c
$(CGFLAGS
) -o
$@
$(srcdir)/Version.c
70 distclean maintainer-clean
: mostlyclean
71 -rm -f stage?
include Makefile
78 endfile.o
: fio.h rawio.h
126 # May be pessimistic:
129 .PHONY
: mostlyclean clean distclean maintainer-clean
all