Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils Part II. Link everything -static since that's...



details:   https://anonhg.NetBSD.org/src/rev/2700e02c2cb6
branches:  trunk
changeset: 486291:2700e02c2cb6
user:      matt <matt%NetBSD.org@localhost>
date:      Thu May 18 01:10:22 2000 +0000

description:
Part II.  Link everything -static since that's what want for crunchgen
later on.

diffstat:

 distrib/utils/init_s/Makefile      |  3 ++-
 distrib/utils/mksunbootcd/Makefile |  4 +++-
 distrib/utils/more/Makefile        |  3 ++-
 distrib/utils/ssh/Makefile         |  3 ++-
 distrib/utils/tls/Makefile         |  3 ++-
 distrib/utils/x_dd/Makefile        |  3 ++-
 distrib/utils/x_ftp/Makefile       |  3 ++-
 distrib/utils/x_gzip/Makefile      |  3 ++-
 distrib/utils/x_ifconfig/Makefile  |  3 ++-
 distrib/utils/x_netstat/Makefile   |  3 ++-
 distrib/utils/x_ping/Makefile      |  3 ++-
 distrib/utils/x_ping6/Makefile     |  3 ++-
 distrib/utils/x_route/Makefile     |  3 ++-
 distrib/utils/x_sh/Makefile        |  3 ++-
 distrib/utils/zcat/Makefile        |  3 ++-
 15 files changed, 31 insertions(+), 15 deletions(-)

diffs (246 lines):

diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/init_s/Makefile
--- a/distrib/utils/init_s/Makefile     Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/init_s/Makefile     Thu May 18 01:10:22 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2000/05/18 00:43:05 matt Exp $
+# $NetBSD: Makefile,v 1.10 2000/05/18 01:10:22 matt Exp $
 # Build a "small init" (i.e. for boot media)
 
 PROG=  init
@@ -7,6 +7,7 @@
 # Need -lutil for: logout, logwtmp, login_tty
 DPADD= ${LIBUTIL}
 LDADD= -lutil
+LDSTATIC?=-static
 
 SRCDIR= ${.CURDIR}/../../../sbin/init
 CPPFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/mksunbootcd/Makefile
--- a/distrib/utils/mksunbootcd/Makefile        Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/mksunbootcd/Makefile        Thu May 18 01:10:22 2000 +0000
@@ -1,9 +1,11 @@
-#      $NetBSD: Makefile,v 1.2 1999/05/13 12:55:37 ross Exp $
+#      $NetBSD: Makefile,v 1.3 2000/05/18 01:10:24 matt Exp $
 
 PROG=  mksunbootcd
 MAN=   mksunbootcd.1
 WARNS= 1
 
+LDSTATIC?=-static
+
 .include <bsd.prog.mk>
 
 test:  mksunbootcd
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/more/Makefile
--- a/distrib/utils/more/Makefile       Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/more/Makefile       Thu May 18 01:10:22 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2000/05/18 00:43:06 matt Exp $
+#      $NetBSD: Makefile,v 1.9 2000/05/18 01:10:25 matt Exp $
 #
 #      @(#)Makefile    8.1 (Berkeley) 6/6/93
 
@@ -10,6 +10,7 @@
        ttyin.c
 DPADD= ${LIBTERMCAP}
 LDADD= -ltermcap
+LDSTATIC?=-static
 CPPFLAGS+=-I${.CURDIR}
 COPTS+= -Os
 
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/ssh/Makefile
--- a/distrib/utils/ssh/Makefile        Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/ssh/Makefile        Thu May 18 01:10:22 2000 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.3 2000/05/18 00:43:06 matt Exp $
+# $NetBSD: Makefile,v 1.4 2000/05/18 01:10:25 matt Exp $
 # Small Shell (i.e. for boot media)
 
 PROG=  ssh
 MKMAN= no
 COPTS+= -Os
+LDSTATIC?=-static
 
 all: ${PROG}
 
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/tls/Makefile
--- a/distrib/utils/tls/Makefile        Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/tls/Makefile        Thu May 18 01:10:22 2000 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.3 2000/05/18 00:43:06 matt Exp $
+# $NetBSD: Makefile,v 1.4 2000/05/18 01:10:26 matt Exp $
 # Tiny ls  (i.e. for boot media)
 
 PROG=  tls
 MKMAN= no
 COPTS+= -Os
+LDSTATIC?=-static
 
 all: ${PROG}
 
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/x_dd/Makefile
--- a/distrib/utils/x_dd/Makefile       Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/x_dd/Makefile       Thu May 18 01:10:22 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2000/05/18 00:43:06 matt Exp $
+# $NetBSD: Makefile,v 1.10 2000/05/18 01:10:27 matt Exp $
 # Build a smaller dd (i.e. for boot media)
 
 PROG=  dd
@@ -11,6 +11,7 @@
 
 CPPFLAGS+= -DNO_CONV -I${SRCDIR}
 COPTS+= -Os
+LDSTATIC?=-static
 
 all: ${PROG}
 
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/x_ftp/Makefile
--- a/distrib/utils/x_ftp/Makefile      Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/x_ftp/Makefile      Thu May 18 01:10:22 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2000/05/18 00:43:07 matt Exp $
+# $NetBSD: Makefile,v 1.9 2000/05/18 01:10:27 matt Exp $
 # Build a smaller ftp (i.e. for boot media)
 
 PROG=  ftp
@@ -18,6 +18,7 @@
 CPPFLAGS+= -DINET6
 .endif
 COPTS+= -Os
