source: trunk/third/gcc/libf2c/libI77/Makefile.in @ 16960

Revision 16960, 4.3 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16959, which included commits to RCS files with non-trunk default branches.
Line 
1# Makefile for GNU F77 compiler runtime.
2# Copyright 1990 - 1994 by AT&T Bell Laboratories and Bellcore (see the
3# file `Notice').
4# Portions of this file Copyright (C) 1995, 1996, 1998, 2001 Free Software Foundation, Inc.
5#   Contributed by Dave Love (d.love@dl.ac.uk).
6#
7#This file is part of GNU Fortran.
8#
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)
12#any later version.
13#
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.
18#
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
22#02111-1307, USA.
23
24#### Start of system configuration section. ####
25
26# $(srcdir) must be set to the g77 runtime libI77 source directory.
27srcdir = @srcdir@
28VPATH = @srcdir@
29
30# configure sets this to all the -D options appropriate for the
31# configuration.
32DEFS = @DEFS@
33
34LIBG2C = ../libg2c.a
35
36F2C_H_DIR = @srcdir@/..
37G2C_H_DIR = ..
38CC = @CC@
39CFLAGS = @CFLAGS@
40CPPFLAGS = @CPPFLAGS@
41AR = @AR@
42ARFLAGS = rc
43@SET_MAKE@
44
45SHELL = /bin/sh
46
47#### End of system configuration section. ####
48
49ALL_CFLAGS = -I. -I$(srcdir) -I$(G2C_H_DIR) -I$(F2C_H_DIR) $(CPPFLAGS) \
50             $(DEFS) $(CFLAGS)
51
52.SUFFIXES:
53.SUFFIXES: .c .o
54
55.c.o:
56        $(CC) -c -DSkip_f2c_Undefs -DAllow_TYQUAD $(ALL_CFLAGS) $<
57
58OBJ =   VersionI.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
59        fmt.o fmtlib.o iio.o ilnw.o inquire.o lread.o lwrite.o open.o \
60        rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o uio.o \
61        util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o \
62        ftell_.o
63
64all: ../s-libi77
65
66../s-libi77: $(OBJ)
67        echo timestamp > ../s-libi77
68
69archive:
70        $(AR) $(ARFLAGS) $(LIBG2C) $(OBJ)
71
72Makefile: Makefile.in config.status
73        $(SHELL) config.status
74
75config.status: configure
76        rm -f config.cache
77        CONFIG_SITE=no-such-file CC='$(CC)' AR='$(AR)' CFLAGS='$(CFLAGS)' \
78          CPPFLAGS='$(CPPFLAGS)' $(SHELL) config.status --recheck
79
80${srcdir}/configure: configure.in
81        rm -f config.cache
82        cd ${srcdir} && autoconf
83
84# autoheader might not change config.h.in, so touch a stamp file.
85${srcdir}/config.h.in: stamp-h.in; @true
86${srcdir}/stamp-h.in: configure.in
87        (cd ${srcdir} && autoheader)
88        @rm -f ${srcdir}/stamp-h.in
89        echo timestamp > ${srcdir}/stamp-h.in
90
91config.h: stamp-h; @true
92stamp-h: config.h.in config.status
93        CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) config.status
94        echo timestamp > stamp-h
95
96VersionI.o: Version.c
97        $(CC) -c $(ALL_CFLAGS) -o $@ $(srcdir)/Version.c
98
99backspace.o:    backspace.c fio.h
100close.o:        close.c fio.h
101dfe.o:          fio.h
102dfe.o:          dfe.c fmt.h
103dolio.o:        dolio.c
104due.o:          due.c fio.h
105endfile.o:      endfile.c fio.h rawio.h config.h
106err.o:          err.c fio.h rawio.h
107fmt.o:          fio.h
108fmt.o:          fmt.c fmt.h
109fmtlib.o:       fmtlib.c
110ftell_.o:       ftell_.c fio.h
111iio.o:          fio.h
112iio.o:          iio.c fmt.h
113ilnw.o:         fio.h
114ilnw.o:         ilnw.c lio.h
115inquire.o:      inquire.c fio.h
116lread.o:        fio.h
117lread.o:        fmt.h
118lread.o:        lio.h
119lread.o:        lread.c fp.h
120lwrite.o:       fio.h
121lwrite.o:       fmt.h
122lwrite.o:       lwrite.c lio.h
123open.o:         open.c fio.h rawio.h
124rdfmt.o:        fio.h
125rdfmt.o:        fmt.h
126rdfmt.o:        rdfmt.c fp.h
127rewind.o:       rewind.c fio.h
128rsfe.o:         fio.h
129rsfe.o:         rsfe.c fmt.h
130rsli.o:         fio.h
131rsli.o:         rsli.c lio.h
132rsne.o:         fio.h
133rsne.o:         rsne.c lio.h
134sfe.o:          sfe.c fio.h
135sue.o:          sue.c fio.h
136typesize.o:     typesize.c
137uio.o:          uio.c fio.h
138util.o:         util.c fio.h
139wref.o:         fio.h
140wref.o:         fmt.h
141wref.o:         wref.c fp.h
142wrtfmt.o:       fio.h
143wrtfmt.o:       wrtfmt.c fmt.h
144wsfe.o:         fio.h
145wsfe.o:         wsfe.c fmt.h
146wsle.o:         fio.h
147wsle.o:         fmt.h
148wsle.o:         wsle.c lio.h
149wsne.o:         fio.h
150wsne.o:         wsne.c lio.h
151xwsne.o:        fio.h
152xwsne.o:        lio.h
153xwsne.o:        xwsne.c fmt.h
154
155# May be pessimistic:
156$(OBJ): $(F2C_H_DIR)/f2c.h $(G2C_H_DIR)/g2c.h
157
158check install uninstall install-strip dist installcheck installdirs:
159
160mostlyclean:
161        rm -f *.o
162
163clean: mostlyclean
164        rm -f config.log ../s-libi77
165
166distclean: clean
167        rm -f config.cache config.status Makefile ../s-libi77 configure
168
169maintainer-clean:
170
171.PHONY: mostlyclean clean distclean maintainer-clean all check uninstall \
172        install-strip dist installcheck installdirs archive
Note: See TracBrowser for help on using the repository browser.