Source-Changes-HG archive

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

[src/trunk]: src Use MKPRIVATELIB=yes instead of providing an empty libinstal...



details:   https://anonhg.NetBSD.org/src/rev/885f342f032f
branches:  trunk
changeset: 566881:885f342f032f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun May 23 02:24:50 2004 +0000

description:
Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)

diffstat:

 gnu/libexec/uucp/libunix/Makefile             |  10 ++--------
 gnu/libexec/uucp/libuuconf/Makefile           |  10 ++--------
 gnu/libexec/uucp/libuucp/Makefile             |  10 ++--------
 gnu/usr.bin/cvs/libcvs/Makefile               |   9 ++-------
 gnu/usr.bin/cvs/libdiff/Makefile              |   9 ++-------
 gnu/usr.bin/diffutils/lib/Makefile            |   9 ++-------
 gnu/usr.bin/gdb53/bfd/Makefile                |   8 ++------
 gnu/usr.bin/gdb53/libiberty/Makefile          |   9 ++-------
 gnu/usr.bin/gdb53/opcodes/Makefile            |   8 ++------
 gnu/usr.bin/gdb53/readline/Makefile           |   8 ++------
 gnu/usr.bin/gdb53/sim/ppc/Makefile            |  10 ++--------
 gnu/usr.bin/gettext/lib/Makefile              |   9 ++-------
 gnu/usr.bin/grep/lib/Makefile                 |   9 ++-------
 gnu/usr.bin/groff/src/libs/libbib/Makefile    |   9 ++-------
 gnu/usr.bin/groff/src/libs/libdriver/Makefile |   9 ++-------
 gnu/usr.bin/groff/src/libs/libgroff/Makefile  |   9 ++-------
 gnu/usr.bin/rcs/lib/Makefile                  |   9 ++-------
 gnu/usr.sbin/postfix/dns/Makefile             |   9 ++-------
 gnu/usr.sbin/postfix/global/Makefile          |   9 ++-------
 gnu/usr.sbin/postfix/masterlib/Makefile       |   9 ++-------
 gnu/usr.sbin/postfix/util/Makefile            |   9 ++-------
 gnu/usr.sbin/sendmail/libsm/Makefile          |   8 ++------
 gnu/usr.sbin/sendmail/libsmdb/Makefile        |   8 ++------
 gnu/usr.sbin/sendmail/libsmutil/Makefile      |   8 ++------
 lib/libtelnet/Makefile                        |   8 ++------
 usr.bin/audio/common/Makefile                 |   8 ++------
 usr.bin/ssh/libssh/Makefile                   |  10 ++--------
 usr.sbin/altq/libaltq/Makefile                |   9 ++-------
 usr.sbin/bootp/common/Makefile                |   9 ++-------
 usr.sbin/dhcp/common/Makefile                 |   9 ++-------
 usr.sbin/dhcp/dhcpctl/Makefile                |   9 ++-------
 usr.sbin/dhcp/dst/Makefile                    |   9 ++-------
 usr.sbin/dhcp/minires/Makefile                |   9 ++-------
 usr.sbin/dhcp/omapip/Makefile                 |   9 ++-------
 usr.sbin/ipf/libipf/Makefile                  |  10 ++--------
 usr.sbin/lpr/common_source/Makefile           |   9 ++-------
 usr.sbin/mopd/common/Makefile                 |   9 ++-------
 usr.sbin/pkg_install/lib/Makefile             |  14 ++++----------
 usr.sbin/racoon/libpfkey/Makefile             |   9 ++-------
 usr.sbin/sup/lib/Makefile                     |   9 ++-------
 usr.sbin/ypserv/common/Makefile               |   9 ++-------
 x11/bin/xedit/lisp/Makefile                   |   8 ++------
 x11/bin/xedit/mp/Makefile                     |   8 ++------
 x11/bin/xedit/re/Makefile                     |   8 ++------
 44 files changed, 90 insertions(+), 306 deletions(-)

diffs (truncated from 982 to 300 lines):

diff -r b71691b40e81 -r 885f342f032f gnu/libexec/uucp/libunix/Makefile
--- a/gnu/libexec/uucp/libunix/Makefile Sun May 23 02:24:06 2004 +0000
+++ b/gnu/libexec/uucp/libunix/Makefile Sun May 23 02:24:50 2004 +0000
@@ -1,11 +1,8 @@
-#      $NetBSD: Makefile,v 1.14 2002/09/19 03:09:31 lukem Exp $
+#      $NetBSD: Makefile,v 1.15 2004/05/23 02:24:50 lukem Exp $
 #
 # This subdirectory contains Unix specific support functions.
 
