Convert usr.sbin to LIBADD

Reduce overlinking
This commit is contained in:
Baptiste Daroussin 2014-11-25 16:57:27 +00:00
parent c97038fa5a
commit c6db8143ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275054
163 changed files with 178 additions and 434 deletions

View File

@ -74,7 +74,6 @@ MAN= acpidb.8
WARNS?= 3
CFLAGS+= -DACPI_EXEC_APP -fno-strict-aliasing
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
LIBADD= pthread
.include <bsd.prog.mk>

View File

@ -29,13 +29,6 @@ CFLAGS+= -DYES_HESIOD
CFLAGS+= -DHOST_CPU=\"${MACHINE_CPUARCH}\" -DHOST_ARCH=\"${MACHINE_ARCH}\"
.if exists(${.OBJDIR}/../libamu)
LIBAMUDIR= ${.OBJDIR}/../libamu
.else
LIBAMUDIR= ${.CURDIR}/../libamu
.endif
LIBAMU= ${LIBAMUDIR}/libamu.a
RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen
MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x
NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x

View File

@ -27,8 +27,7 @@ SRCS+= srvr_amfs_auto.c srvr_nfs.c
CFLAGS+= -I${.CURDIR}/../../../contrib/amd/amd \
-I${DESTDIR}/usr/include/rpcsvc
DPADD= ${LIBAMU} ${LIBWRAP}
LDADD= ${LIBAMU} -lwrap
LIBADD= amu wrap
CLEANFILES+= conf_parse.c conf_parse.h conf_tok.c

View File

@ -14,7 +14,6 @@ SRCS= amq.c amq_clnt.c amq_xdr.c
CFLAGS+= -I${.CURDIR}/../../../contrib/amd/amq
DPADD= ${LIBAMU}
LDADD= ${LIBAMU}
LIBADD= amu
.include <bsd.prog.mk>

View File

@ -10,12 +10,11 @@
PROG= fixmount
MAN= fixmount.8
SRCS= fixmount.c
SRCS= fixmount.c
# These would be links created by the GNU-style configure
SRCS+= checkmount_bsd44.c
DPADD= ${LIBAMU} ${LIBRPCSVC}
LDADD= ${LIBAMU} -lrpcsvc
LIBADD+= amu rpcsvc
.include <bsd.prog.mk>

View File

@ -15,8 +15,7 @@ SRCS+= wr_bparam.c wr_dumpset.c wr_exportfs.c wr_fstab.c
CFLAGS+= -I${.CURDIR}/../../../contrib/amd/fsinfo
DPADD= ${LIBAMU}
LDADD= ${LIBAMU}
LIBADD= amu
CLEANFILES+= fsi_gram.c fsi_gram.h fsi_lex.c

View File

@ -13,7 +13,6 @@ SRCS= hlfsd.c homedir.c nfs_prot_svc.c stubs.c
CFLAGS+= -I${.CURDIR}/../../../contrib/amd/hlfsd
DPADD= ${LIBAMU}
LDADD= ${LIBAMU}
LIBADD= amu
.include <bsd.prog.mk>

View File

@ -10,7 +10,6 @@
PROG= mk-amd-map
MAN= mk-amd-map.8
DPADD= ${LIBAMU}
LDADD= ${LIBAMU}
LIBADD= amu
.include <bsd.prog.mk>

View File

@ -14,7 +14,6 @@ SRCS= pawd.c amq_clnt.c amq_xdr.c
CFLAGS+= -I${.CURDIR}/../../../contrib/amd/amq
DPADD= ${LIBAMU}
LDADD= ${LIBAMU}
LIBADD= amu
.include <bsd.prog.mk>

View File

@ -10,7 +10,6 @@
PROG= wire-test
MAN= wire-test.8
DPADD= ${LIBAMU}
LDADD= ${LIBAMU}
LIBADD= amu
.include <bsd.prog.mk>

View File

@ -6,7 +6,6 @@ MAN= ancontrol.8
WARNS?= 3
CFLAGS+= -DANCACHE -I${.CURDIR}/../../sys
DPADD= ${LIBMD}
LDADD= -lmd
LIBADD= md
.include <bsd.prog.mk>

View File

