18 lines
302 B
Makefile
18 lines
302 B
Makefile
|
PROG = login_-totp
|
||
|
SRCS = login_totp.c
|
||
|
NOMAN = noman
|
||
|
DPADD += ${LIBCRYPTO}
|
||
|
LDADD += -lcrypto
|
||
|
|
||
|
CFLAGS += -Wall -Wextra -pedantic
|
||
|
|
||
|
BINOWN = root
|
||
|
BINGRP = auth
|
||
|
BINMODE = 555
|
||
|
BINDIR = /usr/libexec/auth
|
||
|
|
||
|
afterinstall:
|
||
|
${INSTALL} -d -m 0770 -o ${BINOWN} -g ${BINGRP} /var/db/totp
|
||
|
|
||
|
.include <bsd.prog.mk>
|