NetBSD/usr.bin/compile_et/Makefile
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00

43 lines
770 B
Makefile

# $NetBSD: Makefile,v 1.17 2009/04/14 22:15:18 lukem Exp $
WARNS?= 2 # XXX -Wextra -Wsign-compare
NOLINT= # defined
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/lib/com_err
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
.if (${USE_INET6} != "no")
CPPFLAGS+=-DHAVE_IPV6
.endif
.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>