@ -7,8 +7,7 @@ SRCS= apmd.c apmdlex.l apmdparse.y y.tab.h
WARNS?= 3
DPADD= ${LIBL}
LDADD= -ll
LIBADD= l
CFLAGS+= -I${.CURDIR}

View File

@ -4,7 +4,6 @@ PROG= asf
SRCS= asf.c asf_kld.c asf_kvm.c asf_prog.c
MAN= asf.8
DPADD= ${LIBKVM}
LDADD= -lkvm
LIBADD= kvm
.include <bsd.prog.mk>

View File

@ -10,8 +10,7 @@ CFLAGS+= -I${OPENBSMDIR}
PROG= audit
MAN= audit.8
DPADD= ${LIBBSM}
LDADD= -lbsm
LIBADD= bsm
WARNS?= 5

View File

@ -11,8 +11,7 @@ PROG= auditd
SRCS= auditd.c audit_warn.c auditd_fbsd.c
MAN= auditd.8
DPADD= ${LIBAUDITD} ${LIBBSM}
LDADD= -lauditd -lbsm
LIBADD= auditd bsm
WARNS?= 3

View File

@ -21,10 +21,7 @@ SRCS+= sandbox.c sender.c subr.c
SRCS+= token.l trail.c
MAN= auditdistd.8 auditdistd.conf.5
DPADD= ${LIBL} ${LIBPTHREAD} ${LIBUTIL}
LDADD= -ll -lpthread -lutil
DPADD+= ${LIBCRYPTO} ${LIBSSL}
LDADD+= -lcrypto -lssl
LIBADD+= l pthread util crypto ssl
YFLAGS+=-v

View File

@ -10,8 +10,7 @@ CFLAGS+= -I${OPENBSMDIR}
PROG= auditreduce
MAN= auditreduce.1
DPADD= ${LIBBSM}
LDADD= -lbsm
LIBADD= bsm
WARNS?= 3

View File

@ -13,8 +13,7 @@ SRCS= authpf.c
# XXX ALTQ:
CFLAGS+= -DENABLE_ALTQ
LDADD+= -lm -lmd -lutil
DPADD+= ${LIBM} ${LIBMD} ${LIBUTIL}
LIBADD= m md util
WARNS?= 3

View File

@ -16,8 +16,7 @@ CFLAGS+=-I${.CURDIR}/../../sys/fs/autofs
MAN= automount.8 automountd.8 autounmountd.8 auto_master.5
DPADD= ${LIBUTIL}
LDADD= -lutil
LIBADD= util
# Needed for getmntopts.c
MOUNT= ${.CURDIR}/../../sbin/mount

View File

@ -4,7 +4,7 @@
PROG= bhyve
DEBUG_FLAGS= -g -O0
DEBUG_FLAGS= -g -O0
MAN= bhyve.8
@ -43,8 +43,7 @@ SRCS= \
.PATH: ${.CURDIR}/../../sys/amd64/vmm
SRCS+= vmm_instruction_emul.c
DPADD= ${LIBVMMAPI} ${LIBMD} ${LIBUTIL} ${LIBPTHREAD}
LDADD= -lvmmapi -lmd -lutil -lpthread
LIBADD= vmmapi md util pthread
WARNS?= 2

View File

@ -7,8 +7,7 @@ SRCS= bhyvectl.c
MAN=
DPADD= ${LIBVMMAPI} ${LIBUTIL}
LDADD= -lvmmapi -lutil
LIBADD= vmmapi util
WARNS?= 3

View File

@ -4,8 +4,7 @@ PROG= bhyveload
SRCS= bhyveload.c
MAN= bhyveload.8
DPADD+= ${LIBVMMAPI} ${LIBUTIL}
LDADD+= -lvmmapi -lutil
LIBADD= vmmapi util
WARNS?= 3

View File

@ -2,7 +2,6 @@
PROG= ath3kfw
MAN= ath3kfw.8
DPADD+= ${LIBUSB}
LDADD+= -lusb
LIBADD+= usb
.include <bsd.prog.mk>

View File

@ -5,7 +5,6 @@ PROG= bt3cfw
MAN= bt3cfw.8
WARNS?= 2
DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph
LIBADD+= netgraph
.include <bsd.prog.mk>

View File

