Home | History | Annotate | Line # | Download | only in libkadm5clnt
      1 # $NetBSD: Makefile,v 1.5 2023/06/19 23:56:55 mrg Exp $
      2 
      3 USE_FORT?= yes	# network protocol library
      4 
      5 NOLINT=		# defined
      6 
      7 .include <bsd.own.mk>
      8 .include <${.CURDIR}/../../Makefile.inc>
      9 
     10 .PATH:		${HEIMDIST}/lib/kadm5 ${HEIMBASE}/include
     11 
     12 LIB=		kadm5clnt
     13 
     14 LIBDPLIBS+=	krb5	${.CURDIR}/../libkrb5 \
     15 		com_err	${.CURDIR}/../libcom_err \
     16 		hdb	${.CURDIR}/../libhdb \
     17 		roken	${.CURDIR}/../libroken
     18 
     19 HEIMSRCS=	kadm5_err.et
     20 
     21 CPPFLAGS+=				\
     22 	-I${HEIMDIST}/lib/krb5		\
     23 	-I${HEIMDIST}/lib
     24 
     25 SRCS =			\
     26 	ad.c		\
     27 	chpass_c.c	\
     28 	client_glue.c	\
     29 	common_glue.c	\
     30 	create_c.c	\
     31 	delete_c.c	\
     32 	destroy_c.c	\
     33 	flush_c.c	\
     34 	free.c		\
     35 	get_c.c		\
     36 	get_princs_c.c	\
     37 	init_c.c	\
     38 	marshall.c	\
     39 	modify_c.c	\
     40 	privs_c.c	\
     41 	randkey_c.c	\
     42 	rename_c.c	\
     43 	send_recv.c
     44 
     45 NO_VERSION_SCRIPT=
     46 
     47 INCSDIR=	/usr/include/kadm5
     48 INCS=		admin.h			\
     49 		private.h		\
     50 		kadm5-protos.h		\
     51 		kadm5-private.h		\
     52 		kadm5-pwcheck.h		\
     53 		${COMPILE_ET_INCS}
     54 
     55 # Prevent collision with old MIT Kerberos includes -- require manual
     56 # intervention of the operator.
     57 .BEGIN:
     58 .ifmake includes
     59 	@if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \
     60 		echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
     61 		false; \
     62 	fi
     63 .endif
     64 
     65 .include <${HEIMBASE}/Makefile.rules.inc>
     66 .include <bsd.lib.mk>
     67