# Makefile.in generated by automake 1.13.4 from Makefile.am.
# tests/Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994-2013 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.



# Makefile.am for ropp_pp/tests
# =============================

# 1. Useful settings
# ------------------



am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
am__make_running_with_option = \
  case $${target_option-} in \
      ?) ;; \
      *) echo "am__make_running_with_option: internal error: invalid" \
              "target option '$${target_option-}' specified" >&2; \
         exit 1;; \
  esac; \
  has_opt=no; \
  sane_makeflags=$$MAKEFLAGS; \
  if $(am__is_gnu_make); then \
    sane_makeflags=$$MFLAGS; \
  else \
    case $$MAKEFLAGS in \
      *\\[\ \	]*) \
        bs=\\; \
        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
    esac; \
  fi; \
  skip_next=no; \
  strip_trailopt () \
  { \
    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  }; \
  for flg in $$sane_makeflags; do \
    test $$skip_next = yes && { skip_next=no; continue; }; \
    case $$flg in \
      *=*|--*) continue;; \
        -*I) strip_trailopt 'I'; skip_next=yes;; \
      -*I?*) strip_trailopt 'I';; \
        -*O) strip_trailopt 'O'; skip_next=yes;; \
      -*O?*) strip_trailopt 'O';; \
        -*l) strip_trailopt 'l'; skip_next=yes;; \
      -*l?*) strip_trailopt 'l';; \
      -[dEDm]) skip_next=yes;; \
      -[JT]) skip_next=yes;; \
    esac; \
    case $$flg in \
      *$$target_option*) has_opt=yes; break;; \
    esac; \
  done; \
  test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/ropp_pp
pkgincludedir = $(includedir)/ropp_pp
pkglibdir = $(libdir)/ropp_pp
pkglibexecdir = $(libexecdir)/ropp_pp
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 = x86_64-unknown-linux-gnu
host_triplet = x86_64-unknown-linux-gnu
noinst_PROGRAMS = ropp_test_abel$(EXEEXT) \
	ropp_pp_summary$(EXEEXT) \
	ropp_pp_compare$(EXEEXT)
subdir = tests
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/cm_compiler_defaults.m4 \
	$(top_srcdir)/m4/cm_compilers.m4 \
	$(top_srcdir)/m4/cm_fortran.m4 \
	$(top_srcdir)/m4/cm_libraries.m4 $(top_srcdir)/m4/cm_tools.m4 \
	$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
PROGRAMS = $(noinst_PROGRAMS)
am__ropp_pp_compare_SOURCES_DIST = ropp_pp_compare.f90
am_ropp_pp_compare_OBJECTS =  \
	ropp_pp_compare.$(OBJEXT)
ropp_pp_compare_OBJECTS = $(am_ropp_pp_compare_OBJECTS)
ropp_pp_compare_LDADD = $(LDADD)
ropp_pp_compare_DEPENDENCIES = ../build/libropp_pp.a
am__ropp_pp_summary_SOURCES_DIST = ropp_pp_summary.f90
am_ropp_pp_summary_OBJECTS =  \
	ropp_pp_summary.$(OBJEXT)
ropp_pp_summary_OBJECTS = $(am_ropp_pp_summary_OBJECTS)
ropp_pp_summary_LDADD = $(LDADD)
ropp_pp_summary_DEPENDENCIES = ../build/libropp_pp.a
am__ropp_test_abel_SOURCES_DIST = ropp_test_abel.f90
am_ropp_test_abel_OBJECTS =  \
	ropp_test_abel.$(OBJEXT)
