summaryrefslogtreecommitdiff
path: root/krb5/lib/kadmin_common/Makefile
blob: 926a7b266c0580e54c79d27aeff456f1491386b7 (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
#
# 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=	kadmin_common
INTERNALLIB=
LDFLAGS=-Wl,--no-undefined
INCS=	

SRCS=	kadmin.c \
	kadmin_ct.c \
	ktutil_ct.c \
	ss_wrapper.c \
	getdate.y

CFLAGS+=-I${KRB5_DIR}/lib/krad \
	-I${KRB5_DIR}/include \
	-I${KRB5_SRCTOP}/include \
	-I${KRB5_DIR}/util \
	-I${KRB5_OBJTOP}/util \
	-I${KRB5_OBJTOP}/util/profile \
	-I${.OBJDIR}

CLEANFILES=	kadmin_ct.c ktutil_ct.c

kadmin_ct.c:	kadmin_ct.ct ss_err.h
	${MAKE_COMMANDS} ${KRB5_DIR}/kadmin/cli/kadmin_ct.ct

ktutil_ct.c:	ktutil_ct.ct ss_err.h
	${MAKE_COMMANDS} ${KRB5_DIR}/kadmin/ktutil/ktutil_ct.ct

.include <bsd.lib.mk>

.SUFFIXES: .h .c .ct

.PATH:	${KRB5_DIR}/kadmin/cli \
	${KRB5_DIR}/kadmin/ktutil \
	${KRB5_DIR}/util/ss \
	${KRB5_OBJTOP}/util/ss