diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-12-09 20:59:11 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-12-09 20:59:11 (GMT) |
commit | b1fd3f565750a18246239cdac50e433d6d668524 (patch) | |
tree | f09179e1fb2a04e01983c85f9a3873c159fefda7 /hl/c++/Makefile.in | |
parent | 9124030f911f002bd49ec8bccd4c051df410cc72 (diff) | |
download | hdf5-b1fd3f565750a18246239cdac50e433d6d668524.zip hdf5-b1fd3f565750a18246239cdac50e433d6d668524.tar.gz hdf5-b1fd3f565750a18246239cdac50e433d6d668524.tar.bz2 |
[svn-r11780] Purpose:
Added high-level example directories
Description:
Refactored common code out of examples Makefiles.am, added high-level
example directories, added packet table examples.
Solution:
Examples now draw from a common config/examples.am file, which
contains rules for installing, uninstalling, and cleaning examples.
High-level example directories are mostly empty, except for the
C and C++ packet table tests.
Platforms tested:
mir, sleipnir, copper, shanti
Diffstat (limited to 'hl/c++/Makefile.in')
-rw-r--r-- | hl/c++/Makefile.in | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/hl/c++/Makefile.in b/hl/c++/Makefile.in index 3042d0e..5f37302 100644 --- a/hl/c++/Makefile.in +++ b/hl/c++/Makefile.in @@ -72,7 +72,6 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) # Set the paths for AFS installs of autotools for Linux machines @@ -312,6 +311,7 @@ TRACE = perl $(top_srcdir)/bin/trace # *.clog are from the MPE option. CHECK_CLEANFILES = *.chkexe *.chklog *.clog SUBDIRS = src test +DIST_SUBDIRS = src test examples # Automake needs to be taught how to build lib, progs, and tests targets. # These will be filled in automatically for the most part (e.g., @@ -604,7 +604,7 @@ install-info: install-info-recursive install-man: -installcheck-am: +installcheck-am: installcheck-local maintainer-clean: maintainer-clean-recursive -rm -f Makefile @@ -634,12 +634,12 @@ uninstall-info: uninstall-info-recursive distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ - maintainer-clean-recursive mostlyclean mostlyclean-generic \ - mostlyclean-libtool mostlyclean-local mostlyclean-recursive \ - pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-info-am + install-strip installcheck installcheck-am installcheck-local \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic maintainer-clean-recursive \ + mostlyclean mostlyclean-generic mostlyclean-libtool \ + mostlyclean-local mostlyclean-recursive pdf pdf-am ps ps-am \ + tags tags-recursive uninstall uninstall-am uninstall-info-am # check-install is a synonym for installcheck. @@ -656,6 +656,17 @@ check-install: installcheck build-tests check-clean check-install check-p check-s check-vfd \ install-doc lib progs tests uninstall-doc _exec_check-s _test +# Install examples +install-examples uninstall-examples: + @(cd examples && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; + +# Check that examples can be successfully built +check-install: + @$(MAKE) $(AM_MAKEFLAGS) installcheck + +installcheck-local: + @(cd examples && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; + # lib/progs/tests targets recurse into subdirectories. build-* targets # build files in this directory. build-lib: $(LIB) |