Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib Explicitly move setting of NOxxx and USE_SHLIBDIR to the...



details:   https://anonhg.NetBSD.org/src/rev/d4aafff684f1
branches:  trunk
changeset: 535458:d4aafff684f1
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Aug 19 14:55:14 2002 +0000

description:
Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of the
Makefile (before including <bsd.own.mk>)

diffstat:

 lib/libc/Makefile           |  5 +++--
 lib/libcrypt/Makefile       |  5 +++--
 lib/libedit/Makefile        |  5 +++--
 lib/libipsec/Makefile       |  5 +++--
 lib/libkvm/Makefile         |  5 +++--
 lib/libm/arch/i387/Makefile |  5 +++--
 lib/librmt/Makefile         |  7 ++++---
 lib/librpcsvc/Makefile      |  7 ++++---
 lib/libterm/Makefile        |  5 +++--
 lib/libutil/Makefile        |  5 +++--
 lib/liby/Makefile           |  5 +++--
 lib/libz/Makefile           |  7 ++++---
 12 files changed, 39 insertions(+), 27 deletions(-)

diffs (200 lines):

diff -r d36ae7d7b183 -r d4aafff684f1 lib/libc/Makefile
--- a/lib/libc/Makefile Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/libc/Makefile Mon Aug 19 14:55:14 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.106 2002/08/19 09:41:28 lukem Exp $
+#      $NetBSD: Makefile,v 1.107 2002/08/19 14:55:14 lukem Exp $
 #      @(#)Makefile    8.2 (Berkeley) 2/3/94
 #
 # All library objects contain sccsid strings by default; they may be
@@ -17,10 +17,11 @@
 # The Hesiod functions are always in libc. To choose that getpwent() and friends
 # actually call the Hesiod functions, put -DHESIOD on the CPPFLAGS line below.
 
+USE_SHLIBDIR=  yes
+
 .include <bsd.own.mk>
 
 LIB=           c
-USE_SHLIBDIR=  yes
 CPPFLAGS+=     -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT
 CPPFLAGS+=     -I${.CURDIR}/include
 
diff -r d36ae7d7b183 -r d4aafff684f1 lib/libcrypt/Makefile
--- a/lib/libcrypt/Makefile     Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/libcrypt/Makefile     Mon Aug 19 14:55:14 2002 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: Makefile,v 1.12 2002/05/24 04:02:48 itojun Exp $
+#      $NetBSD: Makefile,v 1.13 2002/08/19 14:55:15 lukem Exp $
+
+USE_SHLIBDIR=  yes
 
 LIB=   crypt
-USE_SHLIBDIR=  yes
 
 SRCS=  crypt.c md5crypt.c bcrypt.c blowfish.c
 
diff -r d36ae7d7b183 -r d4aafff684f1 lib/libedit/Makefile
--- a/lib/libedit/Makefile      Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/libedit/Makefile      Mon Aug 19 14:55:14 2002 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: Makefile,v 1.22 2002/03/18 16:20:36 christos Exp $
+#      $NetBSD: Makefile,v 1.23 2002/08/19 14:55:15 lukem Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/4/93
 
+USE_SHLIBDIR=  yes
+
 WARNS= 3
 LIB=   edit
-USE_SHLIBDIR=  yes
 
 OSRCS= chared.c common.c el.c emacs.c fcns.c help.c hist.c key.c map.c \
        parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c
diff -r d36ae7d7b183 -r d4aafff684f1 lib/libipsec/Makefile
--- a/lib/libipsec/Makefile     Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/libipsec/Makefile     Mon Aug 19 14:55:14 2002 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2002/08/19 09:41:31 lukem Exp $
+# $NetBSD: Makefile,v 1.8 2002/08/19 14:55:15 lukem Exp $
+
+USE_SHLIBDIR=  yes
 
 LIB=   ipsec
-USE_SHLIBDIR=  yes
 CFLAGS+=-g
 CPPFLAGS+=-DIPSEC_DEBUG -DIPSEC -DINET6 -I${.CURDIR} -I. -DYY_NO_UNPUT
 
diff -r d36ae7d7b183 -r d4aafff684f1 lib/libkvm/Makefile
--- a/lib/libkvm/Makefile       Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/libkvm/Makefile       Mon Aug 19 14:55:14 2002 +0000
@@ -1,8 +1,9 @@
-#      $NetBSD: Makefile,v 1.37 2001/12/28 01:32:39 lukem Exp $
+#      $NetBSD: Makefile,v 1.38 2002/08/19 14:55:16 lukem Exp $
 #      from: @(#)Makefile      8.1 (Berkeley) 6/4/93
 
+USE_SHLIBDIR=  yes
+
 LIB=   kvm
-USE_SHLIBDIR=  yes
 CPPFLAGS+=-DLIBC_SCCS
 
 SRCS=  kvm.c kvm_file.c kvm_getloadavg.c kvm_proc.c
diff -r d36ae7d7b183 -r d4aafff684f1 lib/libm/arch/i387/Makefile
--- a/lib/libm/arch/i387/Makefile       Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/libm/arch/i387/Makefile       Mon Aug 19 14:55:14 2002 +0000
@@ -1,9 +1,10 @@
-#  $NetBSD: Makefile,v 1.3 2001/12/28 01:32:39 lukem Exp $
+#  $NetBSD: Makefile,v 1.4 2002/08/19 14:55:16 lukem Exp $
 #
 
 NOLINT=                # defined
