libf2c FLAGS_TO_PASS [was Re: egcs-1.2 stuff ]
Dave Love
d.love@dl.ac.uk
Thu Apr 15 07:37:00 GMT 1999
These are the diffs of my libf2c/Makefile.in against CVS to address
the FLAGS_TO_PASS issue and tidy two other things.
If there's a reason that FLAGS_TO_PASS must use "foo=bar" and not
foo="bar", then the config.status rule needs changing and a note added
about keeping it consistent.
I left PICFLAG. Presumably either it should be deleted or it should
be used however it's intended.
1999-04-14 Dave Love <fx@gnu.org>
* Makefile.in (FLAGS_TO_PASS): Use double quotes for consistency
with elsewhere. Delete RUNTESTFLAGS.
(s-libe77): Remove extraneous -I../../include.
(.PHONY): Add `subdir_do multi-clean multi-do'.
Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libf2c/Makefile.in,v
retrieving revision 1.29
diff -p -c -r1.29 Makefile.in
*** Makefile.in 1999/03/05 23:40:07 1.29
--- Makefile.in 1999/04/15 15:05:19
***************
*** 1,5 ****
# Makefile for GNU F77 compiler runtime.
! # Copyright (C) 1995-1998 Free Software Foundation, Inc.
# Contributed by Dave Love (d.love@dl.ac.uk).
#
#This file is part of GNU Fortran.
--- 1,5 ----
# Makefile for GNU F77 compiler runtime.
! # Copyright (C) 1995-1999 Free Software Foundation, Inc.
# Contributed by Dave Love (d.love@dl.ac.uk).
#
#This file is part of GNU Fortran.
*************** CC = @CC@
*** 58,73 ****
CFLAGS = @CFLAGS@
# List of variables to pass to sub-makes.
! # Quote this way so that it can be used to set shell variables too.
! # Currently no use for PICFLAG, RUNTESTFLAGS -- check usage.
FLAGS_TO_PASS= \
! CC='$(CC)' \
! CFLAGS='$(CFLAGS)' \
! CPPFLAGS='$(CPPFLAGS)' \
! AR='$(AR)' \
! RANLIB='$(RANLIB)' \
! PICFLAG='$(PICFLAG)' \
! RUNTESTFLAGS='$(RUNTESTFLAGS)'
LIBG2C = libg2c.a
--- 58,73 ----
CFLAGS = @CFLAGS@
# List of variables to pass to sub-makes.
! # Quote this way so that it can be used to set shell variables too for
! # config.status.
! # Currently no use for PICFLAG -- check usage.
FLAGS_TO_PASS= \
! CC="$(CC)" \
! CFLAGS="$(CFLAGS)" \
! CPPFLAGS="$(CPPFLAGS)" \
! AR="$(AR)" \
! RANLIB="$(RANLIB)" \
! PICFLAG="$(PICFLAG)"
LIBG2C = libg2c.a
*************** s-libe77: f2cext.c
*** 153,159 ****
for name in $(F2CEXT); \
do \
echo $${name}; \
! $(CC) -c -I. -I$(srcdir) -I../../include $(CPPFLAGS) $(CFLAGS) \
-DL$${name} $(srcdir)/f2cext.c \
-o libE77/L$${name}.o; \
if [ $$? -eq 0 ] ; then true; else exit 1; fi; \
--- 153,159 ----
for name in $(F2CEXT); \
do \
echo $${name}; \
! $(CC) -c -I. -I$(srcdir) $(CPPFLAGS) $(CFLAGS) \
-DL$${name} $(srcdir)/f2cext.c \
-o libE77/L$${name}.o; \
if [ $$? -eq 0 ] ; then true; else exit 1; fi; \
*************** rebuilt: configure
*** 237,243 ****
.PHONY: rebuilt mostlyclean clean distclean maintainer-clean all \
i77 f77 u77 check uninstall install-strip dist \
! installcheck installdirs all-unilib
subdir_do:
@rootpre=`pwd`/; export rootpre; \
--- 237,243 ----
.PHONY: rebuilt mostlyclean clean distclean maintainer-clean all \
i77 f77 u77 check uninstall install-strip dist \
! installcheck installdirs all-unilib subdir_do multi-clean multi-do
subdir_do:
@rootpre=`pwd`/; export rootpre; \
More information about the Gcc-patches
mailing list