source: trunk/gcc/libf2c/libF77/Makefile.in@ 2562

Last change on this file since 2562 was 1392, checked in by bird, 21 years ago

This commit was generated by cvs2svn to compensate for changes in r1391,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 6.6 KB
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-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 libF77 source directory.
27srcdir = @srcdir@
28VPATH = @srcdir@
29
30# configure sets this to all the -D options appropriate for the
31# configuration.
32DEFS = @DEFS@
33
34F2C_H_DIR = @srcdir@/..
35G2C_H_DIR = ..
36CC = @CC@
37CFLAGS = @CFLAGS@
38CPPFLAGS = @CPPFLAGS@
39AR = @AR@
40ARFLAGS = rc
41RANLIB = @RANLIB@
42@SET_MAKE@
43
44SHELL = @SHELL@
45
46#### End of system configuration section. ####
47
48ALL_CFLAGS = -I. -I$(srcdir) -I$(G2C_H_DIR) -I$(F2C_H_DIR) $(CPPFLAGS) $(DEFS) $(WARN_CFLAGS) $(CFLAGS)
49
50.SUFFIXES:
51.SUFFIXES: .c .lo
52
53.c.lo:
54 @LIBTOOL@ --mode=compile $(CC) -c -DSkip_f2c_Undefs $(ALL_CFLAGS) $<
55
56MISC = F77_aloc.lo VersionF.lo s_rnge.lo abort_.lo getarg_.lo iargc_.lo\
57 getenv_.lo signal_.lo s_stop.lo s_paus.lo system_.lo cabs.lo\
58 derf_.lo derfc_.lo erf_.lo erfc_.lo sig_die.lo exit_.lo setarg.lo setsig.lo
59POW = pow_ci.lo pow_dd.lo pow_di.lo pow_hh.lo pow_ii.lo pow_ri.lo pow_zi.lo pow_zz.lo \
60 pow_qq.lo
61CX = c_abs.lo c_cos.lo c_div.lo c_exp.lo c_log.lo c_sin.lo c_sqrt.lo
62DCX = z_abs.lo z_cos.lo z_div.lo z_exp.lo z_log.lo z_sin.lo z_sqrt.lo
63REAL = r_abs.lo r_acos.lo r_asin.lo r_atan.lo r_atn2.lo r_cnjg.lo r_cos.lo\
64 r_cosh.lo r_dim.lo r_exp.lo r_imag.lo r_int.lo\
65 r_lg10.lo r_log.lo r_mod.lo r_nint.lo r_sign.lo\
66 r_sin.lo r_sinh.lo r_sqrt.lo r_tan.lo r_tanh.lo
67DBL = d_abs.lo d_acos.lo d_asin.lo d_atan.lo d_atn2.lo\
68 d_cnjg.lo d_cos.lo d_cosh.lo d_dim.lo d_exp.lo\
69 d_imag.lo d_int.lo d_lg10.lo d_log.lo d_mod.lo\
70 d_nint.lo d_prod.lo d_sign.lo d_sin.lo d_sinh.lo\
71 d_sqrt.lo d_tan.lo d_tanh.lo
72INT = i_abs.lo i_dim.lo i_dnnt.lo i_indx.lo i_len.lo i_mod.lo i_nint.lo i_sign.lo
73HALF = h_abs.lo h_dim.lo h_dnnt.lo h_indx.lo h_len.lo h_mod.lo h_nint.lo h_sign.lo
74CMP = l_ge.lo l_gt.lo l_le.lo l_lt.lo hl_ge.lo hl_gt.lo hl_le.lo hl_lt.lo
75EFL = ef1asc_.lo ef1cmc_.lo
76CHAR = s_cat.lo s_cmp.lo s_copy.lo
77F90BIT = lbitbits.lo lbitshft.lo qbitbits.lo qbitshft.lo
78
79OBJS = $(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) \
80 $(HALF) $(CMP) $(EFL) $(CHAR) $(F90BIT)
81
82all: ../s-libf77 ../libfrtbegin.a
83
84../s-libf77: $(OBJS)
85 -rm -f $@.T $@
86 objs='$(OBJS)'; for name in $$objs; do \
87 echo libF77/$${name} >> $@.T; done
88 mv $@.T $@
89
90Makefile: Makefile.in config.status
91 $(SHELL) config.status
92
93config.status: configure
94 rm -f config.cache
95 CONFIG_SITE=no-such-file CC='$(CC)' AR='$(AR)' CFLAGS='$(CFLAGS)' \
96 CPPFLAGS='$(CPPFLAGS)' $(SHELL) config.status --recheck
97
98${srcdir}/configure: configure.in
99 rm -f config.cache
100 cd ${srcdir} && autoconf
101
102VersionF.lo: Version.c
103 @LIBTOOL@ --mode=compile $(CC) -c $(ALL_CFLAGS) $(srcdir)/Version.c -o $@
104
105frtbegin.o : main.c
106 $(CC) -c $(ALL_CFLAGS) $(srcdir)/main.c -o $@
107
108../libfrtbegin.a: frtbegin.o
109 -rm -f $@
110 $(AR) $(ARFLAGS) $@ frtbegin.o
111 $(RANLIB) $@
112
113F77_aloc.lo: F77_aloc.c
114s_rnge.lo: s_rnge.c
115abort_.lo: abort_.c
116getarg_.lo: getarg_.c
117iargc_.lo: iargc_.c
118getenv_.lo: getenv_.c
119signal_.lo: signal_.c
120s_stop.lo: s_stop.c
121s_paus.lo: s_paus.c
122system_.lo: system_.c
123cabs.lo: cabs.c
124derf_.lo: derf_.c
125derfc_.lo: derfc_.c
126erf_.lo: erf_.c
127erfc_.lo: erfc_.c
128sig_die.lo: sig_die.c
129exit_.lo: exit_.c
130setarg.lo: setarg.c
131setsig.lo: setsig.c
132pow_ci.lo: pow_ci.c
133pow_dd.lo: pow_dd.c
134pow_di.lo: pow_di.c
135pow_hh.lo: pow_hh.c
136pow_ii.lo: pow_ii.c
137pow_ri.lo: pow_ri.c
138pow_zi.lo: pow_zi.c
139pow_zz.lo: pow_zz.c
140pow_qq.lo: pow_qq.c
141c_abs.lo: c_abs.c
142c_cos.lo: c_cos.c
143c_div.lo: c_div.c
144c_exp.lo: c_exp.c
145c_log.lo: c_log.c
146c_sin.lo: c_sin.c
147c_sqrt.lo: c_sqrt.c
148z_abs.lo: z_abs.c
149z_cos.lo: z_cos.c
150z_div.lo: z_div.c
151z_exp.lo: z_exp.c
152z_log.lo: z_log.c
153 @LIBTOOL@ --mode=compile $(CC) -c -DSkip_f2c_Undefs $(ALL_CFLAGS) -ffloat-store $(srcdir)/z_log.c
154z_sin.lo: z_sin.c
155z_sqrt.lo: z_sqrt.c
156r_abs.lo: r_abs.c
157r_acos.lo: r_acos.c
158r_asin.lo: r_asin.c
159r_atan.lo: r_atan.c
160r_atn2.lo: r_atn2.c
161r_cnjg.lo: r_cnjg.c
162r_cos.lo: r_cos.c
163r_cosh.lo: r_cosh.c
164r_dim.lo: r_dim.c
165r_exp.lo: r_exp.c
166r_imag.lo: r_imag.c
167r_int.lo: r_int.c
168r_lg10.lo: r_lg10.c
169r_log.lo: r_log.c
170r_mod.lo: r_mod.c
171r_nint.lo: r_nint.c
172r_sign.lo: r_sign.c
173r_sin.lo: r_sin.c
174r_sinh.lo: r_sinh.c
175r_sqrt.lo: r_sqrt.c
176r_tan.lo: r_tan.c
177r_tanh.lo: r_tanh.c
178d_abs.lo: d_abs.c
179d_acos.lo: d_acos.c
180d_asin.lo: d_asin.c
181d_atan.lo: d_atan.c
182d_atn2.lo: d_atn2.c
183d_cnjg.lo: d_cnjg.c
184d_cos.lo: d_cos.c
185d_cosh.lo: d_cosh.c
186d_dim.lo: d_dim.c
187d_exp.lo: d_exp.c
188d_imag.lo: d_imag.c
189d_int.lo: d_int.c
190d_lg10.lo: d_lg10.c
191d_log.lo: d_log.c
192d_mod.lo: d_mod.c
193d_nint.lo: d_nint.c
194d_prod.lo: d_prod.c
195d_sign.lo: d_sign.c
196d_sin.lo: d_sin.c
197d_sinh.lo: d_sinh.c
198d_sqrt.lo: d_sqrt.c
199d_tan.lo: d_tan.c
200d_tanh.lo: d_tanh.c
201i_abs.lo: i_abs.c
202i_dim.lo: i_dim.c
203i_dnnt.lo: i_dnnt.c
204i_indx.lo: i_indx.c
205i_len.lo: i_len.c
206i_mod.lo: i_mod.c
207i_nint.lo: i_nint.c
208i_sign.lo: i_sign.c
209h_abs.lo: h_abs.c
210h_dim.lo: h_dim.c
211h_dnnt.lo: h_dnnt.c
212h_indx.lo: h_indx.c
213h_len.lo: h_len.c
214h_mod.lo: h_mod.c
215h_nint.lo: h_nint.c
216h_sign.lo: h_sign.c
217l_ge.lo: l_ge.c
218l_gt.lo: l_gt.c
219l_le.lo: l_le.c
220l_lt.lo: l_lt.c
221hl_ge.lo: hl_ge.c
222hl_gt.lo: hl_gt.c
223hl_le.lo: hl_le.c
224hl_lt.lo: hl_lt.c
225ef1asc_.lo: ef1asc_.c
226ef1cmc_.lo: ef1cmc_.c
227s_cat.lo: s_cat.c
228s_cmp.lo: s_cmp.c
229s_copy.lo: s_copy.c
230lbitbits.lo: lbitbits.c
231lbitshft.lo: lbitshft.c
232qbitbits.lo: qbitbits.c
233qbitshft.lo: qbitshft.c
234
235# Not quite all these actually do depend on f2c.h...
236$(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) $(HALF) $(CMP) $(EFL) \
237 $(CHAR) $(F90BIT): $(F2C_H_DIR)/f2c.h $(G2C_H_DIR)/g2c.h
238
239check install uninstall install-strip dist installcheck installdirs:
240
241mostlyclean:
242 rm -f *.o *.lo ../libfrtbegin.a
243 rm -rf .libs
244
245clean: mostlyclean
246 rm -f config.log
247 rm -f ../s-libf77
248
249distclean: clean
250 rm -f config.cache config.status Makefile ../s-libf77 configure
251
252maintainer-clean:
253
254.PHONY: mostlyclean clean distclean maintainer-clean all check uninstall \
255 install-strip dist installcheck installdirs archive
Note: See TracBrowser for help on using the repository browser.