-NOLINT=                # defined
-NOMAN=         # defined
-NOPIC=         # defined
-NOPROFILE=     # defined
+MKPRIVATELIB=  yes
 
 LIB=           unix
 SRCS=          access.c addbas.c app3.c app4.c basnam.c bytfre.c cwd.c \
@@ -21,7 +18,4 @@
 CPPFLAGS+=     -I$(.CURDIR)/../common_sources \
                -DOWNER=\"$(owner)\" -DSBINDIR=\"$(sbindir)\"
 
-# only needed during build
-libinstall::
-
 .include <bsd.lib.mk>
diff -r b71691b40e81 -r 885f342f032f gnu/libexec/uucp/libuuconf/Makefile
--- a/gnu/libexec/uucp/libuuconf/Makefile       Sun May 23 02:24:06 2004 +0000
+++ b/gnu/libexec/uucp/libuuconf/Makefile       Sun May 23 02:24:50 2004 +0000
@@ -1,11 +1,8 @@
-#      $NetBSD: Makefile,v 1.14 2002/09/19 03:09:31 lukem Exp $
+#      $NetBSD: Makefile,v 1.15 2004/05/23 02:24:50 lukem Exp $
 #
 # This is the Makefile for the Taylor UUCP uuconf library
 
-NOLINT=                # defined
-NOMAN=         # defined
-NOPIC=         # defined
-NOPROFILE=     # defined
+MKPRIVATELIB=  yes
 
 LIB=           uuconf
 SRCS=          addblk.c addstr.c allblk.c alloc.c base.c bool.c callin.c \
@@ -25,7 +22,4 @@
                -DNEWCONFIGLIB=\"$(newconfigdir)\"\
                -DOLDCONFIGLIB=\"$(oldconfigdir)\"
 
-# only needed during build
-libinstall::
-
 .include <bsd.lib.mk>
diff -r b71691b40e81 -r 885f342f032f gnu/libexec/uucp/libuucp/Makefile
--- a/gnu/libexec/uucp/libuucp/Makefile Sun May 23 02:24:06 2004 +0000
+++ b/gnu/libexec/uucp/libuucp/Makefile Sun May 23 02:24:50 2004 +0000
@@ -1,18 +1,12 @@
-#      $NetBSD: Makefile,v 1.13 2002/09/19 03:09:31 lukem Exp $
+#      $NetBSD: Makefile,v 1.14 2004/05/23 02:24:50 lukem Exp $
 #
 # This is the Makefile for the libuucp subdirectory of Taylor UUCP
 
-NOLINT=                # defined
-NOMAN=         # defined
-NOPIC=         # defined
-NOPROFILE=     # defined
+MKPRIVATELIB=  yes
 
 LIB=           uucp
 SRCS=          buffer.c crc.c debug.c escape.c getopt.c getop1.c parse.c \
                spool.c status.c xfree.c xmall.c xreall.c getlin.c
 CPPFLAGS+=     -I$(.CURDIR)/../common_sources
 
-# only needed during build
-libinstall::
-
 .include <bsd.lib.mk>
diff -r b71691b40e81 -r 885f342f032f gnu/usr.bin/cvs/libcvs/Makefile
--- a/gnu/usr.bin/cvs/libcvs/Makefile   Sun May 23 02:24:06 2004 +0000
+++ b/gnu/usr.bin/cvs/libcvs/Makefile   Sun May 23 02:24:50 2004 +0000
@@ -1,8 +1,6 @@
-#      $NetBSD: Makefile,v 1.5 2002/09/19 03:09:34 lukem Exp $
+#      $NetBSD: Makefile,v 1.6 2004/05/23 02:24:50 lukem Exp $
 
-NOLINT=                # defined
-NOPIC=         # defined
-NOPROFILE=     # defined
+MKPRIVATELIB=  yes
 
 .include "${.CURDIR}/../Makefile.inc"
 
@@ -15,7 +13,4 @@
        md5.c regex.c savecwd.c sighandle.c stripslash.c xgetwd.c \
        yesno.c
 
-# only needed during build
-libinstall::
-
 .include <bsd.lib.mk>
diff -r b71691b40e81 -r 885f342f032f gnu/usr.bin/cvs/libdiff/Makefile
--- a/gnu/usr.bin/cvs/libdiff/Makefile  Sun May 23 02:24:06 2004 +0000
+++ b/gnu/usr.bin/cvs/libdiff/Makefile  Sun May 23 02:24:50 2004 +0000
@@ -1,8 +1,6 @@
-#      $NetBSD: Makefile,v 1.4 2001/12/12 23:46:45 lukem Exp $
+#      $NetBSD: Makefile,v 1.5 2004/05/23 02:24:50 lukem Exp $
 
-NOLINT=                # defined
-NOPIC=         # defined
-NOPROFILE=     # defined
+MKPRIVATELIB=  yes
 
 .include "${.CURDIR}/../Makefile.inc"
 
