[Ocfs2-test-devel] [PATCH 1/5] Ocfs2-test: Add Makefile for dx_dirs_tests
Marcos E. Matsunaga
Marcos.Matsunaga at oracle.com
Thu Feb 26 07:59:56 PST 2009
Signed-off-by: Marcos Matsunaga <Marcos.Matsunaga at oracle.com>
Regards,
Marcos Eduardo Matsunaga
Oracle USA
Linux Engineering
“The statements and opinions expressed here are my own and do not
necessarily represent those of Oracle Corporation.”
Tristan Ye wrote:
> Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
> ---
> programs/Makefile | 3 ++-
> programs/dx_dirs_tests/Makefile | 25 +++++++++++++++++++++++++
> 2 files changed, 27 insertions(+), 1 deletions(-)
> create mode 100644 programs/dx_dirs_tests/Makefile
>
> diff --git a/programs/Makefile b/programs/Makefile
> index 9e8dd1a..4f588ce 100644
> --- a/programs/Makefile
> +++ b/programs/Makefile
> @@ -54,7 +54,8 @@ SUBDIRS = \
> xattr_tests \
> acl_tests \
> quota_tests \
> - inode_alloc_perf_tests
> + inode_alloc_perf_tests \
> + dx_dirs_tests
>
> ifdef OCFS2_TEST_ENABLE_THIRDPARTY
> SUBDIRS += bonnie dbench iozone postmark
> diff --git a/programs/dx_dirs_tests/Makefile b/programs/dx_dirs_tests/Makefile
> new file mode 100644
> index 0000000..aac6823
> --- /dev/null
> +++ b/programs/dx_dirs_tests/Makefile
> @@ -0,0 +1,25 @@
> +TOPDIR = ../..
> +
> +include $(TOPDIR)/Preamble.make
> +
> +TESTS = dx_dirs_tests
> +
> +CFLAGS = -O2 -Wall -g $(OCFS2_CFLAGS)
> +
> +MPI_LINK = $(MPICC) $(CFLAGS) $(LDFLAGS) -o $@ $^
> +
> +SOURCES = index_dir.c multi_index_dir.c
> +
> +DIST_FILES = $(SOURCES) index_dir_run.sh multi_index_dir_run.sh
> +
> +BIN_EXTRA = index_dir_run.sh multi_index_dir_run.sh
> +
> +BIN_PROGRAMS = index_dir multi_index_dir
> +
> +index_dir: index_dir.c
> + $(LINK) $(OCFS2_LIBS)
> +
> +multi_index_dir: multi_index_dir.c
> + $(MPI_LINK) $(OCFS2_LIBS)
> +
> +include $(TOPDIR)/Postamble.make
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-test-devel/attachments/20090226/27fa222a/attachment-0001.html
More information about the Ocfs2-test-devel
mailing list