Fixed static linkage.

This commit is contained in:
ru 2010-02-26 09:41:16 +00:00
parent d90e332946
commit 7cea019b6c
8 changed files with 17 additions and 16 deletions

View File

@ -4,8 +4,8 @@ PROG = rpc.rstatd
SRCS = rstatd.c rstat_proc.c
MAN = rpc.rstatd.8
DPADD= ${LIBRPCSVC} ${LIBUTIL} ${LIBDEVSTAT}
LDADD= -lrpcsvc -lutil -ldevstat
DPADD= ${LIBRPCSVC} ${LIBUTIL} ${LIBDEVSTAT} ${LIBKVM}
LDADD= -lrpcsvc -lutil -ldevstat -lkvm
WARNS?= 1

View File

@ -5,7 +5,7 @@ BINOWN= root
BINMODE=4555
NO_MAN=
DPADD= ${LIBULOG}
LDADD= -lulog
DPADD= ${LIBULOG} ${LIBMD}
LDADD= -lulog -lmd
.include <bsd.prog.mk>

View File

@ -27,8 +27,9 @@ CFLAGS+=-DINET6
# This is needed to have WARNS > 1.
CFLAGS+=-DYY_NO_UNPUT
DPADD= ${LIBCRYPTO} ${LIBGEOM} ${LIBL} ${LIBPTHREAD} ${LIBUTIL}
LDADD= -lcrypto -lgeom -ll -lpthread -lutil
DPADD= ${LIBCRYPTO} ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} ${LIBL} \
${LIBPTHREAD} ${LIBUTIL}
LDADD= -lcrypto -lgeom -lbsdxml -lsbuf -ll -lpthread -lutil
YFLAGS+=-v

View File

@ -4,8 +4,8 @@
PROG= fetch
CSTD?= c99
DPADD= ${LIBFETCH}
LDADD= -lfetch
DPADD= ${LIBFETCH} ${LIBMD}
LDADD= -lfetch -lmd
.if ${MK_OPENSSL} != "no"
DPADD+= ${LIBSSL} ${LIBCRYPTO}
LDADD+= -lssl -lcrypto

View File

@ -2,7 +2,7 @@
PROG = unzip
CSTD = c99
DPADD = ${LIBARCHIVE}
LDADD = -larchive
DPADD = ${LIBARCHIVE} ${LIBZ}
LDADD = -larchive -lz
.include <bsd.prog.mk>

View File

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

View File

@ -3,7 +3,7 @@
PROG= boot0cfg
MAN= boot0cfg.8
DPADD= ${LIBGEOM}
LDADD= -lgeom
DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
LDADD= -lgeom -lbsdxml -lsbuf
.include <bsd.prog.mk>

View File

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