# Makefile.in generated by automake 1.10.1 from Makefile.am.
# @configure_input@

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@

# Copyright 2006, see the COPYRIGHT file for more information.  

# This file builds F90 examples.

# $Id: Makefile.am,v 1.26 2009/02/25 21:44:42 ed Exp $
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@

# Is the user building netCDF-4?

# If the user specified a root for HDF5, use it.
@USE_HDF5_DIR_TRUE@@USE_NETCDF4_TRUE@am__append_1 = -I@HDF5DIR@/include
@USE_HDF5_DIR_TRUE@@USE_NETCDF4_TRUE@am__append_2 = -I@HDF5DIR@/include

# Since netCDF-4 is being built, link to the netcdf library in
# ../../libsrc4, also link to HDF5 and HDF5 high-level libraries, and
# find netcdf.h in ../../libsrc4.
@USE_NETCDF4_TRUE@am__append_3 = -I$(top_srcdir)/libsrc4 
@USE_NETCDF4_TRUE@am__append_4 = -I$(top_srcdir)/libsrc4 
@USE_NETCDF4_TRUE@am__append_5 = ../../libsrc4/libnetcdf.la -lhdf5_hl -lhdf5

# Add example to the tests run.
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@am__append_6 = nc4_simple_xy_wr nc4_sfc_pres_temp_wr	\
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@nc4_pres_temp_4D_wr


# Add this test script.
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@am__append_7 = run_nc4_comps.sh

# Make sure all the files created by our netcdf-4 tests get cleaned.
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@am__append_8 = nc4_simple_xy_wr.f90 simple_xy.cdl			\
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@nc4_sfc_pres_temp_wr.f90 sfc_pres_temp.cdl nc4_pres_temp_4d_wr.f90	\
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@pres_temp_4d.cdl nc4_simple_xy.nc nc4_pres_temp_4d.nc			\
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@nc4_sfc_pres_temp.nc


# Optionally add parallel i/o examples.
@TEST_PARALLEL_TRUE@@USE_NETCDF4_TRUE@am__append_9 = simple_xy_par_wr simple_xy_par_rd
@TEST_PARALLEL_TRUE@@USE_NETCDF4_TRUE@am__append_10 = run_f90_par_examples.sh
@TEST_PARALLEL_TRUE@@USE_NETCDF4_TRUE@am__append_11 = simple_xy_par.nc

# NetCDF-4 examples.
@USE_NETCDF4_TRUE@am__append_12 = simple_xy_nc4_wr simple_xy_nc4_rd
@USE_NETCDF4_TRUE@am__append_13 = simple_xy_nc4.nc

# Without netcdf-4, go to ../../libsrc for the library and header.
@USE_NETCDF4_FALSE@am__append_14 = -I$(top_srcdir)/libsrc
@USE_NETCDF4_FALSE@am__append_15 = -I$(top_srcdir)/libsrc
@BUILD_DAP_TRUE@@USE_NETCDF4_FALSE@am__append_16 = ${top_builddir}/libncdap3/libnetcdf.la 
@BUILD_DAP_FALSE@@USE_NETCDF4_FALSE@am__append_17 = ../../libsrc/libnetcdf.la 
check_PROGRAMS = $(am__EXEEXT_4)
TESTS = $(am__EXEEXT_4) $(TESTSCRIPTS)
subdir = examples/F90
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
	$(top_srcdir)/acinclude.m4 $(top_srcdir)/ncdap.m4 \
	$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h \
	$(top_builddir)/fortran/nfconfig1.inc
