Remove MAKE_EBONES, convert MAKE_KERBEROS to WANT_KERBEROS.
[dragonfly.git] / sbin / mount_nfs / Makefile
1 #       @(#)Makefile    8.2 (Berkeley) 3/27/94
2 #
3 # $FreeBSD: src/sbin/mount_nfs/Makefile,v 1.8.2.1 2001/04/25 10:58:37 ru Exp $
4 # $DragonFly: src/sbin/mount_nfs/Makefile,v 1.4 2005/10/06 22:40:16 corecode Exp $
5
6 PROG=   mount_nfs
7 SRCS=   mount_nfs.c getmntopts.c mounttab.c
8 MAN=    mount_nfs.8
9 WARNS?= 6
10
11 MOUNT=  ${.CURDIR}/../mount
12 UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
13 CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL}
14 .PATH: ${MOUNT} ${UMNTALL}
15
16 .if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(WANT_KERBEROS)
17 CFLAGS+=-DKERBEROS
18 DPADD=  ${LIBKRB} ${LIBCRYPTO}
19 LDADD=  -lkrb -lcrypto
20 DISTRIBUTION=   krb
21 .endif
22
23 .include <bsd.prog.mk>