summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-06-18 18:29:17 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-06-18 18:29:17 (GMT)
commit15c540028457be0bd19476326e0f7139835cfea5 (patch)
tree69f7b58648c1865869c0636a51ce1ea95291aa5f /examples
parentab16b9fab7c50577faf1f11574e04723ce6523c7 (diff)
downloadhdf5-15c540028457be0bd19476326e0f7139835cfea5.zip
hdf5-15c540028457be0bd19476326e0f7139835cfea5.tar.gz
hdf5-15c540028457be0bd19476326e0f7139835cfea5.tar.bz2
[svn-r1364]
Changes since 19990618 ---------------------- ./Makefile.in Running `make' in the top directory recurses into the examples directory also except if the make target is one of: lib, progs, check, test, _test, install, uninstall. ./examples/Makefile.in Changed programs into tests, which just means that `make tests' does what `make progs' used to do and that `make check' runs the executables. ./src/H5Tconv.c Fixed a typo in the unsigned-to-signed native converter for large types to small types. This fixes a bug on baldric and possibly other machines for the `dtypes' test. Also fixed a signed vs. unsigned warning.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.in18
1 files changed, 7 insertions, 11 deletions
diff --git a/examples/Makefile.in b/examples/Makefile.in
index 801d71f..e3842bb 100644
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -14,14 +14,10 @@ VPATH=.:@srcdir@
CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@
LIBHDF5=../src/libhdf5.la
-# These are the programs that `make all' will build, `make install'
-# will copy to the binaries directory, and `make uninstall' will
-# remove from that directory.
-PROGS=h5_chunk_read h5_compound h5_extend_write h5_group h5_read h5_write \
- h5_select h5_attribute
-
-# These are the programs that `make test' will run
-TESTS=
+# 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_chunk_read h5_compound h5_extend_write h5_group h5_write \
+ h5_read h5_select h5_attribute
# These are the files that `make clean' (and derivatives) will remove from
# this directory.
@@ -30,13 +26,13 @@ CLEAN=*.h5
# List all source files here. The list of object files will be
# created by replacing the `.c' with a `.o'. This list is necessary
# for building automatic dependencies.
-PROG_SRC=h5_chunk_read.c h5_compound.c h5_extend_write.c h5_group.c \
+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
-PROG_OBJ=$(PROG_SRC:.c=.lo)
+TEST_OBJ=$(PROG_SRC:.c=.lo)
# How to build the programs... they all depend on the hdf5 library
-$(PROGS): $(LIBHDF5)
+$(TEST_PROGS): $(LIBHDF5)
h5_chunk_read: h5_chunk_read.lo
@$(LT_LINK_EXE) $(CFLAGS) -o $@ h5_chunk_read.lo $(LIBHDF5) $(LDFLAGS) $(LIBS)