summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
Diffstat (limited to 'testpar')
-rw-r--r--testpar/Makefile.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/testpar/Makefile.in b/testpar/Makefile.in
new file mode 100644
index 0000000..ee6bf46
--- /dev/null
+++ b/testpar/Makefile.in
@@ -0,0 +1,36 @@
+# hdf5 Parallel Library Test Makefile(.in) -*- makefile -*-
+#
+# Copyright (C) 1998 National Center for Supercomputing Applications
+# All rights reserved
+#
+#
+@COMMENCE@
+
+# Add the include directory to the C preprocessor flags the the hdf5 library
+# to the library list. Also add the -DUSE_PAUSE to get the test files to
+# pause until a `go' file exists in order to attach a debugger.
+CPPFLAGS=-I. -I../src -DUSE_PAUSE @CPPFLAGS@
+LIBS=../src/libhdf5.a @LIBS@
+
+# These tests are parallel
+RUNTEST=$(RUNPARALLEL)
+
+# These are our main targets
+TESTS=testphdf5
+
+# Temporary files
+MOSTLYCLEAN=ParaEg[123].h5f
+DISTCLEAN=go
+
+# Test source files
+TEST_SRC=testphdf5.c t_dset.c t_file.c
+TEST_OBJ=$(TEST_SRC:.c=.o)
+PRIVATE_HDR=testphdf5.h
+
+# How to build the tests... They all depend on the hdf5 library
+$(TESTS): ../src/libhdf5.a
+
+testphdf5: testphdf5.o t_dset.o t_file.o
+ $(CC) $(CFLAGS) -o $@ testphdf5.o t_dset.o t_file.o $(LDFLAGS) $(LIBS)
+
+@CONCLUDE@