# $OpenBSD: Makefile,v 1.2 2003/07/18 21:18:51 david Exp $ PROG= tokenadm SRCS= tokenadm.c init.c tokendb.c MAN= tokenadm.8 LDADD+= -ldes DPADD= ${LIBDES} CFLAGS+=-I${.CURDIR}/../../libexec/login_token .PATH: ${.CURDIR}/../../libexec/login_token TOKENS= activ crypto snk MLINKS= tokenadm.8 activadm.8 MLINKS+=tokenadm.8 cryptoadm.8 MLINKS+=tokenadm.8 snkadm.8 BINMODE=500 afterinstall: for i in ${TOKENS} ; do \ cd ${DESTDIR}${BINDIR} && \ rm -f $${i}adm && \ ln ${PROG} $${i}adm ; \ done .include