@ -9,7 +9,6 @@ SRCS= bthidcontrol.c hid.c lexer.l parser.y sdp.c
WARNS?= 1
CFLAGS+= -DBTHIDCONTROL=1 -I${.CURDIR}/../bthidd
DPADD= ${LIBBLUETOOTH} ${LIBSDP} ${LIBUSBHID}
LDADD= -lbluetooth -lsdp -lusbhid
LIBADD+= bluetooth sdp usbhid
.include <bsd.prog.mk>

View File

@ -10,8 +10,7 @@ SRCS= bthidd.c client.c hid.c kbd.c lexer.l parser.y server.c \
CFLAGS+= -I${.CURDIR}
DEBUG_FLAGS= -g
DPADD= ${LIBBLUETOOTH} ${LIBUSBHID}
LDADD= -lbluetooth -lusbhid
LIBADD+= bluetooth usbhid
NO_WMISSING_VARIABLE_DECLARATIONS=

View File

@ -7,7 +7,6 @@ SRCS= btpand.c bnep.c channel.c client.c event.c packet.c server.c sdp.c tap.c
WARNS?= 3
DPADD+= ${LIBBLUETOOTH} ${LIBSDP} ${LIBUTIL}
LDADD+= -lbluetooth -lsdp -lutil
LIBADD= bluetooth sdp util
.include <bsd.prog.mk>

View File

@ -8,7 +8,6 @@ SRCS= send_recv.c link_policy.c link_control.c \
util.c
WARNS?= 2
DPADD= ${LIBBLUETOOTH}
LDADD= -lbluetooth
LIBADD= bluetooth
.include <bsd.prog.mk>

View File

@ -7,7 +7,6 @@ SRCS= hcsecd.c lexer.l parser.y
WARNS?= 2
CFLAGS+= -I${.CURDIR}
DPADD= ${LIBBLUETOOTH}
LDADD= -lbluetooth
LIBADD= bluetooth
.include <bsd.prog.mk>

View File

@ -5,7 +5,6 @@ PROG= hcseriald
MAN= hcseriald.8
WARNS?= 2
DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph
LIBADD= netgraph
.include <bsd.prog.mk>

View File

@ -6,7 +6,6 @@ MAN= l2control.8
SRCS= l2cap.c l2control.c
WARNS?= 2
DPADD= ${LIBBLUETOOTH}
LDADD= -lbluetooth
LIBADD= bluetooth
.include <bsd.prog.mk>

View File

@ -5,7 +5,6 @@ PROG= l2ping
MAN= l2ping.8
WARNS?= 2
DPADD= ${LIBBLUETOOTH}
LDADD= -lbluetooth
LIBADD= bluetooth
.include <bsd.prog.mk>

View File

@ -8,7 +8,6 @@ MAN= rfcomm_pppd.8
SRCS= rfcomm_pppd.c rfcomm_sdp.c
WARNS?= 2
DPADD= ${LIBBLUETOOTH} ${LIBSDP}
LDADD= -lbluetooth -lsdp
LIBADD= bluetooth sdp
.include <bsd.prog.mk>

View File

@ -6,7 +6,6 @@ MAN= sdpcontrol.8
SRCS= sdpcontrol.c search.c
WARNS?= 2
DPADD= ${LIBBLUETOOTH} ${LIBSDP}
LDADD= -lbluetooth -lsdp
LIBADD= bluetooth sdp
.include <bsd.prog.mk>

View File

@ -3,8 +3,7 @@
PROG= boot0cfg
MAN= boot0cfg.8
DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
LDADD= -lgeom -lbsdxml -lsbuf
LIBADD= geom
NO_WCAST_ALIGN=

View File

@ -5,7 +5,6 @@ MAN= boot98cfg.8
WARNS?= 2
DPADD= ${LIBGEOM}
LDADD= -lgeom
LIBADD= geom
.include <bsd.prog.mk>

View File

@ -2,8 +2,7 @@
BINDIR= /usr/libexec/bsdinstall
PROG= distextract
DPADD= ${LIBARCHIVE} ${LIBNCURSESW} ${LIBDIALOG} ${LIBM}
LDADD= -larchive -lncursesw -ldialog -lm
LIBADD= archive ncursesw dialog m
WARNS?= 6
MAN=

View File

