aboutsummaryrefslogtreecommitdiff
path: root/lib/libopie/Makefile
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-07-09 18:08:16 +0000
committerMark Murray <markm@FreeBSD.org>2001-07-09 18:08:16 +0000
commit1ba0449fc511d0e14dbde2416f7872ca590ac477 (patch)
treef13f3dd9173b73379893159849330c29809cdc2f /lib/libopie/Makefile
parent75ff968cd57ae393a78c30151fcc2b869728770c (diff)
downloadsrc-1ba0449fc511d0e14dbde2416f7872ca590ac477.tar.gz
src-1ba0449fc511d0e14dbde2416f7872ca590ac477.zip
Add the WANT_INSECURE_OPIE frob which is useful for debugging and
over secure (encrypted) links. Add a MLINK for skey(4) to opie(4) to assist in the transition.
Notes
Notes: svn path=/head/; revision=79473
Diffstat (limited to 'lib/libopie/Makefile')
-rw-r--r--lib/libopie/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile
index 15d31852d07d..f9bb26321527 100644
--- a/lib/libopie/Makefile
+++ b/lib/libopie/Makefile
@@ -24,9 +24,15 @@ INCS= ${OPIE_DIST}/opie.h
CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \
-DKEY_FILE=${KEYFILE}
+.if defined(WANT_INSECURE_OPIE) && ${WANT_INSECURE_OPIE} == true
+CFLAGS+=-DINSECURE_OVERRIDE
+.endif
+
LDADD+= -lmd
DPADD+= ${LIBMD}
MAN= ${OPIE_DIST}/opie.4 ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5
+MLINKS= opie.4 skey.4
+
.include <bsd.lib.mk>