2001-12-12 06:18:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.10 2001/12/12 03:18:17 tv Exp $
|
2001-12-12 03:51:00 +03:00
|
|
|
|
|
|
|
NOLINT= # defined
|
2000-12-30 20:21:44 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2000-06-17 03:22:57 +04:00
|
|
|
DIST= ${.CURDIR}/../../crypto/dist
|
2001-12-12 03:51:00 +03:00
|
|
|
.PATH: ${DIST}/krb4/lib/kadm
|
2000-06-17 02:50:34 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
WARNS?= 1
|
2000-06-17 02:50:34 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
LIB= kadm
|
2000-06-17 02:50:34 +04:00
|
|
|
|
2001-10-31 19:15:00 +03:00
|
|
|
.if ${USETOOLS} != "yes"
|
2001-09-22 02:58:59 +04:00
|
|
|
COMPILEETOBJ!= cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
|
|
|
|
COMPILE_ET= ${COMPILEETOBJ}/compile_et
|
|
|
|
.endif
|
2000-06-17 02:50:34 +04:00
|
|
|
|
|
|
|
kadm_err.c kadm_err.h: kadm_err.et
|
2001-09-22 02:58:59 +04:00
|
|
|
${COMPILE_ET} ${DIST}/krb4/lib/kadm/kadm_err.et
|
2000-06-17 02:50:34 +04:00
|
|
|
|
|
|
|
ERR_FILES= kadm_err.c
|
|
|
|
DPSRCS= kadm_err.h
|
|
|
|
|
|
|
|
SRCS= \
|
|
|
|
kadm_cli_wrap.c \
|
|
|
|
kadm_err.c \
|
|
|
|
kadm_stream.c \
|
|
|
|
kadm_supp.c \
|
|
|
|
check_password.c
|
|
|
|
|
2001-12-12 06:18:17 +03:00
|
|
|
INCS= kadm.h kadm_err.h
|
2001-12-12 03:51:00 +03:00
|
|
|
INCSDIR= /usr/include/kerberosIV
|
2000-06-17 02:50:34 +04:00
|
|
|
|
2000-12-30 20:21:44 +03:00
|
|
|
LIBKRBINC!= cd ${.CURDIR}/../libkrb && ${PRINTOBJDIR}
|
2000-06-17 02:50:34 +04:00
|
|
|
|
|
|
|
CPPFLAGS+= -I. \
|
|
|
|
-I${DIST}/krb4/lib/kadm \
|
|
|
|
-I${DIST}/krb4/lib/kdb \
|
|
|
|
-I${DIST}/krb4/lib/krb \
|
|
|
|
-I${DIST}/openssl/crypto/des \
|
|
|
|
-I${DIST}/heimdal/lib/com_err \
|
|
|
|
-I${LIBKRBINC} \
|
|
|
|
-I${.CURDIR}/../../include/heimdal \
|
|
|
|
-I${.CURDIR}/../libroken \
|
|
|
|
-I${DIST}/heimdal/lib/roken \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
CLEANFILES= ${ERR_FILES} kadm_err.h
|
2000-06-17 02:50:34 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
${SRCS:.c=.o}: kadm_err.h
|
2000-06-17 02:50:34 +04:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|