Makefile revision 1.22
1#	$NetBSD: Makefile,v 1.22 2008/10/16 09:12:54 pooka Exp $
2#	@(#)Makefile	8.2 (Berkeley) 3/27/94
3
4.include <bsd.own.mk>
5
6USE_FORT?= yes	# network client
7PROG=	mount_nfs
8SRCS=	mount_nfs.c pathadj.c
9MAN=	mount_nfs.8
10
11MOUNT=	${NETBSDSRCDIR}/sbin/mount
12CPPFLAGS=-I${MOUNT}
13.PATH:	${MOUNT}
14
15.ifndef SMALLPROG
16SRCS+=	getnfsargs.c
17.else
18SRCS+=	udp_xfer.c
19SRCS+=	rpc.c net.c
20SRCS+=	getnfsargs_small.c
21
22.PATH: ${NETBSDSRCDIR}/sys/lib/libsa
23CPPFLAGS+= -I${.CURDIR}  -I${NETBSDSRCDIR}/sys/lib/libsa
24CPPFLAGS+= -DNO_PMAP_CACHE
25.endif
26
27CPPFLAGS+= -DNFS
28
29.if (${USE_INET6} != "no")
30CPPFLAGS+= -DINET6
31.endif
32
33DPADD+=	${LIBUTIL}
34LDADD+=	-lutil
35
36.include <bsd.prog.mk>
37