Diff
Bounty program for improvements to Tcl and certain Tcl packages.

Differences From Artifact [b0c648d6e7]:

To Artifact [a09cf82bc5]:


8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Copyright (c) 1999-2000 Ajuba Solutions.
# All rights reserved.
#
# 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.23 2004/12/23 23:51:37 patthoyts Exp $


#========================================================================
# Enumerate the names of the source files included in this package.
# This will be used when a dist target is added to the Makefile.
#========================================================================







|







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Copyright (c) 1999-2000 Ajuba Solutions.
# All rights reserved.
#
# 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.24 2005/02/09 00:58:26 hobbs2 Exp $


#========================================================================
# Enumerate the names of the source files included in this package.
# This will be used when a dist target is added to the Makefile.
#========================================================================

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
PKG_TCL_SOURCES	= tls.tcl

#========================================================================
# This is a list of header files to be installed
#========================================================================

PKG_HEADERS	= $(srcdir)/tls.h

#========================================================================
# Variables and AC_SUBST cases added for tls.
#========================================================================

SSL_DIR			= @[email protected]
SSL_LIB_DIR 		= @[email protected]






|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
PKG_TCL_SOURCES	= tls.tcl

#========================================================================
# This is a list of header files to be installed
#========================================================================

PKG_HEADERS	= tls.h

#========================================================================
# Variables and AC_SUBST cases added for tls.
#========================================================================

SSL_DIR			= @[email protected]
SSL_LIB_DIR 		= @[email protected]
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
MAKE_STATIC_LIB	= @[email protected]
MAKE_STUB_LIB	= @[email protected]
OBJEXT		= @[email protected]
RANLIB		= @[email protected]
RANLIB_STUB	= @[email protected]
SHLIB_CFLAGS	= @[email protected]
SHLIB_LD	= @[email protected]
SHLIB_LD_FLAGS	= @[email protected]
SHLIB_LD_LIBS	= @[email protected]
STLIB_LD	= @[email protected]
TCL_DEFS	= @[email protected]
TCL_BIN_DIR	= @[email protected]
TCL_SRC_DIR	= @[email protected]
# This is necessary for packages that use private Tcl headers
#TCL_TOP_DIR_NATIVE	= @[email protected]






<







97
98
99
100
101
102
103

104
105
106
107
108
109
110
MAKE_STATIC_LIB	= @[email protected]
MAKE_STUB_LIB	= @[email protected]
OBJEXT		= @[email protected]
RANLIB		= @[email protected]
RANLIB_STUB	= @[email protected]
SHLIB_CFLAGS	= @[email protected]
SHLIB_LD	= @[email protected]

SHLIB_LD_LIBS	= @[email protected]
STLIB_LD	= @[email protected]
TCL_DEFS	= @[email protected]
TCL_BIN_DIR	= @[email protected]
TCL_SRC_DIR	= @[email protected]
# This is necessary for packages that use private Tcl headers
#TCL_TOP_DIR_NATIVE	= @[email protected]
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
		  @[email protected]="$(EXTRA_PATH):$(@[email protected])" \
		  PATH="$(EXTRA_PATH):$(PATH)" \
		  TCLLIBPATH="$(top_builddir)"
TCLSH_PROG	= @[email protected]
TCLSH		= $(TCLSH_ENV) $(TCLSH_PROG)
SHARED_BUILD	= @[email protected]

INCLUDES	= @TCL[email protected] @PKG[email protected] $(SSL_INCLUDES)

EXTRA_CFLAGS	= @[email protected] @[email protected]

#DEFS		= $(TCL_DEFS) @[email protected] $(EXTRA_CFLAGS)
DEFS		= @[email protected] $(EXTRA_CFLAGS)

CONFIG_CLEAN_FILES = Makefile

CPPFLAGS	= @[email protected]
LIBS		= @[email protected] @[email protected]
AR		= ar
CFLAGS		= @[email protected]






|

|


|







123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
		  @[email protected]="$(EXTRA_PATH):$(@[email protected])" \
		  PATH="$(EXTRA_PATH):$(PATH)" \
		  TCLLIBPATH="$(top_builddir)"
