NetBSD/usr.sbin/hprop/Makefile
lukem d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00

46 lines
1003 B
Makefile

# $NetBSD: Makefile,v 1.17 2009/04/22 15:23:03 lukem Exp $
WARNS?= 2 # XXX -Wextra -Wsign-compare
NOLINT= # defined
.include <bsd.own.mk>
USE_FORT?= yes # network client
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/kdc
PROG= hprop
SRCS+= hprop.c \
v4_dump.c \
mit_dump.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/kdc \
-I${DIST}/heimdal/lib/hdb \
-I${DIST}/heimdal/lib/krb5 \
-I${NETBSDSRCDIR}/include/heimdal \
-I${DIST}/heimdal/lib/asn1 \
-I${DESTDIR}/usr/include/krb5 \
-DHAVE_CONFIG_H
.if (${USE_INET6} != "no")
CPPFLAGS+=-DHAVE_IPV6
.endif
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
COPTS.mit_dump.c+= -Wno-pointer-sign
.endif
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lhdb -lkrb5 -lhx509 -lcrypto -lasn1 \
-lcom_err -L${VERS} -lvers -lroken -lcrypt -lutil
DPADD+= ${LIBHDB} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} \
${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
MAN= hprop.8
.include <bsd.prog.mk>