@ -2,8 +2,7 @@
BINDIR= /usr/libexec/bsdinstall
PROG= distfetch
DPADD= ${LIBFETCH} ${LIBNCURSESW} ${LIBDIALOG} ${LIBM}
LDADD= -lfetch -lncursesw -ldialog -lm
LIBADD= fetch ncursesw dialog m
WARNS?= 6
MAN=

View File

@ -5,8 +5,7 @@ PROG= partedit
LINKS= ${BINDIR}/partedit ${BINDIR}/autopart \
${BINDIR}/partedit ${BINDIR}/scriptedpart
SYMLINKS= ${BINDIR}/partedit /usr/sbin/sade
DPADD= ${LIBGEOM} ${LIBNCURSESW} ${LIBUTIL} ${LIBDIALOG} ${LIBM}
LDADD= -lgeom -lncursesw -lutil -ldialog -lm
LIBADD+= geom ncursesw util dialog m
PARTEDIT_ARCH= ${MACHINE}
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"

View File

@ -29,8 +29,7 @@ CFLAGS+= -DSNMPTREE_TYPES
CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I. -DUSE_LIBBEGEMOT
CFLAGS+= -DUSE_TCPWRAPPERS -DQUADFMT='"llu"' -DQUADXFMT='"llx"'
CFLAGS+= -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_ERR_H -DHAVE_STRLCPY
DPADD= ${LIBBEGEMOT} ${LIBBSNMP} ${LIBWRAP}
LDADD= -lbegemot -lbsnmp -lwrap
LIBADD= begemot bsnmp wrap
LDFLAGS= -Wl,-export-dynamic

View File

@ -29,8 +29,7 @@ CFLAGS+=-DYY_NO_UNPUT
CFLAGS+=-DYY_NO_INPUT
CFLAGS+= -DSNMPTREE_TYPES
DPADD= ${LIBUTIL}
LDADD= -lutil
LIBADD= util
XSYM= begemotHast
DEFS= ${MOD}_tree.def

View File

@ -69,8 +69,7 @@ MAN= snmp_hostres.3
DEFS= ${MOD}_tree.def
BMIBS= BEGEMOT-HOSTRES-MIB.txt
DPADD= ${LIBKVM} ${LIBDEVINFO} ${LIBM} ${LIBGEOM} ${LIBMEMSTAT}
LDADD= -lkvm -ldevinfo -lm -lgeom -lmemstat
LIBADD= kvm devinfo m geom memstat
.include <bsd.snmpmod.mk>

View File

@ -11,7 +11,6 @@ BMIBS= BEGEMOT-NETGRAPH.txt
DEFS= ${MOD}_tree.def
INCS= snmp_${MOD}.h
DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph
LIBADD= netgraph
.include <bsd.snmpmod.mk>

View File

@ -7,14 +7,11 @@
PROG= bsnmpget
DPADD+= ${LIBBSNMP} ${LIBBSNMPTOOLS}
LDADD+= -lbsnmp -lbsnmptools
LIBADD= bsnmp bsnmptools
CFLAGS+= -I${.CURDIR}/../libbsnmptools
LDFLAGS+= -L${LIBBSNMPTOOLSDIR}
.if ${MK_OPENSSL} != "no"
DPADD+= ${LIBCRYPTO}
LDADD+= -lcrypto
LIBADD+= crypto
.endif
LINKS= ${BINDIR}/bsnmpget ${BINDIR}/bsnmpwalk

View File

@ -2,7 +2,6 @@
PROG= cdcontrol
DPADD= ${LIBEDIT} ${LIBTERMCAPW}
LDADD= -ledit -ltermcapw
LIBADD= edit
.include <bsd.prog.mk>

View File

@ -5,7 +5,6 @@
PROG= ckdist
SRCS= ckdist.c crc.c
DPADD= ${LIBMD}
LDADD= -lmd
LIBADD= md
.include <bsd.prog.mk>

View File

@ -2,7 +2,6 @@
PROG= clear_locks
MAN= clear_locks.8
DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc
LIBADD= rpcsvc
.include <bsd.prog.mk>

View File

@ -13,8 +13,7 @@ CFLAGS+= -I. -I${.CURDIR}
NO_WMISSING_VARIABLE_DECLARATIONS=
DPADD= ${LIBL} ${LIBSBUF}
LDADD= -ll -lsbuf
LIBADD= l sbuf
CLEANFILES+= kernconf.c

