summaryrefslogtreecommitdiffstats
path: root/win/makefile.win
blob: 4fe71f2cecb67922137e10850290908580c7d557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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
91
92
93
94
95
96
#==============================================================================
#   The Tcl/Tk SuperDuty Win32 Common-Denominator Makefile Multiplexor for:
#
#	    Microsoft NMAKE  v1.62+	[MSVC++ v5+]
#	    Borland MAKE     v5.2	[Borland C++ Builder 5.5]
#	    Watcom WMAKE     v11.0	[OpenWatcom]
#	    MinGW MAKE	     v3.79.1    [MinGW: Minimalist GNU For Windows]
#
#   Tool specific syntax is NOT allowed in this file.
#
#==============================================================================
# RCS: @(#) $Id: makefile.win,v 1.1.2.6 2001/09/16 07:00:34 davygrvy Exp $
#==============================================================================

### Remove all '!' for MinGW..  Sorry, couldn't find another way to do this.

#==============================================
# Load the user info.
#==============================================

!include mkconfig.mif

#==============================================
# Within what context are we ?
#==============================================

!ifdef _NMAKE_VER
!include "mkvc32.mif"	# Microsoft Toolset
!else
!ifdef __LOADDLL__
!include "mkwc32.mif"	# Watcom Toolset
!else
!ifdef __MAKE__
!include "mkbc32.mif"	# Borland Toolset
!else
!ifdef BUILDLIB
			# Lcc-Win32 doesn't have an include directive...  oh well.
!else
!ifdef MAKE_VERSION
!include mkmgw32.mif	# MinGW Toolset
!else
!error Unknown make tool.  Toolset cannot be determined.
!endif
!endif
!endif
!endif
!endif

!ifndef BAILOUT

#==============================================
#  Targets.
#==============================================

all : $(SYM)
	@echo doing all target

core : $(SYM)
	$(MAKECMD) core

threadedcore : $(SYM)
	$(MAKECMD) SFX="t" TCL_THREADS=1 core

minicore : $(SYM)
	$(MAKECMD) SFX="m" TCL_GENERIC_ONLY=1 core

staticcore : $(SYM)
	$(MAKECMD) SFX="s" STATIC_BUILD=1 core

staticXcore : $(SYM)
	$(MAKECMD) SFX="sx" STATIC_BUILD=1 NOMSVCRT=0 core

ministaticcore : $(SYM)
	$(MAKECMD) SFX="ms" STATIC_BUILD=1 TCL_GENERIC_ONLY=1 core

ministaticXcore : $(SYM)
	$(MAKECMD) SFX="msx" STATIC_BUILD=1 TCL_GENERIC_ONLY=1 NOMSVCRT=0 core

ministaticthreadedcore : $(SYM)
	$(MAKECMD) SFX="mst" STATIC_BUILD=1 TCL_GENERIC_ONLY=1 TCL_THREADS=1 core

ministaticXthreadedcore : $(SYM)
	$(MAKECMD) SFX="msxt" STATIC_BUILD=1 TCL_GENERIC_ONLY=1 TCL_THREADS=1 NOMSVCRT=0 core

dlls : $(SYM)
	$(MAKECMD) dde
	$(MAKECMD) registry

docs : $(SYM)
	$(MAKECMD) winhelp

cvsupdate : $(SYM)
	cd ..
	set CVS_RSH=$(CVS_RSH)
	$(CVSCMD) update $(CVS_OPTS)
!endif