CONFIG_CLEAN_FILES =
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@am__EXEEXT_1 = nc4_simple_xy_wr$(EXEEXT) \
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@	nc4_sfc_pres_temp_wr$(EXEEXT) \
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@	nc4_pres_temp_4D_wr$(EXEEXT)
@TEST_PARALLEL_TRUE@@USE_NETCDF4_TRUE@am__EXEEXT_2 = simple_xy_par_wr$(EXEEXT) \
@TEST_PARALLEL_TRUE@@USE_NETCDF4_TRUE@	simple_xy_par_rd$(EXEEXT)
@USE_NETCDF4_TRUE@am__EXEEXT_3 = simple_xy_nc4_wr$(EXEEXT) \
@USE_NETCDF4_TRUE@	simple_xy_nc4_rd$(EXEEXT)
am__EXEEXT_4 = simple_xy_wr$(EXEEXT) simple_xy_rd$(EXEEXT) \
	sfc_pres_temp_wr$(EXEEXT) sfc_pres_temp_rd$(EXEEXT) \
	pres_temp_4D_wr$(EXEEXT) pres_temp_4D_rd$(EXEEXT) \
	$(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3)
am__nc4_pres_temp_4D_wr_SOURCES_DIST = nc4_pres_temp_4D_wr.f90
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@am_nc4_pres_temp_4D_wr_OBJECTS = nc4_pres_temp_4D_wr.$(OBJEXT)
nc4_pres_temp_4D_wr_OBJECTS = $(am_nc4_pres_temp_4D_wr_OBJECTS)
nc4_pres_temp_4D_wr_LDADD = $(LDADD)
@USE_NETCDF4_TRUE@am__DEPENDENCIES_1 = ../../libsrc4/libnetcdf.la
nc4_pres_temp_4D_wr_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am__nc4_sfc_pres_temp_wr_SOURCES_DIST = nc4_sfc_pres_temp_wr.f90
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@am_nc4_sfc_pres_temp_wr_OBJECTS = nc4_sfc_pres_temp_wr.$(OBJEXT)
nc4_sfc_pres_temp_wr_OBJECTS = $(am_nc4_sfc_pres_temp_wr_OBJECTS)
nc4_sfc_pres_temp_wr_LDADD = $(LDADD)
nc4_sfc_pres_temp_wr_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am__nc4_simple_xy_wr_SOURCES_DIST = nc4_simple_xy_wr.f90
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@am_nc4_simple_xy_wr_OBJECTS = nc4_simple_xy_wr.$(OBJEXT)
nc4_simple_xy_wr_OBJECTS = $(am_nc4_simple_xy_wr_OBJECTS)
nc4_simple_xy_wr_LDADD = $(LDADD)
nc4_simple_xy_wr_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am_pres_temp_4D_rd_OBJECTS = pres_temp_4D_rd.$(OBJEXT)
pres_temp_4D_rd_OBJECTS = $(am_pres_temp_4D_rd_OBJECTS)
pres_temp_4D_rd_LDADD = $(LDADD)
pres_temp_4D_rd_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am_pres_temp_4D_wr_OBJECTS = pres_temp_4D_wr.$(OBJEXT)
pres_temp_4D_wr_OBJECTS = $(am_pres_temp_4D_wr_OBJECTS)
pres_temp_4D_wr_LDADD = $(LDADD)
pres_temp_4D_wr_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am_sfc_pres_temp_rd_OBJECTS = sfc_pres_temp_rd.$(OBJEXT)
sfc_pres_temp_rd_OBJECTS = $(am_sfc_pres_temp_rd_OBJECTS)
sfc_pres_temp_rd_LDADD = $(LDADD)
sfc_pres_temp_rd_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am_sfc_pres_temp_wr_OBJECTS = sfc_pres_temp_wr.$(OBJEXT)
sfc_pres_temp_wr_OBJECTS = $(am_sfc_pres_temp_wr_OBJECTS)
sfc_pres_temp_wr_LDADD = $(LDADD)
sfc_pres_temp_wr_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am__simple_xy_nc4_rd_SOURCES_DIST = simple_xy_nc4_rd.f90
@USE_NETCDF4_TRUE@am_simple_xy_nc4_rd_OBJECTS =  \
@USE_NETCDF4_TRUE@	simple_xy_nc4_rd.$(OBJEXT)
simple_xy_nc4_rd_OBJECTS = $(am_simple_xy_nc4_rd_OBJECTS)
simple_xy_nc4_rd_LDADD = $(LDADD)
simple_xy_nc4_rd_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am__simple_xy_nc4_wr_SOURCES_DIST = simple_xy_nc4_wr.f90
@USE_NETCDF4_TRUE@am_simple_xy_nc4_wr_OBJECTS =  \
@USE_NETCDF4_TRUE@	simple_xy_nc4_wr.$(OBJEXT)
simple_xy_nc4_wr_OBJECTS = $(am_simple_xy_nc4_wr_OBJECTS)
simple_xy_nc4_wr_LDADD = $(LDADD)
simple_xy_nc4_wr_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am__simple_xy_par_rd_SOURCES_DIST = simple_xy_par_rd.f90
@TEST_PARALLEL_TRUE@@USE_NETCDF4_TRUE@am_simple_xy_par_rd_OBJECTS = simple_xy_par_rd.$(OBJEXT)
simple_xy_par_rd_OBJECTS = $(am_simple_xy_par_rd_OBJECTS)
simple_xy_par_rd_LDADD = $(LDADD)
simple_xy_par_rd_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am__simple_xy_par_wr_SOURCES_DIST = simple_xy_par_wr.f90
@TEST_PARALLEL_TRUE@@USE_NETCDF4_TRUE@am_simple_xy_par_wr_OBJECTS = simple_xy_par_wr.$(OBJEXT)
simple_xy_par_wr_OBJECTS = $(am_simple_xy_par_wr_OBJECTS)
simple_xy_par_wr_LDADD = $(LDADD)
simple_xy_par_wr_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am_simple_xy_rd_OBJECTS = simple_xy_rd.$(OBJEXT)
simple_xy_rd_OBJECTS = $(am_simple_xy_rd_OBJECTS)
simple_xy_rd_LDADD = $(LDADD)
simple_xy_rd_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
am_simple_xy_wr_OBJECTS = simple_xy_wr.$(OBJEXT)
simple_xy_wr_OBJECTS = $(am_simple_xy_wr_OBJECTS)
simple_xy_wr_LDADD = $(LDADD)
simple_xy_wr_DEPENDENCIES = ../../fortran/libnetcdff.la \
	$(am__DEPENDENCIES_1) $(am__append_16) $(am__append_17)
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/fortran
FCCOMPILE = $(FC) $(AM_FCFLAGS) $(FCFLAGS)
LTFCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=compile $(FC) $(AM_FCFLAGS) $(FCFLAGS)
FCLD = $(FC)
FCLINK = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
	$(FCLD) $(AM_FCFLAGS) $(FCFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \
	$@
SOURCES = $(nc4_pres_temp_4D_wr_SOURCES) \
	$(nc4_sfc_pres_temp_wr_SOURCES) $(nc4_simple_xy_wr_SOURCES) \
	$(pres_temp_4D_rd_SOURCES) $(pres_temp_4D_wr_SOURCES) \
	$(sfc_pres_temp_rd_SOURCES) $(sfc_pres_temp_wr_SOURCES) \
	$(simple_xy_nc4_rd_SOURCES) $(simple_xy_nc4_wr_SOURCES) \
	$(simple_xy_par_rd_SOURCES) $(simple_xy_par_wr_SOURCES) \
	$(simple_xy_rd_SOURCES) $(simple_xy_wr_SOURCES)
DIST_SOURCES = $(am__nc4_pres_temp_4D_wr_SOURCES_DIST) \
	$(am__nc4_sfc_pres_temp_wr_SOURCES_DIST) \
	$(am__nc4_simple_xy_wr_SOURCES_DIST) \
	$(pres_temp_4D_rd_SOURCES) $(pres_temp_4D_wr_SOURCES) \
	$(sfc_pres_temp_rd_SOURCES) $(sfc_pres_temp_wr_SOURCES) \
	$(am__simple_xy_nc4_rd_SOURCES_DIST) \
	$(am__simple_xy_nc4_wr_SOURCES_DIST) \
	$(am__simple_xy_par_rd_SOURCES_DIST) \
	$(am__simple_xy_par_wr_SOURCES_DIST) $(simple_xy_rd_SOURCES) \
	$(simple_xy_wr_SOURCES)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
ALLOCA = @ALLOCA@
AMTAR = @AMTAR@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BINFILE_NAME = @BINFILE_NAME@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CURLDIR = @CURLDIR@
CURL_CFLAGS = @CURL_CFLAGS@
CURL_LIBS = @CURL_LIBS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
F77 = @F77@
FC = @FC@
FCFLAGS = @FCFLAGS@
FCFLAGS_f90 = @FCFLAGS_f90@
FFLAGS = @FFLAGS@
FGREP = @FGREP@
FTPBINDIR = @FTPBINDIR@
GREP = @GREP@
HAS_CXX = @HAS_CXX@
HAS_DAP = @HAS_DAP@
HAS_F77 = @HAS_F77@
HAS_F90 = @HAS_F90@
HAS_NC2 = @HAS_NC2@
HAS_NC4 = @HAS_NC4@
HDF5DIR = @HDF5DIR@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MAKEWHATIS_CMD = @MAKEWHATIS_CMD@
MKDIR_P = @MKDIR_P@
MOD_FLAG = @MOD_FLAG@
NC_FLIBS = @NC_FLIBS@
NC_LIBS = @NC_LIBS@
NETCDF_C_LIB = @NETCDF_C_LIB@
NM = @NM@
NMEDIT = @NMEDIT@
NMFLAGS = @NMFLAGS@
OBJEXT = @OBJEXT@
OCLIB_CFLAGS = @OCLIB_CFLAGS@
OCLIB_LIBS = @OCLIB_LIBS@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHAREEXT = @SHAREEXT@
SHELL = @SHELL@
STRIP = @STRIP@
SZLIBDIR = @SZLIBDIR@
VERSION = @VERSION@
WHATIS = @WHATIS@
ZLIBDIR = @ZLIBDIR@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
ac_ct_F77 = @ac_ct_F77@
ac_ct_FC = @ac_ct_FC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
prog = @prog@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@

# Tell the compiler where to find the .mod files. The .mod file is
# built, and therefore found in the build directory, not the source
# directory.
AM_FFLAGS = -I$(top_srcdir)/fortran -I$(top_srcdir)/f90 \
	@MOD_FLAG@$(top_builddir)/f90 $(am__append_1) $(am__append_3) \
	$(am__append_14)

# Some fortran compilers think your files should not have an .f90
# extension! The value of FCFLAGS_f90 is set in the configure script,
# based on the fortran compiler.
AM_FCFLAGS = -I$(top_srcdir)/fortran -I$(top_srcdir)/f90 \
	@MOD_FLAG@$(top_builddir)/f90 $(FCFLAGS_f90) $(am__append_2) \
	$(am__append_4) $(am__append_15)
LDADD = ../../fortran/libnetcdff.la $(am__append_5) $(am__append_16) \
	$(am__append_17)
AM_F90FLAGS = $(FCFLAGS_f90)

# These are the example programs.
TESTPROGRAMS = simple_xy_wr simple_xy_rd sfc_pres_temp_wr \
	sfc_pres_temp_rd pres_temp_4D_wr pres_temp_4D_rd \
	$(am__append_6) $(am__append_9) $(am__append_12)
TESTSCRIPTS = do_comps.sh $(am__append_7) $(am__append_10)

# Here's the source code for the programs.
simple_xy_wr_SOURCES = simple_xy_wr.f90
simple_xy_rd_SOURCES = simple_xy_rd.f90
sfc_pres_temp_wr_SOURCES = sfc_pres_temp_wr.f90
sfc_pres_temp_rd_SOURCES = sfc_pres_temp_rd.f90
pres_temp_4D_wr_SOURCES = pres_temp_4D_wr.f90
pres_temp_4D_rd_SOURCES = pres_temp_4D_rd.f90

# Cleaning up files created during the process.
CLEANFILES = simple_xy.nc sfc_pres_temp.nc pres_temp_4D.nc \
	$(am__append_8) $(am__append_11) $(am__append_13)
MAINTAINERCLEANFILES = Makefile.in
@USE_HDF5_DIR_TRUE@@USE_NETCDF4_TRUE@AM_LDFLAGS = -L@HDF5DIR@/lib

# This will cause netCDF-4 versions of the example programs to be
# built.
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@BUILT_SOURCES = nc4_simple_xy_wr.f90 nc4_sfc_pres_temp_wr.f90	\
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@nc4_pres_temp_4D_wr.f90


# How to build the example.
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@nc4_simple_xy_wr_SOURCES = nc4_simple_xy_wr.f90
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@nc4_sfc_pres_temp_wr_SOURCES = nc4_sfc_pres_temp_wr.f90
@EXTRA_EXAMPLE_TESTS_TRUE@@USE_NETCDF4_TRUE@nc4_pres_temp_4D_wr_SOURCES = nc4_pres_temp_4D_wr.f90
@TEST_PARALLEL_TRUE@@USE_NETCDF4_TRUE@simple_xy_par_wr_SOURCES = simple_xy_par_wr.f90
@TEST_PARALLEL_TRUE@@USE_NETCDF4_TRUE@simple_xy_par_rd_SOURCES = simple_xy_par_rd.f90
@USE_NETCDF4_TRUE@simple_xy_nc4_wr_SOURCES = simple_xy_nc4_wr.f90
@USE_NETCDF4_TRUE@simple_xy_nc4_rd_SOURCES = simple_xy_nc4_rd.f90

# Make sure the script which compares file outputs is included in the
# dist.
EXTRA_DIST = do_comps.sh run_nc4_comps.sh run_f90_par_examples.sh
all: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) all-am