View File

@ -1,5 +0,0 @@
# $FreeBSD$
LIBCRON= ${.OBJDIR}/../lib/libcron.a
.include "../Makefile.inc"

View File

@ -6,8 +6,7 @@ SRCS= cron.c database.c do_command.c job.c user.c popen.c
CFLAGS+= -DLOGIN_CAP -DPAM
DPADD= ${LIBCRON} ${LIBPAM} ${LIBUTIL}
LDADD= ${LIBCRON} ${MINUSLPAM} -lutil
LIBADD= cron pam util
WARNS?= 2

View File

@ -12,7 +12,6 @@ WARNS?= 3
CFLAGS+= -I${.CURDIR}/../cron
DPADD= ${LIBCRON} ${LIBMD} ${LIBUTIL}
LDADD= ${LIBCRON} -lmd -lutil
LIBADD= cron md util
.include <bsd.prog.mk>

View File

@ -14,8 +14,7 @@ CFLAGS+= -I${SDIR}
WARNS?= 3
.endif
DPADD= ${LIBCAM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL}
LDADD= -lcam -lsbuf -lbsdxml -lutil
LIBADD= cam sbuf bsdxml util
MAN= ctladm.8
.include <bsd.prog.mk>

View File

@ -10,8 +10,7 @@ CFLAGS+= -I${.CURDIR}/../../sys/dev/iscsi
#CFLAGS+= -DICL_KERNEL_PROXY
MAN= ctld.8 ctl.conf.5
DPADD= ${LIBBSDXML} ${LIBCRYPTO} ${LIBL} ${LIBSBUF} ${LIBUTIL}
LDADD= -lbsdxml -lcrypto -ll -lsbuf -lutil
LIBADD= bsdxml crypto l sbuf util
YFLAGS+= -v
CLEANFILES= y.tab.c y.tab.h y.output

View File

@ -14,8 +14,7 @@ SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \
NOTYET= ctm_ed.c
LDADD= -lmd
DPADD= ${LIBMD}
LIBADD= md
WARNS?= 2

View File

@ -3,8 +3,7 @@
PROG= mkctm
MAN=
DPADD= ${LIBMD}
LDADD= -lmd
LIBADD= md
test: mkctm
rm -f tst.out*

View File

@ -3,7 +3,6 @@
PROG= daemon
MAN= daemon.8
DPADD= ${LIBUTIL}
LDADD= -lutil
LIBADD= util
.include <bsd.prog.mk>

View File

@ -5,8 +5,7 @@ MAN= dconschat.8
CFLAGS+= -I${.CURDIR}/../../sys
DPADD= ${LIBKVM}
LDADD= -lkvm
LIBADD= kvm
WARNS?= 1

View File

@ -3,7 +3,6 @@
PROG= devinfo
MAN= devinfo.8
DPADD= ${LIBDEVINFO}
LDADD= -ldevinfo
LIBADD= devinfo
.include <bsd.prog.mk>

View File

@ -3,8 +3,7 @@
PROG= diskinfo
MAN= diskinfo.8
DPADD= ${LIBUTIL}
LDADD= -lutil
LIBADD= util
.include <bsd.prog.mk>

View File

@ -12,17 +12,7 @@ CFLAGS+= -DNEWDB -DNOT_SENDMAIL
WARNS?= 2
LIBSMDIR= ${.OBJDIR}/../../lib/libsm
LIBSM= ${LIBSMDIR}/libsm.a
LIBSMDBDIR= ${.OBJDIR}/../../lib/libsmdb
LIBSMDB= ${LIBSMDBDIR}/libsmdb.a
LIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil
LIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a
DPADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
LDADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
LIBADD= smdb smutil sm
SRCS+= sm_os.h
CLEANFILES+=sm_os.h

View File

@ -7,7 +7,6 @@ MAN= edquota.8
CSTD= gnu99
WARNS?= 4
DPADD= ${LIBUTIL}
LDADD= -lutil
LIBADD= util
.include <bsd.prog.mk>

View File

@ -1,8 +0,0 @@
# $FreeBSD$
LIBFIFOLOG= ${.OBJDIR}/../lib/libfifolog.a
#LINT= flint
#LINTFLAGS= ${.CURDIR}/../flint.lnt -I/usr/include
.include "../Makefile.inc"

