#/****************************************************************************
# * NCSA HDF                                                                 *
# * National Comptational Science Alliance                                   *
# * University of Illinois at Urbana-Champaign                               *
# * 605 E. Springfield, Champaign IL 61820                                   *
# *                                                                          *
# * For conditions of distribution and use, see the accompanying             *
# * hdf-java/COPYING file.                                                   *
# *                                                                          *
# ****************************************************************************/

H45INC=@H45INC@
H4INC=@HDF4INC@
H5INC=@HDF5INC@

all: hdflib hdf5lib

hdflib: FORCE
	@if test -n "$(H4INC)" ; then $(MAKE) do-hdflib ; fi

do-hdflib: 
	cd hdflib; \
	$(MAKE) ; 

hdf5lib: FORCE
	@if test -n "$(H5INC)" ; then $(MAKE) do-hdf5lib ; fi

do-hdf5lib: 
	cd hdf5lib; \
	$(MAKE) ; 

clean: clean-hdflib clean-hdf5lib 

clean-hdflib:
	cd hdflib; \
	$(MAKE) clean ; 

clean-hdf5lib:
	cd hdf5lib; \
	$(MAKE) clean ; 

FORCE:
