diff options
author | phk <phk@FreeBSD.org> | 2003-04-23 08:25:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-04-23 08:25:20 +0000 |
commit | 47ef37e7e2594b33cff2386732823506b4745261 (patch) | |
tree | e3009d21a482505c2c1188a4879108f3ac8a9961 /sbin/sunlabel/Makefile | |
parent | 15a332bfd66ed15bc8442e1d7a034e2d61d13085 (diff) | |
download | FreeBSD-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/Makefile | 3 |
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> |