NetBSD/usr.bin/compile_et/Makefile
jmc fde002f8c3 Don't include ${DESTDIR}/usr/include/krb5 if HOSTPROG. It's not needed and
could possibly cause an error (though remote). Found during investigation of
PR#26000
2004-06-22 02:44:11 +00:00

38 lines
682 B
Makefile

# $NetBSD: Makefile,v 1.15 2004/06/22 02:44:11 jmc Exp $
NOLINT= # defined
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/lib/com_err
WARNS?= 1
PROG= compile_et
SRCS= compile_et.c parse.y lex.l
YHEADER= 1
CPPFLAGS+= -I. \
-I${DIST}/heimdal/lib/com_err \
-I${NETBSDSRCDIR}/include/heimdal
.ifndef HOSTPROG
CPPFLAGS+= -I${DESTDIR}/usr/include/krb5
.endif
CPPFLAGS+= -DHAVE_CONFIG_H
.ifndef HOSTPROG
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -L${VERS} -lvers -lroken -lcrypt
DPADD+= ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
.endif
MAN= compile_et.1
CLEANFILES+= lex.c parse.c parse.h
.include <bsd.prog.mk>