# Makefile.in --
#
#	This file is a Makefile for the TclSOAP package. If this
#	is "Makefile.in" then it is a template for a Makefile;  to generate 
#	the actual Makefile, run "./configure", which is a configuration script
#	generated by the "autoconf" program (constructs like "@foo@" will get
#	replaced in the actual Makefile.
#
# Copyright (c) 2001      ActiveState Tool Corp.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# RCS: @(#) $Id: Makefile.in,v 1.12 2003/09/06 17:08:46 patthoyts Exp $

FILES= \
	SOAP.tcl		\
	SOAP-CGI.tcl		\
	SOAP-domain.tcl         \
	XMLRPC.tcl		\
	rpcvar.tcl		\
	utils.tcl		\
	xpath.tcl		\
	http.tcl		\
	https.tcl		\
	smtp.tcl		\
	ftp.tcl			\
	beep.tcl		\
	pkgIndex.tcl

INTEROPFILES= \
	silab.tcl		\
	soapinterop.tcl		\
	soapinteropB.tcl	\
	soapinteropC.tcl	\
	pkgIndex.tcl

#========================================================================
# Nothing of the variables below this line need to be changed.  Please
# check the TARGETS section below to make sure the make targets are
# correct.
#========================================================================

SHELL = @SHELL@

INSTALL_ROOT =

srcdir		= @srcdir@
top_srcdir	= @top_srcdir@
prefix		= $(INSTALL_ROOT)@prefix@
exec_prefix	= $(INSTALL_ROOT)@exec_prefix@

libdir = @libdir@
mandir = @mandir@
docdir = @docdir@

DESTDIR =

pkglibdir = $(libdir)/@PACKAGE@@VERSION@

top_builddir = .

INSTALL		= @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA	= @INSTALL_DATA@
INSTALL_SCRIPT	= @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :

PACKAGE = @PACKAGE@
VERSION = @VERSION@
CYGPATH = @CYGPATH@
TCLSH_PROG = @TCLSH_PROG@

AUTOCONF = autoconf

ACLOCAL_M4	= $(top_srcdir)/aclocal.m4
CONFIGDIR	= @CONFIGDIR@
mkinstalldirs	= $(SHELL) $(CONFIGDIR)/mkinstalldirs
CONFIG_CLEAN_FILES =

#========================================================================
# Start of user-definable TARGETS section
#========================================================================

interopdir     = $(pkglibdir)/interop

#========================================================================
# TEA TARGETS.  Please note that the "libraries:" target refers to platform
# independent files, and the "binaries:" target inclues executable programs and
# platform-dependent libraries.  Modify these targets so that they install
# the various pieces of your package.  The make and install rules
# for the BINARIES that you specified above have already been done.
#========================================================================

all: libraries doc

#========================================================================
# The binaries target builds executable programs, Windows .dll's, unix
# shared/static libraries, and any other platform-dependent files.
# The list of targets to build for "binaries:" is specified at the top
# of the Makefile, in the "BINARIES" variable.
#========================================================================

binaries:

libraries:

doc:

install: all install-libraries install-doc

install-binaries: 

#========================================================================
# This rule installs platform-independent files, such as header files.
#========================================================================

install-libraries: libraries
	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
	@echo "Installing TclSOAP in $(DESTDIR)$(pkglibdir)"
	@for i in $(FILES) ; do \
	    if test -f $(srcdir)/$$i; then  \
		echo "Installing $$i in $(DESTDIR)$(pkglibdir)/$$i" ; \
		    $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(pkglibdir)/$$i ; \
	    fi; \
	done;
	$(mkinstalldirs) $(DESTDIR)$(interopdir)
	@echo "Installing SOAP Interoperability Tests in $(DESTDIR)$(interopdir)"
	@for i in $(INTEROPFILES) ; do \
	    if test -f $(srcdir)/interop/$$i; then  \
		echo "Installing $$i in $(DESTDIR)$(interopdir)/$$i" ; \
		    $(INSTALL_DATA) $(srcdir)/interop/$$i $(DESTDIR)$(interopdir)/$$i ; \
	    fi; \
	done;


#========================================================================
# Install documentation.  Unix manpages should go in the $(mandir)
# directory.
#========================================================================

install-doc: doc

test:
	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/tests/all.tcl`

depend:

# Make a distribution.  This includes:
#   Code, doc's, and tests for all modules
dist:
	@echo We dont use this. What you do is tag the cvs repository with
	@echo   cvs tag soapa_b_c
	@echo then use the export command to create the release package.
	@echo   cvs export -r soapa_b_c -d tclsoapa.b.c tclsoap
	@echo then package it up.

frink:
	frink -HJ $(srcdir)/*.tcl

procheck:
	procheck $(srcdir)/*.tcl

statcheck: frink procheck

#========================================================================
# End of user-definable section
#========================================================================

#========================================================================
# Don't modify the file to clean here.  Instead, set the "CLEANFILES"
# variable in configure.in
#========================================================================

clean:  

distclean: clean
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
	-rm -f config.status

#========================================================================
# Install binary object libraries.  On Windows this includes both .dll and
# .lib files.  Because the .lib files are not explicitly listed anywhere,
# we need to deduce their existence from the .dll file of the same name.
# Additionally, the .dll files go into the bin directory, but the .lib
# files go into the lib directory.  On Unix platforms, all library files
# go into the lib directory.  In addition, this will generate the pkgIndex.tcl
# file in the install location (assuming it can find a usable tclsh8.2 shell)
#
# You should not have to modify this target.
#========================================================================

install-lib-binaries: installdirs

#========================================================================
# Install binary executables (e.g. .exe files)
#
# You should not have to modify this target.
#========================================================================

install-bin-binaries: installdirs

.SUFFIXES: .c .o .obj

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

uninstall-binaries:

installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(pkglibdir)

.PHONY: all binaries clean depend distclean doc install installdirs \
libraries test

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