NetBSD/usr.bin/compile_et/Makefile

38 lines
682 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 2004/06/22 02:44:11 jmc Exp $
NOLINT= # defined
2000-12-30 18:25:19 +03:00
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
2000-06-17 03:47:14 +04:00
.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
2000-06-17 03:47:14 +04:00
.ifndef HOSTPROG
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
2000-08-04 02:47:37 +04:00
2002-10-23 05:25:35 +04:00
LDADD+= -L${VERS} -lvers -lroken -lcrypt
DPADD+= ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
.endif
2000-06-17 03:47:14 +04:00
2001-11-10 10:50:42 +03:00
MAN= compile_et.1
2000-06-17 03:47:14 +04:00
CLEANFILES+= lex.c parse.c parse.h
.include <bsd.prog.mk>