aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/bsdlabel/Makefile')
-rw-r--r--sbin/bsdlabel/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/bsdlabel/Makefile b/sbin/bsdlabel/Makefile
index 925fbdfdb77e..09a2fa669009 100644
--- a/sbin/bsdlabel/Makefile
+++ b/sbin/bsdlabel/Makefile
@@ -6,6 +6,9 @@ SRCS= bsdlabel.c geom_bsd_enc.c
#MAN+= bsdlabel.5
MAN+= bsdlabel.8
+DDADD= ${LIBGEOM}
+LDADD= -lgeom -lbsdxml -lsbuf
+
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
.endif
@@ -16,3 +19,6 @@ CFLAGS+= -DPC98
test: ${PROG}
sh ${.CURDIR}/runtest.sh
+
+testx: ${PROG}
+ sh -x ${.CURDIR}/runtest.sh