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