head	1.13;
access;
symbols
	RELENG_3_5_0_RELEASE:1.12
	RELENG_3_4_0_RELEASE:1.12
	RELENG_3_3_0_RELEASE:1.12
	RELENG_3_2_PAO:1.12.0.4
	RELENG_3_2_PAO_BP:1.12
	RELENG_3_2_0_RELEASE:1.12
	RELENG_3_1_0_RELEASE:1.12
	RELENG_3:1.12.0.2
	RELENG_3_BP:1.12
	RELENG_2_2_8_RELEASE:1.6.2.2
	RELENG_3_0_0_RELEASE:1.11
	RELENG_2_2_7_RELEASE:1.6.2.2
	RELENG_2_2_6_RELEASE:1.6.2.1
	RELENG_2_2_5_RELEASE:1.6.2.1
	RELENG_2_2_2_RELEASE:1.6
	RELENG_2_2_1_RELEASE:1.6
	RELENG_2_2_0_RELEASE:1.6
	RELENG_2_1_7_RELEASE:1.5.4.2
	RELENG_2_1_6_1_RELEASE:1.5.4.2
	RELENG_2_1_6_RELEASE:1.5.4.2
	RELENG_2_2:1.6.0.2
	RELENG_2_2_BP:1.6
	RELENG_2_1_5_RELEASE:1.5.4.2
	RELENG_2_1_0_RELEASE:1.5
	RELENG_2_1_0:1.5.0.4
	RELENG_2_1_0_BP:1.5
	RELENG_2_0_5_RELEASE:1.5
	RELENG_2_0_5:1.5.0.2
	RELENG_2_0_5_BP:1.5
	RELENG_2_0_5_ALPHA:1.4
	RELEASE_2_0:1.4
	BETA_2_0:1.4
	ALPHA_2_0:1.2.0.2
	ljo:1.1.1.1;
locks; strict;
comment	@# @;


1.13
date	99.04.21.16.43.03;	author obrien;	state dead;
branches;
next	1.12;

1.12
date	98.11.16.23.51.14;	author jmz;	state Exp;
branches;
next	1.11;

1.11
date	98.10.11.04.44.12;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	98.04.29.22.43.01;	author jmz;	state Exp;
branches;
next	1.9;

1.9
date	97.04.24.17.10.56;	author jmz;	state Exp;
branches;
next	1.8;

1.8
date	97.04.13.01.16.58;	author jmz;	state Exp;
branches;
next	1.7;

1.7
date	97.04.01.02.27.11;	author jmz;	state Exp;
branches;
next	1.6;

1.6
date	95.09.28.20.49.15;	author jmz;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	95.05.30.05.43.25;	author rgrimes;	state Exp;
branches
	1.5.4.1;
next	1.4;

1.4
date	94.11.11.12.58.12;	author ljo;	state Exp;
branches;
next	1.3;

1.3
date	94.11.11.07.27.04;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	94.10.26.18.53.13;	author ljo;	state Exp;
branches;
next	1.1;

1.1
date	94.10.26.18.20.34;	author ljo;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.10.26.18.20.35;	author ljo;	state Exp;
branches;
next	;

1.5.4.1
date	96.06.03.05.11.39;	author jkh;	state Exp;
branches;
next	1.5.4.2;

1.5.4.2
date	96.06.05.02.52.31;	author jkh;	state Exp;
branches;
next	;

1.6.2.1
date	97.09.15.08.11.50;	author jkh;	state Exp;
branches;
next	1.6.2.2;

1.6.2.2
date	98.05.03.20.24.58;	author jmz;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Remove the old libf2c.  libg2c is now serving us well.
@
text
@.PATH:	${.CURDIR}/../libF77 ${.CURDIR}/../libI77

LIB=f2c
CFLAGS+= -DIEEE_drem -DNON_ANSI_RW_MODES -DNON_UNIX_STDIO -DPedantic -I${.CURDIR}/../../usr.bin/f2c

MISC =	Version.c main.c s_rnge.c abort_.c getarg_.c iargc_.c getenv_.c\
	signal_.c s_stop.c s_paus.c system_.c cabs.c\
	derf_.c derfc_.c erf_.c erfc_.c sig_die.c F77_aloc.c exit.c MAIN.c
POW =	pow_ci.c pow_dd.c pow_di.c pow_hh.c pow_ii.c  pow_ri.c pow_zi.c pow_zz.c
CX =	c_abs.c c_cos.c c_div.c c_exp.c c_log.c c_sin.c c_sqrt.c
DCX =	z_cos.c z_div.c z_exp.c z_log.c z_sin.c z_sqrt.c
REAL =	r_abs.c r_acos.c r_asin.c r_atan.c r_atn2.c r_cnjg.c r_cos.c\
	r_cosh.c r_dim.c r_exp.c r_imag.c r_int.c\
	r_lg10.c r_log.c r_mod.c r_nint.c r_sign.c\
	r_sin.c r_sinh.c r_sqrt.c r_tan.c r_tanh.c
DBL =	d_abs.c d_acos.c d_asin.c d_atan.c d_atn2.c\
	d_cnjg.c d_cos.c d_cosh.c d_dim.c d_exp.c\
	d_imag.c d_int.c d_lg10.c d_log.c d_mod.c\
	d_nint.c d_prod.c d_sign.c d_sin.c d_sinh.c\
	d_sqrt.c d_tan.c d_tanh.c