View File

@ -4,8 +4,7 @@ PROG= fifolog_create
CFLAGS+= -I${.CURDIR}/../lib
DPADD= ${LIBFIFOLOG} ${LIBUTIL}
LDADD= ${LIBFIFOLOG} -lutil
LIBADD= util fifolog
MAN= fifolog.1
MLINKS= fifolog.1 fifolog_create.1 \

View File

@ -6,8 +6,7 @@ CFLAGS+= -I${.CURDIR}/../lib
MAN=
DPADD= ${LIBFIFOLOG} ${LIBZ}
LDADD= ${LIBFIFOLOG} -lz
LIBADD= z fifolog
regress:
./${PROG} /tmp/fifolog.0

View File

@ -6,8 +6,7 @@ CFLAGS+= -I${.CURDIR}/../lib
MAN=
DPADD= ${LIBFIFOLOG} ${LIBZ}
LDADD= ${LIBFIFOLOG} -lz
LIBADD= z fifolog
regress:
date | ./${PROG} -z 0 /tmp/fifolog.0

View File

@ -8,8 +8,7 @@ PROG= flowctl
MAN= flowctl.8
WARNS?= 2
DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph
LIBADD= netgraph
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6

View File

@ -9,8 +9,7 @@ SRCS= ftp-proxy.c filter.c
CFLAGS+=-I${.CURDIR}/../../contrib/pf/libevent
LDADD+= ${LIBEVENT}
DPADD+= ${LIBEVENT}
LIBADD= event
WARNS?= 3

View File

@ -9,11 +9,9 @@ SRCS= gssd.c gssd.h gssd_svc.c gssd_xdr.c gssd_prot.c
CFLAGS+= -I.
WARNS?= 1
DPADD= ${LIBGSSAPI}
LDADD= -lgssapi
LIBADD= gssapi
.if ${MK_KERBEROS_SUPPORT} != "no"
DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} ${LIBCRYPT} ${LIBCRYPTO}
LDADD+= -lkrb5 -lhx509 -lasn1 -lroken -lcom_err -lcrypt -lcrypto
LIBADD+= krb5 roken
.else
CFLAGS+= -DWITHOUT_KERBEROS
.endif

View File

@ -2,7 +2,6 @@
PROG= gstat
MAN= gstat.8
DPADD= ${LIBDEVSTAT} ${LIBKVM} ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} ${LIBEDIT} ${LIBNCURSESW}
LDADD= -ldevstat -lkvm -lgeom -lbsdxml -lsbuf -ledit -lncursesw
LIBADD= devstat geom edit ncursesw
.include <bsd.prog.mk>

View File

@ -17,8 +17,7 @@ CFLAGS+=-DINET6
.if ${MK_KVM_SUPPORT} != "no"
CFLAGS+=-DWITH_KVM
DPADD= ${LIBKVM}
LDADD= -lkvm
LIBADD= kvm
.endif
.include <bsd.prog.mk>

View File

@ -16,14 +16,12 @@ CFLAGS+= -DLOGIN_CAP
CFLAGS+= -DINET6
.endif
DPADD= ${LIBUTIL} ${LIBWRAP}
LDADD= -lutil -lwrap
LIBADD= util wrap
# XXX for src/release/picobsd
.if !defined(RELEASE_CRUNCH)
CFLAGS+= -DIPSEC
DPADD+= ${LIBIPSEC}
LDADD+= -lipsec
LIBADD+= ipsec
.endif
.include <bsd.prog.mk>

View File

@ -4,8 +4,7 @@
PROG= iostat
MAN= iostat.8
DPADD= ${LIBDEVSTAT} ${LIBKVM} ${LIBM}
LDADD= -ldevstat -lkvm -lm
LIBADD= devstat kvm m
WARNS?= 1

View File

@ -6,8 +6,7 @@
PROG= ipfwpcap
LDADD= -lpcap
DPADD= ${LIBPCAP}
LIBADD= pcap
MAN= ipfwpcap.8

View File

