summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-19 09:47:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-19 09:47:47 (GMT)
commit9dc98083b1456d2337773786d81be5584f9ddd9f (patch)
treeb11b66f6c207d9050482ce115f79f28a79603f51 /unix/Makefile.in
parent015b2e6c6503106478c6dd3affa36035264c7482 (diff)
parent18b36e37e61e3936419af460b146f5c27e2d87f1 (diff)
downloadtcl-9dc98083b1456d2337773786d81be5584f9ddd9f.zip
tcl-9dc98083b1456d2337773786d81be5584f9ddd9f.tar.gz
tcl-9dc98083b1456d2337773786d81be5584f9ddd9f.tar.bz2
Cygwin: Instead of checking whether the win32 part is configured properly, just configure it when needed.
Always build the stub library first (and - on Cygwin - configure win32 properly just before building the stub library)
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 6c09473..6e3ad8a 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -613,7 +613,7 @@ SRCS = $(GENERIC_SRCS) $(TOMMATH_SRCS) $(UNIX_SRCS) $(NOTIFY_SRCS) \
all: binaries libraries doc packages
-binaries: ${LIB_FILE} $(STUB_LIB_FILE) ${TCL_EXE}
+binaries: ${LIB_FILE} ${TCL_EXE}
libraries:
@@ -621,11 +621,14 @@ doc:
# The following target is configured by autoconf to generate either a shared
# library or non-shared library for Tcl.
-${LIB_FILE}: ${OBJS} ${STUB_LIB_FILE}
+${LIB_FILE}: ${STUB_LIB_FILE} ${OBJS}
rm -f $@
@MAKE_LIB@
${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
+ @if test "x${LIB_FILE}" = "xlibtcl${MAJOR_VERSION}.${MINOR_VERSION}.dll"; then \
+ (cd ${TOP_DIR}/win; ${MAKE} tcldde14.dll tclreg13.dll); \
+ fi
rm -f $@
@MAKE_STUB_LIB@