122375Spst# Makefile for libopie 222375Spst# 350476Speter# $FreeBSD: stable/10/lib/libopie/Makefile 313614 2017-02-11 06:47:56Z ngie $ 422375Spst# 5313614SngieOPIE_DIST?= ${SRCTOP}/contrib/opie 622375SpstDIST_DIR= ${OPIE_DIST}/${.CURDIR:T} 7273277SantoineSHLIB_MAJOR= 7 822375Spst 922375SpstKEYFILE?= \"/etc/opiekeys\" 1022375Spst 11202196Sed.PATH: ${DIST_DIR} 1222375Spst 1322375SpstLIB= opie 1422375SpstSRCS= atob8.c btoa8.c btoh.c challenge.c getsequence.c hash.c hashlen.c \ 1522375Spst keycrunch.c lock.c lookup.c newseed.c parsechallenge.c passcheck.c \ 1622375Spst passwd.c randomchallenge.c readpass.c unlock.c verify.c version.c \ 1722375Spst btoe.c accessfile.c generator.c insecure.c getutmpentry.c \ 18202196Sed readrec.c writerec.c open.c 1960572SkrisSRCS+= opieextra.c 2055955SrgrimesINCS= ${OPIE_DIST}/opie.h 2122375Spst 2222375SpstCFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \ 2329971Sache -DKEY_FILE=${KEYFILE} 2422375Spst 2581062SmarkmACCESSFILE?= \"/etc/opieaccess\" 2681062SmarkmCFLAGS+= -DINSECURE_OVERRIDE -DPATH_ACCESS_FILE=${ACCESSFILE} 2779473Smarkm 28201381SedWARNS?= 0 29201381Sed 30145413StrhodesDPADD= ${LIBMD} 31125503SruLDADD= -lmd 3240202Speter 3374870SruMAN= ${OPIE_DIST}/opie.4 ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5 3422375Spst 3579473SmarkmMLINKS= opie.4 skey.4 3679473Smarkm 3722375Spst.include <bsd.lib.mk> 38