summaryrefslogtreecommitdiff
path: root/krb5/libexec/kadmind/Makefile
blob: ba1eca3309dfe22d0298a5e21c3fdc3065555b72 (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# 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 "../Makefile.inc"

PROG=	kadmind
LIBADD=	kadm5srv_mit kdb5 gssrpc gssapi_krb5 krb5 k5crypto com_err \
	krb5support apputils verto sys m

SRCS=	auth.c \
	auth_acl.c \
	auth_self.c \
	ipropd_svc.c \
	kadm_rpc_svc.c \
	misc.c \
	ovsec_kadmd.c \
	schpw.c \
	server_stubs.c

MAN=	kadmind.8

CFLAGS+=-I${KRB5_DIR}/include \
	-I${KRB5_SRCTOP}/include \
	-I${KRB5_OBJTOP}/lib/gssapi \
	-I${KRB5_OBJTOP}/lib \
	-I${KRB5_DIR}/lib \
	-I${KRB5_DIR}/lib/gssapi/krb5 \
	-I${KRB5_DIR}/lib/gssapi/generic \
	-I${KRB5_OBJTOP}/util/profile

kadmind.8:	kadmind.man

CLEANFILES+=	kadmind.8

.include <bsd.prog.mk>

.SUFFIXES: .h .c .man .8

.man.8:
	@cp ${.ALLSRC} ${.TARGET}

.PATH:	${KRB5_DIR}/kadmin/server \
	${KRB5_DIR}/man