Sync usage with man page.
[netbsd-mini2440.git] / libexec / ipropd-slave / Makefile
blob92f44d7c321114f3ac41c499b91d2ca589d13164
1 # $NetBSD: Makefile,v 1.2 2008/04/10 14:26:33 tsutsui Exp $
3 NOLINT= # defined
5 .include <bsd.own.mk>
7 DIST= ${NETBSDSRCDIR}/crypto/dist
8 .PATH: ${DIST}/heimdal/lib/kadm5
10 WARNS?= 1
12 PROG= ipropd-slave
14 # man page included with ipropd-master
15 MAN=
17 SRCS+= ipropd_slave.c \
18 ipropd_common.c
20 CPPFLAGS+= -I. \
21 -I${DIST}/heimdal/lib/krb5 \
22 -I${DIST}/heimdal/lib/asn1 \
23 -I${NETBSDSRCDIR}/include/heimdal \
24 -I${DESTDIR}/usr/include/kadm5 \
25 -I${DESTDIR}/usr/include/krb5 \
26 -DHAVE_CONFIG_H
28 .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
29 COPTS.server.c+= -Wno-pointer-sign
30 .endif
32 .if (${USE_INET6} != "no")
33 CPPFLAGS+=-DHAVE_IPV6
34 .endif
36 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
38 LDADD+= -lkadm5srv -lhdb -lkrb5 -lhx509 -lasn1 \
39 -lcrypto -L${VERS} -lvers -lcom_err -lroken \
40 -lcrypt -lutil
41 DPADD+= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBHX509} ${LIBASN1} \
42 ${LIBCRYPTO} ${VERS}/libvers.a ${LIBCOM_ERR} ${LIBROKEN} \
43 ${LIBCRYPT} ${LIBUTIL}
45 .include <bsd.prog.mk>