TDBC

Check-in [1e733cc160]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Get rid of custom test and shell targets as built-in ones suffice
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | vc-reform
Files: files | file ages | folders
SHA3-256: 1e733cc1603269fe2852bff3906ad3ef6def5ae89968516e2c11c01f77341d58
User & Date: apnadkarni 2017-12-10 12:47:11.663
Context
2017-12-10
13:06
Do not need the cwarn macro check-in: 2fee183e61 user: apnadkarni tags: vc-reform
12:47
Get rid of custom test and shell targets as built-in ones suffice check-in: 1e733cc160 user: apnadkarni tags: vc-reform
11:13
Turn off Unicode to match older nmake build check-in: 79e65ab0a3 user: apnadkarni tags: vc-reform
Changes
Unified Diff Ignore Whitespace Patch
Changes to win/makefile.vc.
12
13
14
15
16
17
18
19
20
21
22


23
24
25
26
27
28
29
# detailed documentation.
# 
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
#------------------------------------------------------------------------------


PROJECT         = tdbc
NEED_TCL_SOURCE = 1
PRJ_RCFILE      = tdbc.rc


USE_WIDECHAR_API  = 0

!include "rules-ext.vc"

!if [echo REM = This file is generated from Makefile.vc > versions.vc]
!endif
!if [echo TCL_VERSION_REQ = \>> versions.vc] \







<



>
>







12
13
14
15
16
17
18

19
20
21
22
23
24
25
26
27
28
29
30
# detailed documentation.
# 
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
#------------------------------------------------------------------------------


PROJECT         = tdbc
NEED_TCL_SOURCE = 1
PRJ_RCFILE      = tdbc.rc
# Tcl 8.6 etc. compile with /DUNICODE. TDBC pre-nmake reform compiled
# without -DUNICODE. Keep that behaviour for now. TBD
USE_WIDECHAR_API  = 0

!include "rules-ext.vc"

!if [echo REM = This file is generated from Makefile.vc > versions.vc]
!endif
!if [echo TCL_VERSION_REQ = \>> versions.vc] \
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
	$(GENERICDIR)\tdbcInt.h

INCLUDE_INSTALL_DIR	= $(_INSTALLDIR)\..\include

### Declarations common to all compiler options
#cwarn = $(WARNINGS) -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE

# Define the standard targets
!include "$(_RULESDIR)\targets.vc"

xtest: setup $(PROJECT)
	@set TCL_LIBRARY=$(TCL_LIBRARY:\=/)
	@set TCLLIBPATH=$(OUT_DIR:\=/)
	@set TDBC_LIBRARY=$(LIBDIR:\=/)
	@$(CPY) $(LIBDIR)\*.tcl $(OUT_DIR)
!if $(TCLINSTALL)
	@set PATH=$(_TCLDIR)\bin;$(PATH)
!else
	@set PATH=$(_TCLDIR)\win\$(BUILDDIRTOP);$(PATH)
!endif
	$(DEBUGGER) $(TCLSH) "$(ROOT)/tests/all.tcl" $(TESTFLAGS)

xshell: setup $(PROJECT)
	@set TCL_LIBRARY=$(TCL_LIBRARY:\=/)
	@set TDBC_LIBRARY=$(LIBDIR:\=/)
!if $(TCLINSTALL)
	@set PATH=$(_TCLDIR)\bin;$(PATH)
!else
	@set PATH=$(_TCLDIR)\win\$(BUILDDIRTOP);$(PATH)
!endif
	$(DEBUGGER) $(TCLSH) $(SCRIPT)


# The TIP 477 generation of pkgIndex.tcl from pkgIndex.tcl.in does not include
# all replacements below so define our own it.
pkgindex:   $(OUT_DIR)\pkgIndex.tcl
$(OUT_DIR)\pkgIndex.tcl: $(ROOT)\pkgIndex.tcl.in
	@nmakehlp -s << $** > $@
@PACKAGE_NAME@        $(PROJECT)







|


<
<
<
<
<
<
<
<
<
<
<
|
<
<
<
<
<
<
<
<
<
<







53
54
55
56
57
58
59
60
61
62











63










64
65
66
67
68
69
70
	$(GENERICDIR)\tdbcInt.h

INCLUDE_INSTALL_DIR	= $(_INSTALLDIR)\..\include

### Declarations common to all compiler options
#cwarn = $(WARNINGS) -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE

# Define the standard targets including install, test, shell
!include "$(_RULESDIR)\targets.vc"












$(PRJ_OBJS): $(PRJHEADERS)











# The TIP 477 generation of pkgIndex.tcl from pkgIndex.tcl.in does not include
# all replacements below so define our own it.
pkgindex:   $(OUT_DIR)\pkgIndex.tcl
$(OUT_DIR)\pkgIndex.tcl: $(ROOT)\pkgIndex.tcl.in
	@nmakehlp -s << $** > $@
@PACKAGE_NAME@        $(PROJECT)