+LDSTATIC?=-static
 
 all: ${PROG}
 
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/x_gzip/Makefile
--- a/distrib/utils/x_gzip/Makefile     Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/x_gzip/Makefile     Thu May 18 01:10:22 2000 +0000
@@ -1,8 +1,9 @@
-#      $NetBSD: Makefile,v 1.2 2000/05/18 00:43:07 matt Exp $
+#      $NetBSD: Makefile,v 1.3 2000/05/18 01:10:28 matt Exp $
 
 PROG=  gzip
 LDADD= -lz
 DPADD= ${LIBZ}
 COPTS+= -Os
+LDSTATIC?=-static
 
 .include <bsd.prog.mk>
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/x_ifconfig/Makefile
--- a/distrib/utils/x_ifconfig/Makefile Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/x_ifconfig/Makefile Thu May 18 01:10:22 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2000/05/18 00:43:07 matt Exp $
+# $NetBSD: Makefile,v 1.12 2000/05/18 01:10:28 matt Exp $
 # Build a smaller ifconfig (i.e. for boot media)
 
 PROG=  ifconfig
@@ -10,6 +10,7 @@
 CPPFLAGS+= -DINET6
 .endif
 COPTS+= -Os
+LDSTATIC?=-static
 
 all: ${PROG}
 
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/x_netstat/Makefile
--- a/distrib/utils/x_netstat/Makefile  Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/x_netstat/Makefile  Thu May 18 01:10:22 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2000/05/18 00:43:07 matt Exp $
+#      $NetBSD: Makefile,v 1.7 2000/05/18 01:10:28 matt Exp $
 
 PROG=  netstat
 SRCS=  if.c inet.c main.c mbuf.c route.c
@@ -7,6 +7,7 @@
 CPPFLAGS+= -DSMALL -I${SRCDIR}
 COPTS+= -Os
 LDADD= -lkvm
+LDSTATIC?=-static
 DPADD= ${LIBKVM}
 MKMAN= no
 BINOWN=        root
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/x_ping/Makefile
--- a/distrib/utils/x_ping/Makefile     Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/x_ping/Makefile     Thu May 18 01:10:22 2000 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2000/05/18 00:43:07 matt Exp $
+# $NetBSD: Makefile,v 1.3 2000/05/18 01:10:29 matt Exp $
 # Build ping without IPSEC
 
 SRCDIR= ${.CURDIR}/../../../sbin/ping
 PROG=  ping
 MKMAN= no
 LDADD= -lm
+LDSTATIC?=-static
 CPPFLAGS+= -I${SRCDIR}
 COPTS+= -Os
 
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/x_ping6/Makefile
--- a/distrib/utils/x_ping6/Makefile    Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/x_ping6/Makefile    Thu May 18 01:10:22 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/05/18 00:43:08 matt Exp $
+# $NetBSD: Makefile,v 1.3 2000/05/18 01:10:30 matt Exp $
 # Build ping6 without IPSEC
 
 SRCDIR= ${.CURDIR}/../../../sbin/ping6
@@ -8,6 +8,7 @@
 CPPFLAGS+=-I${SRCDIR}
 CPPFLAGS+=-DINET6
 COPTS+= -Os
+LDSTATIC?=-static
 
 # KAME scope id hack
 CPPFLAGS+=-DKAME_SCOPEID
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/x_route/Makefile
--- a/distrib/utils/x_route/Makefile    Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/x_route/Makefile    Thu May 18 01:10:22 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2000/05/18 00:43:08 matt Exp $
+#      $NetBSD: Makefile,v 1.9 2000/05/18 01:10:30 matt Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/5/93
 
 PROG=  route
@@ -11,6 +11,7 @@
 CPPFLAGS+= -DINET6
 .endif
 COPTS+= -Os
+LDSTATIC?=-static
 
 BINOWN=        root
 BINMODE=4555
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/x_sh/Makefile
--- a/distrib/utils/x_sh/Makefile       Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/x_sh/Makefile       Thu May 18 01:10:22 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2000/05/18 00:43:08 matt Exp $
+#      $NetBSD: Makefile,v 1.13 2000/05/18 01:10:31 matt Exp $
 # Build a smaller sh (e.g. for boot media)
 
 .include <bsd.own.mk>
@@ -9,6 +9,7 @@
 
 CPPFLAGS+= -I${SRCDIR} -DSMALL
 COPTS+= -Os
+LDSTATIC?=-static
 
 .PATH: ${SRCDIR} ${SRCDIR}/bltin ${SRCDIR}/../../usr.bin/printf ${SRCDIR}/../../bin/test
 
diff -r c200ffc40cb0 -r 2700e02c2cb6 distrib/utils/zcat/Makefile
--- a/distrib/utils/zcat/Makefile       Thu May 18 00:43:05 2000 +0000
+++ b/distrib/utils/zcat/Makefile       Thu May 18 01:10:22 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2000/05/18 00:43:09 matt Exp $
+# $NetBSD: Makefile,v 1.10 2000/05/18 01:10:31 matt Exp $
 # Small zcat (i.e. for install media)
 #
 # Note: gzio.c is compiled here so that crunchgen will assume
@@ -13,6 +13,7 @@
 SRCDIR= ${.CURDIR}/../../../lib/libz
 CPPFLAGS+= -I${SRCDIR}
 COPTS+= -Os
+LDSTATIC?=-static
 
 DPADD+=        ${LIBZ}
 LDADD+=        -lz



Home | Main Index | Thread Index | Old Index