Home | History | Annotate | Line # | Download | only in nfsservice
Makefile revision 1.3
      1 #	$NetBSD: Makefile,v 1.3 2010/07/26 19:17:37 pooka Exp $
      2 #
      3 
      4 NOMAN=	1
      5 .include <bsd.own.mk>
      6 
      7 TESTSDIR=       ${TESTSBASE}/fs/nfs/nfsservice
      8 ATFFILE=	no
      9 
     10 # install pre-generated /etc/exports
     11 FILES+=			exports
     12 FILESDIR_exports=	${TESTSDIR}
     13 
     14 VFSTESTDIR != cd ${.CURDIR}/../../common && ${PRINTOBJDIR}
     15 LDADD+= -L${VFSTESTDIR} -Wl,--whole-archive -lvfstest -Wl,--no-whole-archive
     16 
     17 TESTS_C=rumpnfsd
     18 
     19 SRCS.rumpnfsd= rumpnfsd.c nfsd.c mountd.c getmntinfo.c
     20 
     21 LDADD+=	-lrumpfs_nfsserver -lrumpfs_nfs				# NFS support
     22 LDADD+=	-lrumpdev_disk -lrumpdev				# disk devices
     23 LDADD+=	-lrumpfs_ffs -lrumpvfs					# FFS
     24 LDADD+=	-lrumpnet_netinet -lrumpnet_net -lrumpnet_local		# TCP/IP
     25 LDADD+=	-lrumpnet_shmif						# shmif
     26 LDADD+=	-lrumpnet -lrump -lrumpuser				# base
     27 LDADD+=	-lpthread -lutil
     28 
     29 CPPFLAGS+=	-DDEBUG -DMOUNT_NOMAIN -I${.CURDIR}/include -D_REENTRANT
     30 CPPFLAGS+=	-DRUMP_SYS_NETWORKING
     31 #CPPFLAGS+=	-DSVC_RUN_DEBUG
     32 CPPFLAGS+=	-I${.CURDIR}/../../common/nfsrpc
     33 DBG=-g
     34 
     35 .include "rpcbind/Makefile.inc"
     36 #.include "rpc/Makefile.inc"
     37 
     38 WARNS=	2
     39 
     40 .include <bsd.test.mk>
     41