# This Makefile is for the ECMWF::ECaccess extension to perl.
#
# It was generated automatically by MakeMaker version
# 6.57_05 (Revision: 65705) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
#       ANY CHANGES MADE HERE WILL BE LOST!
#
#   MakeMaker ARGV: ()
#

#   MakeMaker Parameters:

#     ABSTRACT_FROM => q[lib/ECMWF/ECaccess.pm]
#     AUTHOR => [q[Laurent Gougeon <Laurent.Gougeon@ecmwf.int>]]
#     BUILD_REQUIRES => {  }
#     EXE_FILES => [q[script/ecaccess], q[script/ecaccess-association-delete], q[script/ecaccess-association-get], q[script/ecaccess-association-list], q[script/ecaccess-association-protocol], q[script/ecaccess-association-put], q[script/ecaccess-certificate-create], q[script/ecaccess-certificate-list], q[script/ecaccess-cosinfo], q[script/ecaccess-ectrans-delete], q[script/ecaccess-ectrans-list], q[script/ecaccess-ectrans-request], q[script/ecaccess-ectrans-restart], q[script/ecaccess-event-clear], q[script/ecaccess-event-create], q[script/ecaccess-event-delete], q[script/ecaccess-event-grant], q[script/ecaccess-event-list], q[script/ecaccess-event-send], q[script/ecaccess-file-chmod], q[script/ecaccess-file-copy], q[script/ecaccess-file-delete], q[script/ecaccess-file-dir], q[script/ecaccess-file-get], q[script/ecaccess-file-mdelete], q[script/ecaccess-file-mget], q[script/ecaccess-file-mkdir], q[script/ecaccess-file-modtime], q[script/ecaccess-file-move], q[script/ecaccess-file-mput], q[script/ecaccess-file-put], q[script/ecaccess-file-rmdir], q[script/ecaccess-file-size], q[script/ecaccess-gateway-connected], q[script/ecaccess-gateway-list], q[script/ecaccess-gateway-name], q[script/ecaccess-job-delete], q[script/ecaccess-job-get], q[script/ecaccess-job-list], q[script/ecaccess-job-restart], q[script/ecaccess-job-submit], q[script/ecaccess-queue-list]]
#     NAME => q[ECMWF::ECaccess]
#     PREREQ_PM => { Getopt::Long=>q[0], Net::HTTP=>q[0], URI::Escape=>q[0], Pod::Usage=>q[0], SOAP::Lite=>q[0.712], MIME::Base64=>q[0], Crypt::SSLeay=>q[0], Class::Inspector=>q[0], Term::ReadKey=>q[0], Term::Prompt=>q[0], Number::Bytes::Human=>q[0] }
#     VERSION_FROM => q[lib/ECMWF/ECaccess.pm]

# --- MakeMaker post_initialize section:


# --- MakeMaker const_config section:

# These definitions are from config.sh (via C:/Perl/lib/Config.pm).
# They may have been overridden via Makefile.PL or on the command line.
AR = C:\Perl\site\bin\ar.exe
CC = C:/Perl/site/bin/gcc.exe
CCCDLFLAGS =  
CCDLFLAGS =  
DLEXT = dll
DLSRC = dl_win32.xs
EXE_EXT = .exe
FULL_AR = 
LD = C:\Perl\site\bin\g++.exe
LDDLFLAGS = -mdll -L"C:\Perl\lib\CORE"
LDFLAGS = -L"C:\Perl\lib\CORE"
LIBC = msvcrt.lib
LIB_EXT = .a
OBJ_EXT = .o
OSNAME = MSWin32
OSVERS = 5.2
RANLIB = rem
SITELIBEXP = C:\Perl\site\lib
SITEARCHEXP = C:\Perl\site\lib
SO = dll
VENDORARCHEXP = 
VENDORLIBEXP = 


# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
DIRFILESEP = \\
DFSEP = $(DIRFILESEP)
NAME = ECMWF::ECaccess
NAME_SYM = ECMWF_ECaccess
VERSION = 4.0.1
VERSION_MACRO = VERSION
VERSION_SYM = 4_0_1
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
XS_VERSION = 4.0.1
XS_VERSION_MACRO = XS_VERSION
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
INST_ARCHLIB = blib\arch
INST_SCRIPT = blib\script
INST_BIN = blib\bin
INST_LIB = blib\lib
INST_MAN1DIR = blib\man1
INST_MAN3DIR = blib\man3
INST_HTMLDIR = blib\html
MAN1EXT = 1
MAN3EXT = 3
INSTALLDIRS = site
DESTDIR = 
PREFIX = $(SITEPREFIX)
PERLPREFIX = C:\Perl
SITEPREFIX = C:\Perl\site
VENDORPREFIX = 
INSTALLPRIVLIB = C:\Perl\lib
DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
INSTALLSITELIB = C:\Perl\site\lib
DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
INSTALLVENDORLIB = 
DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
INSTALLARCHLIB = C:\Perl\lib
DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
INSTALLSITEARCH = C:\Perl\site\lib
DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
INSTALLVENDORARCH = 
DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
INSTALLBIN = C:\Perl\bin
DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
INSTALLSITEBIN = C:\Perl\site\bin
DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
INSTALLVENDORBIN = 
DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
INSTALLSCRIPT = C:\Perl\bin
DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
INSTALLSITESCRIPT = C:\Perl\site\bin
DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT)
INSTALLVENDORSCRIPT = 
DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT)
INSTALLMAN1DIR = C:\Perl\man\man1
DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
INSTALLSITEMAN1DIR = $(INSTALLMAN1DIR)
DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
INSTALLVENDORMAN1DIR = 
DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
INSTALLMAN3DIR = C:\Perl\man\man3
DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
INSTALLSITEMAN3DIR = $(INSTALLMAN3DIR)
DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
INSTALLVENDORMAN3DIR = 
DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
INSTALLHTMLDIR = C:\Perl\html
DESTINSTALLHTMLDIR = $(DESTDIR)$(INSTALLHTMLDIR)
INSTALLSITEHTMLDIR = C:\Perl\html
DESTINSTALLSITEHTMLDIR = $(DESTDIR)$(INSTALLSITEHTMLDIR)
INSTALLVENDORHTMLDIR = C:\Perl\html
DESTINSTALLVENDORHTMLDIR = $(DESTDIR)$(INSTALLVENDORHTMLDIR)
PERL_LIB = C:\Perl\lib
PERL_ARCHLIB = C:\Perl\lib
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKEFILE_OLD = Makefile.old
MAKE_APERL_FILE = Makefile.aperl
PERLMAINCC = $(CC)
PERL_INC = C:\Perl\lib\CORE
PERL = C:\Perl\bin\perl.exe
FULLPERL = C:\Perl\bin\perl.exe
ABSPERL = $(PERL)
PERLRUN = $(PERL)
FULLPERLRUN = $(FULLPERL)
ABSPERLRUN = $(ABSPERL)
PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
PERL_CORE = 0
PERM_DIR = 755
PERM_RW = 644
PERM_RWX = 755

MAKEMAKER   = C:/Perl/lib/ExtUtils/MakeMaker.pm
MM_VERSION  = 6.57_05
MM_REVISION = 65705

# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
MAKE = C:\Perl\site\bin\dmake.exe
FULLEXT = ECMWF\ECaccess
BASEEXT = ECaccess
PARENT_NAME = ECMWF
DLBASE = $(BASEEXT)
VERSION_FROM = lib/ECMWF/ECaccess.pm
OBJECT = 
LDFROM = $(OBJECT)
LINKTYPE = dynamic
BOOTDEP = 

