#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of the HDF h5edit tool. The full h5edit tool
# copyright notice, including terms governing use, modification,
# and redistribution, is contained in the file COPYING, which can
# be found at the root of the source code distribution tree. If
# you do not have access to this file, you may request a copy
# from help@hdfgroup.org.
##
## Makefile.am
## Run automake to generate a Makefile.in from this file.
##
# 
# This makefile mostly just reinvokes make in the various subdirectories
# but does so in the correct order.  You can alternatively invoke make from
# each subdirectory manually.
# Top-level H5edit Makefile(.in)
# Activate this later.
#include $(top_srcdir)/config/commence.am
# Define subdirectories to build.
## Automake understands that `make distclean' should recurse into
## conditional subdirectories even if `make all' does not.
## We need to list the examples directory in the DIST_SUBDIRS variable
## so that it will be visited by `make distclean'
# Add this directory to SUBDIRS so that examples get built after tools
# but before examples in extra interfaces (c++ and fortran).
# Since we're explicitly listing DIST_SUBDIRS, we also need to list
# directories that are only conditionally built (so that their Makefiles
# are cleaned as well).
# Note that `make clean' will not affect the examples or doc directories. 
SUBDIRS = src test
DIST_SUBDIRS = $(SUBDIRS)
# Some files generated during configure that should be cleaned
DISTCLEANFILES=config/stamp1 config/stamp2
# Define rules for lib, progs, check, and tests.
# These simply involve recursing into subdirectories.
test _test: check
# Make all, tests, and (un)install also recurse into perform directory
tests:
    @@SETX@; for d in $(SUBDIRS) ; do                        \