From 54e0c861ecfd9eaaab9a8e1e8cdde0423532a6a8 Mon Sep 17 00:00:00 2001 From: jtc Date: Mon, 8 Apr 1996 21:03:06 +0000 Subject: [PATCH] Add to DPADD for each library in LDADD; Reported by Mike Long in PR #2301. --- sbin/fsdb/Makefile | 5 +++-- usr.sbin/gspa/gspahextoc/Makefile | 1 + usr.sbin/spray/Makefile | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/sbin/fsdb/Makefile b/sbin/fsdb/Makefile index 29ef07bf8157..995000c2c81e 100644 --- a/sbin/fsdb/Makefile +++ b/sbin/fsdb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 1996/04/05 04:17:54 cgd Exp $ +# $NetBSD: Makefile,v 1.3 1996/04/08 21:03:06 jtc Exp $ # @(#)Makefile 8.1 (Berkeley) 6/5/93 PROG= fsdb @@ -7,7 +7,8 @@ SRCS= fsdb.c fsdbutil.c \ dir.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \ pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c CFLAGS+= -I${.CURDIR}/../../sbin/fsck_ffs -LDADD+= -ledit -ltermcap +LDADD+= -ledit -ltermcap +DPADD+= ${LIBEDIT} ${LIBTERMCAP} .PATH: ${.CURDIR}/../../sbin/fsck_ffs ${.CURDIR}/../../sys/ufs/ffs .include diff --git a/usr.sbin/gspa/gspahextoc/Makefile b/usr.sbin/gspa/gspahextoc/Makefile index f0b26756dde8..af3c76f0c9a7 100644 --- a/usr.sbin/gspa/gspahextoc/Makefile +++ b/usr.sbin/gspa/gspahextoc/Makefile @@ -2,5 +2,6 @@ PROG= gspahextoc SRCS= gspahextoc.l NOMAN= noman LDADD= -ll +DPADD= ${LIBL} .include diff --git a/usr.sbin/spray/Makefile b/usr.sbin/spray/Makefile index 522ca1eb4e88..3acded5eb4bf 100644 --- a/usr.sbin/spray/Makefile +++ b/usr.sbin/spray/Makefile @@ -1,7 +1,8 @@ -# $Id: Makefile,v 1.2 1995/07/11 01:18:05 jtc Exp $ +# $Id: Makefile,v 1.3 1996/04/08 21:08:07 jtc Exp $ PROG= spray MAN= spray.8 -LDADD= -lrpcsvc +LDADD+= -lrpcsvc +DPADD+= ${LIBRPCSVC} .include