2 AM_CPPFLAGS = $(LLCPPFLAGS) -I/opt/lam/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS
3 AM_CFLAGS = $(LLCFLAGS)
5 # LDADD := -lreadline -ltermcap # -lefence
8 noinst_SCRIPTS = leak_finder.pl llecho.sh llmount.sh llmountcleanup.sh test-framework.sh
9 noinst_SCRIPTS += runvmstat runiozone runtests
10 noinst_SCRIPTS += sanity.sh rundbench
11 noinst_SCRIPTS += cfg/local.sh
14 EXTRA_DIST = $(noinst_SCRIPTS) $(noinst_DATA) \
16 acl/run acl/make-tree acl/getfacl-noacl.test acl/cp.test \
17 acl/setfacl.test acl/permissions.test acl/misc.test \
21 noinst_PROGRAMS = openunlink truncate directio openme writeme
22 noinst_PROGRAMS += tchmod toexcl fsx test_brw openclose createdestroy
23 noinst_PROGRAMS += stat createmany chownmany statmany multifstat createtest mlink utime
24 noinst_PROGRAMS += opendirunlink opendevunlink unlinkmany fchdir_test checkstat
25 noinst_PROGRAMS += wantedi statone runas openfile getdents o_directory
26 noinst_PROGRAMS += small_write multiop sleeptest ll_sparseness_verify cmknod
27 noinst_PROGRAMS += ll_sparseness_write mrename ll_dirstripe_verify mkdirmany rmdirmany
28 noinst_PROGRAMS += openfilleddirunlink rename_many memhog iopentest1 iopentest2
29 noinst_PROGRAMS += mmap_sanity flock_test writemany random-reads flocks_test
30 noinst_PROGRAMS += ll_getstripe_info
32 noinst_PROGRAMS += parallel_grouplock write_append_truncate createmany_mpi
34 # noinst_PROGRAMS += ldaptest copy_attr mkdirdeep
35 bin_PROGRAMS = mcreate munlink
38 stat_SOURCES = stat.c stat_fs.h
39 # mkdirdeep_LDADD=-L$(top_builddir)/lnet/utils -lptlctl $(LIBREADLINE)
40 mmap_sanity_SOURCES= mmap_sanity.c
42 LIBLUSTREAPI := $(top_builddir)/lustre/utils/liblustreapi.a
43 ll_getstripe_info_LDADD=$(LIBLUSTREAPI)
46 LAM_LD_FLAGS=-L/opt/lam/lib -lmpi -llam -lpthread
47 write_append_truncate_SOURCES=write_append_truncate.c
48 write_append_truncate_LDADD=$(LAM_LD_FLAGS)
49 createmany_mpi_SOURCES=createmany-mpi.c
50 createmany_mpi_LDADD=$(LAM_LD_FLAGS)
51 parallel_grouplock_SOURCES=parallel_grouplock.c lp_utils.c
52 parallel_grouplock_LDADD=$(LAM_LD_FLAGS)
55 #copy_attr_LDADD= -lattr