1997-02-07 03:51:56 +00:00
|
|
|
# Makefile for libopie
|
|
|
|
#
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1997-02-07 03:51:56 +00:00
|
|
|
#
|
|
|
|
OPIE_DIST?= ${.CURDIR}/../../contrib/opie
|
|
|
|
DIST_DIR= ${OPIE_DIST}/${.CURDIR:T}
|
2014-10-19 12:11:25 +00:00
|
|
|
SHLIB_MAJOR= 7
|
1997-02-07 03:51:56 +00:00
|
|
|
|
|
|
|
KEYFILE?= \"/etc/opiekeys\"
|
|
|
|
|
2010-01-13 18:02:30 +00:00
|
|
|
.PATH: ${DIST_DIR}
|
1997-02-07 03:51:56 +00:00
|
|
|
|
|
|
|
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 \
|
2010-01-13 18:02:30 +00:00
|
|
|
readrec.c writerec.c open.c
|
2000-05-15 04:20:54 +00:00
|
|
|
SRCS+= opieextra.c
|
2000-01-14 07:57:47 +00:00
|
|
|
INCS= ${OPIE_DIST}/opie.h
|
1997-02-07 03:51:56 +00:00
|
|
|
|
|
|
|
CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \
|
1997-09-29 10:55:46 +00:00
|
|
|
-DKEY_FILE=${KEYFILE}
|
1997-02-07 03:51:56 +00:00
|
|
|
|
2001-08-02 18:58:52 +00:00
|
|
|
ACCESSFILE?= \"/etc/opieaccess\"
|
|
|
|
CFLAGS+= -DINSECURE_OVERRIDE -DPATH_ACCESS_FILE=${ACCESSFILE}
|
2001-07-09 18:08:16 +00:00
|
|
|
|
2010-01-02 09:58:07 +00:00
|
|
|
WARNS?= 0
|
|
|
|
|
2004-02-05 22:44:25 +00:00
|
|
|
DPADD= ${LIBMD}
|
2005-04-22 18:57:32 +00:00
|
|
|
LDADD= -lmd
|
1998-10-11 04:45:50 +00:00
|
|
|
|
2001-03-27 17:27:19 +00:00
|
|
|
MAN= ${OPIE_DIST}/opie.4 ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5
|
1997-02-07 03:51:56 +00:00
|
|
|
|
2001-07-09 18:08:16 +00:00
|
|
|
MLINKS= opie.4 skey.4
|
|
|
|
|
1997-02-07 03:51:56 +00:00
|
|
|
.include <bsd.lib.mk>
|