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