summaryrefslogtreecommitdiff
path: root/crypto/external/bsd/heimdal/lib/libkadm5clnt/Makefile
blob: 7c2f77c33eaaff2ee6c9af70f43f9c70ac944bd8 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
# $NetBSD: Makefile,v 1.3 2013/09/11 23:04:09 joerg Exp $

USE_FORT?= yes	# network protocol library

NOLINT=		# defined

.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>

.PATH:		${HEIMDIST}/lib/kadm5 ${HEIMBASE}/include

LIB=		kadm5clnt

LIBDPLIBS+=	krb5	${.CURDIR}/../libkrb5 \
		com_err	${.CURDIR}/../libcom_err \
		hdb	${.CURDIR}/../libhdb \
		roken	${.CURDIR}/../libroken

HEIMSRCS=	kadm5_err.et

SRCS =			\
	ad.c		\
	chpass_c.c	\
	client_glue.c	\
	common_glue.c	\
	create_c.c	\
	delete_c.c	\
	destroy_c.c	\
	flush_c.c	\
	free.c		\
	get_c.c		\
	get_princs_c.c	\
	init_c.c	\
	marshall.c	\
	modify_c.c	\
	privs_c.c	\
	randkey_c.c	\
	rename_c.c	\
	send_recv.c

NO_VERSION_SCRIPT=

INCSDIR=	/usr/include/kadm5
INCS=		admin.h			\
		private.h		\
		kadm5-protos.h		\
		kadm5-private.h		\
		kadm5-pwcheck.h		\
		${COMPILE_ET_INCS}

# Prevent collision with old MIT Kerberos includes -- require manual
# intervention of the operator.
.BEGIN:
.ifmake includes
	@if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \
		echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
		false; \
	fi
.endif

.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.lib.mk>