xref: /minix3/tests/fs/vfs/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.20 2015/01/07 22:24:03 pooka Exp $
211be35a1SLionel Sambuc#
311be35a1SLionel Sambuc
411be35a1SLionel Sambuc.include <bsd.own.mk>
511be35a1SLionel Sambuc
611be35a1SLionel SambucTESTSDIR=	${TESTSBASE}/fs/vfs
711be35a1SLionel SambucWARNS=		4
811be35a1SLionel Sambuc
911be35a1SLionel SambucTESTS_C+=	t_full
1011be35a1SLionel SambucTESTS_C+=	t_io
1111be35a1SLionel SambucTESTS_C+=	t_renamerace
1211be35a1SLionel SambucTESTS_C+=	t_ro
1311be35a1SLionel SambucTESTS_C+=	t_rmdirrace
1411be35a1SLionel SambucTESTS_C+=	t_union
1511be35a1SLionel SambucTESTS_C+=	t_unpriv
1611be35a1SLionel SambucTESTS_C+=	t_vfsops
1711be35a1SLionel SambucTESTS_C+=	t_vnops
1811be35a1SLionel Sambuc
1911be35a1SLionel SambucLDADD+=-lrumpfs_ext2fs						# ext2fs
2011be35a1SLionel SambucLDADD+=-lrumpfs_ffs						# ffs
2111be35a1SLionel SambucLDADD+=-lrumpfs_lfs						# lfs
2211be35a1SLionel SambucLDADD+=-lrumpfs_msdos						# msdos
2311be35a1SLionel SambucLDADD+=-lrumpfs_syspuffs					# puffs
2411be35a1SLionel SambucLDADD+=-lrumpdev_putter -lrumpdev				#   \ putter
2511be35a1SLionel SambucLDADD+=-lrumpfs_sysvbfs						# sysvbfs
2611be35a1SLionel SambucLDADD+=-lrumpfs_tmpfs						# tmpfs
2711be35a1SLionel SambucLDADD+=-lrumpfs_udf						# udf
2811be35a1SLionel SambucLDADD+=-lrumpfs_union						# union
2911be35a1SLionel SambucLDADD+=-lrumpfs_v7fs						# v7fs
3011be35a1SLionel SambucLDADD+=-lrumpdev_disk -lrumpdev					# disk device
3111be35a1SLionel Sambuc
3211be35a1SLionel Sambuc
3311be35a1SLionel SambucVFSTESTDIR != cd ${.CURDIR}/../common && ${PRINTOBJDIR}
3411be35a1SLionel SambucLDADD+=-L${VFSTESTDIR} -lvfstest
3511be35a1SLionel Sambuc
3611be35a1SLionel SambucLDADD+=-lrumpfs_nfs						# NFS
3711be35a1SLionel SambucLDADD+=-lrumpnet_shmif -lrumpnet_netinet -lrumpnet_net -lrumpnet
38*0a6a1f1dSLionel SambucLDADD+=-lrumpvfs -lrumpkern_sysproxy -lrump -lrumpuser		# base
39*0a6a1f1dSLionel SambucLDADD+=-lpthread
4011be35a1SLionel Sambuc
4111be35a1SLionel SambucLDADD+=-lutil
4211be35a1SLionel Sambuc
4311be35a1SLionel Sambuc.if (${MKZFS} != "no")
4411be35a1SLionel SambucLDADD+=-lrumpfs_zfs -lrumpkern_solaris -lrumpdev_rnd
4511be35a1SLionel SambucCPPFLAGS+=-DWANT_ZFS_TESTS
4611be35a1SLionel Sambuc.endif
4711be35a1SLionel Sambuc
4811be35a1SLionel Sambuc.include <bsd.test.mk>
49