xref: /freebsd/krb5/plugins/preauth/otp/Makefile (revision 18a870751b036f1dc78b36084ccb993d139a11bb)
1#
2# SPDX-License-Identifier: BSD-2-Clause
3#
4# Copyright (c) 2025 FreeBSD Foundation
5#
6# This sofware was developed by Cy Schubert <cy@FreeBSD.org>
7# under sponsorship from the FreeBSD Foundation.
8#
9
10.include <src.opts.mk>
11
12.include "../Makefile.inc"
13
14LIB=		otp
15LIBDIR=		${PLUGINSDIR}/preauth
16LDFLAGS=-Wl,--no-undefined
17LIBADD=	krb5profile krad verto krb5 k5crypto com_err krb5support m
18VERSION_MAP=	${.CURDIR}/version.map
19
20.PATH:	${KRB5_DIR}/plugins/preauth/otp
21
22SRCS=	main.c \
23	otp_state.c
24
25CFLAGS+=-I${KRB5_DIR}/plugins/preauth/otp \
26	-I${KRB5_DIR}/include \
27	-I${KRB5_SRCTOP}/include
28
29.include <bsd.lib.mk>
30