61 lines
1.2 KiB
Makefile
61 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2009/04/22 15:23:04 lukem Exp $
|
|
|
|
WARNS?= 1 # XXX -Wextra -Wsign-compare
|
|
NOLINT= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_FORT?= yes # network client
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
|
.PATH: ${DIST}/heimdal/kadmin
|
|
|
|
PROG= kadmin
|
|
|
|
SRCS= \
|
|
ank.c \
|
|
add_enctype.c \
|
|
check.c \
|
|
cpw.c \
|
|
del.c \
|
|
del_enctype.c \
|
|
dump.c \
|
|
ext.c \
|
|
get.c \
|
|
init.c \
|
|
kadmin.c \
|
|
load.c \
|
|
mod.c \
|
|
rename.c \
|
|
stash.c \
|
|
util.c \
|
|
pw_quality.c \
|
|
random_password.c \
|
|
kadmin-commands.c
|
|
|
|
CPPFLAGS+= -I. \
|
|
-I${DIST}/heimdal/kadmin \
|
|
-I${DIST}/heimdal/lib/krb5 \
|
|
-I${DIST}/heimdal/lib/asn1 \
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
|
-I${DESTDIR}/usr/include/kadm5 \
|
|
-I${DESTDIR}/usr/include/krb5 \
|
|
-DHAVE_CONFIG_H
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
.endif
|
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
|
|
|
LDADD+= -lkadm5srv -lhdb -lkrb5 -lhx509 -lcrypto \
|
|
-lasn1 -lcom_err -lsl -ledit -ltermcap \
|
|
-L${VERS} -lvers -lroken -lcrypt -lutil
|
|
DPADD+= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} \
|
|
${LIBASN1} ${LIBCOM_ERR} ${LIBSL} ${LIBEDIT} ${LIBTERMCAP} \
|
|
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
|
|
|
|
MAN= kadmin.8
|
|
|
|
.include <bsd.prog.mk>
|