diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in index a6f37df..e0be549 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,8 @@ ## Top-level HDF5 Makefile(.in) ## -## Copyright (C) 1997 National Center for Supercomputing Applications. -## All rights reserved. +## Copyright (C) 1997, 1998, 1999, 2000, 2001 +## National Center for Supercomputing Applications +## All rights reserved. ## ## ## This makefile mostly just reinvokes make in the various subdirectories @@ -65,13 +66,41 @@ tests TAGS dep depend: (cd $$d && $(MAKE) $@) || exit 1; \ done +install-all: + @@SETX@; for d in dummy @subdirs@; do \ + if test $$d != "dummy"; then \ + (cd $$d && $(MAKE) $@) || exit 1; \ + fi; \ + done + @$(MAKE) install + @$(MAKE) install-doc + @$(LT) --mode=finish $(libdir) + install: @@SETX@; for d in $(SUBDIRS); do \ (cd $$d && $(MAKE) $@) || exit 1; \ done - @$(LT) --mode=finish $(libdir); + @$(MAKE) install-examples + @$(LT) --mode=finish $(libdir) + +install-examples: + @@SETX@; for d in dummy @subdirs@; do \ + if test $$d != "dummy"; then \ + (cd $$d && $(MAKE) $@) || exit 1; \ + fi; \ + done + (cd examples && $(MAKE) $@) || exit 1; + +uninstall-examples: + @@SETX@; for d in dummy @subdirs@; do \ + if test $$d != "dummy"; then \ + (cd $$d && $(MAKE) $@) || exit 1; \ + fi; \ + done + (cd examples && $(MAKE) $@) || exit 1; install-doc: + @$(MAKE) install-examples (cd doc && $(MAKE) $@) || exit 1; uninstall-doc: @@ -88,13 +117,13 @@ H5Tinit.c: mostlyclean distclean maintainer-clean clean mostlyclean: - @@SETX@; for d in $(SUBDIRS) doc perform examples pablo; do \ + @@SETX@; for d in $(SUBDIRS) doc perform examples pablo; do \ (cd $$d && $(MAKE) $@); \ done -$(RM) conftest conftest.c distclean: - @@SETX@; for d in $(SUBDIRS) doc perform examples pablo; do \ + @@SETX@; for d in $(SUBDIRS) doc perform examples pablo; do \ (cd $$d && $(MAKE) $@); \ done -$(RM) config/commence config/conclude @@ -106,7 +135,7 @@ distclean: maintainer-clean: @echo "This target is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." - @@SETX@; for d in $(SUBDIRS) doc perform examples pablo; do \ + @@SETX@; for d in $(SUBDIRS) doc perform examples pablo; do \ (cd $$d && $(MAKE) $@); \ done -$(RM) config.cache config.log config.status src/H5config.h |