diff options
author | pst <pst@FreeBSD.org> | 1997-02-07 03:51:56 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-02-07 03:51:56 +0000 |
commit | 93295c3c253cb9c65b5fc885a53a1aa5f96c8b5c (patch) | |
tree | 6d700c97d521850650b10a6d7bd138f8183287e1 /lib/libopie/Makefile | |
parent | 9610a1aad83f73c93cb950b0454efebcb0cc0330 (diff) | |
download | FreeBSD-src-93295c3c253cb9c65b5fc885a53a1aa5f96c8b5c.zip FreeBSD-src-93295c3c253cb9c65b5fc885a53a1aa5f96c8b5c.tar.gz |
Build libopie from contrib_opie module.
Diffstat (limited to 'lib/libopie/Makefile')
-rw-r--r-- | lib/libopie/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile new file mode 100644 index 0000000..6a6c982 --- /dev/null +++ b/lib/libopie/Makefile @@ -0,0 +1,27 @@ +# Makefile for libopie +# +# $FreeBSD$ +# +OPIE_DIST?= ${.CURDIR}/../../contrib/opie +DIST_DIR= ${OPIE_DIST}/${.CURDIR:T} + +KEYFILE?= \"/etc/opiekeys\" +EXTFILE?= \"/etc/opiekeys.ext\" + +.PATH: ${DIST_DIR} ${OPIE_DIST}/libmissing + +LIB= opie +SRCS= atob8.c btoa8.c btoh.c challenge.c getsequence.c hash.c hashlen.c \ + keycrunch.c lock.c lookup.c newseed.c parsechallenge.c passcheck.c \ + passwd.c randomchallenge.c readpass.c unlock.c verify.c version.c \ + btoe.c accessfile.c generator.c insecure.c getutmpentry.c \ + readrec.c writerec.c login.c open.c \ + getutline.c pututline.c endutent.c # from libmissing + +CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \ + -DSTD_KEY_FILE=${KEYFILE} -DEXT_KEY_FILE=${EXTFILE} + +MAN4= ${OPIE_DIST}/opie.4 +MAN5= ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5 + +.include <bsd.lib.mk> |