* lib/objc.exp: Add -lposix4 on Solaris 2.8.
[official-gcc.git] / libf2c / libF77 / Makefile.in
blob74c69a0915a6e557361cb3a18f8abd1ccd7037ee
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 Free Software Foundation, Inc.
5 # Contributed by Dave Love (d.love@dl.ac.uk).
7 #This file is part of GNU Fortran.
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.
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.
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.
24 #### Start of system configuration section. ####
26 # $(srcdir) must be set to the g77 runtime libF77 source directory.
27 srcdir = @srcdir@
28 VPATH = @srcdir@
30 # configure sets this to all the -D options appropriate for the
31 # configuration.
32 DEFS = @DEFS@
34 LIBG2C = ../libg2c.a
36 F2C_H_DIR = @srcdir@/..
37 G2C_H_DIR = ..
38 CC = @CC@
39 CFLAGS = @CFLAGS@
40 CPPFLAGS = @CPPFLAGS@
41 AR = @AR@
42 ARFLAGS = rc
43 @SET_MAKE@
45 SHELL = /bin/sh
47 #### End of system configuration section. ####
49 ALL_CFLAGS = -I. -I$(srcdir) -I$(G2C_H_DIR) -I$(F2C_H_DIR) $(CPPFLAGS) $(DEFS) $(CFLAGS)
51 .SUFFIXES:
52 .SUFFIXES: .c .o
54 .c.o:
55 $(CC) -c -DSkip_f2c_Undefs $(ALL_CFLAGS) $<
57 MISC = F77_aloc.o VersionF.o main.o s_rnge.o abort_.o getarg_.o iargc_.o\
58 getenv_.o signal_.o s_stop.o s_paus.o system_.o cabs.o\
59 derf_.o derfc_.o erf_.o erfc_.o sig_die.o exit_.o setarg.o setsig.o
60 POW = pow_ci.o pow_dd.o pow_di.o pow_hh.o pow_ii.o pow_ri.o pow_zi.o pow_zz.o \
61 pow_qq.o
62 CX = c_abs.o c_cos.o c_div.o c_exp.o c_log.o c_sin.o c_sqrt.o
63 DCX = z_abs.o z_cos.o z_div.o z_exp.o z_log.o z_sin.o z_sqrt.o
64 REAL = r_abs.o r_acos.o r_asin.o r_atan.o r_atn2.o r_cnjg.o r_cos.o\
65 r_cosh.o r_dim.o r_exp.o r_imag.o r_int.o\
66 r_lg10.o r_log.o r_mod.o r_nint.o r_sign.o\
67 r_sin.o r_sinh.o r_sqrt.o r_tan.o r_tanh.o
68 DBL = d_abs.o d_acos.o d_asin.o d_atan.o d_atn2.o\
69 d_cnjg.o d_cos.o d_cosh.o d_dim.o d_exp.o\
70 d_imag.o d_int.o d_lg10.o d_log.o d_mod.o\
71 d_nint.o d_prod.o d_sign.o d_sin.o d_sinh.o\
72 d_sqrt.o d_tan.o d_tanh.o
73 INT = i_abs.o i_dim.o i_dnnt.o i_indx.o i_len.o i_mod.o i_nint.o i_sign.o
74 HALF = h_abs.o h_dim.o h_dnnt.o h_indx.o h_len.o h_mod.o h_nint.o h_sign.o
75 CMP = l_ge.o l_gt.o l_le.o l_lt.o hl_ge.o hl_gt.o hl_le.o hl_lt.o
76 EFL = ef1asc_.o ef1cmc_.o
77 CHAR = s_cat.o s_cmp.o s_copy.o
78 F90BIT = lbitbits.o lbitshft.o qbitbits.o qbitshft.o
80 OBJS = $(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) \
81 $(HALF) $(CMP) $(EFL) $(CHAR) $(F90BIT)
83 all: ../s-libf77
85 ../s-libf77: $(OBJS)
86 echo timestamp > ../s-libf77
88 archive:
89 $(AR) $(ARFLAGS) $(LIBG2C) $(OBJS)
91 Makefile: Makefile.in config.status
92 $(SHELL) config.status
94 config.status: configure
95 rm -f config.cache
96 CONFIG_SITE=no-such-file CC='$(CC)' AR='$(AR)' CFLAGS='$(CFLAGS)' \
97 CPPFLAGS='$(CPPFLAGS)' $(SHELL) config.status --recheck
99 ${srcdir}/configure: configure.in
100 rm -f config.cache
101 cd ${srcdir} && autoconf
103 VersionF.o: Version.c
104 $(CC) -c $(ALL_CFLAGS) -o $@ $(srcdir)/Version.c
106 F77_aloc.o: F77_aloc.c
107 main.o: main.c
108 s_rnge.o: s_rnge.c
109 abort_.o: abort_.c
110 getarg_.o: getarg_.c
111 iargc_.o: iargc_.c
112 getenv_.o: getenv_.c
113 signal_.o: signal_.c
114 s_stop.o: s_stop.c
115 s_paus.o: s_paus.c
116 system_.o: system_.c
117 cabs.o: cabs.c
118 derf_.o: derf_.c
119 derfc_.o: derfc_.c
120 erf_.o: erf_.c
121 erfc_.o: erfc_.c
122 sig_die.o: sig_die.c
123 exit_.o: exit_.c
124 setarg.o: setarg.c
125 setsig.o: setsig.c
126 pow_ci.o: pow_ci.c
127 pow_dd.o: pow_dd.c
128 pow_di.o: pow_di.c
129 pow_hh.o: pow_hh.c
130 pow_ii.o: pow_ii.c
131 pow_ri.o: pow_ri.c
132 pow_zi.o: pow_zi.c
133 pow_zz.o: pow_zz.c
134 pow_qq.o: pow_qq.c
135 c_abs.o: c_abs.c
136 c_cos.o: c_cos.c
137 c_div.o: c_div.c
138 c_exp.o: c_exp.c
139 c_log.o: c_log.c
140 c_sin.o: c_sin.c
141 c_sqrt.o: c_sqrt.c
142 z_abs.o: z_abs.c
143 z_cos.o: z_cos.c
144 z_div.o: z_div.c
145 z_exp.o: z_exp.c
146 z_log.o: z_log.c
147 z_sin.o: z_sin.c
148 z_sqrt.o: z_sqrt.c
149 r_abs.o: r_abs.c
150 r_acos.o: r_acos.c
151 r_asin.o: r_asin.c
152 r_atan.o: r_atan.c
153 r_atn2.o: r_atn2.c
154 r_cnjg.o: r_cnjg.c
155 r_cos.o: r_cos.c
156 r_cosh.o: r_cosh.c
157 r_dim.o: r_dim.c
158 r_exp.o: r_exp.c
159 r_imag.o: r_imag.c
160 r_int.o: r_int.c
161 r_lg10.o: r_lg10.c
162 r_log.o: r_log.c
163 r_mod.o: r_mod.c
164 r_nint.o: r_nint.c
165 r_sign.o: r_sign.c
166 r_sin.o: r_sin.c
167 r_sinh.o: r_sinh.c
168 r_sqrt.o: r_sqrt.c
169 r_tan.o: r_tan.c
170 r_tanh.o: r_tanh.c
171 d_abs.o: d_abs.c
172 d_acos.o: d_acos.c
173 d_asin.o: d_asin.c
174 d_atan.o: d_atan.c
175 d_atn2.o: d_atn2.c
176 d_cnjg.o: d_cnjg.c
177 d_cos.o: d_cos.c
178 d_cosh.o: d_cosh.c
179 d_dim.o: d_dim.c
180 d_exp.o: d_exp.c
181 d_imag.o: d_imag.c
182 d_int.o: d_int.c
183 d_lg10.o: d_lg10.c
184 d_log.o: d_log.c
185 d_mod.o: d_mod.c
186 d_nint.o: d_nint.c
187 d_prod.o: d_prod.c
188 d_sign.o: d_sign.c
189 d_sin.o: d_sin.c
190 d_sinh.o: d_sinh.c
191 d_sqrt.o: d_sqrt.c
192 d_tan.o: d_tan.c
193 d_tanh.o: d_tanh.c
194 i_abs.o: i_abs.c
195 i_dim.o: i_dim.c
196 i_dnnt.o: i_dnnt.c
197 i_indx.o: i_indx.c
198 i_len.o: i_len.c
199 i_mod.o: i_mod.c
200 i_nint.o: i_nint.c
201 i_sign.o: i_sign.c
202 h_abs.o: h_abs.c
203 h_dim.o: h_dim.c
204 h_dnnt.o: h_dnnt.c
205 h_indx.o: h_indx.c
206 h_len.o: h_len.c
207 h_mod.o: h_mod.c
208 h_nint.o: h_nint.c
209 h_sign.o: h_sign.c
210 l_ge.o: l_ge.c
211 l_gt.o: l_gt.c
212 l_le.o: l_le.c
213 l_lt.o: l_lt.c
214 hl_ge.o: hl_ge.c
215 hl_gt.o: hl_gt.c
216 hl_le.o: hl_le.c
217 hl_lt.o: hl_lt.c
218 ef1asc_.o: ef1asc_.c
219 ef1cmc_.o: ef1cmc_.c
220 s_cat.o: s_cat.c
221 s_cmp.o: s_cmp.c
222 s_copy.o: s_copy.c
223 lbitbits.o: lbitbits.c
224 lbitshft.o: lbitshft.c
225 qbitbits.o: qbitbits.c
226 qbitshft.o: qbitshft.c
228 # Not quite all these actually do depend on f2c.h...
229 $(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) $(HALF) $(CMP) $(EFL) \
230 $(CHAR) $(F90BIT): $(F2C_H_DIR)/f2c.h $(G2C_H_DIR)/g2c.h
232 check install uninstall install-strip dist installcheck installdirs:
234 mostlyclean:
235 rm -f *.o
237 clean: mostlyclean
238 rm -f config.log
239 rm -f ../s-libf77
241 distclean: clean
242 rm -f config.cache config.status Makefile ../s-libf77 configure
244 maintainer-clean:
246 .PHONY: mostlyclean clean distclean maintainer-clean all check uninstall \
247 install-strip dist installcheck installdirs archive