freebsd-nq/usr.bin/opiekey/Makefile
Mark Murray 875afe974f Provide a WANT_INSECURE_OPIE compile-time option, which is useful if
you encrypt all traffic routinely, and is also useful for debugging.

Also, (properly) set SUID bit on relevant apps - opieinfo and
opiepasswd, which need it to mess with /etc/opiekeys.
2001-07-09 17:37:52 +00:00

24 lines
426 B
Makefile

# $FreeBSD$
#
OPIE_DIST?= ${.CURDIR}/../../contrib/opie
PROG= opiekey
CFLAGS+= -I${OPIE_DIST}
.if defined(WANT_INSECURE_OPIE) && ${WANT_INSECURE_OPIE} == true
CFLAGS+=-DINSECURE_OVERRIDE
.endif
DPADD= ${LIBOPIE} ${LIBMD}
LDADD= -lopie -lmd
LINKS= ${BINDIR}/opiekey ${BINDIR}/otp-md4
LINKS+= ${BINDIR}/opiekey ${BINDIR}/otp-md5
MLINKS= opiekey.1 otp-md4.1 opiekey.1 otp-md5.1
.PATH: ${OPIE_DIST}
.include <bsd.prog.mk>