29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#
# NOTE: Make sure B path has no trailing backslash, UNIX-style path is OK too.
#
!if !exist("$(B)\.fossil-settings")
!error Please specify path to project base directory: B="path/to/fossil"
!endif
# Perl is only necessary if OpenSSL support is enabled and it must
# be built from source code. The PERLDIR variable should point to
# the directory containing the main Perl binary (i.e. "perl.exe").
!ifndef PERLDIR
PERLDIR = C:\Perl\bin
!endif
PERL = perl.exe
# Enable debugging symbols?
!ifndef DEBUG
DEBUG = 0
!endif
!ifdef FOSSIL_DEBUG
|
|
|
|
<
<
<
|
|
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#
# NOTE: Make sure B path has no trailing backslash, UNIX-style path is OK too.
#
!if !exist("$(B)\.fossil-settings")
!error Please specify path to project base directory: B="path/to/fossil"
!endif
# Perl is only necessary if OpenSSL support is enabled and it is built from
# source code. The PERLDIR environment variable, if it exists, should point
# to the directory containing the main Perl executable specified here (i.e.
# "perl.exe").
PERL = perl.exe
# Enable debugging symbols?
!ifndef DEBUG
DEBUG = 0
!endif
!ifdef FOSSIL_DEBUG
|
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
INCL = $(INCL) /I"$(SSLINCDIR)"
!endif
!if $(FOSSIL_ENABLE_TCL)!=0
INCL = $(INCL) /I"$(TCLINCDIR)"
!endif
CFLAGS = /nologo /wd4996
LDFLAGS =
!if $(FOSSIL_DYNAMIC_BUILD)!=0
LDFLAGS = $(LDFLAGS) /MANIFEST
!else
LDFLAGS = $(LDFLAGS) /NODEFAULTLIB:msvcrt /MANIFEST:NO
!endif
!if $(FOSSIL_ENABLE_WINXP)!=0
|
|
>
>
>
|
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
INCL = $(INCL) /I"$(SSLINCDIR)"
!endif
!if $(FOSSIL_ENABLE_TCL)!=0
INCL = $(INCL) /I"$(TCLINCDIR)"
!endif
CFLAGS = /nologo
LDFLAGS =
CFLAGS = $(CFLAGS) /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS
CFLAGS = $(CFLAGS) /D_CRT_NONSTDC_NO_DEPRECATE /D_CRT_NONSTDC_NO_WARNINGS
!if $(FOSSIL_DYNAMIC_BUILD)!=0
LDFLAGS = $(LDFLAGS) /MANIFEST
!else
LDFLAGS = $(LDFLAGS) /NODEFAULTLIB:msvcrt /MANIFEST:NO
!endif
!if $(FOSSIL_ENABLE_WINXP)!=0
|