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