# Lustre test Makefile
DEFS=
-CPPFLAGS = -I. -I$(top_srcdir)/portals/include/ -I$(top_srcdir)/include -D_LARGEFILE64_SOURCE
+CPPFLAGS = -I. -I$(top_srcdir)/portals/include/ -I$(top_srcdir)/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
CFLAGS := -g -Wall
# LDADD = -lldap
# LDADD := -lreadline -ltermcap # -lefence
EXTRA_DIST = $(pkgexample_SCRIPTS) $(noinst_SCRIPTS) $(noinst_DATA) \
- sanity.sh rundbench mcreate
+ sanity.sh rundbench
pkgexample_SCRIPTS = llmount.sh llmountcleanup.sh llecho.sh llechocleanup.sh
pkgexample_SCRIPTS += local.sh echo.sh uml.sh lov.sh
noinst_DATA =
noinst_SCRIPTS += sanity.sh rundbench
noinst_PROGRAMS = openunlink testreq truncate directio openme writeme open_delay
noinst_PROGRAMS += tchmod toexcl fsx test_brw openclose createdestroy
-noinst_PROGRAMS += stat createmany statmany multifstat createtest mlink utime
+noinst_PROGRAMS += stat createmany statmany multifstat createtest mlink utime cmknod
noinst_PROGRAMS += opendirunlink opendevunlink unlinkmany fchdir_test checkstat
noinst_PROGRAMS += wantedi statone runas openfile getdents mkdirdeep o_directory
-noinst_PROGRAMS += small_write
+noinst_PROGRAMS += small_write multiop sleeptest ll_sparseness_verify
+noinst_PROGRAMS += ll_sparseness_write mrename
# noinst_PROGRAMS += ldaptest
-sbin_PROGRAMS = mcreate munlink mkdirmany
+bin_PROGRAMS = mcreate munlink mkdirmany iopentest1 iopentest2
# ldaptest_SOURCES = ldaptest.c
tchmod_SOURCES = tchmod.c
toexcl_SOURCES = toexcl.c
testreq_SOURCES = testreq.c
mcreate_SOURCES = mcreate.c
+iopentest1_SOURCES = iopentest1.c
+iopentest2_SOURCES = iopentest2.c
munlink_SOURCES = munlink.c
mlink_SOURCES = mlink.c
truncate_SOURCES = truncate.c
test_brw_SOURCES = test_brw.c
openclose_SOURCES = openclose.c
createdestroy_SOURCES = createdestroy.c
-stat_SOURCES = stat.c
+stat_SOURCES = stat.c stat_fs.h
createmany_SOURCES = createmany.c
statmany_SOURCES = statmany.c
unlinkmany_SOURCES = unlinkmany.c
createtest_SOURCES = createtest.c
open_delay_SOURCES = open_delay.c
opendirunlink_SOURCES = opendirunlink.c
-opendevunlink_SOURCES = opendevunlink.c
+opendevunlink_SOURCES = opendirunlink.c
fchdir_test_SOURCES = fchdir_test.c
getdents_SOURCES=getdents.c
o_directory_SOURCES = o_directory.c
utime_SOURCES = utime.c
+cmknod_SOURCES = cmknod.c
mkdirdeep_SOURCES = mkdirdeep.c
mkdirdeep_LDADD=-L$(top_builddir)/portals/utils -lptlctl
mkdirdeep_CPPFLAGS=-I$(top_srcdir)/portals/include
small_write_SOURCES = small_write.c
+sleeptest_SOURCES = sleeptest.c
+#write_append_truncate_SOURCES=write_append_truncate.c
+#write_append_truncate_CC=mpicc
+#createmany_mpi_SOURCES=createmany_mpi.c
+#createmany_mpi_CC=mpicc
+
+#sanity test
+ll_sparseness_verify_SOURCES = ll_sparseness_verify.c
+ll_sparseness_write_SOURCES = ll_sparseness_write.c
include $(top_srcdir)/Rules