Part II. Link everything -static since that's what want for crunchgen
later on.
This commit is contained in:
parent
e123fd0f5a
commit
9b64288b04
@ -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 @@ MKMAN= no
|
||||
# Need -lutil for: logout, logwtmp, login_tty
|
||||
DPADD= ${LIBUTIL}
|
||||
LDADD= -lutil
|
||||
LDSTATIC?=-static
|
||||
|
||||
SRCDIR= ${.CURDIR}/../../../sbin/init
|
||||
CPPFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
|
||||
|
@ -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
|
||||
|
@ -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 @@ SRCS= ch.c command.c decode.c help.c input.c line.c linenum.c main.c \
|
||||
ttyin.c
|
||||
DPADD= ${LIBTERMCAP}
|
||||
LDADD= -ltermcap
|
||||
LDSTATIC?=-static
|
||||
CPPFLAGS+=-I${.CURDIR}
|
||||
COPTS+= -Os
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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 @@ SRCS= args.c conv.c dd.c misc.c position.c
|
||||
|
||||
CPPFLAGS+= -DNO_CONV -I${SRCDIR}
|
||||
COPTS+= -Os
|
||||
LDSTATIC?=-static
|
||||
|
||||
all: ${PROG}
|
||||
|
||||
|
@ -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+= -DNO_EDITCOMPLETE -DNO_ABOUT -I${SRCDIR}
|
||||
CPPFLAGS+= -DINET6
|
||||
.endif
|
||||
COPTS+= -Os
|
||||
LDSTATIC?=-static
|
||||
|
||||
all: ${PROG}
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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+= -DINET_ONLY -I${SRCDIR}
|
||||
CPPFLAGS+= -DINET6
|
||||
.endif
|
||||
COPTS+= -Os
|
||||
LDSTATIC?=-static
|
||||
|
||||
all: ${PROG}
|
||||
|
||||
|
@ -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 @@ SRCDIR= ${.CURDIR}/../../../usr.bin/netstat
|
||||
CPPFLAGS+= -DSMALL -I${SRCDIR}
|
||||
COPTS+= -Os
|
||||
LDADD= -lkvm
|
||||
LDSTATIC?=-static
|
||||
DPADD= ${LIBKVM}
|
||||
MKMAN= no
|
||||
BINOWN= root
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 @@ NOMAN= yes
|
||||
CPPFLAGS+=-I${SRCDIR}
|
||||
CPPFLAGS+=-DINET6
|
||||
COPTS+= -Os
|
||||
LDSTATIC?=-static
|
||||
|
||||
# KAME scope id hack
|
||||
CPPFLAGS+=-DKAME_SCOPEID
|
||||
|
@ -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+= -DSMALL -I${SRCDIR}
|
||||
CPPFLAGS+= -DINET6
|
||||
.endif
|
||||
COPTS+= -Os
|
||||
LDSTATIC?=-static
|
||||
|
||||
BINOWN= root
|
||||
BINMODE=4555
|
||||
|
@ -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 @@ SRCDIR= ${.CURDIR}/../../../bin/sh
|
||||
|
||||
CPPFLAGS+= -I${SRCDIR} -DSMALL
|
||||
COPTS+= -Os
|
||||
LDSTATIC?=-static
|
||||
|
||||
.PATH: ${SRCDIR} ${SRCDIR}/bltin ${SRCDIR}/../../usr.bin/printf ${SRCDIR}/../../bin/test
|
||||
|
||||
|
@ -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 @@ SRCS= zcat.c gzio.c
|
||||
SRCDIR= ${.CURDIR}/../../../lib/libz
|
||||
CPPFLAGS+= -I${SRCDIR}
|
||||
COPTS+= -Os
|
||||
LDSTATIC?=-static
|
||||
|
||||
DPADD+= ${LIBZ}
|
||||
LDADD+= -lz
|
||||
|
Loading…
Reference in New Issue
Block a user