1 # $NetBSD: Makefile,v 1.12 2014/03/04 21:06:47 joerg Exp $
7 SRCS
= fstest_ext2fs.c fstest_ffs.c fstest_lfs.c fstest_msdosfs.c \
8 fstest_nfs.c fstest_puffs.c fstest_rumpfs.c fstest_sysvbfs.c \
9 fstest_tmpfs.c fstest_udf.c fstest_v7fs.c
11 .if
(${MKZFS} != "no")
13 CPPFLAGS
+=-DWANT_ZFS_TESTS
18 # NFSRPC libc rpc using rump syscalls
19 SRCS
+= bindresvport.c clnt_bcast.c clnt_dg.c clnt_generic.c clnt_vc.c \
20 rpc_generic.c rpc_soc.c rpcb_clnt.c \
21 svc.c svc_dg.c svc_fdset.c svc_generic.c svc_run.c svc_vc.c
23 LIBC
=${NETBSDSRCDIR}/lib
/libc
24 .PATH
: ${NETBSDSRCDIR}/lib
/libc
/rpc
25 CPPFLAGS
+= -DPORTMAP
-D_REENTRANT
-DRUMP_SYS_NETWORKING
26 CPPFLAGS
+= -DDEBUG
-DLIBWRAP
-DRUMP_RPC
27 CPPFLAGS
+= -I
${LIBC}/include -I
${LIBC}/rpc
33 .PATH
: ${NETBSDSRCDIR}/sbin
/mount_nfs
${NETBSDSRCDIR}/sbin
/mount
34 SRCS
+= getnfsargs.c pathadj.c fattr.c mount_nfs.c
36 CPPFLAGS
+= -I
${NETBSDSRCDIR}/sbin
/mount_nfs
-I
${NETBSDSRCDIR}/sbin
/mount
37 CPPFLAGS
+= -DMOUNT_NOMAIN
-DMOUNTNFS_RETRYRPC
=1
39 .
include "../../../libexec/lfs_cleanerd/Makefile.inc"
40 CPPFLAGS
+= -DUSE_RUMP
-DLFS_CLEANER_AS_LIB
42 CWARNFLAGS.clang
+= -Wno-error
=absolute-value