diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-02-11 03:17:36 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-02-11 03:17:36 (GMT) |
commit | f55948e4ba3e8dc49d2cde442096627309ee6b89 (patch) | |
tree | 29d15629b7905c3d70571d67c3651677d65a44fd /examples/Makefile.in | |
parent | 316a2ab99aadd214710db9da70df3133eb5e2f66 (diff) | |
download | hdf5-f55948e4ba3e8dc49d2cde442096627309ee6b89.zip hdf5-f55948e4ba3e8dc49d2cde442096627309ee6b89.tar.gz hdf5-f55948e4ba3e8dc49d2cde442096627309ee6b89.tar.bz2 |
[svn-r8181] Purpose:
Bug fix.
Description:
"make check" failed because the macro "$<" is not known to those
makes.
Solution:
Replace that macro with a string name in the form of a more basic
macro of "$@".
Platforms tested:
h5committested (copper used make.)
Misc. update:
Diffstat (limited to 'examples/Makefile.in')
-rw-r--r-- | examples/Makefile.in | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/examples/Makefile.in b/examples/Makefile.in index 37e1d0e..8895cb4 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -50,110 +50,110 @@ EXAMPLE_PROGS=$(TEST_SRC) $(TEST_PROGS) $(TEST_PROGS_PARA): $(LIBHDF5) h5_chunk_read: $(srcdir)/h5_chunk_read.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi h5_compound: $(srcdir)/h5_compound.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi h5_extend_write: $(srcdir)/h5_extend_write.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi h5_group: $(srcdir)/h5_group.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi h5_write: $(srcdir)/h5_write.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi h5_read: $(srcdir)/h5_read.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi h5_select: $(srcdir)/h5_select.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi h5_attribute: $(srcdir)/h5_attribute.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi h5_mount: $(srcdir)/h5_mount.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi h5_reference: $(srcdir)/h5_reference.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi h5_drivers: $(srcdir)/h5_drivers.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi ph5example: $(srcdir)/ph5example.c @if test "X$(PARALLEL)" = "Xno"; then \ - echo $(H5CC) $(CPPFLAGS) -o $@ $<; \ - $(H5CC) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ else \ - echo $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ - $(H5CC_PP) $(CPPFLAGS) -o $@ $<; \ + echo $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ + $(H5CC_PP) $(CPPFLAGS) -o $@ $(srcdir)/$@.c; \ fi @CONCLUDE@ |