head	1.11;
access;
symbols
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.74
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.11
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.72
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.11
	netbsd-9-4-RELEASE:1.11
	netbsd-10-0-RELEASE:1.11
	netbsd-10-0-RC6:1.11
	netbsd-10-0-RC5:1.11
	netbsd-10-0-RC4:1.11
	netbsd-10-0-RC3:1.11
	netbsd-10-0-RC2:1.11
	netbsd-10-0-RC1:1.11
	netbsd-10:1.11.0.70
	netbsd-10-base:1.11
	netbsd-9-3-RELEASE:1.11
	cjep_sun2x-base1:1.11
	cjep_sun2x:1.11.0.68
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	netbsd-9-2-RELEASE:1.11
	cjep_staticlib_x:1.11.0.66
	cjep_staticlib_x-base:1.11
	netbsd-9-1-RELEASE:1.11
	phil-wifi-20200421:1.11
	phil-wifi-20200411:1.11
	is-mlppp:1.11.0.64
	is-mlppp-base:1.11
	phil-wifi-20200406:1.11
	netbsd-8-2-RELEASE:1.11
	netbsd-9-0-RELEASE:1.11
	netbsd-9-0-RC2:1.11
	netbsd-9-0-RC1:1.11
	phil-wifi-20191119:1.11
	netbsd-9:1.11.0.62
	netbsd-9-base:1.11
	phil-wifi-20190609:1.11
	netbsd-8-1-RELEASE:1.11
	netbsd-8-1-RC1:1.11
	pgoyette-compat-merge-20190127:1.11
	pgoyette-compat-20190127:1.11
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	netbsd-7-2-RELEASE:1.11
	pgoyette-compat-0728:1.11
	netbsd-8-0-RELEASE:1.11
	phil-wifi:1.11.0.60
	phil-wifi-base:1.11
	pgoyette-compat-0625:1.11
	netbsd-8-0-RC2:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	netbsd-8-0-RC1:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	netbsd-7-1-2-RELEASE:1.11
	pgoyette-compat:1.11.0.58
	pgoyette-compat-base:1.11
	netbsd-7-1-1-RELEASE:1.11
	matt-nb8-mediatek:1.11.0.56
	matt-nb8-mediatek-base:1.11
	perseant-stdc-iso10646:1.11.0.54
	perseant-stdc-iso10646-base:1.11
	netbsd-8:1.11.0.52
	netbsd-8-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.50
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	pgoyette-localcount-20170320:1.11
	netbsd-7-1:1.11.0.48
	netbsd-7-1-RELEASE:1.11
	netbsd-7-1-RC2:1.11
	netbsd-7-nhusb-base-20170116:1.11
	bouyer-socketcan:1.11.0.46
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	netbsd-7-1-RC1:1.11
	pgoyette-localcount-20161104:1.11
	netbsd-7-0-2-RELEASE:1.11
	localcount-20160914:1.11
	netbsd-7-nhusb:1.11.0.44
	netbsd-7-nhusb-base:1.11
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.42
	pgoyette-localcount-base:1.11
	netbsd-7-0-1-RELEASE:1.11
	netbsd-7-0:1.11.0.40
	netbsd-7-0-RELEASE:1.11
	netbsd-7-0-RC3:1.11
	netbsd-7-0-RC2:1.11
	netbsd-7-0-RC1:1.11
	netbsd-5-2-3-RELEASE:1.11
	netbsd-5-1-5-RELEASE:1.11
	netbsd-6-0-6-RELEASE:1.11
	netbsd-6-1-5-RELEASE:1.11
	netbsd-7:1.11.0.38
	netbsd-7-base:1.11
	yamt-pagecache-base9:1.11
	yamt-pagecache-tag8:1.11
	netbsd-6-1-4-RELEASE:1.11
	netbsd-6-0-5-RELEASE:1.11
	tls-earlyentropy:1.11.0.36
	tls-earlyentropy-base:1.11
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.11
	riastradh-drm2-base3:1.11
	netbsd-6-1-3-RELEASE:1.11
	netbsd-6-0-4-RELEASE:1.11
	netbsd-5-2-2-RELEASE:1.11
	netbsd-5-1-4-RELEASE:1.11
	netbsd-6-1-2-RELEASE:1.11
	netbsd-6-0-3-RELEASE:1.11
	netbsd-5-2-1-RELEASE:1.11
	netbsd-5-1-3-RELEASE:1.11
	netbsd-6-1-1-RELEASE:1.11
	riastradh-drm2-base2:1.11
	riastradh-drm2-base1:1.11
	riastradh-drm2:1.11.0.30
	riastradh-drm2-base:1.11
	netbsd-6-1:1.11.0.34
	netbsd-6-0-2-RELEASE:1.11
	netbsd-6-1-RELEASE:1.11
	netbsd-6-1-RC4:1.11
	netbsd-6-1-RC3:1.11
	agc-symver:1.11.0.32
	agc-symver-base:1.11
	netbsd-6-1-RC2:1.11
	netbsd-6-1-RC1:1.11
	yamt-pagecache-base8:1.11
	netbsd-5-2:1.11.0.28
	netbsd-6-0-1-RELEASE:1.11
	yamt-pagecache-base7:1.11
	netbsd-5-2-RELEASE:1.11
	netbsd-5-2-RC1:1.11
	matt-nb6-plus-nbase:1.11
	yamt-pagecache-base6:1.11
	netbsd-6-0:1.11.0.26
	netbsd-6-0-RELEASE:1.11
	netbsd-6-0-RC2:1.11
	tls-maxphys:1.11.0.24
	tls-maxphys-base:1.11
	matt-nb6-plus:1.11.0.22
	matt-nb6-plus-base:1.11
	netbsd-6-0-RC1:1.11
	yamt-pagecache-base5:1.11
	yamt-pagecache-base4:1.11
	netbsd-6:1.11.0.20
	netbsd-6-base:1.11
	netbsd-5-1-2-RELEASE:1.11
	netbsd-5-1-1-RELEASE:1.11
	yamt-pagecache-base3:1.11
	yamt-pagecache-base2:1.11
	yamt-pagecache:1.11.0.2
	yamt-pagecache-base:1.11
	cherry-xenmp:1.11.0.18
	cherry-xenmp-base:1.11
	bouyer-quota2-nbase:1.11
	bouyer-quota2:1.11.0.16
	bouyer-quota2-base:1.11
	matt-mips64-premerge-20101231:1.11
	matt-nb5-mips64-premerge-20101231:1.11
	matt-nb5-pq3:1.11.0.14
	matt-nb5-pq3-base:1.11
	netbsd-5-1:1.11.0.12
	netbsd-5-1-RELEASE:1.11
	netbsd-5-1-RC4:1.11
	matt-nb5-mips64-k15:1.11
	netbsd-5-1-RC3:1.11
	netbsd-5-1-RC2:1.11
	netbsd-5-1-RC1:1.11
	netbsd-5-0-2-RELEASE:1.11
	matt-nb5-mips64-premerge-20091211:1.11
	matt-premerge-20091211:1.11
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.11
	matt-nb4-mips64-k7-u2a-k9b:1.11
	matt-nb5-mips64-u1-k1-k5:1.11
	matt-nb5-mips64:1.11.0.10
	netbsd-5-0-1-RELEASE:1.11
	jym-xensuspend-nbase:1.11
	netbsd-5-0:1.11.0.8
	netbsd-5-0-RELEASE:1.11
	netbsd-5-0-RC4:1.11
	netbsd-5-0-RC3:1.11
	netbsd-5-0-RC2:1.11
	jym-xensuspend:1.11.0.6
	jym-xensuspend-base:1.11
	netbsd-5-0-RC1:1.11
	netbsd-5:1.11.0.4
	netbsd-5-base:1.11
	matt-mips64-base2:1.11
	matt-mips64:1.8.0.20
	netbsd-4-0-1-RELEASE:1.8
	wrstuden-revivesa-base-3:1.11
	wrstuden-revivesa-base-2:1.11
	wrstuden-fixsa-newbase:1.8
	wrstuden-revivesa-base-1:1.11
	yamt-pf42-base4:1.11
	yamt-pf42-base3:1.9
	hpcarm-cleanup-nbase:1.9
	yamt-pf42-baseX:1.8
	yamt-pf42-base2:1.9
	wrstuden-revivesa:1.9.0.2
	wrstuden-revivesa-base:1.11
	yamt-pf42:1.8.0.18
	yamt-pf42-base:1.8
	keiichi-mipv6:1.8.0.16
	keiichi-mipv6-base:1.8
	matt-armv6-nbase:1.8
	matt-armv6-prevmlocking:1.8
	wrstuden-fixsa-base-1:1.8
	netbsd-4-0:1.8.0.14
	netbsd-4-0-RELEASE:1.8
	cube-autoconf:1.8.0.12
	cube-autoconf-base:1.8
	netbsd-4-0-RC5:1.8
	netbsd-4-0-RC4:1.8
	netbsd-4-0-RC3:1.8
	netbsd-4-0-RC2:1.8
	netbsd-4-0-RC1:1.8
	matt-armv6:1.8.0.10
	matt-armv6-base:1.8
	matt-mips64-base:1.8
	hpcarm-cleanup:1.8.0.8
	hpcarm-cleanup-base:1.8
	netbsd-3-1-1-RELEASE:1.5.2.1
	netbsd-3-0-3-RELEASE:1.5.2.1
	wrstuden-fixsa:1.8.0.6
	wrstuden-fixsa-base:1.8
	abandoned-netbsd-4-base:1.8
	abandoned-netbsd-4:1.8.0.2
	netbsd-3-1:1.5.2.1.0.4
	netbsd-3-1-RELEASE:1.5.2.1
	netbsd-3-0-2-RELEASE:1.5.2.1
	netbsd-3-1-RC4:1.5.2.1
	netbsd-3-1-RC3:1.5.2.1
	netbsd-3-1-RC2:1.5.2.1
	netbsd-3-1-RC1:1.5.2.1
	netbsd-4:1.8.0.4
	netbsd-4-base:1.8
	netbsd-3-0-1-RELEASE:1.5.2.1
	netbsd-3-0:1.5.2.1.0.2
	netbsd-3-0-RELEASE:1.5.2.1
	netbsd-3-0-RC6:1.5.2.1
	netbsd-3-0-RC5:1.5.2.1
	netbsd-3-0-RC4:1.5.2.1
	netbsd-3-0-RC3:1.5.2.1
	netbsd-3-0-RC2:1.5.2.1
	netbsd-3-0-RC1:1.5.2.1
	netbsd-2-0-3-RELEASE:1.4
	netbsd-2-1:1.4.0.6
	netbsd-2-1-RELEASE:1.4
	netbsd-2-1-RC6:1.4
	netbsd-2-1-RC5:1.4
	netbsd-2-1-RC4:1.4
	netbsd-2-1-RC3:1.4
	netbsd-2-1-RC2:1.4
	netbsd-2-1-RC1:1.4
	netbsd-2-0-2-RELEASE:1.4
	netbsd-3:1.5.0.2
	netbsd-3-base:1.5
	netbsd-2-0-1-RELEASE:1.4
	netbsd-2:1.4.0.4
	netbsd-2-base:1.4
	netbsd-2-0-RELEASE:1.4
	netbsd-2-0-RC5:1.4
	netbsd-2-0-RC4:1.4
	netbsd-2-0-RC3:1.4
	netbsd-2-0-RC2:1.4
	netbsd-2-0-RC1:1.4
	netbsd-2-0:1.4.0.2
	netbsd-2-0-base:1.4
	netbsd-1-6-PATCH002-RELEASE:1.3
	netbsd-1-6-PATCH002:1.3
	netbsd-1-6-PATCH002-RC4:1.3
	netbsd-1-6-PATCH002-RC3:1.3
	netbsd-1-6-PATCH002-RC2:1.3
	netbsd-1-6-PATCH002-RC1:1.3
	netbsd-1-6-PATCH001:1.3
	netbsd-1-6-PATCH001-RELEASE:1.3
	netbsd-1-6-PATCH001-RC3:1.3
	netbsd-1-6-PATCH001-RC2:1.3
	netbsd-1-6-PATCH001-RC1:1.3
	fvdl_fs64_base:1.4
	netbsd-1-6-RELEASE:1.3
	netbsd-1-6-RC3:1.3
	netbsd-1-6-RC2:1.3
	netbsd-1-6-RC1:1.3
	netbsd-1-6:1.3.0.2
	netbsd-1-6-base:1.3
	netbsd-1-5-PATCH003:1.1
	netbsd-1-5-PATCH002:1.1
	netbsd-1-5-PATCH001:1.1
	netbsd-1-5-RELEASE:1.1
	netbsd-1-5-BETA2:1.1
	netbsd-1-5-BETA:1.1
	netbsd-1-5-ALPHA2:1.1
	netbsd-1-5:1.1.0.6
	netbsd-1-5-base:1.1
	minoura-xpg4dl:1.1.0.4
	minoura-xpg4dl-base:1.1
	wrstuden-devbsize-base:1.1
	wrstuden-devbsize:1.1.0.2
	wrstuden-devbsize-19991221:1.1;
