summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-05-10 21:43:34 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-05-10 21:43:34 (GMT)
commitce7c9f7b08114a3bd1e557f71b82eef27b223f96 (patch)
treeec583a8a7f538e2aaf3e59793990dd6dbfca3ae3 /examples
parente1a266b72e46e3eb352b4751533585afb3aadf80 (diff)
downloadhdf5-ce7c9f7b08114a3bd1e557f71b82eef27b223f96.zip
hdf5-ce7c9f7b08114a3bd1e557f71b82eef27b223f96.tar.gz
hdf5-ce7c9f7b08114a3bd1e557f71b82eef27b223f96.tar.bz2
[svn-r3906] Purpose:
Bug Fix Description: A parallel example was added to the examples/ subdirectory. This was being built whether --enable-parallel was defined or not. This was causing some havoc with certain setups. Solution: Added logic to make it so that the parallel examples are made only if --enable-parallel is specified. Platforms tested: Linux
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/Makefile.in b/examples/Makefile.in
index b36f86a..1402b48 100644
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -15,9 +15,9 @@ LIBHDF5=../src/libhdf5.la
## These are the programs that `make all' or `make tests' will build and which
## `make check' will run. List them in the order they should be run.
-TEST_PROGS= h5_write h5_read h5_extend_write h5_chunk_read h5_compound \
- h5_group h5_select h5_attribute h5_mount h5_reference \
- ph5example
+TEST_PROGS=h5_write h5_read h5_extend_write h5_chunk_read \
+ h5_compound h5_group h5_select h5_attribute h5_mount \
+ h5_reference $(PARALLEL_EXAMPLES_SRC:.c=)
## These are the files that `make clean' (and derivatives) will remove from
## this directory.
@@ -28,10 +28,9 @@ CLEAN=*.h5
## for building automatic dependencies.
TEST_SRC=h5_chunk_read.c h5_compound.c h5_extend_write.c h5_group.c \
h5_read.c h5_write.c h5_select.c h5_attribute.c h5_mount.c \
- h5_reference.c
+ h5_reference.c $(PARALLEL_EXAMPLES_SRC)
TEST_OBJ=$(TEST_SRC:.c=.lo)
-
## How to build the programs... they all depend on the hdf5 library
$(TEST_PROGS): $(LIBHDF5)
h5_chunk_read: h5_chunk_read.lo