summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2017-10-16 12:46:53 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2017-10-16 12:46:53 (GMT)
commit4ef03a89506970e90d30b6b7c14ac1a6143b1161 (patch)
treee20b336d88997110db2a38e064bf4e1947e62e3a /win/rules.vc
parent823edbf0abc533041ff6a572705fbafd4cbe5cfd (diff)
downloadtcl-4ef03a89506970e90d30b6b7c14ac1a6143b1161.zip
tcl-4ef03a89506970e90d30b6b7c14ac1a6143b1161.tar.gz
tcl-4ef03a89506970e90d30b6b7c14ac1a6143b1161.tar.bz2
Fixed reversed check for implicit rules
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/rules.vc b/win/rules.vc
index d9bb95d..3a37856 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -32,7 +32,7 @@ DOING_TCL = 1
DOING_TK = 1
!endif
-!ifndef(PROJECT_REQUIRES_TK)
+!ifndef PROJECT_REQUIRES_TK
PROJECT_REQUIRES_TK = 0
!endif
@@ -845,9 +845,9 @@ VERSION = $(TK_VERSION)
# first from a configure.in file, and then from configure.ac
!ifndef DOTVERSION
!if [echo DOTVERSION = \> versions.vc] \
- || [nmakehlp -V ..\configure.in AC_INIT >> versions.vc]
+ || [nmakehlp -V $(ROOT)\configure.in AC_INIT >> versions.vc]
!if [echo DOTVERSION = \> versions.vc] \
- || [nmakehlp -V ..\configure.ac AC_INIT >> versions.vc]
+ || [nmakehlp -V $(ROOT)\configure.ac AC_INIT >> versions.vc]
!error *** Could not figure out extension version. Please define DOTVERSION in parent makefile before including rules.vc.
!endif
!endif
@@ -1443,7 +1443,7 @@ END
DISABLE_IMPLICIT_RULES = 0
!endif
-!if $(DISABLE_IMPLICIT_RULES)
+!if !$(DISABLE_IMPLICIT_RULES)
# Implicit rule definitions - only for building library objects. For stubs and
# main application, the master makefile should define explicit rules.