.SUFFIXES:
.SUFFIXES: .f90 .lo .o .obj
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  examples/F90/Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --foreign  examples/F90/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

clean-checkPROGRAMS:
	@list='$(check_PROGRAMS)'; for p in $$list; do \
	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
	  echo " rm -f $$p $$f"; \
	  rm -f $$p $$f ; \
	done
nc4_pres_temp_4D_wr$(EXEEXT): $(nc4_pres_temp_4D_wr_OBJECTS) $(nc4_pres_temp_4D_wr_DEPENDENCIES) 
	@rm -f nc4_pres_temp_4D_wr$(EXEEXT)
	$(FCLINK) $(nc4_pres_temp_4D_wr_OBJECTS) $(nc4_pres_temp_4D_wr_LDADD) $(LIBS)
nc4_sfc_pres_temp_wr$(EXEEXT): $(nc4_sfc_pres_temp_wr_OBJECTS) $(nc4_sfc_pres_temp_wr_DEPENDENCIES) 
	@rm -f nc4_sfc_pres_temp_wr$(EXEEXT)
	$(FCLINK) $(nc4_sfc_pres_temp_wr_OBJECTS) $(nc4_sfc_pres_temp_wr_LDADD) $(LIBS)
nc4_simple_xy_wr$(EXEEXT): $(nc4_simple_xy_wr_OBJECTS) $(nc4_simple_xy_wr_DEPENDENCIES) 
	@rm -f nc4_simple_xy_wr$(EXEEXT)
	$(FCLINK) $(nc4_simple_xy_wr_OBJECTS) $(nc4_simple_xy_wr_LDADD) $(LIBS)
