login_totp/Makefile

18 lines
302 B
Makefile
Raw Normal View History

2023-02-05 21:33:59 +01:00
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>