Sync usage with man page.
[netbsd-mini2440.git] / usr.bin / mk_cmds / Makefile
blob7ab5f4231cc0d442efda235181dbdffa695340ce
1 # $NetBSD: Makefile,v 1.13 2008/02/16 18:27:48 matt Exp $
3 WARNS?= 1 # XXX -Wextra -Wshadow
5 NOMAN= # defined
6 NOLINT= # defined
8 .include <bsd.own.mk>
10 DIST= ${NETBSDSRCDIR}/crypto/dist
11 .PATH: ${DIST}/heimdal/lib/sl
13 PROG= mk_cmds
15 SRCS= make_cmds.c make_cmds.h parse.y lex.l
17 YHEADER= 1
19 CPPFLAGS+= -I. \
20 -I${DIST}/heimdal/lib/sl \
21 -I${NETBSDSRCDIR}/include/heimdal \
22 -I${DESTDIR}/usr/include/krb5 \
23 -DHAVE_CONFIG_H
25 .if (${USE_INET6} != "no")
26 CPPFLAGS+=-DHAVE_IPV6
27 .endif
29 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
31 LDADD+= -L${VERS} -lvers -lroken -lcrypt
32 DPADD+= ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
34 CLEANFILES+=lex.c parse.c parse.h
36 .include <bsd.prog.mk>