Home | History | Annotate | Line # | Download | only in libkadm5clnt
Makefile revision 1.4
      1 # $NetBSD: Makefile,v 1.4 2023/06/19 23:11:44 christos 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+= -I${HEIMDIST}/lib/krb5
     22 
     23 SRCS =			\
     24 	ad.c		\
     25 	chpass_c.c	\
     26 	client_glue.c	\
     27 	common_glue.c	\
     28 	create_c.c	\
     29 	delete_c.c	\
     30 	destroy_c.c	\
     31 	flush_c.c	\
     32 	free.c		\
     33 	get_c.c		\
     34 	get_princs_c.c	\
     35 	init_c.c	\
     36 	marshall.c	\
     37 	modify_c.c	\
     38 	privs_c.c	\
     39 	randkey_c.c	\
     40 	rename_c.c	\
     41 	send_recv.c
     42 
     43 NO_VERSION_SCRIPT=
     44 
     45 INCSDIR=	/usr/include/kadm5
     46 INCS=		admin.h			\
     47 		private.h		\
     48 		kadm5-protos.h		\
     49 		kadm5-private.h		\
     50 		kadm5-pwcheck.h		\
     51 		${COMPILE_ET_INCS}
     52 
     53 # Prevent collision with old MIT Kerberos includes -- require manual
     54 # intervention of the operator.
     55 .BEGIN:
     56 .ifmake includes
     57 	@if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \
     58 		echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
     59 		false; \
     60 	fi
     61 .endif
     62 
     63 .include <${HEIMBASE}/Makefile.rules.inc>
     64 .include <bsd.lib.mk>
     65