No empty .Rs/.Re
[netbsd-mini2440.git] / usr.bin / compile_et / Makefile
blobbe37279f8b2edb6ef21fc53a3365d819e722ed36
1 # $NetBSD: Makefile,v 1.16 2005/01/10 03:11:18 lukem Exp $
3 WARNS?= 2 # XXX -Wextra -Wsign-compare
5 NOLINT= # defined
7 .include <bsd.own.mk>
9 DIST= ${NETBSDSRCDIR}/crypto/dist
10 .PATH: ${DIST}/heimdal/lib/com_err
12 PROG= compile_et
14 SRCS= compile_et.c parse.y lex.l
16 YHEADER= 1
18 CPPFLAGS+= -I. \
19 -I${DIST}/heimdal/lib/com_err \
20 -I${NETBSDSRCDIR}/include/heimdal
22 .ifndef HOSTPROG
23 CPPFLAGS+= -I${DESTDIR}/usr/include/krb5
24 .endif
25 CPPFLAGS+= -DHAVE_CONFIG_H
27 .if (${USE_INET6} != "no")
28 CPPFLAGS+=-DHAVE_IPV6
29 .endif
31 .ifndef HOSTPROG
32 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
34 LDADD+= -L${VERS} -lvers -lroken -lcrypt
35 DPADD+= ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
36 .endif
38 MAN= compile_et.1
40 CLEANFILES+= lex.c parse.c parse.h
42 .include <bsd.prog.mk>