2001-12-12 03:51:00 +03:00
|
|
|
# $NetBSD: Makefile,v 1.14 2001/12/12 00:51:03 tv Exp $
|
|
|
|
|
|
|
|
NOLINT= # defined
|
2000-12-30 20:21:44 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2000-06-17 02:46:43 +04:00
|
|
|
DIST= ${.CURDIR}/../../crypto/dist
|
2001-12-12 03:51:00 +03:00
|
|
|
.PATH: ${DIST}/heimdal/lib/kadm5
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
WARNS?= 1
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
LIB= kadm5clnt
|
2000-06-16 23:27:31 +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-16 23:27:31 +04:00
|
|
|
|
|
|
|
kadm5_err.c kadm5_err.h: kadm5_err.et
|
2001-09-22 02:58:59 +04:00
|
|
|
${COMPILE_ET} ${DIST}/heimdal/lib/kadm5/kadm5_err.et
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
ERR_FILES = kadm5_err.c
|
|
|
|
|
|
|
|
SRCS = \
|
|
|
|
chpass_c.c \
|
|
|
|
common_glue.c \
|
2001-02-07 13:36:38 +03:00
|
|
|
client_glue.c \
|
2000-06-16 23:27:31 +04:00
|
|
|
create_c.c \
|
|
|
|
delete_c.c \
|
|
|
|
destroy_c.c \
|
|
|
|
flush_c.c \
|
|
|
|
free.c \
|
|
|
|
get_c.c \
|
|
|
|
get_princs_c.c \
|
|
|
|
init_c.c \
|
|
|
|
kadm5_err.c \
|
|
|
|
marshall.c \
|
|
|
|
modify_c.c \
|
|
|
|
privs_c.c \
|
|
|
|
randkey_c.c \
|
|
|
|
rename_c.c \
|
|
|
|
send_recv.c \
|
2001-02-11 21:02:04 +03:00
|
|
|
client_glue.c \
|
2000-06-16 23:27:31 +04:00
|
|
|
$(ERR_FILES)
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
INCS= kadm5_err.h admin.h kadm5-protos.h private.h kadm5-private.h
|
|
|
|
INCSDIR= /usr/include/kadm5
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
ASN1!= cd ${.CURDIR}/../libasn1 && ${PRINTOBJDIR}
|
|
|
|
KRB5!= cd ${.CURDIR}/../libkrb5 && ${PRINTOBJDIR}
|
|
|
|
HDB!= cd ${.CURDIR}/../libhdb && ${PRINTOBJDIR}
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
CPPFLAGS+= -I. \
|
|
|
|
-I${ASN1} \
|
|
|
|
-I${KRB5} \
|
|
|
|
-I${DIST}/heimdal/lib/krb5 \
|
|
|
|
-I${DIST}/heimdal/lib/asn1 \
|
2001-09-17 16:34:40 +04:00
|
|
|
-I${DIST}/openssl/crypto \
|
2000-06-16 23:27:31 +04:00
|
|
|
-I${HDB} \
|
|
|
|
-I${DIST}/heimdal/lib/hdb \
|
|
|
|
-I${DIST}/heimdal/lib/asn1 \
|
|
|
|
-I${DIST}/heimdal/lib/com_err \
|
|
|
|
-I${.CURDIR}/../../include/heimdal \
|
|
|
|
-I${.CURDIR}/../libroken \
|
|
|
|
-I${DIST}/heimdal/lib/roken \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
${SRCS:.c=.o}: kadm5_err.h
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
CLEANFILES= kadm5_err.h kadm5_err.c
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2000-06-21 09:43:50 +04:00
|
|
|
# Prevent collision with old MIT Kerberos includes -- require manual
|
|
|
|
# intervention of the operator.
|
|
|
|
.BEGIN:
|
|
|
|
.ifmake includes
|
|
|
|
@if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \
|
|
|
|
echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
|
|
|
|
false; \
|
|
|
|
fi
|
|
|
|
.endif
|
|
|
|
|
2000-06-16 23:27:31 +04:00
|
|
|
.include <bsd.lib.mk>
|