NetBSD/usr.bin/compile_et/Makefile
lukem 826a14607a Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00

36 lines
644 B
Makefile

# $NetBSD: Makefile,v 1.14 2003/05/18 07:57:33 lukem 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 \
-I${DESTDIR}/usr/include/krb5 \
-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>