INT =	i_abs.c i_dim.c i_dnnt.c i_indx.c i_len.c i_mod.c i_nint.c i_sign.c
HALF =	h_abs.c h_dim.c h_dnnt.c h_indx.c h_len.c h_mod.c  h_nint.c h_sign.c
CMP =	l_ge.c l_gt.c l_le.c l_lt.c hl_ge.c hl_gt.c hl_le.c hl_lt.c
EFL =	ef1asc_.c ef1cmc_.c
CHAR =	s_cat.c s_cmp.c s_copy.c
F90BIT = lbitbits.c lbitshft.c

F77SRCS= $(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) \
	$(HALF) $(CMP) $(EFL) $(CHAR) $(F90BIT)

I77SRCS = Version.c backspace.c close.c dfe.c dolio.c due.c endfile.c err.c \
	fmt.c fmtlib.c iio.c ilnw.c inquire.c lread.c lwrite.c open.c \
	rdfmt.c rewind.c rsfe.c rsli.c rsne.c sfe.c sue.c typesize.c uio.c \
	util.c wref.c wrtfmt.c wsfe.c wsle.c wsne.c xwsne.c

SRCS= ${F77SRCS} ${I77SRCS}

LDADD+=	-lm
DPADD+=	${LIBM}

.include <bsd.lib.mk>
@


1.12
log
@Add an emply MAIN__() function. This avoid an unresolved reference error
during link phase when using fortran subroutines with non-fortran 'main()'.
@
text
@@


1.11
log
@libf2c.so.* depends on libm.so.  I'm not sure that this matters in this
case because I expect the f2c front-end should add the -lm automatically.
@
text
@d8 1
a8 1
	derf_.c derfc_.c erf_.c erfc_.c sig_die.c F77_aloc.c exit.c
@


1.10
log
@Resurrect exit.c
PR:		misc/6433
@
text
@d38 3
@


1.9
log
@Add a -I switch to CFLAGS to use the f2c.h header file in the usr.bin/f2c
directory.
Reviewed by:	bde
@
text
@d8 1
a8 1
	derf_.c derfc_.c erf_.c erfc_.c sig_die.c F77_aloc.c
@


1.8
log
@Upgrade to the 1997/02/26 version.
@
text
@d4 1
a4 1
CFLAGS+= -DIEEE_drem -DNON_ANSI_RW_MODES -DNON_UNIX_STDIO -DPedantic
@


1.7
log
@Add the -DPedantic flag. This is used in wref.c only.
@
text
@d8 1
a8 1
	derf_.c derfc_.c erf_.c erfc_.c sig_die.c F77_aloc.c exit.c
d26 1
d29 1
a29 1
	$(HALF) $(CMP) $(EFL) $(CHAR)
@


1.6
log
@Update to the 1995/09/20 version. Previous version was 1993/12/17.
@
text
@d4 1
a4 1
CFLAGS+= -DIEEE_drem -DNON_ANSI_RW_MODES -DNON_UNIX_STDIO
@


1.6.2.1
log
@MFC:  In honor of fortran programmers everywhere. :)
@
text
@d4 1
a4 1
CFLAGS+= -DIEEE_drem -DNON_ANSI_RW_MODES -DNON_UNIX_STDIO -DPedantic -I${.CURDIR}/../../usr.bin/f2c
d8 1
a8 1
	derf_.c derfc_.c erf_.c erfc_.c sig_die.c F77_aloc.c
a25 1
F90BIT = lbitbits.c lbitshft.c
d28 1
a28 1
	$(HALF) $(CMP) $(EFL) $(CHAR) $(F90BIT)
@


1.6.2.2
log
@MFC: restore exit.c
@
text
@d8 1
a8 1
	derf_.c derfc_.c erf_.c erfc_.c sig_die.c F77_aloc.c exit.c
@


1.5
log
@Remove trailing whitespace.
@
text
@d8 1
a8 1
	derf_.c derfc_.c erf_.c erfc_.c sig_die.c
@


1.5.4.1
log
@Phase 2 of merge - also fix things broken in phase 1.
Watch out for falling rock until phase 3 is over!

libc completely merged except for phkmalloc & rfork (don't know if David
wants that).

Some include files in sys/ had to be updated in order to bring in libc.
@
text
@d8 1
a8 1
	derf_.c derfc_.c erf_.c erfc_.c sig_die.c F77_aloc.c exit.c
@


1.5.4.2
log
@This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
@
text
@d8 1
a8 1
	derf_.c derfc_.c erf_.c erfc_.c sig_die.c
@


1.4
log
@Remove z_abs. It is already in libm.a
@
text
@d25 1
a25 1
CHAR =	s_cat.c s_cmp.c s_copy.c      
@


1.3
log
@From: Michael Reifenberger <root@@rz-wb.fh-sw.de>

z_abs is missing in libf2c.
Could someone please commit the following patch?

Submitted by:	mr
@
text
@d11 1
a11 1
DCX =	z_abs.c z_cos.c z_div.c z_exp.c z_log.c z_sin.c z_sqrt.c
@


1.2
log
@Use -DNON_UNIX_STDIO as our FILE doesn't have the usual fields.
Submitted by: pete@@pelican.pelican.com
@
text
@d11 1
a11 1
DCX =	z_cos.c z_div.c z_exp.c z_log.c z_sin.c z_sqrt.c
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
CFLAGS+= -DIEEE_drem -DSkip_f2c_Undefs -DNON_ANSI_RW_MODES
@


1.1.1.1
log
@Merged f2c library.
@
text
@@
