1# Makefile.in --
2#
3#	This file is a Makefile for the TclSOAP package. If this
4#	is "Makefile.in" then it is a template for a Makefile;  to generate 
5#	the actual Makefile, run "./configure", which is a configuration script
6#	generated by the "autoconf" program (constructs like "@foo@" will get
7#	replaced in the actual Makefile.
8#
9# Copyright (c) 2001      ActiveState Tool Corp.
10#
11# See the file "license.terms" for information on usage and redistribution
12# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
13#
14# RCS: @(#) $Id: Makefile.in,v 1.14 2008/07/04 18:10:41 apnadkarni Exp $
15
16FILES= \
17	SOAP.tcl		\
18	SOAP-CGI.tcl		\
19	SOAP-domain.tcl         \
20	SOAP-service.tcl        \
21	XMLRPC.tcl		\
22	jsonrpc.tcl		\
23	rpcvar.tcl		\
24	utils.tcl		\
25	xpath.tcl		\
26	http.tcl		\
27	https.tcl		\
28	smtp.tcl		\
29	ftp.tcl			\
30	beep.tcl		\
31	pkgIndex.tcl
32
33INTEROPFILES= \
34	silab.tcl		\
35	soapinterop.tcl		\
36	soapinteropB.tcl	\
37	soapinteropC.tcl	\
38	pkgIndex.tcl
39
40#========================================================================
41# Nothing of the variables below this line need to be changed.  Please
42# check the TARGETS section below to make sure the make targets are
43# correct.
44#========================================================================
45
46SHELL = @SHELL@
47
48INSTALL_ROOT =
49
50srcdir		= @srcdir@
51top_srcdir	= @top_srcdir@
52prefix		= $(INSTALL_ROOT)@prefix@
53exec_prefix	= $(INSTALL_ROOT)@exec_prefix@
54
55libdir = @libdir@
56mandir = @mandir@
57docdir = @docdir@
58
59DESTDIR =
60
61pkglibdir = $(libdir)/@PACKAGE@@VERSION@
62
63top_builddir = .
64
65INSTALL		= @INSTALL@
66INSTALL_PROGRAM = @INSTALL_PROGRAM@
67INSTALL_DATA	= @INSTALL_DATA@
68INSTALL_SCRIPT	= @INSTALL_SCRIPT@
69INSTALL_STRIP_FLAG =
70transform = @program_transform_name@
71
72NORMAL_INSTALL = :
73PRE_INSTALL = :
74POST_INSTALL = :
75NORMAL_UNINSTALL = :
76PRE_UNINSTALL = :
77POST_UNINSTALL = :
78
79PACKAGE = @PACKAGE@
80VERSION = @VERSION@
81CYGPATH = @CYGPATH@
82TCLSH_PROG = @TCLSH_PROG@
83
84AUTOCONF = autoconf
85
86ACLOCAL_M4	= $(top_srcdir)/aclocal.m4
87CONFIGDIR	= @CONFIGDIR@
88mkinstalldirs	= $(SHELL) $(CONFIGDIR)/mkinstalldirs
89CONFIG_CLEAN_FILES =
90
91#========================================================================
92# Start of user-definable TARGETS section
93#========================================================================
94
95interopdir     = $(pkglibdir)/interop
96
97#========================================================================
98# TEA TARGETS.  Please note that the "libraries:" target refers to platform
99# independent files, and the "binaries:" target inclues executable programs and
100# platform-dependent libraries.  Modify these targets so that they install
101# the various pieces of your package.  The make and install rules
102# for the BINARIES that you specified above have already been done.
103#========================================================================
104
105all: libraries doc
106
107#========================================================================
108# The binaries target builds executable programs, Windows .dll's, unix
109# shared/static libraries, and any other platform-dependent files.
110# The list of targets to build for "binaries:" is specified at the top
111# of the Makefile, in the "BINARIES" variable.
112#========================================================================
113
114binaries:
115
116libraries:
117
118doc:
119
120install: all install-libraries install-doc
121
122install-binaries: 
123
124#========================================================================
125# This rule installs platform-independent files, such as header files.
126#========================================================================
127
128install-libraries: libraries
129	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
130	@echo "Installing TclSOAP in $(DESTDIR)$(pkglibdir)"
131	@for i in $(FILES) ; do \
132	    if test -f $(srcdir)/$$i; then  \
133		echo "Installing $$i in $(DESTDIR)$(pkglibdir)/$$i" ; \
134		    $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(pkglibdir)/$$i ; \
135	    fi; \
136	done;
137	$(mkinstalldirs) $(DESTDIR)$(interopdir)
138	@echo "Installing SOAP Interoperability Tests in $(DESTDIR)$(interopdir)"
139	@for i in $(INTEROPFILES) ; do \
140	    if test -f $(srcdir)/interop/$$i; then  \
141		echo "Installing $$i in $(DESTDIR)$(interopdir)/$$i" ; \
142		    $(INSTALL_DATA) $(srcdir)/interop/$$i $(DESTDIR)$(interopdir)/$$i ; \
143	    fi; \
144	done;
145
146
147#========================================================================
148# Install documentation.  Unix manpages should go in the $(mandir)
149# directory.
150#========================================================================
151
152install-doc: doc
153
154test:
155	$(TCLSH_PROG) `$(CYGPATH) $(srcdir)/tests/all.tcl`
156
157depend:
158
159# Make a distribution.  This includes:
160#   Code, doc's, and tests for all modules
161dist:
162	@echo We dont use this. What you do is tag the cvs repository with
163	@echo   cvs tag soapa_b_c
164	@echo then use the export command to create the release package.
165	@echo   cvs export -r soapa_b_c -d tclsoapa.b.c tclsoap
166	@echo then package it up.
167
168frink:
169	frink -HJ $(srcdir)/*.tcl
170
171procheck:
172	procheck $(srcdir)/*.tcl
173
174statcheck: frink procheck
175
176#========================================================================
177# End of user-definable section
178#========================================================================
179
180#========================================================================
181# Don't modify the file to clean here.  Instead, set the "CLEANFILES"
182# variable in configure.in
183#========================================================================
184
185clean:  
186
187distclean: clean
188	-rm -f Makefile $(CONFIG_CLEAN_FILES)
189	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
190	-rm -f config.status
191
192#========================================================================
193# Install binary object libraries.  On Windows this includes both .dll and
194# .lib files.  Because the .lib files are not explicitly listed anywhere,
195# we need to deduce their existence from the .dll file of the same name.
196# Additionally, the .dll files go into the bin directory, but the .lib
197# files go into the lib directory.  On Unix platforms, all library files
198# go into the lib directory.  In addition, this will generate the pkgIndex.tcl
199# file in the install location (assuming it can find a usable tclsh8.2 shell)
200#
201# You should not have to modify this target.
202#========================================================================
203
204install-lib-binaries: installdirs
205
206#========================================================================
207# Install binary executables (e.g. .exe files)
208#
209# You should not have to modify this target.
210#========================================================================
211
212install-bin-binaries: installdirs
213
214.SUFFIXES: .c .o .obj
215
216Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
217	cd $(top_builddir) \
218	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
219
220uninstall-binaries:
221
222installdirs:
223	$(mkinstalldirs)  $(DESTDIR)$(pkglibdir)
224
225.PHONY: all binaries clean depend distclean doc install installdirs \
226libraries test
227
228# Tell versions [3.59,3.63) of GNU make to not export all variables.
229# Otherwise a system limit (for SysV at least) may be exceeded.
230.NOEXPORT:
231