summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libgeom/Makefile3
-rw-r--r--sbin/bsdlabel/Makefile4
-rw-r--r--sbin/gbde/Makefile4
-rw-r--r--sbin/sunlabel/Makefile4
4 files changed, 9 insertions, 6 deletions
diff --git a/lib/libgeom/Makefile b/lib/libgeom/Makefile
index 35f3726..f34a592 100644
--- a/lib/libgeom/Makefile
+++ b/lib/libgeom/Makefile
@@ -11,6 +11,9 @@ CFLAGS += -I${.CURDIR} -g
WARNS?= 3
+DPADD= ${LIBBSDXML} ${LIBSBUF}
+LDADD= -lbsdxml -lsbuf
+
MAN= libgeom.3
MLINKS+= \
diff --git a/sbin/bsdlabel/Makefile b/sbin/bsdlabel/Makefile
index 58c54f5..82bac93 100644
--- a/sbin/bsdlabel/Makefile
+++ b/sbin/bsdlabel/Makefile
@@ -16,8 +16,8 @@ LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
MLINKS+= bsdlabel.8 disklabel.8
.endif
-DDADD= ${LIBGEOM}
-LDADD= -lgeom -lbsdxml -lsbuf
+DPADD= ${LIBGEOM}
+LDADD= -lgeom
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
diff --git a/sbin/gbde/Makefile b/sbin/gbde/Makefile
index 25fe7d8..a8ca939 100644
--- a/sbin/gbde/Makefile
+++ b/sbin/gbde/Makefile
@@ -23,8 +23,8 @@ CFLAGS+= -I${.CURDIR}/../../sys
CLEANFILES+= template.c
MAN= gbde.8
-DPADD= ${LIBMD} ${LIBUTIL} ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
-LDADD= -lmd -lutil -lgeom -lbsdxml -lsbuf
+DPADD= ${LIBMD} ${LIBUTIL} ${LIBGEOM}
+LDADD= -lmd -lutil -lgeom
template.c: template.txt
file2c 'const char template[] = {' ',0};' \
diff --git a/sbin/sunlabel/Makefile b/sbin/sunlabel/Makefile
index 2d79124..65927c6 100644
--- a/sbin/sunlabel/Makefile
+++ b/sbin/sunlabel/Makefile
@@ -5,8 +5,8 @@ SRCS=sunlabel.c geom_sunlabel_enc.c
NOMAN=
WARNS=5
-DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF}
-LDADD= -lgeom -lbsdxml -lsbuf
+DPADD= ${LIBGEOM}
+LDADD= -lgeom
.PATH: ${.CURDIR}/../../sys/geom
OpenPOWER on IntegriCloud