Permalink
Browse files

Add missing DPADD's for library dependencies.

  • Loading branch information...
1 parent 94fa89f commit b0730bc5deae6c276f2681159f795422764a51ed Sascha Wildner committed Jul 17, 2011
@@ -1,12 +1,11 @@
-# $DragonFly: src/gnu/usr.bin/cc41/cc_tools/genattrtab/Makefile,v 1.2 2007/08/25 15:29:28 corecode Exp $
-
.include "../Makefile.inc"
PROG= genattrtab
SRCS= genattrtab.c genautomata.c insn-modes.h gtype-desc.h insn-constants.h tm-preds.h options.h
SRCS+= ${RTL_SRCS} ${SUPPORT_SRCS} ${PRINT_SRCS} ${ERRORS_SRCS} ${VARRAY_SRCS}
LDADD+= -lm
+DPADD+= ${LIBM}
GENFILE= insn-attrtab.c
GENINPUT= ${MD_FILE}
@@ -5,6 +5,7 @@ PROG= info
MAN= info.1 info.5 texinfo.5
LDADD+= -lncurses
+DPADD+= ${LIBNCURSES}
CFLAGS+= -I${SRCDIR} -I${SRCDIR}/lib -I${SRCDIR}/gnulib/lib
CFLAGS+= -I${SRCDIR}/info -I${.CURDIR}/../libgnu
CFLAGS+= -DHAVE_CONFIG_H
View
@@ -1,6 +1,7 @@
PROG= devattr
MAN= devattr.8
-LDADD= -ldevattr -lprop
+LDADD= -ldevattr -lprop
+DPADD= ${LIBDEVATTR} ${LIBPROP}
.include <bsd.prog.mk>
View
@@ -1,6 +1,7 @@
PROG= fsid
SRCS= fsid.c
LDADD= -ldevattr -lprop -lfsid
+DPADD= ${LIBDEVATTR} ${LIBPROP} ${LIBFSID}
NOMAN=
.include <bsd.prog.mk>
View
@@ -1,6 +1,3 @@
-#
-# $DragonFly: src/sbin/hammer/Makefile,v 1.19 2008/11/13 02:04:27 dillon Exp $
-
PROG= hammer
SRCS= hammer.c ondisk.c blockmap.c cache.c misc.c cycle.c \
cmd_show.c cmd_softprune.c cmd_history.c \
@@ -12,7 +9,8 @@ SRCS= hammer.c ondisk.c blockmap.c cache.c misc.c cycle.c \
MAN= hammer.8
CFLAGS+= -I${.CURDIR}/../../sys -DALIST_NO_DEBUG
-LDADD= -lm -lutil -lmd
+LDADD= -lm -lutil -lmd
+DPADD= ${LIBM} ${LIBUTIL} ${LIBMD}
.PATH: ${.CURDIR}/../../sys/libkern
SRCS+= crc32.c
@@ -1,11 +1,11 @@
# @(#)Makefile 8.3 (Berkeley) 3/27/94
# $FreeBSD: src/sbin/mount_cd9660/Makefile,v 1.4.6.1 2001/04/25 10:58:34 ru Exp $
-# $DragonFly: src/sbin/mount_cd9660/Makefile,v 1.4 2006/10/17 00:55:42 pavalos Exp $
PROG= mount_cd9660
SRCS= mount_cd9660.c getmntopts.c
MAN= mount_cd9660.8
LDADD= -lutil -lkiconv
+DPADD= ${LIBUTIL} ${LIBKICONV}
MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
@@ -1,10 +1,8 @@
-#
-# $DragonFly: src/sbin/mount_hammer/Makefile,v 1.1 2007/10/10 19:35:19 dillon Exp $
-
PROG= mount_tmpfs
SRCS= mount_tmpfs.c fscopy.c getmntopts.c
MAN= mount_tmpfs.8
-LDADD+= -lutil
+LDADD+= -lutil
+DPADD+= ${LIBUTIL}
MOUNT= ${.CURDIR}/../mount
CFLAGS+=-I${.CURDIR}/../../sys -I${MOUNT}
View
@@ -8,6 +8,7 @@ SRCS= main.c
SRCS+= tcplay.c crc32.c safe_mem.c io.c crypto-dev.c hdr.c
LDADD= -lcrypto -ldm -lprop -lutil
+DPADD= ${LIBCRYPTO} ${LIBDM} ${LIBPROP} ${LIBUTIL}
CFLAGS+= -I${TCPLAY_DIR}
@@ -1,9 +1,9 @@
# $FreeBSD: src/share/examples/isdn/v21/Makefile,v 1.1.2.1 2001/08/10 14:59:48 obrien Exp $
-# $DragonFly: src/share/examples/isdn/v21/Makefile,v 1.2 2003/06/17 04:36:57 dillon Exp $
PROG= v21modem
NOMAN=
LDADD= -lutil -lm
+DPADD= ${LIBUTIL} ${LIBM}
WARNS?= 3
.if !defined(BSDTYPE)
@@ -1,8 +1,8 @@
# $FreeBSD: src/share/examples/libvgl/Makefile,v 1.2 1999/12/14 08:47:59 billf Exp $
-# $DragonFly: src/share/examples/libvgl/Makefile,v 1.2 2003/06/17 04:36:57 dillon Exp $
PROG= demo
NOMAN= yes
LDADD= -lvgl
+DPADD= ${LIBVGL}
.include <bsd.prog.mk>
@@ -2,5 +2,6 @@
PROG= mkfifo
LDADD= -lutil
+DPADD= ${LIBUTIL}
.include <bsd.prog.mk>
@@ -2,5 +2,6 @@
PROG= pty
LDADD= -lutil
+DPADD= ${LIBUTIL}
.include <bsd.prog.mk>
@@ -2,5 +2,6 @@
PROG= shm
LDADD= -lutil
+DPADD= ${LIBUTIL}
.include <bsd.prog.mk>
@@ -2,6 +2,7 @@
PROG= dumpvfscache
LDADD= -lkvm -lmd
+DPADD= ${LIBKVM} ${LIBMD}
NOMAN= 1
View
@@ -8,6 +8,7 @@ WARNS?= 1
.PATH: ${.CURDIR}/../../contrib/ldns/drill
LDADD+= -lcrypto -lldns
+DPADD+= ${LIBCRYPTO} ${LIBLDNS}
CFLAGS+=-I${.CURDIR} -I${LDNS} -I${LDNS}/drill -I${LDNSBASE}
.include <bsd.prog.mk>
View
@@ -1,9 +1,8 @@
-# $DragonFly: src/usr.sbin/dntpd/Makefile,v 1.2 2005/04/27 00:42:13 dillon Exp $
-
PROG= dntpd
SRCS= main.c socket.c ntpreq.c convert.c log.c client.c system.c
LDADD += -lm
+DPADD += ${LIBM}
MAN= dntpd.8
@@ -1,5 +1,6 @@
PROG= hotplugd
MAN= hotplugd.8
LDADD= -ldevattr -lprop
+DPADD= ${LIBDEVATTR} ${LIBPROP}
.include <bsd.prog.mk>
@@ -1,7 +1,6 @@
#---------------------------------------------------------------------------
#
# $FreeBSD: src/usr.sbin/i4b/dtmfdecode/Makefile,v 1.6.2.2 2001/08/01 17:29:17 obrien Exp $
-# $DragonFly: src/usr.sbin/i4b/dtmfdecode/Makefile,v 1.2 2003/06/17 04:29:53 dillon Exp $
#
# last edit-date: [Tue Dec 14 21:17:46 1999]
#
@@ -13,6 +12,7 @@ CFLAGS+= -DDEBUG
# libm is only necessary if USE_COS is defined in the source
#LDADD= -lm
+#DPADD= ${LIBM}
test: ${PROG}
uudecode -p < dtmfsounds.al.uu | ./${PROG}
View
@@ -1,8 +1,7 @@
# $OpenBSD: Makefile,v 1.6 2003/11/20 23:23:09 avsm Exp $
-# $DragonFly: src/usr.sbin/pflogd/Makefile,v 1.2 2008/11/03 00:25:45 pavalos Exp $
LDADD+= -lpcap -lutil
-DPAPP+= ${LIBPCAP} ${LIBUTIL}
+DPADD+= ${LIBPCAP} ${LIBUTIL}
CFLAGS+= -DHAVE_SNPRINTF
PROG= pflogd
View
@@ -2,6 +2,8 @@ PROG= vknetd
MAN= vknetd.8
CFLAGS+=-DUSE_PTHREADS=1
LDADD= -pthread
+DPADD= ${LIBPTHREAD}
+
SRCS= vknetd.c bridge.c mac.c filter.c
.include <bsd.prog.mk>

0 comments on commit b0730bc

Please sign in to comment.