# Handy lists of source code files:
XS_FILES = 
C_FILES  = 
O_FILES  = 
H_FILES  = 
MAN1PODS = script/ecaccess \
	script/ecaccess-association-delete \
	script/ecaccess-association-get \
	script/ecaccess-association-list \
	script/ecaccess-association-protocol \
	script/ecaccess-association-put \
	script/ecaccess-certificate-create \
	script/ecaccess-certificate-list \
	script/ecaccess-cosinfo \
	script/ecaccess-ectrans-delete \
	script/ecaccess-ectrans-list \
	script/ecaccess-ectrans-request \
	script/ecaccess-ectrans-restart \
	script/ecaccess-event-clear \
	script/ecaccess-event-create \
	script/ecaccess-event-delete \
	script/ecaccess-event-grant \
	script/ecaccess-event-list \
	script/ecaccess-event-send \
	script/ecaccess-file-chmod \
	script/ecaccess-file-copy \
	script/ecaccess-file-delete \
	script/ecaccess-file-dir \
	script/ecaccess-file-get \
	script/ecaccess-file-mdelete \
	script/ecaccess-file-mget \
	script/ecaccess-file-mkdir \
	script/ecaccess-file-modtime \
	script/ecaccess-file-move \
	script/ecaccess-file-mput \
	script/ecaccess-file-put \
	script/ecaccess-file-rmdir \
	script/ecaccess-file-size \
	script/ecaccess-gateway-connected \
	script/ecaccess-gateway-list \
	script/ecaccess-gateway-name \
	script/ecaccess-job-delete \
	script/ecaccess-job-get \
	script/ecaccess-job-list \
	script/ecaccess-job-restart \
	script/ecaccess-job-submit \
	script/ecaccess-queue-list
MAN3PODS = lib/ECMWF/ECaccess.pm

# Where is the Config information that we are using/depend on
CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h

# Where to build things
INST_LIBDIR      = $(INST_LIB)\ECMWF
INST_ARCHLIBDIR  = $(INST_ARCHLIB)\ECMWF

INST_AUTODIR     = $(INST_LIB)\auto\$(FULLEXT)
INST_ARCHAUTODIR = $(INST_ARCHLIB)\auto\$(FULLEXT)

INST_STATIC      = 
INST_DYNAMIC     = 
INST_BOOT        = 

# Extra linker info
EXPORT_LIST        = $(BASEEXT).def
PERL_ARCHIVE       = $(PERL_INC)\perl514.lib
PERL_ARCHIVE_AFTER = 


TO_INST_PM = Makedistrib.pl \
	lib/ECMWF/ECaccess.pm

PM_TO_BLIB = lib/ECMWF/ECaccess.pm \
	blib\lib\ECMWF\ECaccess.pm \
	Makedistrib.pl \
	$(INST_LIB)\ECMWF\Makedistrib.pl


# --- MakeMaker platform_constants section:
MM_Win32_VERSION = 6.57_05


# --- MakeMaker tool_autosplit section:
# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
AUTOSPLITFILE = $(ABSPERLRUN)  -e "use AutoSplit;  autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)" --



# --- MakeMaker tool_xsubpp section:


# --- MakeMaker tools_other section:
CHMOD = $(ABSPERLRUN) -MExtUtils::Command -e "chmod" --
CP = $(ABSPERLRUN) -MExtUtils::Command -e "cp" --
MV = $(ABSPERLRUN) -MExtUtils::Command -e "mv" --
NOOP = rem
NOECHO = @
RM_F = $(ABSPERLRUN) -MExtUtils::Command -e "rm_f" --
RM_RF = $(ABSPERLRUN) -MExtUtils::Command -e "rm_rf" --
TEST_F = $(ABSPERLRUN) -MExtUtils::Command -e "test_f" --
TOUCH = $(ABSPERLRUN) -MExtUtils::Command -e "touch" --
UMASK_NULL = umask 0
DEV_NULL = > NUL
MKPATH = $(ABSPERLRUN) -MExtUtils::Command -e "mkpath" --
EQUALIZE_TIMESTAMP = $(ABSPERLRUN) -MExtUtils::Command -e "eqtime" --
FALSE = $(ABSPERLRUN)  -e "exit 1" --
TRUE = $(ABSPERLRUN)  -e "exit 0" --
ECHO = $(ABSPERLRUN) -l -e "print qq{{@ARGV}" --
ECHO_N = $(ABSPERLRUN)  -e "print qq{{@ARGV}" --
UNINST = 0
VERBINST = 0
MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e "install([ from_to => {{@ARGV}, verbose => '$(VERBINST)', uninstall_shadows => '$(UNINST)', dir_mode => '$(PERM_DIR)' ]);" --
DOC_INSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e "perllocal_install" --
UNINSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e "uninstall" --
WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) -MExtUtils::Command::MM -e "warn_if_old_packlist" --
MACROSTART = 
MACROEND = 
USEMAKEFILE = -f
FIXIN = pl2bat.bat


# --- MakeMaker makemakerdflt section:
makemakerdflt : all
	$(NOECHO) $(NOOP)


# --- MakeMaker dist section:
TAR = tar
TARFLAGS = cvf
ZIP = zip
ZIPFLAGS = -r
COMPRESS = gzip --best
SUFFIX = .gz
SHAR = shar
PREOP = $(NOECHO) $(NOOP)
POSTOP = $(NOECHO) $(NOOP)
TO_UNIX = $(NOECHO) $(NOOP)
CI = ci -u
RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
DIST_CP = best
DIST_DEFAULT = tardist
DISTNAME = ECMWF-ECaccess
DISTVNAME = ECMWF-ECaccess-4.0.1


# --- MakeMaker macro section:


# --- MakeMaker depend section:


# --- MakeMaker cflags section:


# --- MakeMaker const_loadlibs section:


# --- MakeMaker const_cccmd section:


# --- MakeMaker post_constants section:


# --- MakeMaker pasthru section:
PASTHRU = 

# --- MakeMaker special_targets section:
.SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)

.PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir

.USESHELL :


# --- MakeMaker c_o section:


# --- MakeMaker xs_c section:


# --- MakeMaker xs_o section:


# --- MakeMaker top_targets section:
all :: pure_all htmlifypods
	$(NOECHO) $(NOOP)


pure_all :: config pm_to_blib subdirs linkext
	$(NOECHO) $(NOOP)

subdirs :: $(MYEXTLIB)
	$(NOECHO) $(NOOP)

config :: $(FIRST_MAKEFILE) blibdirs
	$(NOECHO) $(NOOP)

help :
	perldoc ExtUtils::MakeMaker


# --- MakeMaker blibdirs section:
blibdirs : $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists
	$(NOECHO) $(NOOP)

# Backwards compat with 6.18 through 6.25
blibdirs.ts : blibdirs
	$(NOECHO) $(NOOP)

