aboutsummaryrefslogtreecommitdiff
path: root/krb5/plugins/preauth/otp/Makefile
blob: fa047b44e176224f00307ef7e3498b5f027b3518 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# SPDX-License-Identifier: BSD-2-Clause
#
# Copyright (c) 2025 FreeBSD Foundation
#
# This sofware was developed by Cy Schubert <cy@FreeBSD.org>
# under sponsorship from the FreeBSD Foundation.
#

.include <src.opts.mk>

.include "../Makefile.inc"

LIB=		otp
LIBDIR=		${PLUGINSDIR}/preauth
LDFLAGS=-Wl,--no-undefined
LIBADD=	krb5profile krad verto krb5 k5crypto com_err krb5support m
VERSION_MAP=	${.CURDIR}/version.map

.PATH:	${KRB5_DIR}/plugins/preauth/otp

SRCS=	main.c \
	otp_state.c

CFLAGS+=-I${KRB5_DIR}/plugins/preauth/otp \
	-I${KRB5_DIR}/include \
	-I${KRB5_SRCTOP}/include

.include <bsd.lib.mk>