locks; strict;
comment	@# @;


1.11
date	2008.06.06.13.35.06;	author ad;	state Exp;
branches;
next	1.10;

1.10
date	2008.06.03.18.47.28;	author ad;	state Exp;
branches;
next	1.9;

1.9
date	2008.04.25.22.21.53;	author christos;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2006.03.22.20.45.58;	author drochner;	state Exp;
branches
	1.8.18.1;
next	1.7;

1.7
date	2005.07.28.17.55.19;	author drochner;	state Exp;
branches;
next	1.6;

1.6
date	2005.07.21.20.58.21;	author rpaulo;	state Exp;
branches;
next	1.5;

1.5
date	2004.07.01.17.30.48;	author drochner;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2002.08.19.14.55.16;	author lukem;	state Exp;
branches;
next	1.3;

1.3
date	2001.12.28.01.32.39;	author lukem;	state Exp;
branches;
next	1.2;

1.2
date	2001.12.12.00.51.04;	author tv;	state Exp;
branches;
next	1.1;

1.1
date	99.12.13.09.36.29;	author christos;	state Exp;
branches
	1.1.2.1;
next	;

1.9.2.1
date	2008.06.23.04.29.53;	author wrstuden;	state Exp;
branches;
next	;

1.8.18.1
date	2008.05.18.12.30.38;	author yamt;	state Exp;
branches;
next	1.8.18.2;

