freebsd-nq/kerberos5/usr.bin/kadmin/Makefile
2012-06-01 21:26:28 +00:00

50 lines
989 B
Makefile

# $FreeBSD$
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. ${LDAPCFLAGS}
DPADD= ${LIBKADM5CLNT} ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBHX509} \
${LIBSL} ${LIBROKEN} ${LIBVERS} ${LIBASN1} \
${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} \
${LIBEDIT} ${LIBNCURSES} ${LDAPDPADD}
LDADD= -lkadm5clnt -lkadm5srv -lhdb -lkrb5 -lhx509 \
${LIBSL} -lroken ${LIBVERS} -lasn1 \
-lcrypto -lcrypt -lcom_err \
-ledit -lncurses ${LDAPLDADD}
LDFLAGS=${LDAPLDFLAGS}
.include <bsd.prog.mk>
kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in
${SLC} ${.ALLSRC:M*.in}
.for ext in o c
kadmin-commands.${ext}: kadmin-commands.h
.endfor
.PATH: ${KRB5DIR}/kadmin