blob: b7762e1b34805b50977e597a05d23dd4f8d37c66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $OpenBSD: Makefile,v 1.4 2016/03/30 06:38:47 jmc Exp $
PROG= tokeninit
SRCS= tokeninit.c init.c token.c tokendb.c
MAN= tokeninit.8
LDADD+= -lcrypto
DPADD= ${LIBCRYPTO}
CFLAGS+=-I${.CURDIR}/../../libexec/login_token
.PATH: ${.CURDIR}/../../libexec/login_token
TOKENS= activ crypto snk
BINMODE=500
afterinstall:
for i in ${TOKENS} ; do \
cd ${DESTDIR}${BINDIR} && \
rm -f $${i}init && \
ln ${PROG} $${i}init ; \
done
.include <bsd.prog.mk>
|