3 # $Id: Makefile,v 1.7 1997/09/29 21:40:17 ache Exp $
5 OPIE_DIST?= ${.CURDIR}/../../contrib/opie
6 DIST_DIR= ${OPIE_DIST}/${.CURDIR:T}
10 KEYFILE?= \"/etc/opiekeys\"
12 .PATH: ${DIST_DIR} ${OPIE_DIST}/libmissing
15 SRCS= atob8.c btoa8.c btoh.c challenge.c getsequence.c hash.c hashlen.c \
16 keycrunch.c lock.c lookup.c newseed.c parsechallenge.c passcheck.c \
17 passwd.c randomchallenge.c readpass.c unlock.c verify.c version.c \
18 btoe.c accessfile.c generator.c insecure.c getutmpentry.c \
19 readrec.c writerec.c login.c open.c logwtmp.c \
20 getutline.c pututline.c endutent.c setutent.c # from libmissing
22 CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \
28 MAN4= ${OPIE_DIST}/opie.4
29 MAN5= ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5
32 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${OPIE_DIST}/opie.h \
33 ${DESTDIR}/usr/include