pres_temp_4D_rd$(EXEEXT): $(pres_temp_4D_rd_OBJECTS) $(pres_temp_4D_rd_DEPENDENCIES) 
	@rm -f pres_temp_4D_rd$(EXEEXT)
	$(FCLINK) $(pres_temp_4D_rd_OBJECTS) $(pres_temp_4D_rd_LDADD) $(LIBS)
pres_temp_4D_wr$(EXEEXT): $(pres_temp_4D_wr_OBJECTS) $(pres_temp_4D_wr_DEPENDENCIES) 
	@rm -f pres_temp_4D_wr$(EXEEXT)
	$(FCLINK) $(pres_temp_4D_wr_OBJECTS) $(pres_temp_4D_wr_LDADD) $(LIBS)
sfc_pres_temp_rd$(EXEEXT): $(sfc_pres_temp_rd_OBJECTS) $(sfc_pres_temp_rd_DEPENDENCIES) 
	@rm -f sfc_pres_temp_rd$(EXEEXT)
	$(FCLINK) $(sfc_pres_temp_rd_OBJECTS) $(sfc_pres_temp_rd_LDADD) $(LIBS)
sfc_pres_temp_wr$(EXEEXT): $(sfc_pres_temp_wr_OBJECTS) $(sfc_pres_temp_wr_DEPENDENCIES) 
	@rm -f sfc_pres_temp_wr$(EXEEXT)
	$(FCLINK) $(sfc_pres_temp_wr_OBJECTS) $(sfc_pres_temp_wr_LDADD) $(LIBS)
