summaryrefslogtreecommitdiffstats
path: root/sbin/sunlabel/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-23 08:25:20 +0000
committerphk <phk@FreeBSD.org>2003-04-23 08:25:20 +0000
commit47ef37e7e2594b33cff2386732823506b4745261 (patch)
treee3009d21a482505c2c1188a4879108f3ac8a9961 /sbin/sunlabel/Makefile
parent15a332bfd66ed15bc8442e1d7a034e2d61d13085 (diff)
downloadFreeBSD-src-47ef37e7e2594b33cff2386732823506b4745261.zip
FreeBSD-src-47ef37e7e2594b33cff2386732823506b4745261.tar.gz
If we cannot open the parent device for writing, use GEOM::CONFIG_GEOM
requests to write label and bootcode. The -r argument is ignored (with a warning). With a lot of help from: jake
Diffstat (limited to 'sbin/sunlabel/Makefile')
-rw-r--r--sbin/sunlabel/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/sunlabel/Makefile b/sbin/sunlabel/Makefile
index 68f9575..b06ca03 100644
--- a/sbin/sunlabel/Makefile
+++ b/sbin/sunlabel/Makefile
@@ -5,6 +5,9 @@ SRCS=sunlabel.c geom_sunlabel_enc.c
NOMAN=
WARNS=5
+DDADD= ${LIBGEOM}
+LDADD= -lgeom
+
.PATH: ${.CURDIR}/../../sys/geom
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud