1*ebfedea0SLionel Sambuc# $NetBSD: Makefile,v 1.3 2013/09/11 23:04:09 joerg Exp $ 2*ebfedea0SLionel Sambuc 3*ebfedea0SLionel SambucUSE_FORT?= yes # network protocol library 4*ebfedea0SLionel Sambuc 5*ebfedea0SLionel SambucNOLINT= # defined 6*ebfedea0SLionel Sambuc 7*ebfedea0SLionel Sambuc.include <bsd.own.mk> 8*ebfedea0SLionel Sambuc.include <${.CURDIR}/../../Makefile.inc> 9*ebfedea0SLionel Sambuc 10*ebfedea0SLionel Sambuc.PATH: ${HEIMDIST}/lib/kadm5 ${HEIMBASE}/include 11*ebfedea0SLionel Sambuc 12*ebfedea0SLionel SambucLIB= kadm5clnt 13*ebfedea0SLionel Sambuc 14*ebfedea0SLionel SambucLIBDPLIBS+= krb5 ${.CURDIR}/../libkrb5 \ 15*ebfedea0SLionel Sambuc com_err ${.CURDIR}/../libcom_err \ 16*ebfedea0SLionel Sambuc hdb ${.CURDIR}/../libhdb \ 17*ebfedea0SLionel Sambuc roken ${.CURDIR}/../libroken 18*ebfedea0SLionel Sambuc 19*ebfedea0SLionel SambucHEIMSRCS= kadm5_err.et 20*ebfedea0SLionel Sambuc 21*ebfedea0SLionel SambucSRCS = \ 22*ebfedea0SLionel Sambuc ad.c \ 23*ebfedea0SLionel Sambuc chpass_c.c \ 24*ebfedea0SLionel Sambuc client_glue.c \ 25*ebfedea0SLionel Sambuc common_glue.c \ 26*ebfedea0SLionel Sambuc create_c.c \ 27*ebfedea0SLionel Sambuc delete_c.c \ 28*ebfedea0SLionel Sambuc destroy_c.c \ 29*ebfedea0SLionel Sambuc flush_c.c \ 30*ebfedea0SLionel Sambuc free.c \ 31*ebfedea0SLionel Sambuc get_c.c \ 32*ebfedea0SLionel Sambuc get_princs_c.c \ 33*ebfedea0SLionel Sambuc init_c.c \ 34*ebfedea0SLionel Sambuc marshall.c \ 35*ebfedea0SLionel Sambuc modify_c.c \ 36*ebfedea0SLionel Sambuc privs_c.c \ 37*ebfedea0SLionel Sambuc randkey_c.c \ 38*ebfedea0SLionel Sambuc rename_c.c \ 39*ebfedea0SLionel Sambuc send_recv.c 40*ebfedea0SLionel Sambuc 41*ebfedea0SLionel SambucNO_VERSION_SCRIPT= 42*ebfedea0SLionel Sambuc 43*ebfedea0SLionel SambucINCSDIR= /usr/include/kadm5 44*ebfedea0SLionel SambucINCS= admin.h \ 45*ebfedea0SLionel Sambuc private.h \ 46*ebfedea0SLionel Sambuc kadm5-protos.h \ 47*ebfedea0SLionel Sambuc kadm5-private.h \ 48*ebfedea0SLionel Sambuc kadm5-pwcheck.h \ 49*ebfedea0SLionel Sambuc ${COMPILE_ET_INCS} 50*ebfedea0SLionel Sambuc 51*ebfedea0SLionel Sambuc# Prevent collision with old MIT Kerberos includes -- require manual 52*ebfedea0SLionel Sambuc# intervention of the operator. 53*ebfedea0SLionel Sambuc.BEGIN: 54*ebfedea0SLionel Sambuc.ifmake includes 55*ebfedea0SLionel Sambuc @if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \ 56*ebfedea0SLionel Sambuc echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \ 57*ebfedea0SLionel Sambuc false; \ 58*ebfedea0SLionel Sambuc fi 59*ebfedea0SLionel Sambuc.endif 60*ebfedea0SLionel Sambuc 61*ebfedea0SLionel Sambuc.include <${HEIMBASE}/Makefile.rules.inc> 62*ebfedea0SLionel Sambuc.include <bsd.lib.mk> 63