simple_xy_nc4_rd$(EXEEXT): $(simple_xy_nc4_rd_OBJECTS) $(simple_xy_nc4_rd_DEPENDENCIES) 
	@rm -f simple_xy_nc4_rd$(EXEEXT)
	$(FCLINK) $(simple_xy_nc4_rd_OBJECTS) $(simple_xy_nc4_rd_LDADD) $(LIBS)
simple_xy_nc4_wr$(EXEEXT): $(simple_xy_nc4_wr_OBJECTS) $(simple_xy_nc4_wr_DEPENDENCIES) 
	@rm -f simple_xy_nc4_wr$(EXEEXT)
	$(FCLINK) $(simple_xy_nc4_wr_OBJECTS) $(simple_xy_nc4_wr_LDADD) $(LIBS)
simple_xy_par_rd$(EXEEXT): $(simple_xy_par_rd_OBJECTS) $(simple_xy_par_rd_DEPENDENCIES) 
	@rm -f simple_xy_par_rd$(EXEEXT)
	$(FCLINK) $(simple_xy_par_rd_OBJECTS) $(simple_xy_par_rd_LDADD) $(LIBS)
simple_xy_par_wr$(EXEEXT): $(simple_xy_par_wr_OBJECTS) $(simple_xy_par_wr_DEPENDENCIES) 
	@rm -f simple_xy_par_wr$(EXEEXT)
	$(FCLINK) $(simple_xy_par_wr_OBJECTS) $(simple_xy_par_wr_LDADD) $(LIBS)