@ -8,8 +8,7 @@ CFLAGS+= -I${.CURDIR}/../../sys/dev/iscsi
#CFLAGS+= -DICL_KERNEL_PROXY
MAN= iscsid.8
DPADD= ${LIBCRYPTO} ${LIBUTIL}
LDADD= -lcrypto -lutil
LIBADD= crypto util
WARNS= 6

View File

@ -6,8 +6,7 @@ PROG= jail
MAN= jail.8 jail.conf.5
SRCS= jail.c command.c config.c state.c jailp.h jaillex.l jailparse.y y.tab.h
DPADD= ${LIBJAIL} ${LIBKVM} ${LIBUTIL} ${LIBL}
LDADD= -ljail -lkvm -lutil -ll
LIBADD= jail kvm util l
NO_WMISSING_VARIABLE_DECLARATIONS=

View File

@ -2,7 +2,6 @@
PROG= jexec
MAN= jexec.8
DPADD= ${LIBJAIL} ${LIBUTIL}
LDADD= -ljail -lutil
LIBADD= jail util
.include <bsd.prog.mk>

View File

@ -4,8 +4,7 @@
PROG= jls
MAN= jls.8
DPADD= ${LIBJAIL}
LDADD= -ljail
LIBADD= jail
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6

View File

@ -8,7 +8,6 @@ SRCS= kbdcontrol.c lex.l
WARNS?= 4
CFLAGS+= -I${.CURDIR}
DPADD= ${LIBL}
LDADD= -ll
LIBADD= l
.include <bsd.prog.mk>

View File

@ -6,8 +6,7 @@ SRCS= keyserv.c setkey.c crypt_svc.c crypt_server.c crypt.h
CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I.
DPADD= ${LIBMP} ${LIBCRYPTO} ${LIBRPCSVC}
LDADD= -lmp -lcrypto -lrpcsvc
LIBADD= mp rpcsvc
WARNS?= 1

View File

@ -11,7 +11,6 @@ WARNS?= 2
#BINOWN=root
#BINMODE=4555
DPADD= ${LIBKVM}
LDADD= -lkvm
LIBADD= kvm
.include <bsd.prog.mk>

View File

@ -3,8 +3,7 @@
PROG= lmcconfig
MAN= lmcconfig.8
DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph
LIBADD= netgraph
WARNS?= 3

View File

@ -6,6 +6,4 @@
CFLAGS+= -DINET6
.endif
LIBLPR= ${.OBJDIR}/../common_source/liblpr.a
.include "../Makefile.inc"

View File

@ -8,7 +8,6 @@ SRCS= chkprintcap.c skimprintcap.c
CFLAGS+= -I${.CURDIR}/../common_source
DPADD= ${LIBLPR}
LDADD= ${LIBLPR}
LIBADD= lpr
.include <bsd.prog.mk>

View File

@ -5,7 +5,7 @@
PROG= lpc
MAN= lpc.8
SRCS= lpc.c cmds.c cmdtab.c movejobs.c
SRCS= lpc.c cmds.c cmdtab.c movejobs.c
BINGRP= daemon
BINMODE= 2555
@ -13,7 +13,6 @@ CFLAGS+= -I${.CURDIR}/../common_source
WARNS?= 0
DPADD= ${LIBLPR} ${LIBEDIT} ${LIBTERMCAPW}
LDADD= ${LIBLPR} -ledit -ltermcapw
LIBADD= lpr edit
.include <bsd.prog.mk>

View File

@ -9,7 +9,6 @@ CFLAGS+= -I${.CURDIR}/../common_source
WARNS?= 1
DPADD= ${LIBLPR}
LDADD= ${LIBLPR}
LIBADD= lpr
.include <bsd.prog.mk>

View File

@ -10,7 +10,6 @@ BINMODE= 6555
CFLAGS+= -I${.CURDIR}/../common_source
DPADD= ${LIBLPR}
LDADD= ${LIBLPR}
LIBADD= lpr
.include <bsd.prog.mk>

View File

@ -15,7 +15,6 @@ CFLAGS+= -I${.CURDIR}/../common_source
WARNS?= 2
DPADD= ${LIBLPR}
LDADD= ${LIBLPR}
LIBADD= lpr
.include <bsd.prog.mk>

View File

@ -12,7 +12,6 @@ BINMODE= 6555
CFLAGS+= -I${.CURDIR}/../common_source
DPADD= ${LIBLPR}
LDADD= ${LIBLPR}
LIBADD= lpr
.include <bsd.prog.mk>

