2001-10-04 20:11:24 +04:00
|
|
|
# $NetBSD: Makefile,v 1.6 2001/10/04 16:11:25 tv Exp $
|
2000-12-30 20:21:44 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2000-06-17 03:22:57 +04:00
|
|
|
DIST= ${.CURDIR}/../../crypto/dist
|
2000-06-17 02:50:34 +04:00
|
|
|
.PATH: ${DIST}/krb4/lib/kadm
|
|
|
|
|
|
|
|
WARNS?= 1
|
|
|
|
MKLINT= no
|
|
|
|
|
|
|
|
LIB= kadm
|
|
|
|
|
2001-10-04 20:11:24 +04:00
|
|
|
.if ${USETOOLS} == "no"
|
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
|
|
|
|
|
2000-06-17 03:22:57 +04:00
|
|
|
INCSDIR= /usr/include/kerberosIV
|
2000-06-17 02:50:34 +04:00
|
|
|
|
|
|
|
INCS= kadm.h \
|
|
|
|
kadm_err.h
|
|
|
|
|
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
|
|
|
|
|
|
|
|
CLEANFILES = $(ERR_FILES) kadm_err.h
|
|
|
|
|
|
|
|
$(SRCS:.c=.o): kadm_err.h
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|