<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffcc" text="#000066">
<tt>Signed-off-by: Marcos Matsunaga <a class="moz-txt-link-rfc2396E" href="mailto:Marcos.Matsunaga@oracle.com">&lt;Marcos.Matsunaga@oracle.com&gt;</a></tt><br>
<pre class="moz-signature" cols="72">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.”
</pre>
<br>
<br>
Tristan Ye wrote:
<blockquote
 cite="mid:1235640761-19196-1-git-send-email-tristan.ye@oracle.com"
 type="cite">
  <pre wrap="">Signed-off-by: Tristan Ye <a class="moz-txt-link-rfc2396E" href="mailto:tristan.ye@oracle.com">&lt;tristan.ye@oracle.com&gt;</a>
---
 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
  </pre>
</blockquote>
</body>
</html>