simple_xy_rd$(EXEEXT): $(simple_xy_rd_OBJECTS) $(simple_xy_rd_DEPENDENCIES) 
	@rm -f simple_xy_rd$(EXEEXT)
	$(FCLINK) $(simple_xy_rd_OBJECTS) $(simple_xy_rd_LDADD) $(LIBS)
simple_xy_wr$(EXEEXT): $(simple_xy_wr_OBJECTS) $(simple_xy_wr_DEPENDENCIES) 
	@rm -f simple_xy_wr$(EXEEXT)
	$(FCLINK) $(simple_xy_wr_OBJECTS) $(simple_xy_wr_LDADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)

distclean-compile:
	-rm -f *.tab.c

.f90.o:
	$(FCCOMPILE) -c -o $@ $<

.f90.obj:
	$(FCCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

.f90.lo:
	$(LTFCCOMPILE) -c -o $@ $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	    $$tags $$unique; \
	fi
ctags: CTAGS
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$tags $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && cd $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

check-TESTS: $(TESTS)
	@failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[	 ]'; \
	srcdir=$(srcdir); export srcdir; \
	list=' $(TESTS) '; \
	if test -n "$$list"; then \
	  for tst in $$list; do \
	    if test -f ./$$tst; then dir=./; \
	    elif test -f $$tst; then dir=; \
	    else dir="$(srcdir)/"; fi; \
	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
	      all=`expr $$all + 1`; \
	      case " $(XFAIL_TESTS) " in \
	      *$$ws$$tst$$ws*) \
		xpass=`expr $$xpass + 1`; \
		failed=`expr $$failed + 1`; \
		echo "XPASS: $$tst"; \
	      ;; \
	      *) \
		echo "PASS: $$tst"; \
	      ;; \
	      esac; \
	    elif test $$? -ne 77; then \
	      all=`expr $$all + 1`; \
	      case " $(XFAIL_TESTS) " in \
	      *$$ws$$tst$$ws*) \
		xfail=`expr $$xfail + 1`; \
		echo "XFAIL: $$tst"; \
	      ;; \
	      *) \
		failed=`expr $$failed + 1`; \
		echo "FAIL: $$tst"; \
	      ;; \
	      esac; \
	    else \
	      skip=`expr $$skip + 1`; \
	      echo "SKIP: $$tst"; \
	    fi; \
	  done; \
	  if test "$$failed" -eq 0; then \
	    if test "$$xfail" -eq 0; then \
	      banner="All $$all tests passed"; \
	    else \
	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
	    fi; \
	  else \
	    if test "$$xpass" -eq 0; then \
	      banner="$$failed of $$all tests failed"; \
	    else \
	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
	    fi; \
	  fi; \
	  dashes="$$banner"; \
	  skipped=""; \
	  if test "$$skip" -ne 0; then \
	    skipped="($$skip tests were not run)"; \
	    test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
	      dashes="$$skipped"; \
	  fi; \
	  report=""; \
	  if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
	    report="Please report to $(PACKAGE_BUGREPORT)"; \
	    test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
	      dashes="$$report"; \
	  fi; \
	  dashes=`echo "$$dashes" | sed s/./=/g`; \
	  echo "$$dashes"; \
	  echo "$$banner"; \
	  test -z "$$skipped" || echo "$$skipped"; \
	  test -z "$$report" || echo "$$report"; \
	  echo "$$dashes"; \
	  test "$$failed" -eq 0; \
	else :; fi

