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