View File

@ -8,7 +8,6 @@ MAN= pac.8
CFLAGS+= -I${.CURDIR}/../common_source
DPADD= ${LIBLPR}
LDADD= ${LIBLPR}
LIBADD= lpr
.include <bsd.prog.mk>

View File

@ -13,14 +13,7 @@ CFLAGS+= -DNOT_SENDMAIL
WARNS?= 2
LIBSMDIR= ${.OBJDIR}/../../lib/libsm
LIBSM= ${LIBSMDIR}/libsm.a
LIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil
LIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a
DPADD= ${LIBSMUTIL} ${LIBSM}
LDADD= ${LIBSMUTIL} ${LIBSM}
LIBADD= sm smutil
SRCS+= sm_os.h
CLEANFILES+=sm_os.h

View File

@ -6,8 +6,7 @@
PROG= mailwrapper
MAN= mailwrapper.8
DPADD= ${LIBUTIL}
LDADD= -lutil
LIBADD= util
.endif
.if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no"

View File

@ -13,17 +13,7 @@ CFLAGS+= -DNEWDB -DNOT_SENDMAIL
WARNS?= 2
LIBSMDIR= ${.OBJDIR}/../../lib/libsm
LIBSM= ${LIBSMDIR}/libsm.a
LIBSMDBDIR= ${.OBJDIR}/../../lib/libsmdb
LIBSMDB= ${LIBSMDBDIR}/libsmdb.a
LIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil
LIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a
DPADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
LDADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
LIBADD= sm smdb smutil
SRCS+= sm_os.h
CLEANFILES+=sm_os.h

View File

@ -8,8 +8,7 @@ MAN8= mfiutil.8
CFLAGS.gcc+= -fno-builtin-strftime
DPADD= ${LIBUTIL}
LDADD= -lutil
LIBADD= util
# Here be dragons
.ifdef DEBUG

View File

@ -8,8 +8,7 @@ MOUNTDIR= ${.CURDIR}/../../sbin/mount
CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs
CFLAGS+= -DSMBFS -I${MOUNTDIR} -I${CONTRIBDIR}/include
LDADD= -lsmb -lkiconv
DPADD= ${LIBSMB} ${LIBKICONV}
LIBADD= smb
.PATH: ${CONTRIBDIR}/mount_smbfs
.PATH: ${MOUNTDIR}

View File

@ -11,7 +11,6 @@ WARNS?= 2
.PATH: ${MOUNT}
DPADD= ${LIBUTIL}
LDADD= -lutil
LIBADD= util
.include <bsd.prog.mk>

View File

@ -3,8 +3,7 @@
PROG= moused
MAN= moused.8
DPADD= ${LIBUTIL} ${LIBM}
LDADD= -lutil -lm
LIBADD= m util
#BINMODE=4555
#PRECIOUSPROG=

View File

@ -8,8 +8,7 @@ MAN= mptutil.8
WARNS?= 3
DPADD= ${LIBCAM} ${LIBSBUF} ${LIBUTIL}
LDADD= -lcam -lsbuf -lutil
LIBADD= cam util
# Here be dragons
.ifdef DEBUG

View File

@ -11,8 +11,7 @@ SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
SRCS+= specspec.c
CFLAGS+= -DMD5 -DSHA1 -DRMD160 -DSHA256
DPADD= ${LIBMD}
LDADD= -lmd
LIBADD= md
CLEANFILES+= fmtree.8

View File

@ -4,8 +4,7 @@ PROG= nandtool
SRCS= nandtool.c nand_read.c nand_write.c nand_erase.c nand_info.c
SRCS+= nand_readoob.c nand_writeoob.c
BINDIR= /usr/sbin
DPADD= ${LIBGEOM}
LDADD= -lgeom
LIBADD= geom
MAN= nandtool.8
.include <bsd.prog.mk>

View File

@ -13,8 +13,7 @@ MAN+= ndisgen.8
WARNS?= 4
NO_WCAST_ALIGN=
DPADD= ${LIBL}
LDADD= -ll
LIBADD= l
YFLAGS+=-v

Some files were not shown because too many files have changed in this diff Show More