Home | History | Annotate | Line # | Download | only in common
Makefile revision 1.12.26.1
      1  1.12.26.1    martin #	$NetBSD: Makefile,v 1.12.26.1 2020/04/13 08:05:23 martin Exp $
      2        1.1     pooka #
      3        1.1     pooka 
      4        1.2     pooka .include <bsd.own.mk>
      5        1.2     pooka 
      6        1.1     pooka LIB=	vfstest
      7        1.3     pooka SRCS=	fstest_ext2fs.c fstest_ffs.c fstest_lfs.c fstest_msdosfs.c	\
      8        1.6     pooka 	fstest_nfs.c fstest_puffs.c fstest_rumpfs.c fstest_sysvbfs.c	\
      9       1.11   reinoud 	fstest_tmpfs.c fstest_udf.c fstest_v7fs.c
     10        1.2     pooka 
     11        1.9     pooka .if (${MKZFS} != "no")
     12        1.8     pooka SRCS+=	fstest_zfs.c
     13        1.8     pooka CPPFLAGS+=-DWANT_ZFS_TESTS
     14        1.8     pooka .endif
     15        1.8     pooka 
     16        1.2     pooka WARNS=	3
     17        1.2     pooka 
     18       1.10  christos # NFSRPC libc rpc using rump syscalls
     19       1.10  christos SRCS+=	bindresvport.c clnt_bcast.c clnt_dg.c clnt_generic.c clnt_vc.c \
     20       1.10  christos 	rpc_generic.c rpc_soc.c rpcb_clnt.c \
     21       1.10  christos 	svc.c svc_dg.c svc_fdset.c svc_generic.c svc_run.c svc_vc.c
     22       1.10  christos 
     23       1.10  christos LIBC=${NETBSDSRCDIR}/lib/libc
     24       1.10  christos .PATH: ${NETBSDSRCDIR}/lib/libc/rpc
     25       1.10  christos CPPFLAGS+=	-DPORTMAP -D_REENTRANT -DRUMP_SYS_NETWORKING
     26       1.10  christos CPPFLAGS+=	-DDEBUG -DLIBWRAP -DRUMP_RPC
     27       1.10  christos CPPFLAGS+=	-I${LIBC}/include -I${LIBC}/rpc
     28       1.10  christos 
     29        1.1     pooka 
     30        1.1     pooka LIBISPRIVATE=	# yup
     31        1.1     pooka 
     32        1.2     pooka # NFS client stuff
     33        1.2     pooka .PATH:	${NETBSDSRCDIR}/sbin/mount_nfs ${NETBSDSRCDIR}/sbin/mount
     34        1.2     pooka SRCS+=	getnfsargs.c pathadj.c fattr.c mount_nfs.c
     35        1.2     pooka 
     36        1.2     pooka CPPFLAGS+=	-I${NETBSDSRCDIR}/sbin/mount_nfs -I${NETBSDSRCDIR}/sbin/mount
     37        1.2     pooka CPPFLAGS+=	-DMOUNT_NOMAIN -DMOUNTNFS_RETRYRPC=1
     38        1.2     pooka 
     39        1.4     pooka .include "../../../libexec/lfs_cleanerd/Makefile.inc"
     40        1.4     pooka CPPFLAGS+=	-DUSE_RUMP -DLFS_CLEANER_AS_LIB
     41        1.4     pooka 
     42       1.12     joerg CWARNFLAGS.clang+=	-Wno-error=absolute-value
     43  1.12.26.1    martin COPTS.fstest_nfs.c+=	${GCC_NO_FORMAT_TRUNCATION}
     44  1.12.26.1    martin COPTS.clnt_bcast.c+=	${GCC_NO_CAST_FUNCTION_TYPE}
     45  1.12.26.1    martin COPTS.clnt_generic.c+=	${GCC_NO_CAST_FUNCTION_TYPE}
     46  1.12.26.1    martin COPTS.clnt_vc.c+=	${GCC_NO_CAST_FUNCTION_TYPE}
     47  1.12.26.1    martin COPTS.rpcb_clnt.c+=	${GCC_NO_CAST_FUNCTION_TYPE}
     48  1.12.26.1    martin COPTS.rpc_generic.c+=	${GCC_NO_CAST_FUNCTION_TYPE}
     49       1.12     joerg 
     50        1.1     pooka .include <bsd.lib.mk>
     51