summaryrefslogtreecommitdiffstats
path: root/config/depend1.in
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-09-19 17:04:46 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-09-19 17:04:46 (GMT)
commitf2caef690b3bdb99b27ff38a3ed1676300e5cd9d (patch)
tree050fc6413bc7590d681f8ce32ff3301864a38d37 /config/depend1.in
parent7c1e888bde6c2c3c345f37022099e1f294267f3c (diff)
downloadhdf5-f2caef690b3bdb99b27ff38a3ed1676300e5cd9d.zip
hdf5-f2caef690b3bdb99b27ff38a3ed1676300e5cd9d.tar.gz
hdf5-f2caef690b3bdb99b27ff38a3ed1676300e5cd9d.tar.bz2
[svn-r2573] Purpose:
Fix Irix pmake bugs Description: Build fails on Irix when builddir != srcdir Solution: * acconfig.h * src/H5config.h.in [REGENERATED] Added definition for HAVE_STREAM * config/conclude.in * config/depend1.in * config/depend2.in * config/depend3.in * config/depend4.in The `Dependencies' file is located in the source tree. This fixes bugs for Irix pmake when compiling outside the source tree. Hopefully it still preserves Albert's changes which allow concurrent compilations to not stomp on each other's Dependencies files. * examples/Dependencies [REGENERATED] * src/Dependencies [REGENERATED] * test/Dependencies [REGENERATED] * tools/Dependencies [REGENERATED] Regenerated for testing purposes. Platforms: i686-pc-linux mips-sgi-irix6.5 sparc-sun-solaris2.6
Diffstat (limited to 'config/depend1.in')
-rw-r--r--config/depend1.in22
1 files changed, 6 insertions, 16 deletions
diff --git a/config/depend1.in b/config/depend1.in
index 4a24846..e07f4bf 100644
--- a/config/depend1.in
+++ b/config/depend1.in
@@ -20,18 +20,16 @@
## otherwise the file is changed and a backup is saved by appending a
## tilde to the file name.
##
-.PRECIOUS: Dependencies
-Dependencies: .depend
+$(srcdir)/Dependencies: .depend
@if test "$(srcdir)" != "."; then \
- echo '## This file is machine generated on GNU systems.' \
- >$@; \
- echo '## Only temporary changes may be made here.' \
- >>$@; \
- echo >>$@; \
+ echo '## This file is machine generated on GNU systems.' >$@; \
+ echo '## Only temporary changes may be made here.' >>$@; \
+ echo >>$@; \
perl -p $(top_srcdir)/bin/distdep .depend >>$@; \
+ else \
+ echo 'Dependencies cannot be built when $$srcdir == $$builddir'; \
fi
-.PRECIOUS: .depend
.depend: $(LIB_SRC) $(TEST_SRC) $(PROG_SRC)
@touch .depend
@for dep in $? dummy; do \
@@ -47,14 +45,6 @@ Dependencies: .depend
sed 's/\.o/.lo/' >>$@; \
fi; \
done;
- @if test "$(srcdir)" != "."; then \
- echo '## This file is machine generated on GNU systems.' \
- >Dependencies; \
- echo '## Only temporary changes may be made here.' \
- >>Dependencies; \
- echo >>Dependencies; \
- perl -p $(top_srcdir)/bin/distdep .depend>>Dependencies;\
- fi
-include .depend