1# Makefile for libopie 2#
| 1# Makefile for libopie 2#
|
3# $FreeBSD: head/lib/libopie/Makefile 50476 1999-08-28 00:22:10Z peter $
| 3# $FreeBSD: head/lib/libopie/Makefile 55955 2000-01-14 07:57:47Z rgrimes $
|
4# 5OPIE_DIST?= ${.CURDIR}/../../contrib/opie 6DIST_DIR= ${OPIE_DIST}/${.CURDIR:T} 7SHLIB_MAJOR= 2 8SHLIB_MINOR= 1 9 10KEYFILE?= \"/etc/opiekeys\" 11 12.PATH: ${DIST_DIR} ${OPIE_DIST}/libmissing 13 14LIB= opie 15SRCS= 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
| 4# 5OPIE_DIST?= ${.CURDIR}/../../contrib/opie 6DIST_DIR= ${OPIE_DIST}/${.CURDIR:T} 7SHLIB_MAJOR= 2 8SHLIB_MINOR= 1 9 10KEYFILE?= \"/etc/opiekeys\" 11 12.PATH: ${DIST_DIR} ${OPIE_DIST}/libmissing 13 14LIB= opie 15SRCS= 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
|
| 21INCS= ${OPIE_DIST}/opie.h
|
21 22CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \ 23 -DKEY_FILE=${KEYFILE} 24 25LDADD+= -lmd 26DPADD+= ${LIBMD} 27 28MAN4= ${OPIE_DIST}/opie.4 29MAN5= ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5 30
| 22 23CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \ 24 -DKEY_FILE=${KEYFILE} 25 26LDADD+= -lmd 27DPADD+= ${LIBMD} 28 29MAN4= ${OPIE_DIST}/opie.4 30MAN5= ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5 31
|
31beforeinstall: 32 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${OPIE_DIST}/opie.h \ 33 ${DESTDIR}/usr/include 34
| |
35.include <bsd.lib.mk>
| 32.include <bsd.lib.mk>
|