distdir: $(DISTFILES)
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	list='$(DISTFILES)'; \
	  dist_files=`for file in $$list; do echo $$file; done | \
	  sed -e "s|^$$srcdirstrip/||;t" \
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
	case $$dist_files in \
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
			   sort -u` ;; \
	esac; \
	for file in $$dist_files; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
check-am: all-am
	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile
installdirs:
install: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am

clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
	mostlyclean-am

distclean: distclean-am
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-tags

dvi: dvi-am

dvi-am:

html: html-am

info: info-am

info-am:

install-data-am:

install-dvi: install-dvi-am

install-exec-am:

install-html: install-html-am

install-info: install-info-am

install-man:

install-pdf: install-pdf-am

install-ps: install-ps-am

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am:

.MAKE: install-am install-strip

.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
	clean-checkPROGRAMS clean-generic clean-libtool ctags \
	distclean distclean-compile distclean-generic \
	distclean-libtool distclean-tags distdir dvi dvi-am html \
	html-am info info-am install install-am install-data \
	install-data-am install-dvi install-dvi-am install-exec \
	install-exec-am install-html install-html-am install-info \
	install-info-am install-man install-pdf install-pdf-am \
	install-ps install-ps-am install-strip installcheck \
	installcheck-am installdirs maintainer-clean \
	maintainer-clean-generic mostlyclean mostlyclean-compile \
	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
	tags uninstall uninstall-am


# This target tells how to build one of the netCDF-4 examples.
# Note old version used sed -i, but -i is not universally recognized
nc4_simple_xy_wr.f90:
	sed -e 's/nf90_clobber/nf90_hdf5/' simple_xy_wr.f90 \
	| sed -e 's/simple_xy/nc4_simple_xy/' > nc4_simple_xy_wr.f90

# This target tells how to build one of the netCDF-4 examples.
nc4_sfc_pres_temp_wr.f90:
	sed -e 's/nf90_clobber/nf90_hdf5/' sfc_pres_temp_wr.f90 \
	| sed -e 's/sfc_pres_temp/nc4_sfc_pres_temp/' > nc4_sfc_pres_temp_wr.f90

# This target tells how to build one of the netCDF-4 examples.
nc4_pres_temp_4D_wr.f90:
	sed -e 's/nf90_clobber/nf90_hdf5/' pres_temp_4D_wr.f90 \
	| sed -e 's/pres_temp_4D/nc4_pres_temp_4D/' > nc4_pres_temp_4D_wr.f90
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
