gcc/libf2c/libI77/Makefile.in
Juergen Pfeifer dedc4a53c1 Make libf2c a shared library (gcc/f directory).
2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>

	Make libf2c a shared library (gcc/f directory).

	* Make-lang.in: Pass define of frtbegin.o to compilation of g77spec.c.
	* g77spec.c (lang_specific_driver): Treat linking in of frtbegin.o.

2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>
            Toon Moene  <toon@moene.indiv.nluug.nl>

	Make libf2c a shared library (libf2c directory).

	* aclocal.m4: Get definition of libtool.
	* Makefile.in: Use libtool.
	* configure.in: Use libtool.
	* configure: Regenerated.
	* libF77/Makefile.in: Use libtool; treat main program contained in
	libF77/main.c specially.
	* libF77/configure.in: Use libtool.
	* libF77/configure: Regenerated.
	* libI77/Makefile.in: Use libtool.
	* libI77/configure.in: Use libtool.
	* libI77/configure: Regenerated.
	* libU77/Makefile.in: Use libtool.
	* libU77/configure.in: Use libtool.
	* libU77/configure: Regenerated.
	* libU77/date_.c: Adapt for -fPIC compiling.
	* libU77/vxtidate_.c: Ditto.

From-SVN: r45913
2001-09-30 22:06:23 +00:00

174 lines
4.6 KiB
Makefile

# 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, 1998, 2001 Free Software Foundation, Inc.
# Contributed by Dave Love (d.love@dl.ac.uk).
#
#This file is part of GNU Fortran.
#
#GNU Fortran is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2, or (at your option)
#any later version.
#
#GNU Fortran is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#
#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.
#### Start of system configuration section. ####
# $(srcdir) must be set to the g77 runtime libI77 source directory.
srcdir = @srcdir@
VPATH = @srcdir@
# configure sets this to all the -D options appropriate for the
# configuration.
DEFS = @DEFS@
F2C_H_DIR = @srcdir@/..
G2C_H_DIR = ..
CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
@SET_MAKE@
SHELL = /bin/sh
#### End of system configuration section. ####
ALL_CFLAGS = -I. -I$(srcdir) -I$(G2C_H_DIR) -I$(F2C_H_DIR) $(CPPFLAGS) \
$(DEFS) $(CFLAGS)
.SUFFIXES:
.SUFFIXES: .c .o
.c.o:
@LIBTOOL@ --mode=compile $(CC) -c -DSkip_f2c_Undefs -DAllow_TYQUAD $(ALL_CFLAGS) $<
OBJS = VersionI.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o uio.o \
util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o \
ftell_.o
all: ../s-libi77
../s-libi77: $(OBJS)
echo timestamp > ../s-libi77
objlist:
objs="`cat ../objlist`" ; for i in $(OBJS) ; do \
x=`echo $$i | sed -e "s/\.o$$/.lo/g"` ;\
objs="$$objs libI77/$$x" ;\
done ; \
echo -n $$objs > ../objlist
Makefile: Makefile.in config.status
$(SHELL) config.status
config.status: configure
rm -f config.cache
CONFIG_SITE=no-such-file CC='$(CC)' CFLAGS='$(CFLAGS)' \
CPPFLAGS='$(CPPFLAGS)' $(SHELL) config.status --recheck
${srcdir}/configure: configure.in
rm -f config.cache
cd ${srcdir} && autoconf
# autoheader might not change config.h.in, so touch a stamp file.
${srcdir}/config.h.in: stamp-h.in; @true
${srcdir}/stamp-h.in: configure.in
(cd ${srcdir} && autoheader)
@rm -f ${srcdir}/stamp-h.in
echo timestamp > ${srcdir}/stamp-h.in
config.h: stamp-h; @true
stamp-h: config.h.in config.status
CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) config.status
echo timestamp > stamp-h
VersionI.o: Version.c
@LIBTOOL@ --mode=compile $(CC) -c $(ALL_CFLAGS) $(srcdir)/Version.c -o $@
backspace.o: backspace.c fio.h config.h
close.o: close.c fio.h config.h
dfe.o: fio.h config.h
dfe.o: dfe.c fmt.h
dolio.o: dolio.c config.h
due.o: due.c fio.h config.h
endfile.o: endfile.c fio.h rawio.h config.h
err.o: err.c fio.h rawio.h config.h
fmt.o: fio.h config.h
fmt.o: fmt.c fmt.h
fmtlib.o: fmtlib.c config.h
ftell_.o: ftell_.c fio.h config.h
iio.o: fio.h
iio.o: iio.c fmt.h
ilnw.o: fio.h config.h
ilnw.o: ilnw.c lio.h
inquire.o: inquire.c fio.h config.h
lread.o: fio.h config.h
lread.o: fmt.h
lread.o: lio.h
lread.o: lread.c fp.h
lwrite.o: fio.h
lwrite.o: fmt.h
lwrite.o: lwrite.c lio.h
open.o: open.c fio.h rawio.h config.h
rdfmt.o: fio.h config.h
rdfmt.o: fmt.h
rdfmt.o: rdfmt.c fp.h
rewind.o: rewind.c fio.h config.h
rsfe.o: fio.h config.h
rsfe.o: rsfe.c fmt.h
rsli.o: fio.h
rsli.o: rsli.c lio.h
rsne.o: fio.h config.h
rsne.o: rsne.c lio.h
sfe.o: sfe.c fio.h config.h
sue.o: sue.c fio.h config.h
typesize.o: typesize.c config.h
uio.o: uio.c fio.h
util.o: util.c fio.h config.h
wref.o: fio.h
wref.o: fmt.h
wref.o: wref.c fp.h
wrtfmt.o: fio.h config.h
wrtfmt.o: wrtfmt.c fmt.h
wsfe.o: fio.h config.h
wsfe.o: wsfe.c fmt.h
wsle.o: fio.h config.h
wsle.o: fmt.h
wsle.o: wsle.c lio.h
wsne.o: fio.h
wsne.o: wsne.c lio.h
xwsne.o: fio.h config.h
xwsne.o: lio.h
xwsne.o: xwsne.c fmt.h
# May be pessimistic:
$(OBJS): $(F2C_H_DIR)/f2c.h $(G2C_H_DIR)/g2c.h
check install uninstall install-strip dist installcheck installdirs:
mostlyclean:
rm -f *.o *.lo
rm -rf .libs
clean: mostlyclean
rm -f config.log ../s-libi77
distclean: clean
rm -f config.cache config.status Makefile ../s-libi77 configure
maintainer-clean:
.PHONY: mostlyclean clean distclean maintainer-clean all check uninstall \
install-strip dist installcheck installdirs archive