1# Makefile for libopie 2# 3# $FreeBSD: stable/10/lib/libopie/Makefile 313614 2017-02-11 06:47:56Z ngie $ 4# 5OPIE_DIST?= ${SRCTOP}/contrib/opie 6DIST_DIR= ${OPIE_DIST}/${.CURDIR:T} 7SHLIB_MAJOR= 7 8 9KEYFILE?= \"/etc/opiekeys\" 10 11.PATH: ${DIST_DIR} 12 13LIB= opie 14SRCS= atob8.c btoa8.c btoh.c challenge.c getsequence.c hash.c hashlen.c \ 15 keycrunch.c lock.c lookup.c newseed.c parsechallenge.c passcheck.c \ 16 passwd.c randomchallenge.c readpass.c unlock.c verify.c version.c \ 17 btoe.c accessfile.c generator.c insecure.c getutmpentry.c \ 18 readrec.c writerec.c open.c 19SRCS+= opieextra.c 20INCS= ${OPIE_DIST}/opie.h 21 22CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \ 23 -DKEY_FILE=${KEYFILE} 24 25ACCESSFILE?= \"/etc/opieaccess\" 26CFLAGS+= -DINSECURE_OVERRIDE -DPATH_ACCESS_FILE=${ACCESSFILE} 27 28WARNS?= 0 29 30DPADD= ${LIBMD} 31LDADD= -lmd 32 33MAN= ${OPIE_DIST}/opie.4 ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5 34 35MLINKS= opie.4 skey.4 36 37.include <bsd.lib.mk> 38