1.8.18.2
date	2008.06.17.09.13.39;	author yamt;	state Exp;
branches;
next	;

1.5.2.1
date	2005.08.14.21.29.43;	author riz;	state Exp;
branches;
next	;

1.1.2.1
date	99.12.27.18.29.59;	author wrstuden;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Use a dummy assembly file so we won't try produce lint stuff.
@
text
@#  $NetBSD: Makefile,v 1.10 2008/06/03 18:47:28 ad Exp $
#

USE_SHLIBDIR=	yes

LIB=		m387

SRCS=empty.S

.include <bsd.lib.mk>
@


1.10
log
@- Fold libm387 into libm.
- Leave libm387 as an empty shell.
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.9 2008/04/25 22:21:53 christos Exp $
d8 1
a8 1
SRCS=empty.c
@


1.9
log
@avoid shadow variables, and enable lint.
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.8 2006/03/22 20:45:58 drochner Exp $
d8 1
a8 9
SRCS=e_acos.S e_asin.S e_atan2.S e_atan2f.S e_exp.S e_expf.S e_fmod.S e_log.S \
     e_logf.S e_log10.S e_log10f.S e_log2.S e_log2f.S e_remainder.S \
     e_remainderf.S e_scalb.S e_scalbf.S e_sqrt.S e_sqrtf.S s_atan.S \
     s_atanf.S s_ceil.S s_ceilf.S s_copysign.S s_copysignf.S s_cos.S \
     s_cosf.S s_finite.S s_finitef.S s_floor.S s_floorf.S s_ilogb.S \
     s_ilogbf.S s_log1p.S s_log1pf.S s_logb.S s_logbf.S s_rint.S \
     s_rintf.S s_scalbn.S s_scalbnf.S s_significand.S s_significandf.S \
     s_sin.S s_sinf.S s_tan.S s_tanf.S \
     lrint.S s_modf.S
