kernconf.5: Add info on 64-bit kernels & improve markup
[dragonfly.git] / lib / libopie / Makefile
blob350bce70e74a445b951e73b9b7164a1f07f142b8
1 # Makefile for libopie
3 # $FreeBSD: src/lib/libopie/Makefile,v 1.10.2.3 2002/07/15 14:17:08 des Exp $
4 # $DragonFly: src/lib/libopie/Makefile,v 1.4 2006/01/18 02:33:35 dillon Exp $
6 OPIE_DIST?= ${.CURDIR}/../../contrib/opie
7 DIST_DIR= ${OPIE_DIST}/${.CURDIR:T}
8 SHLIB_MAJOR= 3
10 KEYFILE?= \"/etc/opiekeys\"
12 .PATH: ${DIST_DIR} ${OPIE_DIST}/libmissing
14 LIB= opie
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
21 SRCS+= opieextra.c
22 INCS= ${OPIE_DIST}/opie.h
24 CONTRIBDIR= ${DIST_DIR}
25 SRCS+= readpass.c.patch
27 CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \
28 -DKEY_FILE=${KEYFILE}
30 ACCESSFILE?= \"/etc/opieaccess\"
31 CFLAGS+= -DINSECURE_OVERRIDE -DPATH_ACCESS_FILE=${ACCESSFILE}
33 LDADD+= -lmd
34 DPADD+= ${LIBMD}
36 MAN= ${OPIE_DIST}/opie.4 ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5
38 MLINKS= opie.4 skey.4
40 .include <bsd.lib.mk>