NetBSD/sbin/mount_nfs/Makefile

35 lines
636 B
Makefile
Raw Normal View History

2011-04-10 20:47:04 +04:00
# $NetBSD: Makefile,v 1.24 2011/04/10 16:47:05 joerg Exp $
# @(#)Makefile 8.2 (Berkeley) 3/27/94
.include <bsd.own.mk>
2007-05-28 16:06:17 +04:00
USE_FORT?= yes # network client
PROG= mount_nfs
SRCS= mount_nfs.c pathadj.c
1994-12-22 13:44:04 +03:00
MAN= mount_nfs.8
MOUNT= ${NETBSDSRCDIR}/sbin/mount
2011-04-10 20:47:04 +04:00
CPPFLAGS+=-I${MOUNT}
.PATH: ${MOUNT}
.ifndef SMALLPROG
SRCS+= getnfsargs.c
.else
SRCS+= udp_xfer.c
2006-01-21 13:55:56 +03:00
SRCS+= rpc.c net.c
SRCS+= getnfsargs_small.c
.PATH: ${NETBSDSRCDIR}/sys/lib/libsa
CPPFLAGS+= -I${.CURDIR} -I${NETBSDSRCDIR}/sys/lib/libsa
CPPFLAGS+= -DNO_PMAP_CACHE
.endif
.if (${USE_INET6} != "no")
CPPFLAGS+= -DINET6
.endif
2002-09-21 22:43:31 +04:00
DPADD+= ${LIBUTIL}
LDADD+= -lutil
1994-06-14 02:50:46 +04:00
.include <bsd.prog.mk>