@


1.9.2.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.9 2008/04/25 22:21:53 christos Exp $
d8 9
a16 1
SRCS=empty.S
@


1.8
log
@merge libc/arch/{i386,x86_64}/gen/modf.S into one
(not quite a merge actually, just an #ifdef for now)
and build it in the i386 case (amd64 should work, just needs to be tested)
That way, a program linking against libm should get the optimized
version as expected.
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.7 2005/07/28 17:55:19 drochner Exp $
a3 1
NOLINT=		# defined
@


1.8.18.1
log
@sync with head.
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.8 2006/03/22 20:45:58 drochner Exp $
d4 1
@


1.8.18.2
log
@sync with head.
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.8.18.1 2008/05/18 12:30:38 yamt Exp $
d8 9
a16 1
SRCS=empty.S
@


1.7
log
@activate e_atan2f.S which was there forever but not built, noticed
by Joerg Sonnenberger
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.6 2005/07/21 20:58:21 rpaulo Exp $
d17 1
a17 1
     lrint.S
@


1.6
log
@Add i387 FPU routines for log2(3) and log2f(3).

ok christos@@
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.5 2004/07/01 17:30:48 drochner Exp $
d9 1
a9 1
SRCS=e_acos.S e_asin.S e_atan2.S e_exp.S e_expf.S e_fmod.S e_log.S \
@


1.5
log
@provide an assembler implementation of lrint() for i386 and amd64
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.4 2002/08/19 14:55:16 lukem Exp $
d10 7
a16 7
     e_logf.S e_log10.S e_log10f.S e_remainder.S e_remainderf.S \
     e_scalb.S e_scalbf.S e_sqrt.S e_sqrtf.S s_atan.S s_atanf.S \
     s_ceil.S s_ceilf.S s_copysign.S s_copysignf.S s_cos.S s_cosf.S \
     s_finite.S s_finitef.S s_floor.S s_floorf.S s_ilogb.S s_ilogbf.S \
     s_log1p.S s_log1pf.S s_logb.S s_logbf.S s_rint.S s_rintf.S \
     s_scalbn.S s_scalbnf.S s_significand.S s_significandf.S s_sin.S \
     s_sinf.S s_tan.S s_tanf.S \
@


1.5.2.1
log
@Pull up revision 1.7 via patch (requested by drochner in ticket #643):
activate e_atan2f.S which was there forever but not built, noticed
by Joerg Sonnenberger
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.5 2004/07/01 17:30:48 drochner Exp $
d9 1
a9 1
SRCS=e_acos.S e_asin.S e_atan2.S e_atan2f.S e_exp.S e_expf.S e_fmod.S e_log.S \
@


1.4
log
@Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of the
Makefile (before including <bsd.own.mk>)
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.3 2001/12/28 01:32:39 lukem Exp $
d16 2
a17 1
     s_sinf.S s_tan.S s_tanf.S
@


1.3
log
@* Add user-controlled mk.conf variables
	- SHLIBDIR	Location to install shared libraries if ${USE_SHLIBDIR}
			is "yes".  Defaults to "/usr/lib".

	- USE_SHLIBDIR	If "yes", install shared libraries in ${SHLIBDIR}
			instead of ${LIBDIR}.  Defaults to "no".
			Sets ${_LIBSODIR} to the appropriate value.
			This may be set by individual Makefiles as well.

	- SHLINKDIR	Location of shared linker.  Defaults to "/usr/libexec".
			If != "/usr/libexec", change the dynamic-linker
			encoded in shared programs

* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
	libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
	libtermcap libutil libz

* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
  to ${_LIBSODIR}/${LIB}.so* for compatibility.

* Always install /sbin/init statically (for now)


The net effect of these changes depends on how the variables are set:

  1.)	If nothing is set or changed, there is no change from the
	current behaviour:
		- Static /bin, /sbin, and bits of /usr/*
		- Dynamic rest
		- Shared linker is /usr/libexec/ld*so

  2.)	If the following make variables are set:
		LDSTATIC=
		SHLINKDIR=/lib
		SHLIBDIR=/lib
	Then the behaviour becomes:
		- Dynamic tools
		- .so libraries used by /bin and /sbin are installed to /lib,
		  with symlinks from /usr/lib/lib*so to -> /lib/lib*so
		  where appropriate
		- Shared linker is /lib/ld*so

  3.)	As per 2.), but add the following variable:
		USE_SHLIBDIR=yes
	This forces all .so's to be instaleld in /lib (with compat
	symlinks), not just those tagged by their Makefiles to be.
	Again, compat symlinks are installed
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.2 2001/12/12 00:51:04 tv Exp $
d5 2
a7 1
USE_SHLIBDIR=	yes
@


1.2
log
@Readability cleanups; MKfoo=no -> NOfoo.
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.1 1999/12/13 09:36:29 christos Exp $
d6 1
@


1.1
log
@Makefile and shared library for libm387.
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.51 1999/08/22 18:28:37 is Exp $
d4 3
a6 2
NOLINT=yes
LIB=	m387
@


1.1.2.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#  $NetBSD: Makefile,v 1.1 1999/12/13 09:36:29 christos Exp $
@
