freebsd-nq/kerberos5/usr.bin/kadmin/Makefile
Emmanuel Vadot a30235a4c3 pkgbase: Create a FreeBSD-kerberos package
This allows users to install or not kerberos related utilities
and libs.

Differential Revision:	https://reviews.freebsd.org/D31801
2021-09-07 10:23:14 +02:00

47 lines
811 B
Makefile

# $FreeBSD$
PACKAGE= kerberos
PROG= kadmin
MAN= kadmin.8
SRCS= add_enctype.c \
ank.c \
check.c \
cpw.c \
del.c \
del_enctype.c \
dump.c \
ext.c \
get.c \
init.c \
kadmin.c \
kadmin-commands.c \
kadmin-commands.h \
load.c \
mod.c \
pw_quality.c \
random_password.c \
rename.c \
stash.c \
util.c
CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/roken \
-I${KRB5DIR}/lib/sl -I${SRCTOP}/contrib/com_err -I. ${LDAPCFLAGS}
LIBADD= kadm5clnt kadm5srv hdb krb5 roken vers sl asn1 crypto edit
DPADD= ${LDAPDPADD}
LDADD= ${LDAPLDADD}
LDFLAGS=${LDAPLDFLAGS}
CLEANFILES= kadmin-commands.h kadmin-commands.c
.include <bsd.prog.mk>
kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in
${SLC} ${.ALLSRC:M*.in}
kadmin-commands.c: kadmin-commands.h
.PATH: ${KRB5DIR}/kadmin