minix/tests/fs/common/Makefile
Lionel Sambuc 11be35a165 Importing NetBSD "Kyua" test framework
To do so, a few dependencies have been imported:

 * external/bsd/lutok
 * external/mit/lua
 * external/public-domain/sqlite
 * external/public-domain/xz

The Kyua framework is the new generation of ATF (Automated Test
Framework), it is composed of:

 * external/bsd/atf
 * external/bsd/kyua-atf-compat
 * external/bsd/kyua-cli
 * external/bsd/kyua-tester
 * tests

Kyua/ATF being written in C++, it depends on libstdc++ which is
provided by GCC. As this is not part of the sources, Kyua is only
compiled when the native GCC utils are installed.

To install Kyua do the following:

 * In a cross-build enviromnent, add the following to the build.sh
   commandline: -V MKBINUTILS=yes -V MKGCCCMDS=yes

WARNING:
  At this point the import is still experimental, and not supported
  on native builds (a.k.a make build).

Change-Id: I26aee23c5bbd2d64adcb7c1beb98fe0d479d7ada
2013-07-23 20:43:41 +02:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2013/06/26 19:29:24 reinoud Exp $
#
.include <bsd.own.mk>
LIB= vfstest
SRCS= fstest_ext2fs.c fstest_ffs.c fstest_lfs.c fstest_msdosfs.c \
fstest_nfs.c fstest_puffs.c fstest_rumpfs.c fstest_sysvbfs.c \
fstest_tmpfs.c fstest_udf.c fstest_v7fs.c
.if (${MKZFS} != "no")
SRCS+= fstest_zfs.c
CPPFLAGS+=-DWANT_ZFS_TESTS
.endif
WARNS= 3
# NFSRPC libc rpc using rump syscalls
SRCS+= bindresvport.c clnt_bcast.c clnt_dg.c clnt_generic.c clnt_vc.c \
rpc_generic.c rpc_soc.c rpcb_clnt.c \
svc.c svc_dg.c svc_fdset.c svc_generic.c svc_run.c svc_vc.c
LIBC=${NETBSDSRCDIR}/lib/libc
.PATH: ${NETBSDSRCDIR}/lib/libc/rpc
CPPFLAGS+= -DPORTMAP -D_REENTRANT -DRUMP_SYS_NETWORKING
CPPFLAGS+= -DDEBUG -DLIBWRAP -DRUMP_RPC
CPPFLAGS+= -I${LIBC}/include -I${LIBC}/rpc
LIBISPRIVATE= # yup
# NFS client stuff
.PATH: ${NETBSDSRCDIR}/sbin/mount_nfs ${NETBSDSRCDIR}/sbin/mount
SRCS+= getnfsargs.c pathadj.c fattr.c mount_nfs.c
CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/mount_nfs -I${NETBSDSRCDIR}/sbin/mount
CPPFLAGS+= -DMOUNT_NOMAIN -DMOUNTNFS_RETRYRPC=1
.include "../../../libexec/lfs_cleanerd/Makefile.inc"
CPPFLAGS+= -DUSE_RUMP -DLFS_CLEANER_AS_LIB
.include <bsd.lib.mk>