freebsd-dev/lib/libopie/Makefile

41 lines
905 B
Makefile
Raw Normal View History

# Makefile for libopie
#
1999-08-28 00:22:10 +00:00
# $FreeBSD$
#
CONFS= opieaccess
CONFSMODE= 600
PACKAGE=lib${LIB}
OPIE_DIST?= ${SRCTOP}/contrib/opie
DIST_DIR= ${OPIE_DIST}/${.CURDIR:T}
SHLIB_MAJOR= 8
KEYFILE?= \"/etc/opiekeys\"
2010-01-13 18:02:30 +00:00
.PATH: ${DIST_DIR}
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
SRCS+= opieextra.c
INCS= ${OPIE_DIST}/opie.h
CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \
1997-09-29 10:55:46 +00:00
-DKEY_FILE=${KEYFILE}
ACCESSFILE?= \"/etc/opieaccess\"
CFLAGS+= -DINSECURE_OVERRIDE -DPATH_ACCESS_FILE=${ACCESSFILE}
WARNS?= 0
LIBADD= md
2001-03-27 17:27:19 +00:00
MAN= ${OPIE_DIST}/opie.4 ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5
MLINKS= opie.4 skey.4
.include <bsd.lib.mk>