@@ -13,7 +11,4 @@
 
 SRCS !=        echo ${DIST}/*.c | sed -e s,${DIST}/,,g
 
-# only needed during build
-libinstall::
-
 .include <bsd.lib.mk>
diff -r b71691b40e81 -r 885f342f032f gnu/usr.bin/diffutils/lib/Makefile
--- a/gnu/usr.bin/diffutils/lib/Makefile        Sun May 23 02:24:06 2004 +0000
+++ b/gnu/usr.bin/diffutils/lib/Makefile        Sun May 23 02:24:50 2004 +0000
@@ -1,8 +1,6 @@
-#      $NetBSD: Makefile,v 1.1.1.1 2003/01/26 00:40:40 wiz Exp $
+#      $NetBSD: Makefile,v 1.2 2004/05/23 02:24:50 lukem Exp $
 
-NOLINT=                # defined
-NOPIC=         # defined
-NOPROFILE=     # defined
+MKPRIVATELIB=  yes
 
 .include "${.CURDIR}/../Makefile.inc"
 
@@ -16,7 +14,4 @@
        hard-locale.c imaxtostr.c offtostr.c prepargs.c posixver.c quotesys.c \
        regex.c setmode.c strftime.c umaxtostr.c xmalloc.c xstrtoumax.c
 
-# only needed during build
-libinstall::
-
 .include <bsd.lib.mk>
diff -r b71691b40e81 -r 885f342f032f gnu/usr.bin/gdb53/bfd/Makefile
--- a/gnu/usr.bin/gdb53/bfd/Makefile    Sun May 23 02:24:06 2004 +0000
+++ b/gnu/usr.bin/gdb53/bfd/Makefile    Sun May 23 02:24:50 2004 +0000
@@ -1,11 +1,9 @@
-#      $NetBSD: Makefile,v 1.3 2003/09/14 09:50:15 martin Exp $
+#      $NetBSD: Makefile,v 1.4 2004/05/23 02:24:50 lukem Exp $
 
 .include <bsd.own.mk>
 
 .if exists(${.CURDIR}/../arch/${MACHINE_ARCH}/defs.mk)
-MKPIC=no
-MKPROFILE=no
-MKLINT=no      # lint misses important ifdef magic on 64 bit archs
+MKPRIVATELIB=  yes
 
 TOP=           ${NETBSDSRCDIR}/gnu
 DIST=          ${TOP}/dist/gdb
@@ -20,8 +18,6 @@
                -DNETBSD_CORE \
                ${G_BFD_CPPFLAGS} 
 
-libinstall::
-
 .endif
 
 .include "../../Makefile.inc"
diff -r b71691b40e81 -r 885f342f032f gnu/usr.bin/gdb53/libiberty/Makefile
--- a/gnu/usr.bin/gdb53/libiberty/Makefile      Sun May 23 02:24:06 2004 +0000
+++ b/gnu/usr.bin/gdb53/libiberty/Makefile      Sun May 23 02:24:50 2004 +0000
@@ -1,10 +1,8 @@
-#      $NetBSD: Makefile,v 1.3 2003/09/14 09:50:15 martin Exp $
+#      $NetBSD: Makefile,v 1.4 2004/05/23 02:24:51 lukem Exp $
 
 .include <bsd.own.mk>
 
-MKPIC=no
-MKPROFILE=no  
-MKLINT=no      # lint misses important ifdef magic on 64 bit archs
+MKPRIVATELIB=  yes
 
 TOP=           ${NETBSDSRCDIR}/gnu
 DIST=          ${TOP}/dist/gdb
@@ -17,9 +15,6 @@
 getopt.c getopt1.c getruntime.c hashtab.c hex.c lbasename.c objalloc.c \
 obstack.c regex.c safe-ctype.c splay-tree.c xexit.c xstrdup.c xstrerror.c
 
-
-libinstall::
-
 .include "../../Makefile.inc"
 .include <bsd.lib.mk>
 
diff -r b71691b40e81 -r 885f342f032f gnu/usr.bin/gdb53/opcodes/Makefile
--- a/gnu/usr.bin/gdb53/opcodes/Makefile        Sun May 23 02:24:06 2004 +0000
+++ b/gnu/usr.bin/gdb53/opcodes/Makefile        Sun May 23 02:24:50 2004 +0000
@@ -1,11 +1,9 @@
-#      $NetBSD: Makefile,v 1.5 2003/09/26 19:45:48 skrll Exp $
+#      $NetBSD: Makefile,v 1.6 2004/05/23 02:24:51 lukem Exp $
 
 .include <bsd.own.mk>
 
 .if exists(${.CURDIR}/../arch/${MACHINE_ARCH}/defs.mk)
-MKPIC=no
-MKPROFILE=no  
-MKLINT=no      # lint misses important ifdef magic on 64 bit archs
+MKPRIVATELIB=  yes
 
 TOP=           ${NETBSDSRCDIR}/gnu
 DIST=          ${TOP}/dist/gdb
@@ -18,8 +16,6 @@
                -I${DIST}/include -I${DIST}/bfd -I${.CURDIR}/../bfd \
                -DHAVE_CONFIG_H
 
-libinstall::
-
 .endif
 
 .include "../../Makefile.inc"
diff -r b71691b40e81 -r 885f342f032f gnu/usr.bin/gdb53/readline/Makefile
--- a/gnu/usr.bin/gdb53/readline/Makefile       Sun May 23 02:24:06 2004 +0000
+++ b/gnu/usr.bin/gdb53/readline/Makefile       Sun May 23 02:24:50 2004 +0000
@@ -1,10 +1,8 @@
-#      $NetBSD: Makefile,v 1.3 2003/09/14 09:50:16 martin Exp $
+#      $NetBSD: Makefile,v 1.4 2004/05/23 02:24:51 lukem Exp $
 
 .include <bsd.own.mk>
 
-MKPIC=no
-MKPROFILE=no  
-MKLINT=no      # lint misses important ifdef magic on 64 bit archs
+MKPRIVATELIB=  yes
 
 TOP=           ${NETBSDSRCDIR}/gnu
 DIST=          ${TOP}/dist/gdb
@@ -18,8 +16,6 @@
 kill.c macro.c nls.c parens.c readline.c rltty.c search.c shell.c \
 signals.c terminal.c tilde.c undo.c util.c vi_mode.c xmalloc.c
 
-libinstall::
-
 .include "../../Makefile.inc"
 .include <bsd.lib.mk>
 
diff -r b71691b40e81 -r 885f342f032f gnu/usr.bin/gdb53/sim/ppc/Makefile
--- a/gnu/usr.bin/gdb53/sim/ppc/Makefile        Sun May 23 02:24:06 2004 +0000
+++ b/gnu/usr.bin/gdb53/sim/ppc/Makefile        Sun May 23 02:24:50 2004 +0000
@@ -1,8 +1,6 @@
-#      $NetBSD: Makefile,v 1.2 2004/04/02 13:12:35 mrg Exp $
+#      $NetBSD: Makefile,v 1.3 2004/05/23 02:24:51 lukem Exp $
 
-NOLINT=                # defined
-NOPIC=         # defined
-NOPROFILE=     # defined
+MKPRIVATELIB=  yes
 
 .include <bsd.own.mk>
 
@@ -19,10 +17,6 @@
        hw_init.c hw_core.c hw_pal.c hw_com.c hw_eeprom.c hw_opic.c hw_glue.c \
        hw_phb.c hw_ide.c options.c sim_calls.c callback.o targ-map.c
 
-all: libsim.a
-
-libinstall:
-
 .include <bsd.lib.mk>
 .include "../../Makefile.inc"
 
diff -r b71691b40e81 -r 885f342f032f gnu/usr.bin/gettext/lib/Makefile
--- a/gnu/usr.bin/gettext/lib/Makefile  Sun May 23 02:24:06 2004 +0000
+++ b/gnu/usr.bin/gettext/lib/Makefile  Sun May 23 02:24:50 2004 +0000
@@ -1,8 +1,6 @@
-#      $NetBSD: Makefile,v 1.3 2001/12/12 12:24:20 lukem Exp $
+#      $NetBSD: Makefile,v 1.4 2004/05/23 02:24:51 lukem Exp $
 
-NOLINT=                # defined
-NOPIC=         # defined
-NOPROFILE=     # defined
+MKPRIVATELIB=  yes
 
 .include <bsd.own.mk>
 
@@ -15,7 +13,4 @@
 
 .PATH: ${DIST}/gettext/lib
 
-# only needed during build
-libinstall::
-
 .include <bsd.lib.mk>
diff -r b71691b40e81 -r 885f342f032f gnu/usr.bin/grep/lib/Makefile
--- a/gnu/usr.bin/grep/lib/Makefile     Sun May 23 02:24:06 2004 +0000
+++ b/gnu/usr.bin/grep/lib/Makefile     Sun May 23 02:24:50 2004 +0000
@@ -1,8 +1,6 @@
-#      $NetBSD: Makefile,v 1.1 2003/01/26 23:53:47 wiz Exp $
+#      $NetBSD: Makefile,v 1.2 2004/05/23 02:24:51 lukem Exp $
 
-NOLINT=                # defined
-NOPIC=         # defined
-NOPROFILE=     # defined



Home | Main Index | Thread Index | Old Index