$(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL
	$(NOECHO) $(MKPATH) $(INST_LIBDIR)
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_LIBDIR)
	$(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists

$(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL
	$(NOECHO) $(MKPATH) $(INST_ARCHLIB)
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHLIB)
	$(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists

$(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL
	$(NOECHO) $(MKPATH) $(INST_AUTODIR)
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_AUTODIR)
	$(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists

$(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL
	$(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHAUTODIR)
	$(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists

$(INST_BIN)$(DFSEP).exists :: Makefile.PL
	$(NOECHO) $(MKPATH) $(INST_BIN)
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_BIN)
	$(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists

$(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL
	$(NOECHO) $(MKPATH) $(INST_SCRIPT)
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_SCRIPT)
	$(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists

$(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL
	$(NOECHO) $(MKPATH) $(INST_MAN1DIR)
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN1DIR)
	$(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists

$(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL
	$(NOECHO) $(MKPATH) $(INST_MAN3DIR)
	$(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN3DIR)
	$(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists



# --- MakeMaker linkext section:

linkext :: $(LINKTYPE)
	$(NOECHO) $(NOOP)


# --- MakeMaker dlsyms section:

ECaccess.def: Makefile.PL
	$(PERLRUN) -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"ECMWF::ECaccess\", 'DLBASE' => '$(BASEEXT)', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"


# --- MakeMaker dynamic section:

dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
	$(NOECHO) $(NOOP)


# --- MakeMaker dynamic_bs section:

BOOTSTRAP =


# --- MakeMaker dynamic_lib section:


# --- MakeMaker static section:

## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make static"
static :: $(FIRST_MAKEFILE) $(INST_STATIC)
	$(NOECHO) $(NOOP)


# --- MakeMaker static_lib section:


# --- MakeMaker manifypods section:

POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
POD2MAN = $(POD2MAN_EXE)


manifypods : pure_all  \
	script/ecaccess-file-mkdir \
	script/ecaccess-file-mdelete \
	script/ecaccess-event-grant \
	script/ecaccess-job-restart \
	script/ecaccess-file-size \
	script/ecaccess-gateway-name \
	script/ecaccess-file-get \
	script/ecaccess-job-list \
	script/ecaccess-file-chmod \
	script/ecaccess-file-put \
	script/ecaccess-event-list \
	script/ecaccess-file-rmdir \
	script/ecaccess-file-delete \
	script/ecaccess-gateway-connected \
	script/ecaccess-certificate-list \
	script/ecaccess-file-modtime \
	script/ecaccess-file-move \
	script/ecaccess \
	script/ecaccess-gateway-list \
	script/ecaccess-event-clear \
	script/ecaccess-ectrans-delete \
	script/ecaccess-cosinfo \
	script/ecaccess-event-delete \
	script/ecaccess-queue-list \
	script/ecaccess-association-delete \
	script/ecaccess-association-protocol \
	script/ecaccess-event-create \
	script/ecaccess-ectrans-restart \
	script/ecaccess-job-delete \
	script/ecaccess-file-mget \
	script/ecaccess-certificate-create \
	script/ecaccess-association-list \
	script/ecaccess-job-submit \
	script/ecaccess-ectrans-request \
	script/ecaccess-association-put \
	script/ecaccess-ectrans-list \
	script/ecaccess-file-copy \
	script/ecaccess-file-dir \
	script/ecaccess-file-mput \
	script/ecaccess-association-get \
	script/ecaccess-event-send \
	script/ecaccess-job-get \
	lib/ECMWF/ECaccess.pm
	$(NOECHO) $(POD2MAN) --section=1 --perm_rw=$(PERM_RW) \
	  script/ecaccess-file-mkdir $(INST_MAN1DIR)\ecaccess-file-mkdir.$(MAN1EXT) \
	  script/ecaccess-file-mdelete $(INST_MAN1DIR)\ecaccess-file-mdelete.$(MAN1EXT) \
	  script/ecaccess-event-grant $(INST_MAN1DIR)\ecaccess-event-grant.$(MAN1EXT) \
	  script/ecaccess-job-restart $(INST_MAN1DIR)\ecaccess-job-restart.$(MAN1EXT) \
	  script/ecaccess-file-size $(INST_MAN1DIR)\ecaccess-file-size.$(MAN1EXT) \
	  script/ecaccess-gateway-name $(INST_MAN1DIR)\ecaccess-gateway-name.$(MAN1EXT) \
	  script/ecaccess-file-get $(INST_MAN1DIR)\ecaccess-file-get.$(MAN1EXT) \
	  script/ecaccess-job-list $(INST_MAN1DIR)\ecaccess-job-list.$(MAN1EXT) \
	  script/ecaccess-file-chmod $(INST_MAN1DIR)\ecaccess-file-chmod.$(MAN1EXT) \
	  script/ecaccess-file-put $(INST_MAN1DIR)\ecaccess-file-put.$(MAN1EXT) \
	  script/ecaccess-event-list $(INST_MAN1DIR)\ecaccess-event-list.$(MAN1EXT) \
	  script/ecaccess-file-rmdir $(INST_MAN1DIR)\ecaccess-file-rmdir.$(MAN1EXT) \
	  script/ecaccess-file-delete $(INST_MAN1DIR)\ecaccess-file-delete.$(MAN1EXT) \
	  script/ecaccess-gateway-connected $(INST_MAN1DIR)\ecaccess-gateway-connected.$(MAN1EXT) \
	  script/ecaccess-certificate-list $(INST_MAN1DIR)\ecaccess-certificate-list.$(MAN1EXT) \
	  script/ecaccess-file-modtime $(INST_MAN1DIR)\ecaccess-file-modtime.$(MAN1EXT) \
	  script/ecaccess-file-move $(INST_MAN1DIR)\ecaccess-file-move.$(MAN1EXT) 
	$(NOECHO) $(POD2MAN) --section=1 --perm_rw=$(PERM_RW) \
	  script/ecaccess $(INST_MAN1DIR)\ecaccess.$(MAN1EXT) \
	  script/ecaccess-gateway-list $(INST_MAN1DIR)\ecaccess-gateway-list.$(MAN1EXT) \
	  script/ecaccess-event-clear $(INST_MAN1DIR)\ecaccess-event-clear.$(MAN1EXT) \
	  script/ecaccess-ectrans-delete $(INST_MAN1DIR)\ecaccess-ectrans-delete.$(MAN1EXT) \
	  script/ecaccess-cosinfo $(INST_MAN1DIR)\ecaccess-cosinfo.$(MAN1EXT) \
	  script/ecaccess-event-delete $(INST_MAN1DIR)\ecaccess-event-delete.$(MAN1EXT) \
	  script/ecaccess-queue-list $(INST_MAN1DIR)\ecaccess-queue-list.$(MAN1EXT) \
	  script/ecaccess-association-delete $(INST_MAN1DIR)\ecaccess-association-delete.$(MAN1EXT) \
	  script/ecaccess-association-protocol $(INST_MAN1DIR)\ecaccess-association-protocol.$(MAN1EXT) \
	  script/ecaccess-event-create $(INST_MAN1DIR)\ecaccess-event-create.$(MAN1EXT) \
	  script/ecaccess-ectrans-restart $(INST_MAN1DIR)\ecaccess-ectrans-restart.$(MAN1EXT) \
	  script/ecaccess-job-delete $(INST_MAN1DIR)\ecaccess-job-delete.$(MAN1EXT) \
	  script/ecaccess-file-mget $(INST_MAN1DIR)\ecaccess-file-mget.$(MAN1EXT) \
	  script/ecaccess-certificate-create $(INST_MAN1DIR)\ecaccess-certificate-create.$(MAN1EXT) \
	  script/ecaccess-association-list $(INST_MAN1DIR)\ecaccess-association-list.$(MAN1EXT) \
	  script/ecaccess-job-submit $(INST_MAN1DIR)\ecaccess-job-submit.$(MAN1EXT) 
	$(NOECHO) $(POD2MAN) --section=1 --perm_rw=$(PERM_RW) \
	  script/ecaccess-ectrans-request $(INST_MAN1DIR)\ecaccess-ectrans-request.$(MAN1EXT) \
	  script/ecaccess-association-put $(INST_MAN1DIR)\ecaccess-association-put.$(MAN1EXT) \
	  script/ecaccess-ectrans-list $(INST_MAN1DIR)\ecaccess-ectrans-list.$(MAN1EXT) \
	  script/ecaccess-file-copy $(INST_MAN1DIR)\ecaccess-file-copy.$(MAN1EXT) \
	  script/ecaccess-file-dir $(INST_MAN1DIR)\ecaccess-file-dir.$(MAN1EXT) \
	  script/ecaccess-file-mput $(INST_MAN1DIR)\ecaccess-file-mput.$(MAN1EXT) \
	  script/ecaccess-association-get $(INST_MAN1DIR)\ecaccess-association-get.$(MAN1EXT) \
	  script/ecaccess-event-send $(INST_MAN1DIR)\ecaccess-event-send.$(MAN1EXT) \
	  script/ecaccess-job-get $(INST_MAN1DIR)\ecaccess-job-get.$(MAN1EXT) 
	$(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW) \
	  lib/ECMWF/ECaccess.pm $(INST_MAN3DIR)\ECMWF.ECaccess.$(MAN3EXT) 




# --- MakeMaker htmlifypods section:

POD2HTML_EXE = $(PERLRUN) "-MActivePerl::DocTools" -e "UpdateHTML_blib(installdirs => "$(INSTALLDIRS)")"
POD2HTML = $(POD2HTML_EXE)


htmlifypods :  \
	script/ecaccess-file-mkdir \
	script/ecaccess-file-mdelete \
	script/ecaccess-event-grant \
	script/ecaccess-job-restart \
	script/ecaccess-file-size \
	script/ecaccess-gateway-name \
	script/ecaccess-file-get \
	script/ecaccess-job-list \
	script/ecaccess-file-chmod \
	script/ecaccess-file-put \
	script/ecaccess-event-list \
	script/ecaccess-file-rmdir \
	script/ecaccess-file-delete \
	script/ecaccess-gateway-connected \
	script/ecaccess-certificate-list \
	script/ecaccess-file-modtime \
	script/ecaccess-file-move \
	script/ecaccess \
	script/ecaccess-gateway-list \
	script/ecaccess-event-clear \
	script/ecaccess-ectrans-delete \
	script/ecaccess-cosinfo \
	script/ecaccess-event-delete \
	script/ecaccess-queue-list \
	script/ecaccess-association-delete \
	script/ecaccess-association-protocol \
	script/ecaccess-event-create \
	script/ecaccess-ectrans-restart \
	script/ecaccess-job-delete \
	script/ecaccess-file-mget \
	script/ecaccess-certificate-create \
	script/ecaccess-association-list \
	script/ecaccess-job-submit \
	script/ecaccess-ectrans-request \
	script/ecaccess-association-put \
	script/ecaccess-ectrans-list \
	script/ecaccess-file-copy \
	script/ecaccess-file-dir \
	script/ecaccess-file-mput \
	script/ecaccess-association-get \
	script/ecaccess-event-send \
	script/ecaccess-job-get \
	lib/ECMWF/ECaccess.pm
	$(NOECHO) $(POD2HTML)



# --- MakeMaker processPL section:


# --- MakeMaker installbin section:

EXE_FILES = script/ecaccess script/ecaccess-association-delete script/ecaccess-association-get script/ecaccess-association-list script/ecaccess-association-protocol script/ecaccess-association-put script/ecaccess-certificate-create script/ecaccess-certificate-list script/ecaccess-cosinfo script/ecaccess-ectrans-delete script/ecaccess-ectrans-list script/ecaccess-ectrans-request script/ecaccess-ectrans-restart script/ecaccess-event-clear script/ecaccess-event-create script/ecaccess-event-delete script/ecaccess-event-grant script/ecaccess-event-list script/ecaccess-event-send script/ecaccess-file-chmod script/ecaccess-file-copy script/ecaccess-file-delete script/ecaccess-file-dir script/ecaccess-file-get script/ecaccess-file-mdelete script/ecaccess-file-mget script/ecaccess-file-mkdir script/ecaccess-file-modtime script/ecaccess-file-move script/ecaccess-file-mput script/ecaccess-file-put script/ecaccess-file-rmdir script/ecaccess-file-size script/ecaccess-gateway-connected script/ecaccess-gateway-list script/ecaccess-gateway-name script/ecaccess-job-delete script/ecaccess-job-get script/ecaccess-job-list script/ecaccess-job-restart script/ecaccess-job-submit script/ecaccess-queue-list

pure_all :: $(INST_SCRIPT)\ecaccess-file-mkdir $(INST_SCRIPT)\ecaccess-file-mdelete $(INST_SCRIPT)\ecaccess-event-grant $(INST_SCRIPT)\ecaccess-job-restart $(INST_SCRIPT)\ecaccess-file-size $(INST_SCRIPT)\ecaccess-gateway-name $(INST_SCRIPT)\ecaccess-file-get $(INST_SCRIPT)\ecaccess-job-list $(INST_SCRIPT)\ecaccess-file-chmod $(INST_SCRIPT)\ecaccess-file-put $(INST_SCRIPT)\ecaccess-event-list $(INST_SCRIPT)\ecaccess-file-rmdir $(INST_SCRIPT)\ecaccess-file-delete $(INST_SCRIPT)\ecaccess-gateway-connected $(INST_SCRIPT)\ecaccess-certificate-list $(INST_SCRIPT)\ecaccess-file-modtime $(INST_SCRIPT)\ecaccess-file-move $(INST_SCRIPT)\ecaccess $(INST_SCRIPT)\ecaccess-gateway-list $(INST_SCRIPT)\ecaccess-event-clear $(INST_SCRIPT)\ecaccess-ectrans-delete $(INST_SCRIPT)\ecaccess-cosinfo $(INST_SCRIPT)\ecaccess-event-delete $(INST_SCRIPT)\ecaccess-queue-list $(INST_SCRIPT)\ecaccess-association-delete $(INST_SCRIPT)\ecaccess-association-protocol $(INST_SCRIPT)\ecaccess-event-create $(INST_SCRIPT)\ecaccess-ectrans-restart $(INST_SCRIPT)\ecaccess-job-delete $(INST_SCRIPT)\ecaccess-file-mget $(INST_SCRIPT)\ecaccess-certificate-create $(INST_SCRIPT)\ecaccess-association-list $(INST_SCRIPT)\ecaccess-job-submit $(INST_SCRIPT)\ecaccess-ectrans-request $(INST_SCRIPT)\ecaccess-association-put $(INST_SCRIPT)\ecaccess-ectrans-list $(INST_SCRIPT)\ecaccess-file-copy $(INST_SCRIPT)\ecaccess-file-dir $(INST_SCRIPT)\ecaccess-file-mput $(INST_SCRIPT)\ecaccess-association-get $(INST_SCRIPT)\ecaccess-event-send $(INST_SCRIPT)\ecaccess-job-get
	$(NOECHO) $(NOOP)

realclean ::
	$(RM_F) \
	  $(INST_SCRIPT)\ecaccess-file-mkdir $(INST_SCRIPT)\ecaccess-file-mdelete \
	  $(INST_SCRIPT)\ecaccess-event-grant $(INST_SCRIPT)\ecaccess-job-restart \
	  $(INST_SCRIPT)\ecaccess-file-size $(INST_SCRIPT)\ecaccess-gateway-name \
	  $(INST_SCRIPT)\ecaccess-file-get $(INST_SCRIPT)\ecaccess-job-list \
	  $(INST_SCRIPT)\ecaccess-file-chmod $(INST_SCRIPT)\ecaccess-file-put \
	  $(INST_SCRIPT)\ecaccess-event-list $(INST_SCRIPT)\ecaccess-file-rmdir \
	  $(INST_SCRIPT)\ecaccess-file-delete $(INST_SCRIPT)\ecaccess-gateway-connected \
	  $(INST_SCRIPT)\ecaccess-certificate-list $(INST_SCRIPT)\ecaccess-file-modtime \
	  $(INST_SCRIPT)\ecaccess-file-move $(INST_SCRIPT)\ecaccess \
	  $(INST_SCRIPT)\ecaccess-gateway-list $(INST_SCRIPT)\ecaccess-event-clear \
	  $(INST_SCRIPT)\ecaccess-ectrans-delete $(INST_SCRIPT)\ecaccess-cosinfo \
	  $(INST_SCRIPT)\ecaccess-event-delete $(INST_SCRIPT)\ecaccess-queue-list \
	  $(INST_SCRIPT)\ecaccess-association-delete $(INST_SCRIPT)\ecaccess-association-protocol \
	  $(INST_SCRIPT)\ecaccess-event-create $(INST_SCRIPT)\ecaccess-ectrans-restart \
	  $(INST_SCRIPT)\ecaccess-job-delete $(INST_SCRIPT)\ecaccess-file-mget \
	  $(INST_SCRIPT)\ecaccess-certificate-create $(INST_SCRIPT)\ecaccess-association-list \
	  $(INST_SCRIPT)\ecaccess-job-submit $(INST_SCRIPT)\ecaccess-ectrans-request 
	$(RM_F) \
	  $(INST_SCRIPT)\ecaccess-association-put $(INST_SCRIPT)\ecaccess-ectrans-list \
	  $(INST_SCRIPT)\ecaccess-file-copy $(INST_SCRIPT)\ecaccess-file-dir \
	  $(INST_SCRIPT)\ecaccess-file-mput $(INST_SCRIPT)\ecaccess-association-get \
	  $(INST_SCRIPT)\ecaccess-event-send $(INST_SCRIPT)\ecaccess-job-get 

$(INST_SCRIPT)\ecaccess-file-mkdir : script/ecaccess-file-mkdir $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-mkdir
	$(CP) script/ecaccess-file-mkdir $(INST_SCRIPT)\ecaccess-file-mkdir
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-mkdir
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-mkdir

$(INST_SCRIPT)\ecaccess-file-mdelete : script/ecaccess-file-mdelete $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-mdelete
	$(CP) script/ecaccess-file-mdelete $(INST_SCRIPT)\ecaccess-file-mdelete
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-mdelete
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-mdelete

$(INST_SCRIPT)\ecaccess-event-grant : script/ecaccess-event-grant $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-event-grant
	$(CP) script/ecaccess-event-grant $(INST_SCRIPT)\ecaccess-event-grant
	$(FIXIN) $(INST_SCRIPT)\ecaccess-event-grant
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-event-grant

$(INST_SCRIPT)\ecaccess-job-restart : script/ecaccess-job-restart $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-job-restart
	$(CP) script/ecaccess-job-restart $(INST_SCRIPT)\ecaccess-job-restart
	$(FIXIN) $(INST_SCRIPT)\ecaccess-job-restart
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-job-restart

$(INST_SCRIPT)\ecaccess-file-size : script/ecaccess-file-size $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-size
	$(CP) script/ecaccess-file-size $(INST_SCRIPT)\ecaccess-file-size
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-size
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-size

$(INST_SCRIPT)\ecaccess-gateway-name : script/ecaccess-gateway-name $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-gateway-name
	$(CP) script/ecaccess-gateway-name $(INST_SCRIPT)\ecaccess-gateway-name
	$(FIXIN) $(INST_SCRIPT)\ecaccess-gateway-name
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-gateway-name

$(INST_SCRIPT)\ecaccess-file-get : script/ecaccess-file-get $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-get
	$(CP) script/ecaccess-file-get $(INST_SCRIPT)\ecaccess-file-get
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-get
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-get

$(INST_SCRIPT)\ecaccess-job-list : script/ecaccess-job-list $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-job-list
	$(CP) script/ecaccess-job-list $(INST_SCRIPT)\ecaccess-job-list
	$(FIXIN) $(INST_SCRIPT)\ecaccess-job-list
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-job-list

$(INST_SCRIPT)\ecaccess-file-chmod : script/ecaccess-file-chmod $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-chmod
	$(CP) script/ecaccess-file-chmod $(INST_SCRIPT)\ecaccess-file-chmod
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-chmod
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-chmod

$(INST_SCRIPT)\ecaccess-file-put : script/ecaccess-file-put $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-put
	$(CP) script/ecaccess-file-put $(INST_SCRIPT)\ecaccess-file-put
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-put
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-put

$(INST_SCRIPT)\ecaccess-event-list : script/ecaccess-event-list $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-event-list
	$(CP) script/ecaccess-event-list $(INST_SCRIPT)\ecaccess-event-list
	$(FIXIN) $(INST_SCRIPT)\ecaccess-event-list
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-event-list

$(INST_SCRIPT)\ecaccess-file-rmdir : script/ecaccess-file-rmdir $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-rmdir
	$(CP) script/ecaccess-file-rmdir $(INST_SCRIPT)\ecaccess-file-rmdir
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-rmdir
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-rmdir

$(INST_SCRIPT)\ecaccess-file-delete : script/ecaccess-file-delete $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-delete
	$(CP) script/ecaccess-file-delete $(INST_SCRIPT)\ecaccess-file-delete
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-delete
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-delete

$(INST_SCRIPT)\ecaccess-gateway-connected : script/ecaccess-gateway-connected $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-gateway-connected
	$(CP) script/ecaccess-gateway-connected $(INST_SCRIPT)\ecaccess-gateway-connected
	$(FIXIN) $(INST_SCRIPT)\ecaccess-gateway-connected
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-gateway-connected

$(INST_SCRIPT)\ecaccess-certificate-list : script/ecaccess-certificate-list $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-certificate-list
	$(CP) script/ecaccess-certificate-list $(INST_SCRIPT)\ecaccess-certificate-list
	$(FIXIN) $(INST_SCRIPT)\ecaccess-certificate-list
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-certificate-list

$(INST_SCRIPT)\ecaccess-file-modtime : script/ecaccess-file-modtime $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-modtime
	$(CP) script/ecaccess-file-modtime $(INST_SCRIPT)\ecaccess-file-modtime
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-modtime
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-modtime

$(INST_SCRIPT)\ecaccess-file-move : script/ecaccess-file-move $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-move
	$(CP) script/ecaccess-file-move $(INST_SCRIPT)\ecaccess-file-move
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-move
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-move

$(INST_SCRIPT)\ecaccess : script/ecaccess $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess
	$(CP) script/ecaccess $(INST_SCRIPT)\ecaccess
	$(FIXIN) $(INST_SCRIPT)\ecaccess
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess

$(INST_SCRIPT)\ecaccess-gateway-list : script/ecaccess-gateway-list $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-gateway-list
	$(CP) script/ecaccess-gateway-list $(INST_SCRIPT)\ecaccess-gateway-list
	$(FIXIN) $(INST_SCRIPT)\ecaccess-gateway-list
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-gateway-list

$(INST_SCRIPT)\ecaccess-event-clear : script/ecaccess-event-clear $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-event-clear
	$(CP) script/ecaccess-event-clear $(INST_SCRIPT)\ecaccess-event-clear
	$(FIXIN) $(INST_SCRIPT)\ecaccess-event-clear
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-event-clear

$(INST_SCRIPT)\ecaccess-ectrans-delete : script/ecaccess-ectrans-delete $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-ectrans-delete
	$(CP) script/ecaccess-ectrans-delete $(INST_SCRIPT)\ecaccess-ectrans-delete
	$(FIXIN) $(INST_SCRIPT)\ecaccess-ectrans-delete
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-ectrans-delete

$(INST_SCRIPT)\ecaccess-cosinfo : script/ecaccess-cosinfo $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-cosinfo
	$(CP) script/ecaccess-cosinfo $(INST_SCRIPT)\ecaccess-cosinfo
	$(FIXIN) $(INST_SCRIPT)\ecaccess-cosinfo
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-cosinfo

$(INST_SCRIPT)\ecaccess-event-delete : script/ecaccess-event-delete $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-event-delete
	$(CP) script/ecaccess-event-delete $(INST_SCRIPT)\ecaccess-event-delete
	$(FIXIN) $(INST_SCRIPT)\ecaccess-event-delete
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-event-delete

$(INST_SCRIPT)\ecaccess-queue-list : script/ecaccess-queue-list $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-queue-list
	$(CP) script/ecaccess-queue-list $(INST_SCRIPT)\ecaccess-queue-list
	$(FIXIN) $(INST_SCRIPT)\ecaccess-queue-list
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-queue-list

$(INST_SCRIPT)\ecaccess-association-delete : script/ecaccess-association-delete $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-association-delete
	$(CP) script/ecaccess-association-delete $(INST_SCRIPT)\ecaccess-association-delete
	$(FIXIN) $(INST_SCRIPT)\ecaccess-association-delete
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-association-delete

$(INST_SCRIPT)\ecaccess-association-protocol : script/ecaccess-association-protocol $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-association-protocol
	$(CP) script/ecaccess-association-protocol $(INST_SCRIPT)\ecaccess-association-protocol
	$(FIXIN) $(INST_SCRIPT)\ecaccess-association-protocol
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-association-protocol

$(INST_SCRIPT)\ecaccess-event-create : script/ecaccess-event-create $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-event-create
	$(CP) script/ecaccess-event-create $(INST_SCRIPT)\ecaccess-event-create
	$(FIXIN) $(INST_SCRIPT)\ecaccess-event-create
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-event-create

$(INST_SCRIPT)\ecaccess-ectrans-restart : script/ecaccess-ectrans-restart $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-ectrans-restart
	$(CP) script/ecaccess-ectrans-restart $(INST_SCRIPT)\ecaccess-ectrans-restart
	$(FIXIN) $(INST_SCRIPT)\ecaccess-ectrans-restart
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-ectrans-restart

$(INST_SCRIPT)\ecaccess-job-delete : script/ecaccess-job-delete $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-job-delete
	$(CP) script/ecaccess-job-delete $(INST_SCRIPT)\ecaccess-job-delete
	$(FIXIN) $(INST_SCRIPT)\ecaccess-job-delete
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-job-delete

$(INST_SCRIPT)\ecaccess-file-mget : script/ecaccess-file-mget $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-mget
	$(CP) script/ecaccess-file-mget $(INST_SCRIPT)\ecaccess-file-mget
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-mget
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-mget

$(INST_SCRIPT)\ecaccess-certificate-create : script/ecaccess-certificate-create $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-certificate-create
	$(CP) script/ecaccess-certificate-create $(INST_SCRIPT)\ecaccess-certificate-create
	$(FIXIN) $(INST_SCRIPT)\ecaccess-certificate-create
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-certificate-create

$(INST_SCRIPT)\ecaccess-association-list : script/ecaccess-association-list $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-association-list
	$(CP) script/ecaccess-association-list $(INST_SCRIPT)\ecaccess-association-list
	$(FIXIN) $(INST_SCRIPT)\ecaccess-association-list
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-association-list

$(INST_SCRIPT)\ecaccess-job-submit : script/ecaccess-job-submit $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-job-submit
	$(CP) script/ecaccess-job-submit $(INST_SCRIPT)\ecaccess-job-submit
	$(FIXIN) $(INST_SCRIPT)\ecaccess-job-submit
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-job-submit

$(INST_SCRIPT)\ecaccess-ectrans-request : script/ecaccess-ectrans-request $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-ectrans-request
	$(CP) script/ecaccess-ectrans-request $(INST_SCRIPT)\ecaccess-ectrans-request
	$(FIXIN) $(INST_SCRIPT)\ecaccess-ectrans-request
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-ectrans-request

$(INST_SCRIPT)\ecaccess-association-put : script/ecaccess-association-put $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-association-put
	$(CP) script/ecaccess-association-put $(INST_SCRIPT)\ecaccess-association-put
	$(FIXIN) $(INST_SCRIPT)\ecaccess-association-put
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-association-put

$(INST_SCRIPT)\ecaccess-ectrans-list : script/ecaccess-ectrans-list $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-ectrans-list
	$(CP) script/ecaccess-ectrans-list $(INST_SCRIPT)\ecaccess-ectrans-list
	$(FIXIN) $(INST_SCRIPT)\ecaccess-ectrans-list
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-ectrans-list

$(INST_SCRIPT)\ecaccess-file-copy : script/ecaccess-file-copy $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-copy
	$(CP) script/ecaccess-file-copy $(INST_SCRIPT)\ecaccess-file-copy
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-copy
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-copy

$(INST_SCRIPT)\ecaccess-file-dir : script/ecaccess-file-dir $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-dir
	$(CP) script/ecaccess-file-dir $(INST_SCRIPT)\ecaccess-file-dir
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-dir
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-dir

$(INST_SCRIPT)\ecaccess-file-mput : script/ecaccess-file-mput $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-file-mput
	$(CP) script/ecaccess-file-mput $(INST_SCRIPT)\ecaccess-file-mput
	$(FIXIN) $(INST_SCRIPT)\ecaccess-file-mput
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-file-mput

$(INST_SCRIPT)\ecaccess-association-get : script/ecaccess-association-get $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-association-get
	$(CP) script/ecaccess-association-get $(INST_SCRIPT)\ecaccess-association-get
	$(FIXIN) $(INST_SCRIPT)\ecaccess-association-get
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-association-get

$(INST_SCRIPT)\ecaccess-event-send : script/ecaccess-event-send $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-event-send
	$(CP) script/ecaccess-event-send $(INST_SCRIPT)\ecaccess-event-send
	$(FIXIN) $(INST_SCRIPT)\ecaccess-event-send
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-event-send

$(INST_SCRIPT)\ecaccess-job-get : script/ecaccess-job-get $(FIRST_MAKEFILE) $(INST_SCRIPT)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists
	$(NOECHO) $(RM_F) $(INST_SCRIPT)\ecaccess-job-get
	$(CP) script/ecaccess-job-get $(INST_SCRIPT)\ecaccess-job-get
	$(FIXIN) $(INST_SCRIPT)\ecaccess-job-get
	-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_SCRIPT)\ecaccess-job-get



# --- MakeMaker subdirs section:

# none

# --- MakeMaker clean_subdirs section:
clean_subdirs :
	$(NOECHO) $(NOOP)


# --- MakeMaker clean section:

# Delete temporary files but do not touch installed files. We don't delete
# the Makefile here so a later make realclean still has a makefile to use.

clean :: clean_subdirs
	- $(RM_F) \
	  *$(LIB_EXT) core \
	  core.[0-9] core.[0-9][0-9] \
	  $(BASEEXT).bso $(INST_ARCHAUTODIR)\extralibs.ld \
	  pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
	  MYMETA.yml $(BASEEXT).x \
	  $(BOOTSTRAP) perl$(EXE_EXT) \
	  tmon.out $(INST_ARCHAUTODIR)\extralibs.all \
	  *$(OBJ_EXT) pm_to_blib \
	  blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \
	  *perl.core core.*perl.*.? \
	  $(MAKE_APERL_FILE) perl \
	  $(BASEEXT).def core.[0-9][0-9][0-9] \
	  mon.out lib$(BASEEXT).def \
	  perlmain.c perl.exe \
	  so_locations $(BASEEXT).exp 
	- $(RM_RF) \
	  dll.exp dll.base \
	  blib 
	- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)


# --- MakeMaker realclean_subdirs section:
realclean_subdirs :
	$(NOECHO) $(NOOP)


# --- MakeMaker realclean section:
# Delete temporary files (via clean) and also delete dist files
realclean purge ::  clean realclean_subdirs
	- $(RM_F) \
	  $(MAKEFILE_OLD) $(FIRST_MAKEFILE) 
	- $(RM_RF) \
	  $(DISTVNAME) 


# --- MakeMaker metafile section:
metafile : create_distdir
	$(NOECHO) $(ECHO) Generating META.yml
	$(NOECHO) $(ECHO) "--- #YAML:1.0" > META_new.yml
	$(NOECHO) $(ECHO) "name:               ECMWF-ECaccess" >> META_new.yml
	$(NOECHO) $(ECHO) "version:            4.0.1" >> META_new.yml
	$(NOECHO) $(ECHO) "abstract:           Perl extension to access the ECMWF ECaccess Web Services (or ECaccess API)" >> META_new.yml
	$(NOECHO) $(ECHO) "author:" >> META_new.yml
	$(NOECHO) $(ECHO) "    - Laurent Gougeon <Laurent.Gougeon@ecmwf.int>" >> META_new.yml
	$(NOECHO) $(ECHO) "license:            unknown" >> META_new.yml
	$(NOECHO) $(ECHO) "distribution_type:  module" >> META_new.yml
	$(NOECHO) $(ECHO) "configure_requires:" >> META_new.yml
	$(NOECHO) $(ECHO) "    ExtUtils::MakeMaker:  0" >> META_new.yml
	$(NOECHO) $(ECHO) "build_requires:" >> META_new.yml
	$(NOECHO) $(ECHO) "    ExtUtils::MakeMaker:  0" >> META_new.yml
	$(NOECHO) $(ECHO) "requires:" >> META_new.yml
	$(NOECHO) $(ECHO) "    Class::Inspector:     0" >> META_new.yml
	$(NOECHO) $(ECHO) "    Crypt::SSLeay:        0" >> META_new.yml
	$(NOECHO) $(ECHO) "    Getopt::Long:         0" >> META_new.yml
	$(NOECHO) $(ECHO) "    MIME::Base64:         0" >> META_new.yml
	$(NOECHO) $(ECHO) "    Net::HTTP:            0" >> META_new.yml
	$(NOECHO) $(ECHO) "    Number::Bytes::Human:  0" >> META_new.yml
	$(NOECHO) $(ECHO) "    Pod::Usage:           0" >> META_new.yml
	$(NOECHO) $(ECHO) "    SOAP::Lite:           0.712" >> META_new.yml
	$(NOECHO) $(ECHO) "    Term::Prompt:         0" >> META_new.yml
	$(NOECHO) $(ECHO) "    Term::ReadKey:        0" >> META_new.yml
	$(NOECHO) $(ECHO) "    URI::Escape:          0" >> META_new.yml
	$(NOECHO) $(ECHO) "no_index:" >> META_new.yml
	$(NOECHO) $(ECHO) "    directory:" >> META_new.yml
	$(NOECHO) $(ECHO) "        - t" >> META_new.yml
	$(NOECHO) $(ECHO) "        - inc" >> META_new.yml
	$(NOECHO) $(ECHO) "generated_by:       ExtUtils::MakeMaker version 6.57_05" >> META_new.yml
	$(NOECHO) $(ECHO) "meta-spec:" >> META_new.yml
	$(NOECHO) $(ECHO) "    url:      http://module-build.sourceforge.net/META-spec-v1.4.html" >> META_new.yml
	$(NOECHO) $(ECHO) "    version:  1.4" >> META_new.yml
	-$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml


# --- MakeMaker signature section:
signature :
	cpansign -s


# --- MakeMaker dist_basics section:
distclean :: realclean distcheck
	$(NOECHO) $(NOOP)

distcheck :
	$(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck

skipcheck :
	$(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck

manifest :
	$(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest

veryclean : realclean
	$(RM_F) *~ */*~ *.orig */*.orig *.bak */*.bak *.old */*.old 



# --- MakeMaker dist_core section:

dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
	$(NOECHO) $(ABSPERLRUN) -l -e "print 'Warning: Makefile possibly out of date with $(VERSION_FROM)'\
    if -e '$(VERSION_FROM)' and -M '$(VERSION_FROM)' < -M '$(FIRST_MAKEFILE)';" --

tardist : $(DISTVNAME).tar$(SUFFIX)
	$(NOECHO) $(NOOP)

uutardist : $(DISTVNAME).tar$(SUFFIX)
	uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu

$(DISTVNAME).tar$(SUFFIX) : distdir
	$(PREOP)
	$(TO_UNIX)
	$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
	$(RM_RF) $(DISTVNAME)
	$(COMPRESS) $(DISTVNAME).tar
	$(POSTOP)

zipdist : $(DISTVNAME).zip
	$(NOECHO) $(NOOP)

$(DISTVNAME).zip : distdir
	$(PREOP)
	$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
	$(RM_RF) $(DISTVNAME)
	$(POSTOP)

shdist : distdir
	$(PREOP)
	$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
	$(RM_RF) $(DISTVNAME)
	$(POSTOP)


# --- MakeMaker distdir section:
create_distdir :
	$(RM_RF) $(DISTVNAME)
	$(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
		-e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"

distdir : create_distdir distmeta 
	$(NOECHO) $(NOOP)



# --- MakeMaker dist_test section:
disttest : distdir
	cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL 
	cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
	cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)



# --- MakeMaker dist_ci section:

ci :
	$(PERLRUN) "-MExtUtils::Manifest=maniread" \
	  -e "@all = keys %{ maniread() };" \
	  -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
	  -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});"


# --- MakeMaker distmeta section:
distmeta : create_distdir metafile
	$(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "eval {{ maniadd({{q{{META.yml} => q{{Module meta-data (added by MakeMaker)}}}) } \
    or print \"Could not add META.yml to MANIFEST: $${{'@'}\n\"" --



# --- MakeMaker distsignature section:
distsignature : create_distdir
	$(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "eval {{ maniadd({{q{{SIGNATURE} => q{{Public-key signature (added by MakeMaker)}}}) } \
    or print \"Could not add SIGNATURE to MANIFEST: $${{'@'}\n\"" --
	$(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE
	cd $(DISTVNAME) && cpansign -s



# --- MakeMaker install section:

install :: pure_install doc_install doc_update
	$(NOECHO) $(NOOP)

install_perl :: pure_perl_install doc_perl_install
	$(NOECHO) $(NOOP)

install_site :: pure_site_install doc_site_install
	$(NOECHO) $(NOOP)

install_vendor :: pure_vendor_install doc_vendor_install
	$(NOECHO) $(NOOP)

pure_install :: pure_$(INSTALLDIRS)_install
	$(NOECHO) $(NOOP)

doc_install :: doc_$(INSTALLDIRS)_install
	$(NOECHO) $(NOOP)

doc_update ::
	$(NOECHO) $(PERLRUN) "-MActivePerl::DocTools" -e ActivePerl::DocTools::WriteTOC

pure__install : pure_site_install
	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site

doc__install : doc_site_install
	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site

pure_perl_install :: all
	$(NOECHO) $(MOD_INSTALL) \
		read $(PERL_ARCHLIB)\auto\$(FULLEXT)\.packlist \
		write $(DESTINSTALLARCHLIB)\auto\$(FULLEXT)\.packlist \
		$(INST_LIB) $(DESTINSTALLPRIVLIB) \
		$(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
		$(INST_BIN) $(DESTINSTALLBIN) \
		$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
		$(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
		$(INST_MAN3DIR) $(DESTINSTALLMAN3DIR) \
		$(INST_HTMLDIR) $(DESTINSTALLHTMLDIR)
	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
		$(SITEARCHEXP)\auto\$(FULLEXT)


pure_site_install :: all
	$(NOECHO) $(MOD_INSTALL) \
		read $(SITEARCHEXP)\auto\$(FULLEXT)\.packlist \
		write $(DESTINSTALLSITEARCH)\auto\$(FULLEXT)\.packlist \
		$(INST_LIB) $(DESTINSTALLSITELIB) \
		$(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \
		$(INST_BIN) $(DESTINSTALLSITEBIN) \
		$(INST_SCRIPT) $(DESTINSTALLSITESCRIPT) \
		$(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \
		$(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR) \
		$(INST_HTMLDIR) $(DESTINSTALLSITEHTMLDIR)
	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
		$(PERL_ARCHLIB)\auto\$(FULLEXT)

pure_vendor_install :: all
	$(NOECHO) $(MOD_INSTALL) \
		read $(VENDORARCHEXP)\auto\$(FULLEXT)\.packlist \
		write $(DESTINSTALLVENDORARCH)\auto\$(FULLEXT)\.packlist \
		$(INST_LIB) $(DESTINSTALLVENDORLIB) \
		$(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
		$(INST_BIN) $(DESTINSTALLVENDORBIN) \
		$(INST_SCRIPT) $(DESTINSTALLVENDORSCRIPT) \
		$(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \
		$(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR) \
		$(INST_HTMLDIR) $(DESTINSTALLVENDORHTMLDIR)

doc_perl_install :: all
	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
	-$(NOECHO) $(DOC_INSTALL) \
		"Module" "$(NAME)" \
		"installed into" "$(INSTALLPRIVLIB)" \
		LINKTYPE "$(LINKTYPE)" \
		VERSION "$(VERSION)" \
		EXE_FILES "$(EXE_FILES)" \
		>> $(DESTINSTALLARCHLIB)\perllocal.pod

doc_site_install :: all
	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
	-$(NOECHO) $(DOC_INSTALL) \
		"Module" "$(NAME)" \
		"installed into" "$(INSTALLSITELIB)" \
		LINKTYPE "$(LINKTYPE)" \
		VERSION "$(VERSION)" \
		EXE_FILES "$(EXE_FILES)" \
		>> $(DESTINSTALLARCHLIB)\perllocal.pod

doc_vendor_install :: all
	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
	-$(NOECHO) $(DOC_INSTALL) \
		"Module" "$(NAME)" \
		"installed into" "$(INSTALLVENDORLIB)" \
		LINKTYPE "$(LINKTYPE)" \
		VERSION "$(VERSION)" \
		EXE_FILES "$(EXE_FILES)" \
		>> $(DESTINSTALLARCHLIB)\perllocal.pod


uninstall :: uninstall_from_$(INSTALLDIRS)dirs doc_update
	$(NOECHO) $(NOOP)

uninstall_from_perldirs ::
	$(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)\auto\$(FULLEXT)\.packlist

uninstall_from_sitedirs ::
	$(NOECHO) $(UNINSTALL) $(SITEARCHEXP)\auto\$(FULLEXT)\.packlist

uninstall_from_vendordirs ::
	$(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)\auto\$(FULLEXT)\.packlist


# --- MakeMaker force section:
# Phony target to force checking subdirectories.
FORCE :
	$(NOECHO) $(NOOP)


# --- MakeMaker perldepend section:


# --- MakeMaker makefile section:
# We take a very conservative approach here, but it's worth it.
# We move Makefile to Makefile.old here to avoid gnu make looping.
$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
	$(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
	$(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
	-$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
	-$(NOECHO) $(MV)   $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
	- $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL)
	$(PERLRUN) Makefile.PL 
	$(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
	$(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command.  <=="
	$(FALSE)



# --- MakeMaker staticmake section:

# --- MakeMaker makeaperl section ---
MAP_TARGET    = perl
FULLPERL      = C:\Perl\bin\perl.exe

$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
	$(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@

$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib
	$(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
	$(NOECHO) $(PERLRUNINST) \
		Makefile.PL DIR= \
		MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
		MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=


# --- MakeMaker test section:

TEST_VERBOSE=0
TEST_TYPE=test_$(LINKTYPE)
TEST_FILE = test.pl
TEST_FILES = t/*.t
TESTDB_SW = -d

testdb :: testdb_$(LINKTYPE)

test :: $(TEST_TYPE) subdirs-test

subdirs-test ::
	$(NOECHO) $(NOOP)


test_dynamic :: pure_all
	$(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)

testdb_dynamic :: pure_all
	$(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)

test_ : test_dynamic

test_static :: test_dynamic
testdb_static :: testdb_dynamic


# --- MakeMaker ppd section:
# Creates a PPD (Perl Package Description) for a binary distribution.
ppd :
	$(NOECHO) $(ECHO) "<SOFTPKG NAME=\"$(DISTNAME)\" VERSION=\"4.0.1\">" > $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "    <ABSTRACT>Perl extension to access the ECMWF ECaccess Web Services (or ECaccess API)</ABSTRACT>" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "    <AUTHOR>Laurent Gougeon &lt;Laurent.Gougeon@ecmwf.int&gt;</AUTHOR>" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "    <IMPLEMENTATION>" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <REQUIRE NAME=\"Class::Inspector\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <REQUIRE NAME=\"Crypt::SSLeay\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <REQUIRE NAME=\"Getopt::Long\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <REQUIRE NAME=\"MIME::Base64\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <REQUIRE NAME=\"Net::HTTP\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <REQUIRE NAME=\"Number::Bytes::Human\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <REQUIRE NAME=\"Pod::Usage\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <REQUIRE NAME=\"SOAP::Lite\" VERSION=\"0.712\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <REQUIRE NAME=\"Term::Prompt\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <REQUIRE NAME=\"Term::ReadKey\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <REQUIRE NAME=\"URI::Escape\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <ARCHITECTURE NAME=\"MSWin32-x86-multi-thread-5.14\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "        <CODEBASE HREF=\"\" />" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "    </IMPLEMENTATION>" >> $(DISTNAME).ppd
	$(NOECHO) $(ECHO) "</SOFTPKG>" >> $(DISTNAME).ppd


# --- MakeMaker pm_to_blib section:

pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM)
	$(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e "pm_to_blib({{@ARGV}, '$(INST_LIB)\auto', q[$(PM_FILTER)], '$(PERM_DIR)')" -- \
	  lib/ECMWF/ECaccess.pm blib\lib\ECMWF\ECaccess.pm \
	  Makedistrib.pl $(INST_LIB)\ECMWF\Makedistrib.pl 
	$(NOECHO) $(TOUCH) pm_to_blib


# --- MakeMaker selfdocument section:


# --- MakeMaker postamble section:


# End.
