summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-02-25 20:41:07 +0000
committerbde <bde@FreeBSD.org>1996-02-25 20:41:07 +0000
commit12ee82f222d3cfcdbd5479310131a9a024693c5f (patch)
tree23015bd3d8a77b27ce2407e1980ffba457845bd8 /usr.sbin
parent5af01f7f7afe99fa0e4c59657e8697e4b7817e38 (diff)
downloadFreeBSD-src-12ee82f222d3cfcdbd5479310131a9a024693c5f.zip
FreeBSD-src-12ee82f222d3cfcdbd5479310131a9a024693c5f.tar.gz
Depend on libdisk.a.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/Makefile5
-rw-r--r--usr.sbin/sysinstall/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/sade/Makefile b/usr.sbin/sade/Makefile
index c2c3fee..8803325 100644
--- a/usr.sbin/sade/Makefile
+++ b/usr.sbin/sade/Makefile
@@ -13,15 +13,16 @@ SRCS= anonFTP.c apache.c attr.c cdrom.c command.c config.c decode.c \
CFLAGS+= -Wall -I${.CURDIR}/../libdisk -I${.CURDIR}/../../gnu/lib/libdialog
+DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL}
LDADD= -ldialog -lncurses -lmytinfo -lutil
.if exists(${.CURDIR}/../libdisk/obj)
+DPADD+= ${.CURDIR}/../libdisk/obj/libdisk.a
LDADD+= -L${.CURDIR}/../libdisk/obj -ldisk
.else
+DPADD+= ${.CURDIR}/../libdisk/libdisk.a
LDADD+= -L${.CURDIR}/../libdisk -ldisk
.endif
-DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL}
-
makedevs.c: Makefile rtermcap
rm -f makedevs.tmp
echo '#include <sys/types.h>' > makedevs.tmp
diff --git a/usr.sbin/sysinstall/Makefile b/usr.sbin/sysinstall/Makefile
index c2c3fee..8803325 100644
--- a/usr.sbin/sysinstall/Makefile
+++ b/usr.sbin/sysinstall/Makefile
@@ -13,15 +13,16 @@ SRCS= anonFTP.c apache.c attr.c cdrom.c command.c config.c decode.c \
CFLAGS+= -Wall -I${.CURDIR}/../libdisk -I${.CURDIR}/../../gnu/lib/libdialog
+DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL}
LDADD= -ldialog -lncurses -lmytinfo -lutil
.if exists(${.CURDIR}/../libdisk/obj)
+DPADD+= ${.CURDIR}/../libdisk/obj/libdisk.a
LDADD+= -L${.CURDIR}/../libdisk/obj -ldisk
.else
+DPADD+= ${.CURDIR}/../libdisk/libdisk.a
LDADD+= -L${.CURDIR}/../libdisk -ldisk
.endif
-DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL}
-
makedevs.c: Makefile rtermcap
rm -f makedevs.tmp
echo '#include <sys/types.h>' > makedevs.tmp
OpenPOWER on IntegriCloud