TCLSH_PROG	= @[email protected]
TCLSH		= $(TCLSH_ENV) $(TCLSH_PROG)
SHARED_BUILD	= @[email protected]

INCLUDES	= @PKG[email protected] @TCL[email protected] $(SSL_INCLUDES)

PKG_CFLAGS	= @[email protected]

#DEFS		= $(TCL_DEFS) @[email protected] $(EXTRA_CFLAGS)
DEFS		= @[email protected] $(PKG_CFLAGS)

CONFIG_CLEAN_FILES = Makefile

CPPFLAGS	= @[email protected]
LIBS		= @[email protected] @[email protected]
AR		= ar
CFLAGS		= @[email protected]
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
libraries: $(PKG_TCL_SOURCES)

doc:

install: all install-binaries install-libraries install-doc

install-binaries: binaries install-lib-binaries install-bin-binaries
	if test "x$(SHARED_BUILD)" = "x1"; then \
	    $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir); \
	fi

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

install-libraries: libraries
	@mkdir -p $(DESTDIR)$(includedir)
	@echo "Installing header files in $(DESTDIR)$(includedir)"
	@for i in $(PKG_HEADERS) ; do \
	    echo "Installing $$i" ; \
	    $(INSTALL_DATA) $$i $(DESTDIR)$(includedir) ; \
	done;

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







<
<
<








|
|
|







168
169
170
171
172
173
174



175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
libraries: $(PKG_TCL_SOURCES)

doc:

install: all install-binaries install-libraries install-doc

install-binaries: binaries install-lib-binaries install-bin-binaries




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

install-libraries: libraries
	@mkdir -p $(DESTDIR)$(includedir)
	@echo "Installing header files in $(DESTDIR)$(includedir)"
	@list='$(PKG_HEADERS)'; for i in $$list; do \
	    echo "Installing $(srcdir)/$$i" ; \
	    $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir) ; \
	done;

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

248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
# Setting the VPATH variable to a list of paths will cause the makefile
# to look into these paths when resolving .c to .obj dependencies.
# As necessary, add $(srcdir):$(srcdir)/compat:....
#========================================================================

VPATH = $(srcdir)

.c.$(OBJEXT):
	$(COMPILE) -c `@[email protected] $<` -o [email protected]

#========================================================================
# Create the pkgIndex.tcl file.
# It is usually easiest to let Tcl do this for you with pkg_mkIndex, but
# you may find that you need to customize the package.  If so, either
# modify the -hand version, or create a pkgIndex.tcl.in file and have






|







244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
# Setting the VPATH variable to a list of paths will cause the makefile
# to look into these paths when resolving .c to .obj dependencies.
# As necessary, add $(srcdir):$(srcdir)/compat:....
#========================================================================

VPATH = $(srcdir)

.c.@OBJEXT@:
	$(COMPILE) -c `@[email protected] $<` -o [email protected]

#========================================================================
# Create the pkgIndex.tcl file.
# It is usually easiest to let Tcl do this for you with pkg_mkIndex, but
# you may find that you need to customize the package.  If so, either
# modify the -hand version, or create a pkgIndex.tcl.in file and have
364
365
366
367
368
369
370




371
372
373
374
375
376
377
	@list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
	  if test -f $(srcdir)/$$p; then \
	    destp=`basename $$p`; \
	    echo " Install $$destp $(DESTDIR)$(pkglibdir)/$$destp"; \
	    $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkglibdir)/$$destp; \
	  fi; \
	done





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







>
>
>
>







360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
	@list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
	  if test -f $(srcdir)/$$p; then \
	    destp=`basename $$p`; \
	    echo " Install $$destp $(DESTDIR)$(pkglibdir)/$$destp"; \
	    $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkglibdir)/$$destp; \
	  fi; \
	done
	@if test "x$(SHARED_BUILD)" = "x1"; then \
	    echo " Install pkgIndex.tcl $(DESTDIR)$(pkglibdir)"; \
	    $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir); \
	fi

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