+USE_SHLIBDIR=  yes
+
 LIB=           m387
-USE_SHLIBDIR=  yes
 
 SRCS=e_acos.S e_asin.S e_atan2.S e_exp.S e_expf.S e_fmod.S e_log.S \
      e_logf.S e_log10.S e_log10f.S e_remainder.S e_remainderf.S \
diff -r d36ae7d7b183 -r d4aafff684f1 lib/librmt/Makefile
--- a/lib/librmt/Makefile       Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/librmt/Makefile       Mon Aug 19 14:55:14 2002 +0000
@@ -1,11 +1,12 @@
-#      $NetBSD: Makefile,v 1.7 2001/12/12 00:51:05 tv Exp $
+#      $NetBSD: Makefile,v 1.8 2002/08/19 14:55:16 lukem Exp $
+
+NOPIC=         # defined
+NOPROFILE=     # defined
 
 LIB=           rmt
 SRCS=          rmtlib.c
 MAN=           rmtops.3
 
 CPPFLAGS+=     -D_REENTRANT
-NOPIC=         # defined
-NOPROFILE=     # defined
 
 .include <bsd.lib.mk>
diff -r d36ae7d7b183 -r d4aafff684f1 lib/librpcsvc/Makefile
--- a/lib/librpcsvc/Makefile    Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/librpcsvc/Makefile    Mon Aug 19 14:55:14 2002 +0000
@@ -1,4 +1,7 @@
-#      $NetBSD: Makefile,v 1.35 2002/01/29 11:22:25 tv Exp $
+#      $NetBSD: Makefile,v 1.36 2002/08/19 14:55:16 lukem Exp $
+
+NOMAN=         # defined
+NOPIC=         # defined
 
 RPCSRCS=       bootparam_prot.x klm_prot.x mount.x nfs_prot.x\
                nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x\
@@ -11,8 +14,6 @@
 INCSDIR=       /usr/include/rpcsvc
 
 LIB=           rpcsvc
-NOMAN=         # defined
-NOPIC=         # defined
 
 .include <bsd.lib.mk>
 
diff -r d36ae7d7b183 -r d4aafff684f1 lib/libterm/Makefile
--- a/lib/libterm/Makefile      Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/libterm/Makefile      Mon Aug 19 14:55:14 2002 +0000
@@ -1,8 +1,9 @@
-#      $NetBSD: Makefile,v 1.26 2002/02/26 00:24:59 lukem Exp $
+#      $NetBSD: Makefile,v 1.27 2002/08/19 14:55:17 lukem Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/4/93
 
+USE_SHLIBDIR=  yes
+
 LIB=   termcap
-USE_SHLIBDIR=  yes
 CPPFLAGS+=-I${.CURDIR} -DCM_N -DCM_GT -DCM_B -DCM_D
 SRCS=  termcap.c tgoto.c tputs.c
 
diff -r d36ae7d7b183 -r d4aafff684f1 lib/libutil/Makefile
--- a/lib/libutil/Makefile      Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/libutil/Makefile      Mon Aug 19 14:55:14 2002 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile,v 1.34 2002/08/19 09:41:34 lukem Exp $
+#      $NetBSD: Makefile,v 1.35 2002/08/19 14:55:18 lukem Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/4/93
 
+USE_SHLIBDIR=  yes
+
 .include <bsd.own.mk>
 
 LIB=   util
-USE_SHLIBDIR=  yes
 CPPFLAGS+=-DLIBC_SCCS
 SRCS=  fparseln.c getbootfile.c getmaxpartitions.c getrawpartition.c \
        humanize_number.c login.c login_cap.c login_tty.c \
diff -r d36ae7d7b183 -r d4aafff684f1 lib/liby/Makefile
--- a/lib/liby/Makefile Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/liby/Makefile Mon Aug 19 14:55:14 2002 +0000
@@ -1,8 +1,9 @@
-#      $NetBSD: Makefile,v 1.9 2001/12/12 00:51:06 tv Exp $
+#      $NetBSD: Makefile,v 1.10 2002/08/19 14:55:18 lukem Exp $
 #      from: @(#)Makefile      8.1 (Berkeley) 6/4/93
 
+NOPIC=         # defined
+
 LIB=           y
 SRCS=          main.c yyerror.c
-NOPIC=         # defined
 
 .include <bsd.lib.mk>
diff -r d36ae7d7b183 -r d4aafff684f1 lib/libz/Makefile
--- a/lib/libz/Makefile Mon Aug 19 14:51:58 2002 +0000
+++ b/lib/libz/Makefile Mon Aug 19 14:55:14 2002 +0000
@@ -1,8 +1,9 @@
-#      $NetBSD: Makefile,v 1.16 2001/12/28 01:32:40 lukem Exp $
+#      $NetBSD: Makefile,v 1.17 2002/08/19 14:55:18 lukem Exp $
+
+NOMAN=         # defined
+USE_SHLIBDIR=  yes
 
 LIB=           z
-NOMAN=         # defined
-USE_SHLIBDIR=  yes
 
 SRCS=  adler32.c compress.c crc32.c deflate.c gzio.c infblock.c \
        infcodes.c inffast.c inflate.c inftrees.c infutil.c trees.c uncompr.c \



Home | Main Index | Thread Index | Old Index