aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-12-15 11:07:49 +1000
committerSteve Bennett <steveb@workware.net.au>2011-12-16 13:10:13 +1000
commit6a4f419af4dad8baa40ebb9a88977fe83d2b0d5e (patch)
treee38a3b90834bc44df600196525acbf1144f1292f
parentb6ca9c7ed71cb4b612dee89b5569cbf599bfc386 (diff)
downloadjimtcl-6a4f419af4dad8baa40ebb9a88977fe83d2b0d5e.zip
jimtcl-6a4f419af4dad8baa40ebb9a88977fe83d2b0d5e.tar.gz
jimtcl-6a4f419af4dad8baa40ebb9a88977fe83d2b0d5e.tar.bz2
cygwin also wants shared libraries named .dll
And other minor changes for windows platforms
-rw-r--r--.gitignore1
-rw-r--r--Makefile.in2
-rw-r--r--auto.def8
3 files changed, 8 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index ae7c696..87705d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,7 @@ jimsh
*.exe
libjim.a
*.so
+*.dll
*.o
configure.gnu
jimsh0
diff --git a/Makefile.in b/Makefile.in
index 0312fee..cfad35e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -181,7 +181,7 @@ Tcl.html: jim_tcl.txt
@tclsh@ @srcdir@/make-index $> $^ | asciidoc -o $@ -d manpage - || cp @srcdir@/Tcl_shipped.html Tcl.html
clean:
- rm -f *.o *.so lib*.a $(JIMSH) Tcl.html _*.c
+ rm -f *.o *.so *.dll *.exe lib*.a $(JIMSH) Tcl.html _*.c build-jim-ext
distclean: clean
rm -f jimautoconf.h jim-config.h Makefile config.log autosetup/jimsh0@EXEEXT@
diff --git a/auto.def b/auto.def
index 006ebea..55850e6 100644
--- a/auto.def
+++ b/auto.def
@@ -103,17 +103,21 @@ switch -glob -- $host_os {
define TCL_PLATFORM_OS $host_os
define TCL_PLATFORM_PLATFORM windows
define TCL_PLATFORM_PATH_SEPARATOR {;}
- define LIBSOEXT dll
}
default {
# Note that cygwin is considered a unix platform
define TCL_PLATFORM_OS $host_os
define TCL_PLATFORM_PLATFORM unix
define TCL_PLATFORM_PATH_SEPARATOR :
- define LIBSOEXT so
}
}
+if {[have-feature windows]} {
+ define LIBSOEXT dll
+} else {
+ define LIBSOEXT so
+}
+
# Find some tools
cc-check-tools ar ranlib strip
define tclsh [info nameofexecutable]