2005-01-10 06:11:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.12 2005/01/10 03:11:18 lukem Exp $
|
2000-12-30 18:25:19 +03:00
|
|
|
|
2001-12-12 04:48:43 +03:00
|
|
|
NOMAN= # defined
|
2001-12-12 15:24:19 +03:00
|
|
|
NOLINT= # defined
|
2000-12-30 18:25:19 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
2000-06-17 03:47:14 +04:00
|
|
|
.PATH: ${DIST}/heimdal/lib/sl
|
|
|
|
|
|
|
|
WARNS?= 1
|
|
|
|
|
|
|
|
PROG= mk_cmds
|
|
|
|
|
|
|
|
SRCS= make_cmds.c make_cmds.h parse.y lex.l
|
|
|
|
|
|
|
|
YHEADER= 1
|
|
|
|
|
|
|
|
CFLAGS+= -I. \
|
|
|
|
-I${DIST}/heimdal/lib/sl \
|
2002-09-18 18:00:33 +04:00
|
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
2000-06-17 03:47:14 +04:00
|
|
|
-I${DESTDIR}/usr/include/krb5 \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2005-01-10 06:11:17 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
|
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
|
|
.endif
|
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
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}
|
2000-06-17 03:47:14 +04:00
|
|
|
|
|
|
|
CLEANFILES+=lex.c parse.c parse.h
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|