You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl-cvs@tcl.apache.org by da...@apache.org on 2001/03/08 16:51:11 UTC
cvs commit: mod_dtcl Makefile builddtcl.sh
davidw 01/03/08 07:51:10
Modified: . Makefile builddtcl.sh
Log:
More build file tweaking.
Revision Changes Path
1.10 +3 -4 mod_dtcl/Makefile
Index: Makefile
===================================================================
RCS file: /home/cvs/mod_dtcl/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Makefile 2001/03/08 14:41:48 1.9
+++ Makefile 2001/03/08 15:51:02 1.10
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.9 2001/03/08 14:41:48 davidw Exp $
+# $Id: Makefile,v 1.10 2001/03/08 15:51:02 davidw Exp $
# Changed to use the Tcl variables from tclConfig.sh
@@ -8,8 +8,7 @@
# You must change the following line unless you have the Debian
# apache-dev package
-INCLUDES=-I/usr/include/apache-1.3/
-INCDIR=$(SRCDIR)/include
+INC=$(INCLUDES) -I$(TCL_SRC_DIR)
STATICLIB=mod_dtcl.a
SHLIB=mod_dtcl$(TCL_SHLIB_SUFFIX)
@@ -19,7 +18,7 @@
# The following TCL_* variables are all exported from builddtcl.sh
-COMPILE=$(TCL_CC) $(TCL_CFLAGS_DEBUG) $(TCL_CFLAGS_OPTIMIZE) $(TCL_CFLAGS_WARNING) $(TCL_SHLIB_CFLAGS) -c $(INCLUDES) $(CFLAGS) $(TCL_EXTRA_CFLAGS) $<
+COMPILE=$(TCL_CC) $(TCL_CFLAGS_DEBUG) $(TCL_CFLAGS_OPTIMIZE) $(TCL_CFLAGS_WARNING) $(TCL_SHLIB_CFLAGS) -c $(INC) $(CFLAGS) $(TCL_EXTRA_CFLAGS) $<
all: builddtcl_test shared
1.6 +3 -2 mod_dtcl/builddtcl.sh
Index: builddtcl.sh
===================================================================
RCS file: /home/cvs/mod_dtcl/builddtcl.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- builddtcl.sh 2001/03/08 14:41:49 1.5
+++ builddtcl.sh 2001/03/08 15:51:05 1.6
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: builddtcl.sh,v 1.5 2001/03/08 14:41:49 davidw Exp $
+# $Id: builddtcl.sh,v 1.6 2001/03/08 15:51:05 davidw Exp $
# Name of tclsh - on FreeBSD, this is probably tclsh8.2
TCLSH=tclsh ######### CHANGEME ##########
@@ -44,7 +44,7 @@
if [ -f $INC/httpd.h ]
then
echo "Apache includes in $INC"
- export INCLUDES="-I$INC -I$APACHE/src/os/unix/"
+ export INCLUDES="-I$INC"
else
echo "Apache include files *not* in $INC, please edit builddtcl.sh"
exit 1
@@ -69,6 +69,7 @@
export TCL_SHLIB_LD
export TCL_SHLIB_SUFFIX
export TCL_STLIB_LD
+export TCL_SRC_DIR
export BUILDDTCL="YES"
#export C_INCLUDE_PATH