diff options
Diffstat (limited to 'libf2c/libF77/Makefile.in')
-rw-r--r-- | libf2c/libF77/Makefile.in | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/libf2c/libF77/Makefile.in b/libf2c/libF77/Makefile.in index 266e22b72cf..208626cb4a0 100644 --- a/libf2c/libF77/Makefile.in +++ b/libf2c/libF77/Makefile.in @@ -1,7 +1,7 @@ # Makefile for GNU F77 compiler runtime. # Copyright 1990 - 1994 by AT&T Bell Laboratories and Bellcore (see the # file `Notice'). -# Portions of this file Copyright (C) 1995, 1996 Free Software Foundation, Inc. +# Portions of this file Copyright (C) 1995, 1996 Free Software Foundation, Inc. # Contributed by Dave Love (d.love@dl.ac.uk). # #This file is part of GNU Fortran. @@ -28,9 +28,28 @@ VPATH = @srcdir@ #### Start of system configuration section. #### +# The _FOR_TARGET things are appropriate for a cross-make, passed by the +# superior makefile +GCC_FOR_TARGET = @CC@ +CC = $(GCC_FOR_TARGET) +CFLAGS = @CFLAGS@ $(GCC_FLAGS) +CPPFLAGS = @CPPFLAGS@ +DEFS = @DEFS@ +CGFLAGS = -g0 +# f2c.h should already be installed in xgcc's include directory but add that +# to -I anyhow in case not using xgcc. +ALL_CFLAGS = -I. -I$(srcdir) -I../../../include $(CPPFLAGS) $(DEFS) $(CFLAGS) +AR = @AR@ +AR_FLAGS = rc +RANLIB = @RANLIB@ +RANLIB_TEST = @RANLIB_TEST@ +CROSS = @CROSS@ + +.SUFFIXES: +.SUFFIXES: .c .o .c.o: - $(CC) -c -DSkip_f2c_Undefs -I../ $(CFLAGS) $< + $(CC) -c -DSkip_f2c_Undefs $(ALL_CFLAGS) $(CGFLAGS) $< MISC = F77_aloc.o VersionF.o main.o s_rnge.o abort_.o getarg_.o iargc_.o\ getenv_.o signal_.o s_stop.o s_paus.o system_.o cabs.o\ @@ -55,13 +74,13 @@ EFL = ef1asc_.o ef1cmc_.o CHAR = s_cat.o s_cmp.o s_copy.o F90BIT = lbitbits.o lbitshft.o qbitbits.o qbitshft.o -F2C_H = ../f2c.h +F2C_H = ../../../include/f2c.h all: $(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) \ $(HALF) $(CMP) $(EFL) $(CHAR) $(F90BIT) VersionF.o: Version.c - $(CC) -c $(CFLAGS) -o $@ $(srcdir)/Version.c + $(CC) -c $(CGFLAGS) -o $@ $(srcdir)/Version.c mostlyclean clean: -rm -f *.o |