ropp_test_abel_OBJECTS = $(am_ropp_test_abel_OBJECTS)
ropp_test_abel_LDADD = $(LDADD)
ropp_test_abel_DEPENDENCIES = ../build/libropp_pp.a
SCRIPTS = $(noinst_SCRIPTS)
AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo "  GEN     " $@;
am__v_GEN_1 = 
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
am__v_at_1 = 
DEFAULT_INCLUDES = -I.
depcomp =
am__depfiles_maybe =
FCCOMPILE = $(FC) $(AM_FCFLAGS) $(FCFLAGS)
AM_V_FC = $(am__v_FC_$(V))
am__v_FC_ = $(am__v_FC_$(AM_DEFAULT_VERBOSITY))
am__v_FC_0 = @echo "  FC      " $@;
am__v_FC_1 = 
FCLD = $(FC)
FCLINK = $(FCLD) $(AM_FCFLAGS) $(FCFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \
	$@
AM_V_FCLD = $(am__v_FCLD_$(V))
am__v_FCLD_ = $(am__v_FCLD_$(AM_DEFAULT_VERBOSITY))
am__v_FCLD_0 = @echo "  FCLD    " $@;
am__v_FCLD_1 = 
SOURCES = $(ropp_pp_compare_SOURCES) $(ropp_pp_summary_SOURCES) \
	$(ropp_test_abel_SOURCES)
DIST_SOURCES = $(am__ropp_pp_compare_SOURCES_DIST) \
	$(am__ropp_pp_summary_SOURCES_DIST) \
	$(am__ropp_test_abel_SOURCES_DIST)
am__can_run_installinfo = \
  case $$AM_UPDATE_INFO_DIR in \
    n|no|NO) false;; \
    *) (install-info --version) >/dev/null 2>&1;; \
  esac
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates.  Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
  BEGIN { nonempty = 0; } \
  { items[$$0] = 1; nonempty = 1; } \
  END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique.  This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
  list='$(am__tagged_files)'; \
  unique=`for i in $$list; do \
    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = aclocal-1.13
AMTAR = $${TAR-tar}
AM_CCFLAGS = 
AM_CPPFLAGS = -DpgiFortran
AM_DEFAULT_VERBOSITY = 1
AM_FCFLAGS =  -I../build
AM_FFLAGS = 
AM_LDFLAGS = 
AUTOCONF = autoconf
AUTOHEADER = autoheader
AUTOMAKE = automake-1.13
AWK = gawk
CC = gcc
CFLAGS = -g -O2
CPP = gcc -E
CPPFLAGS =  -I../include -I../FFTW
CYGPATH_W = echo
DEFS = -DPACKAGE_NAME=\"ropp_pp\" -DPACKAGE_TARNAME=\"ropp_pp\" -DPACKAGE_VERSION=\"10.0\" -DPACKAGE_STRING=\"ropp_pp\ 10.0\" -DPACKAGE_BUGREPORT=\"romsaf@metoffice.gov.uk\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ropp_pp\" -DVERSION=\"10.0\" -DSTDC_HEADERS=1 -DHAVE_MODULE_ROPP_UTILS=1 -DHAVE_MODULE_TYPESIZES=1 -DHAVE_MODULE_ROPP_IO=1 -DHAVE_LIBRARY_SOFA=1 -DHAVE_LIBRARY_HDF5=1 -DHAVE_LIBRARY_NETCDF=1 -DHAVE_LIBRARY_ROPP_IO=1 -DHAVE_LIBRARY_ROPP_IO=1 -DHAVE_LIBRARY_NETCDF=1 -DHAVE_LIBRARY_ROPP_IO=1
ECHO_C = 
ECHO_N = -n
ECHO_T = 
EGREP = /usr/bin/grep -E
EXEEXT = 
FC = gfortran
FCFLAGS = -O2 -I/data2/xinjiaz/utility/ROPP_ROOT/gfortran/include -I/home/xinjiaz/miniconda3/envs/ro/include
FCFLAGS_f90 = 
GREP = /usr/bin/grep
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
LDFLAGS = -L/home/xinjiaz/miniconda3/envs/ro/lib -Wl,-rpath,/home/xinjiaz/miniconda3/envs/ro/lib -L/data2/xinjiaz/utility/ROPP_ROOT/gfortran/lib -L/data2/xinjiaz/utility/ROPP_ROOT/gfortran/lib64
LIBOBJS = 
LIBS = -lropp_io -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz -ldl -lropp_io -lropp_io -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz -ldl -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz -ldl -lropp_utils -lsofa 
LTLIBOBJS = 
M4_OPTS = 
MAKEINFO = makeinfo
MKDIR_P = /usr/bin/mkdir -p
OBJEXT = o
PACKAGE = ropp_pp
PACKAGE_BUGREPORT = romsaf@metoffice.gov.uk
PACKAGE_NAME = ropp_pp
PACKAGE_STRING = ropp_pp 10.0
PACKAGE_TARNAME = ropp_pp
PACKAGE_URL = 
PACKAGE_VERSION = 10.0
PATH_SEPARATOR = :
RANLIB = ranlib
ROBODOC = 
SET_MAKE = 
SHELL = /bin/sh
STRIP = 
SVN2CL = 
VERSION = 10.0
abs_builddir = /data2/xinjiaz/utility/ropp/ropp-10.0_v3.18/ropp_pp/tests
abs_srcdir = /data2/xinjiaz/utility/ropp/ropp-10.0_v3.18/ropp_pp/tests
abs_top_builddir = /data2/xinjiaz/utility/ropp/ropp-10.0_v3.18/ropp_pp
abs_top_srcdir = /data2/xinjiaz/utility/ropp/ropp-10.0_v3.18/ropp_pp
ac_ct_CC = gcc
ac_ct_FC = 
am__leading_dot = .
am__tar = $${TAR-tar} chof - "$$tardir"
am__untar = $${TAR-tar} xf -
bindir = ${exec_prefix}/bin
build = x86_64-unknown-linux-gnu
build_alias = 
build_cpu = x86_64
build_os = linux-gnu
build_vendor = unknown
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = x86_64-unknown-linux-gnu
host_alias = 
host_cpu = x86_64
host_os = linux-gnu
host_vendor = unknown
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /data2/xinjiaz/utility/ropp/ropp-10.0_v3.18/ropp_pp/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /data2/xinjiaz/utility/ROPP_ROOT/gfortran
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = ${prefix}/etc
target_alias = 
top_build_prefix = ../
top_builddir = ..
top_srcdir = ..
SUFFIXES = .sh .pl
ropp_test_abel_SOURCES = ropp_test_abel.f90
ropp_pp_summary_SOURCES = ropp_pp_summary.f90
ropp_pp_compare_SOURCES = ropp_pp_compare.f90

# 3. Scripts for testing
# ----------------------
noinst_SCRIPTS = test_pp_invert.sh test_pp_occ.sh test_pp_rs.sh test_pp_abel.sh \
                 test_pp_spectra.sh t_ropp_pp test_pp_wopt.sh test_pp_wopt_2d.sh


# 5. Libraries to link in
# -----------------------
LDADD = ../build/libropp_pp.a

# 6. Files to be cleaned
# ----------------------
CLEANFILES = *.stb $(MODULES)
DISTCLEANFILES = t_ropp_pp ropp_test_abel *.cdl *.nc

# 7. Stuff to go into the distribution
# ------------------------------------
EXTRA_DIST = test_pp_invert.sh test_pp_occ.sh test_pp_rs.sh test_pp_abel.sh \
             test_pp_spectra.sh t_ropp_pp.sh \
             test_pp_wopt.sh test_pp_wopt_2d.sh test_pp_occ_gnos.sh \
             it_pp_01.pro ncdf_attget.pro ncdf_getvar.pro  \
             it_pp_spectra_dt.pro it_pp_spectra_ep.pro \
             it_pp_wopt_01.pro it_pp_wopt_02.pro \
             open_jpgfile.pro close_jpgfile.pro


# 8. Compilation rules for scripts
# ---------------------------------
editsh = sed \
	-e 's,@''etcdir''@,$(etcdir),g' \
	-e 's,@''datadir''@,$(datadir),g' \
	-e 's,@''pkgdatadir''@,$(pkgdatadir),g' \
	-e 's,@''defaultcenter''@,$(defaultcenter),g' \
	-e 's,@''M4''@,$(M4),g' \
	-e 's,@''AWK''@,$(AWK),g' \
	-e 's,@''SHELL''@,$(SHELL),g' \
	-e 's,@''VERSION''@,$(VERSION),g' \
	-e 's,@''PACKAGE''@,$(PACKAGE),g'

editpl = sed \
	-e 's,@''etcdir''@,$(etcdir),g' \
	-e 's,@''datadir''@,$(datadir),g' \
	-e 's,@''pkgdatadir''@,$(pkgdatadir),g' \
	-e 's,@''perldir''@,$(perldir),g' \
	-e 's,@''defaultcenter''@,$(defaultcenter),g' \
	-e 's,@''PERL''@,$(PERL),g' \
	-e 's,@''VERSION''@,$(VERSION),g' \
	-e 's,@''PACKAGE''@,$(PACKAGE),g'

all: all-am

.SUFFIXES:
.SUFFIXES: .sh .pl .f90 .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 ) \
	        && { if test -f $@; then exit 0; else break; fi; }; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps tests/Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --foreign --ignore-deps tests/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
$(am__aclocal_m4_deps):

clean-noinstPROGRAMS:
	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)

ropp_pp_compare$(EXEEXT): $(ropp_pp_compare_OBJECTS) $(ropp_pp_compare_DEPENDENCIES) $(EXTRA_ropp_pp_compare_DEPENDENCIES) 
	@rm -f ropp_pp_compare$(EXEEXT)
	$(AM_V_FCLD)$(FCLINK) $(ropp_pp_compare_OBJECTS) $(ropp_pp_compare_LDADD) $(LIBS)

ropp_pp_summary$(EXEEXT): $(ropp_pp_summary_OBJECTS) $(ropp_pp_summary_DEPENDENCIES) $(EXTRA_ropp_pp_summary_DEPENDENCIES) 
	@rm -f ropp_pp_summary$(EXEEXT)
	$(AM_V_FCLD)$(FCLINK) $(ropp_pp_summary_OBJECTS) $(ropp_pp_summary_LDADD) $(LIBS)

ropp_test_abel$(EXEEXT): $(ropp_test_abel_OBJECTS) $(ropp_test_abel_DEPENDENCIES) $(EXTRA_ropp_test_abel_DEPENDENCIES) 
	@rm -f ropp_test_abel$(EXEEXT)
	$(AM_V_FCLD)$(FCLINK) $(ropp_test_abel_OBJECTS) $(ropp_test_abel_LDADD) $(LIBS)

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

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

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

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

ID: $(am__tagged_files)
	$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-am
TAGS: tags

tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
	set x; \
	here=`pwd`; \
	$(am__define_uniq_tagged_files); \
	shift; \
	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  if test $$# -gt 0; then \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      "$$@" $$unique; \
	  else \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      $$unique; \
	  fi; \
	fi
ctags: ctags-am

CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
	$(am__define_uniq_tagged_files); \
	test -z "$(CTAGS_ARGS)$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$unique

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

cscopelist-am: $(am__tagged_files)
	list='$(am__tagged_files)'; \
	case "$(srcdir)" in \
	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
	  *) sdir=$(subdir)/$(srcdir) ;; \
	esac; \
	for i in $$list; do \
	  if test -f "$$i"; then \
	    echo "$(subdir)/$$i"; \
	  else \
	    echo "$$sdir/$$i"; \
	  fi; \
	done >> $(top_builddir)/cscope.files

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

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 "$(distdir)/$$file"; then \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    cp -fpR $$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
check: check-am
all-am: Makefile $(PROGRAMS) $(SCRIPTS)
installdirs:
install: 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:
	if test -z '$(STRIP)'; then \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	      install; \
	else \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
	fi
mostlyclean-generic:

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

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-am

clean-am: clean-generic clean-noinstPROGRAMS 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

html-am:

info: info-am

info-am:

install-data-am:

install-dvi: install-dvi-am

install-dvi-am:

install-exec-am:

install-html: install-html-am

install-html-am:

install-info: install-info-am

install-info-am:

install-man:

install-pdf: install-pdf-am

install-pdf-am:

install-ps: install-ps-am

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

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am:

.MAKE: install-am install-strip

.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
	clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \
	distclean-compile distclean-generic 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 pdf pdf-am ps ps-am tags tags-am uninstall \
	uninstall-am


.sh:
	rm -f $@ $@.tmp
	$(editsh) $< >$@.tmp
	chmod +x $@.tmp
	mv $@.tmp $@

.pl:
	rm -f $@ $@.tmp
	$(editpl) $< >$@.tmp
	chmod +x $@.tmp
	mv $@.tmp $@

# 9. Dependencies
# ---------------

ropp_test_abel.$(OBJEXT) : ropp_test_abel.f90
ropp_pp_summary.$(OBJEXT) : ropp_pp_summary.f90
ropp_pp_compare.$(OBJEXT) : ropp_pp_compare.f90

# 10. Additional things to do
# ---------------------------

test: test_pp

test_pp:
	@ rm -f ./compare.txt

	@ echo ""
	@ echo "Testing ROPP PP invert tool..."
	@ echo ""
	@ ./test_pp_invert.sh

	@ echo ""
	@ echo "Testing ROPP PP occ tool..."
	@ echo ""
	@ ./test_pp_occ.sh

	@ echo ""
	@ echo "Testing ROPP PP occ tool on GNOS data..."
	@ echo ""
	@ ./test_pp_occ_gnos.sh

	@ echo ""
	@ echo "Testing ROPP PP raw sampling tool..."
	@ echo ""
	@ ./test_pp_rs.sh

	@ echo ""
	@ echo "Testing ROPP PP Abel transform and inversion..."
	@ echo ""
	@ ./test_pp_abel.sh

	@ echo ""
	@ echo "Testing ROPP PP spectra tool..."
	@ echo ""
	@ ./test_pp_spectra.sh

	@ echo ""
	@ echo "Testing ROPP PP wave optics propagator tool..."
	@ echo ""
	@ ./test_pp_wopt.sh

	@ echo ""
	@ echo "Testing ROPP PP 2D wave optics propagator tool..."
	@ echo ""
	@ ./test_pp_wopt_2d.sh

	@ echo ""
	@ echo "Making summary of test result"
	@ echo ""
	@ ./ropp_pp_summary
	@ echo ""
	@ cat ropp_pp_summary.txt
	@ echo ""
	@ echo "This table is saved in ropp_pp_summary.txt."
	@ echo "Each test has its own log file."
	@ echo ""
#test_pp:
#	@ echo ""
#	@ echo "***********   ROPP_PP TESTING   ***********************"
#	@ echo ""
#	@ echo "Configure detects that the ROPP_IO library has not been correctly installed."
#	@ echo "The ropp_pp test routine requires ropp_io and netcdf to be installed first. "
#	@ echo "See ROPP release notes for installation instructions."
#	@ echo ""
#	@ echo "NOTE: "
#	@ echo "  ROPP_IO AND NETCDF LIBRARIES ARE ONLY REQUIRED FOR STAND-ALONE"
#	@ echo "  ROPP_PP TOOLS AND TEST ROUTINES. USERS WISHING TO LINK ROPP_PP TO "
#	@ echo "  THEIR OWN APPLICATIONS NOT REQUIRING INPUT/OUTPUT FUNCTIONS DO"
#	@ echo "  NOT NEED TO INSTALL THESE ADDITIONAL LIBRARIES OTHER THAN TO RUN "
#	@ echo "  STAND-ALONE TOOLS AND TESTING. See ROPP User Guide for more details."
#	@ echo ""

# 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:
