diff options
author | apnadkarni <apnmbx-wits@yahoo.com> | 2017-10-06 13:38:26 (GMT) |
---|---|---|
committer | apnadkarni <apnmbx-wits@yahoo.com> | 2017-10-06 13:38:26 (GMT) |
commit | 21379b0cf5fd2a51ee08f109d65d29636e920592 (patch) | |
tree | 0dcdcee0d777e742e7cfa6ecc434c3b89e7b60b7 /win/rules.vc | |
parent | 65895760ea527481c4c02b11273431f1053aec5a (diff) | |
download | tcl-21379b0cf5fd2a51ee08f109d65d29636e920592.zip tcl-21379b0cf5fd2a51ee08f109d65d29636e920592.tar.gz tcl-21379b0cf5fd2a51ee08f109d65d29636e920592.tar.bz2 |
Move standard predefined targets to targets.vc as this allows the master
makefile to modify macros if required before the targets are defined.
Diffstat (limited to 'win/rules.vc')
-rw-r--r-- | win/rules.vc | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/win/rules.vc b/win/rules.vc index 0730553..c0d2915 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -417,9 +417,9 @@ CFG_ENCODING = \"cp1252\" #
# Extensions built against Tcl sources will use the one from the Tcl source.
#
-# This can all be overridden by defining the NMAKEHLPC macro to point
-# to the nmakehlp.c file to be used, either from the command line or
-# the containing makefile.
+# When building an extension using a sufficiently new version of Tcl,
+# rules-ext.vc will define NMAKEHLPC appropriately to point to the
+# copy of nmakehlp.c to be used.
!ifndef NMAKEHLPC
# Default to the one in the current directory (the extension's own nmakehlp.c)
@@ -1346,7 +1346,7 @@ MAKERESCMD = $(rc32) -fo $@ -r -i "$(GENERICDIR)" -i "$(TMP_DIR)" \ !ifndef DEFAULT_BUILD_TARGET
-DEFAULT_BUILD_TARGET = all
+DEFAULT_BUILD_TARGET = $(PROJECT)
!endif
default-target: $(DEFAULT_BUILD_TARGET)
@@ -1403,21 +1403,6 @@ default-setup: @if not exist $(OUT_DIR)\nul mkdir $(OUT_DIR)
@if not exist $(TMP_DIR)\nul mkdir $(TMP_DIR)
-!if ! $(DISABLE_STANDARD_TARGETS)
-setup: default-setup
-install: default-install
-pkgindex: default-pkgindex
-pkgIndex: default-pkgindex
-pkgindex-tea: default-pkgindex-tea
-!endif
-
-!if ! $(DISABLE_CLEAN_TARGETS)
-clean: default-clean
-realclean: hose
-hose: default-hose
-distclean: realclean default-distclean
-!endif
-
!ifndef DISABLE_IMPLICIT_RULES
# Implicit rule definitions - only for building library objects. For stubs and
# main application, the master makefile should define explicit rules.
|