38 lines
682 B
Makefile
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>
|