Fossil SCM
Manually port all 'cosmetic' fixes from the optionalMiniz branch to trunk.
Commit
894e72b2980e89610f870cfd066cb7f01fe7404a
Parent
bdf9c708075dbe6…
9 files changed
+2
-2
+3
-3
+19
-14
+2
-2
+2
-2
+8
-3
+8
-3
+4
-4
+3
-3
M
auto.def
+2
-2
| --- auto.def | ||
| +++ auto.def | ||
| @@ -2,11 +2,11 @@ | ||
| 2 | 2 | |
| 3 | 3 | use cc cc-lib |
| 4 | 4 | |
| 5 | 5 | options { |
| 6 | 6 | with-openssl:path|auto|none |
| 7 | - => {Look for openssl in the given path, or auto or none} | |
| 7 | + => {Look for OpenSSL in the given path, or auto or none} | |
| 8 | 8 | with-zlib:path => {Look for zlib in the given path} |
| 9 | 9 | with-th1-hooks=0 => {Enable TH1 hooks for commands and web pages} |
| 10 | 10 | with-tcl:path => {Enable Tcl integration, with Tcl in the specified path} |
| 11 | 11 | with-tcl-stubs=0 => {Enable Tcl integration via stubs library mechanism} |
| 12 | 12 | with-tcl-private-stubs=0 |
| @@ -161,11 +161,11 @@ | ||
| 161 | 161 | define-append EXTRA_CFLAGS $cflags |
| 162 | 162 | define-append EXTRA_LDFLAGS $tclconfig(TCL_LD_FLAGS) |
| 163 | 163 | define FOSSIL_ENABLE_TCL |
| 164 | 164 | } |
| 165 | 165 | |
| 166 | -# Helper for openssl checking | |
| 166 | +# Helper for OpenSSL checking | |
| 167 | 167 | proc check-for-openssl {msg {cflags {}}} { |
| 168 | 168 | msg-checking "Checking for $msg..." |
| 169 | 169 | set rc 0 |
| 170 | 170 | msg-quiet cc-with [list -cflags $cflags -libs {-lssl -lcrypto}] { |
| 171 | 171 | if {[cc-check-includes openssl/ssl.h] && [cc-check-functions SSL_new]} { |
| 172 | 172 |
| --- auto.def | |
| +++ auto.def | |
| @@ -2,11 +2,11 @@ | |
| 2 | |
| 3 | use cc cc-lib |
| 4 | |
| 5 | options { |
| 6 | with-openssl:path|auto|none |
| 7 | => {Look for openssl in the given path, or auto or none} |
| 8 | with-zlib:path => {Look for zlib in the given path} |
| 9 | with-th1-hooks=0 => {Enable TH1 hooks for commands and web pages} |
| 10 | with-tcl:path => {Enable Tcl integration, with Tcl in the specified path} |
| 11 | with-tcl-stubs=0 => {Enable Tcl integration via stubs library mechanism} |
| 12 | with-tcl-private-stubs=0 |
| @@ -161,11 +161,11 @@ | |
| 161 | define-append EXTRA_CFLAGS $cflags |
| 162 | define-append EXTRA_LDFLAGS $tclconfig(TCL_LD_FLAGS) |
| 163 | define FOSSIL_ENABLE_TCL |
| 164 | } |
| 165 | |
| 166 | # Helper for openssl checking |
| 167 | proc check-for-openssl {msg {cflags {}}} { |
| 168 | msg-checking "Checking for $msg..." |
| 169 | set rc 0 |
| 170 | msg-quiet cc-with [list -cflags $cflags -libs {-lssl -lcrypto}] { |
| 171 | if {[cc-check-includes openssl/ssl.h] && [cc-check-functions SSL_new]} { |
| 172 |
| --- auto.def | |
| +++ auto.def | |
| @@ -2,11 +2,11 @@ | |
| 2 | |
| 3 | use cc cc-lib |
| 4 | |
| 5 | options { |
| 6 | with-openssl:path|auto|none |
| 7 | => {Look for OpenSSL in the given path, or auto or none} |
| 8 | with-zlib:path => {Look for zlib in the given path} |
| 9 | with-th1-hooks=0 => {Enable TH1 hooks for commands and web pages} |
| 10 | with-tcl:path => {Enable Tcl integration, with Tcl in the specified path} |
| 11 | with-tcl-stubs=0 => {Enable Tcl integration via stubs library mechanism} |
| 12 | with-tcl-private-stubs=0 |
| @@ -161,11 +161,11 @@ | |
| 161 | define-append EXTRA_CFLAGS $cflags |
| 162 | define-append EXTRA_LDFLAGS $tclconfig(TCL_LD_FLAGS) |
| 163 | define FOSSIL_ENABLE_TCL |
| 164 | } |
| 165 | |
| 166 | # Helper for OpenSSL checking |
| 167 | proc check-for-openssl {msg {cflags {}}} { |
| 168 | msg-checking "Checking for $msg..." |
| 169 | set rc 0 |
| 170 | msg-quiet cc-with [list -cflags $cflags -libs {-lssl -lcrypto}] { |
| 171 | if {[cc-check-includes openssl/ssl.h] && [cc-check-functions SSL_new]} { |
| 172 |
+3
-3
| --- src/main.mk | ||
| +++ src/main.mk | ||
| @@ -403,11 +403,11 @@ | ||
| 403 | 403 | |
| 404 | 404 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 405 | 405 | # to 1. If it is set to 1, then there is no need to build or link |
| 406 | 406 | # the sqlite3.o object. Instead, the system sqlite will be linked |
| 407 | 407 | # using -lsqlite3. |
| 408 | -SQLITE3_OBJ.1 = | |
| 408 | +SQLITE3_OBJ.1 = | |
| 409 | 409 | SQLITE3_OBJ.0 = $(OBJDIR)/sqlite3.o |
| 410 | 410 | SQLITE3_OBJ. = $(SQLITE3_OBJ.0) |
| 411 | 411 | |
| 412 | 412 | EXTRAOBJ = $(SQLITE3_OBJ.$(USE_SYSTEM_SQLITE)) $(OBJDIR)/shell.o $(OBJDIR)/th.o $(OBJDIR)/th_lang.o $(OBJDIR)/th_tcl.o $(OBJDIR)/cson_amalgamation.o |
| 413 | 413 | |
| @@ -415,14 +415,14 @@ | ||
| 415 | 415 | $(TCC) -o $(APPNAME) $(OBJ) $(EXTRAOBJ) $(LIB) |
| 416 | 416 | |
| 417 | 417 | # This rule prevents make from using its default rules to try build |
| 418 | 418 | # an executable named "manifest" out of the file named "manifest.c" |
| 419 | 419 | # |
| 420 | -$(SRCDIR)/../manifest: | |
| 420 | +$(SRCDIR)/../manifest: | |
| 421 | 421 | # noop |
| 422 | 422 | |
| 423 | -clean: | |
| 423 | +clean: | |
| 424 | 424 | rm -rf $(OBJDIR)/* $(APPNAME) |
| 425 | 425 | |
| 426 | 426 | |
| 427 | 427 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 428 | 428 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 429 | 429 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -403,11 +403,11 @@ | |
| 403 | |
| 404 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 405 | # to 1. If it is set to 1, then there is no need to build or link |
| 406 | # the sqlite3.o object. Instead, the system sqlite will be linked |
| 407 | # using -lsqlite3. |
| 408 | SQLITE3_OBJ.1 = |
| 409 | SQLITE3_OBJ.0 = $(OBJDIR)/sqlite3.o |
| 410 | SQLITE3_OBJ. = $(SQLITE3_OBJ.0) |
| 411 | |
| 412 | EXTRAOBJ = $(SQLITE3_OBJ.$(USE_SYSTEM_SQLITE)) $(OBJDIR)/shell.o $(OBJDIR)/th.o $(OBJDIR)/th_lang.o $(OBJDIR)/th_tcl.o $(OBJDIR)/cson_amalgamation.o |
| 413 | |
| @@ -415,14 +415,14 @@ | |
| 415 | $(TCC) -o $(APPNAME) $(OBJ) $(EXTRAOBJ) $(LIB) |
| 416 | |
| 417 | # This rule prevents make from using its default rules to try build |
| 418 | # an executable named "manifest" out of the file named "manifest.c" |
| 419 | # |
| 420 | $(SRCDIR)/../manifest: |
| 421 | # noop |
| 422 | |
| 423 | clean: |
| 424 | rm -rf $(OBJDIR)/* $(APPNAME) |
| 425 | |
| 426 | |
| 427 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 428 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 429 |
| --- src/main.mk | |
| +++ src/main.mk | |
| @@ -403,11 +403,11 @@ | |
| 403 | |
| 404 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 405 | # to 1. If it is set to 1, then there is no need to build or link |
| 406 | # the sqlite3.o object. Instead, the system sqlite will be linked |
| 407 | # using -lsqlite3. |
| 408 | SQLITE3_OBJ.1 = |
| 409 | SQLITE3_OBJ.0 = $(OBJDIR)/sqlite3.o |
| 410 | SQLITE3_OBJ. = $(SQLITE3_OBJ.0) |
| 411 | |
| 412 | EXTRAOBJ = $(SQLITE3_OBJ.$(USE_SYSTEM_SQLITE)) $(OBJDIR)/shell.o $(OBJDIR)/th.o $(OBJDIR)/th_lang.o $(OBJDIR)/th_tcl.o $(OBJDIR)/cson_amalgamation.o |
| 413 | |
| @@ -415,14 +415,14 @@ | |
| 415 | $(TCC) -o $(APPNAME) $(OBJ) $(EXTRAOBJ) $(LIB) |
| 416 | |
| 417 | # This rule prevents make from using its default rules to try build |
| 418 | # an executable named "manifest" out of the file named "manifest.c" |
| 419 | # |
| 420 | $(SRCDIR)/../manifest: |
| 421 | # noop |
| 422 | |
| 423 | clean: |
| 424 | rm -rf $(OBJDIR)/* $(APPNAME) |
| 425 | |
| 426 | |
| 427 | $(OBJDIR)/page_index.h: $(TRANS_SRC) $(OBJDIR)/mkindex |
| 428 | $(OBJDIR)/mkindex $(TRANS_SRC) >$@ |
| 429 |
+19
-14
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -268,11 +268,11 @@ | ||
| 268 | 268 | |
| 269 | 269 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 270 | 270 | # to 1. If it is set to 1, then there is no need to build or link |
| 271 | 271 | # the sqlite3.o object. Instead, the system sqlite will be linked |
| 272 | 272 | # using -lsqlite3. |
| 273 | -SQLITE3_OBJ.1 = | |
| 273 | +SQLITE3_OBJ.1 = | |
| 274 | 274 | SQLITE3_OBJ.0 = $(OBJDIR)/sqlite3.o |
| 275 | 275 | SQLITE3_OBJ. = $(SQLITE3_OBJ.0) |
| 276 | 276 | |
| 277 | 277 | EXTRAOBJ = \ |
| 278 | 278 | $(SQLITE3_OBJ.$(USE_SYSTEM_SQLITE)) \ |
| @@ -286,14 +286,14 @@ | ||
| 286 | 286 | $(TCC) -o $(APPNAME) $(OBJ) $(EXTRAOBJ) $(LIB) |
| 287 | 287 | |
| 288 | 288 | # This rule prevents make from using its default rules to try build |
| 289 | 289 | # an executable named "manifest" out of the file named "manifest.c" |
| 290 | 290 | # |
| 291 | -$(SRCDIR)/../manifest: | |
| 291 | +$(SRCDIR)/../manifest: | |
| 292 | 292 | # noop |
| 293 | 293 | |
| 294 | -clean: | |
| 294 | +clean: | |
| 295 | 295 | rm -rf $(OBJDIR)/* $(APPNAME) |
| 296 | 296 | |
| 297 | 297 | }] |
| 298 | 298 | |
| 299 | 299 | set mhargs {} |
| @@ -580,25 +580,30 @@ | ||
| 580 | 580 | #### We add the -static option here so that we can build a static |
| 581 | 581 | # executable that will run in a chroot jail. |
| 582 | 582 | # |
| 583 | 583 | LIB = -static |
| 584 | 584 | |
| 585 | -# MinGW: If available, use the Unicode capable runtime startup code. | |
| 585 | +#### MinGW: If available, use the Unicode capable runtime startup code. | |
| 586 | +# | |
| 586 | 587 | ifndef MINGW_IS_32BIT_ONLY |
| 587 | 588 | LIB += -municode |
| 588 | 589 | endif |
| 589 | 590 | |
| 591 | +#### SQLite: If enabled, use the system SQLite library. | |
| 592 | +# | |
| 590 | 593 | ifdef USE_SYSTEM_SQLITE |
| 591 | 594 | LIB += -lsqlite3 |
| 592 | 595 | endif |
| 593 | 596 | |
| 594 | -# OpenSSL: Add the necessary libraries required, if enabled. | |
| 597 | +#### OpenSSL: Add the necessary libraries required, if enabled. | |
| 598 | +# | |
| 595 | 599 | ifdef FOSSIL_ENABLE_SSL |
| 596 | 600 | LIB += -lssl -lcrypto -lgdi32 |
| 597 | 601 | endif |
| 598 | 602 | |
| 599 | -# Tcl: Add the necessary libraries required, if enabled. | |
| 603 | +#### Tcl: Add the necessary libraries required, if enabled. | |
| 604 | +# | |
| 600 | 605 | ifdef FOSSIL_ENABLE_TCL |
| 601 | 606 | LIB += $(LIBTCL) |
| 602 | 607 | endif |
| 603 | 608 | |
| 604 | 609 | #### Extra arguments for linking the finished binary. Fossil needs |
| @@ -921,11 +926,11 @@ | ||
| 921 | 926 | APPNAME = $(OBJDIR)\fossil$(E) |
| 922 | 927 | |
| 923 | 928 | all: $(APPNAME) |
| 924 | 929 | |
| 925 | 930 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OBJDIR)\link |
| 926 | - cd $(OBJDIR) | |
| 931 | + cd $(OBJDIR) | |
| 927 | 932 | $(DMDIR)\bin\link @link |
| 928 | 933 | |
| 929 | 934 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 930 | 935 | $(RC) $(RCFLAGS) -o$@ $** |
| 931 | 936 | |
| @@ -970,11 +975,11 @@ | ||
| 970 | 975 | cp $@ $@ |
| 971 | 976 | |
| 972 | 977 | VERSION.h : version$E $B\manifest.uuid $B\manifest $B\VERSION |
| 973 | 978 | +$** > $@ |
| 974 | 979 | |
| 975 | -page_index.h: mkindex$E $(SRC) | |
| 980 | +page_index.h: mkindex$E $(SRC) | |
| 976 | 981 | +$** > $@ |
| 977 | 982 | |
| 978 | 983 | clean: |
| 979 | 984 | -del $(OBJDIR)\*.obj |
| 980 | 985 | -del *.obj *_.c *.h *.map |
| @@ -1168,31 +1173,31 @@ | ||
| 1168 | 1173 | |
| 1169 | 1174 | all: $(OX) $(APPNAME) |
| 1170 | 1175 | |
| 1171 | 1176 | zlib: |
| 1172 | 1177 | @echo Building zlib from "$(ZLIBDIR)"... |
| 1173 | - @pushd "$(ZLIBDIR)" && nmake /f win32\Makefile.msc $(ZLIB) && popd | |
| 1178 | + @pushd "$(ZLIBDIR)" && $(MAKE) /f win32\Makefile.msc $(ZLIB) && popd | |
| 1174 | 1179 | |
| 1175 | 1180 | !ifdef FOSSIL_ENABLE_SSL |
| 1176 | 1181 | openssl: |
| 1177 | 1182 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 1178 | 1183 | !if "$(PERLDIR)" != "" |
| 1179 | 1184 | @set PATH=$(PERLDIR);$(PATH) |
| 1180 | 1185 | !endif |
| 1181 | 1186 | @pushd "$(SSLDIR)" && $(PERL) Configure VC-WIN32 no-asm && popd |
| 1182 | 1187 | @pushd "$(SSLDIR)" && call ms\do_ms.bat && popd |
| 1183 | - @pushd "$(SSLDIR)" && $(MAKE) -f ms\nt.mak all && popd | |
| 1188 | + @pushd "$(SSLDIR)" && $(MAKE) /f ms\nt.mak all && popd | |
| 1184 | 1189 | !endif |
| 1185 | 1190 | |
| 1186 | 1191 | EXTRATARGETS = $(EXTRATARGETS) zlib |
| 1187 | 1192 | |
| 1188 | 1193 | !ifdef FOSSIL_ENABLE_SSL |
| 1189 | 1194 | EXTRATARGETS = $(EXTRATARGETS) openssl |
| 1190 | 1195 | !endif |
| 1191 | 1196 | |
| 1192 | 1197 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(EXTRATARGETS) |
| 1193 | - cd $(OX) | |
| 1198 | + cd $(OX) | |
| 1194 | 1199 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 1195 | 1200 | |
| 1196 | 1201 | $(OX)\linkopts: $B\win\Makefile.msc} |
| 1197 | 1202 | set redir {>} |
| 1198 | 1203 | foreach s [lsort [concat $src $AdditionalObj]] { |
| @@ -1235,11 +1240,11 @@ | ||
| 1235 | 1240 | VERSION.h : mkversion$E $B\manifest.uuid $B\manifest $B\VERSION |
| 1236 | 1241 | $** > $@ |
| 1237 | 1242 | $(OX)\cson_amalgamation$O : $(SRCDIR)\cson_amalgamation.c |
| 1238 | 1243 | $(TCC) /Fo$@ /c $** |
| 1239 | 1244 | |
| 1240 | -page_index.h: mkindex$E $(SRC) | |
| 1245 | +page_index.h: mkindex$E $(SRC) | |
| 1241 | 1246 | $** > $@ |
| 1242 | 1247 | |
| 1243 | 1248 | clean: |
| 1244 | 1249 | -del $(OX)\*.obj |
| 1245 | 1250 | -del *.obj |
| @@ -1353,13 +1358,13 @@ | ||
| 1353 | 1358 | # and |
| 1354 | 1359 | # PellesC 6.00.4 |
| 1355 | 1360 | # gmake 3.80 |
| 1356 | 1361 | # zlib sources 1.2.5 |
| 1357 | 1362 | # Windows 7 Home Premium |
| 1358 | -# | |
| 1363 | +# | |
| 1359 | 1364 | |
| 1360 | -# | |
| 1365 | +# | |
| 1361 | 1366 | PellesCDir=c:\Programme\PellesC |
| 1362 | 1367 | |
| 1363 | 1368 | # Select between 32/64 bit code, default is 32 bit |
| 1364 | 1369 | #TARGETVERSION=64 |
| 1365 | 1370 | |
| 1366 | 1371 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -268,11 +268,11 @@ | |
| 268 | |
| 269 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 270 | # to 1. If it is set to 1, then there is no need to build or link |
| 271 | # the sqlite3.o object. Instead, the system sqlite will be linked |
| 272 | # using -lsqlite3. |
| 273 | SQLITE3_OBJ.1 = |
| 274 | SQLITE3_OBJ.0 = $(OBJDIR)/sqlite3.o |
| 275 | SQLITE3_OBJ. = $(SQLITE3_OBJ.0) |
| 276 | |
| 277 | EXTRAOBJ = \ |
| 278 | $(SQLITE3_OBJ.$(USE_SYSTEM_SQLITE)) \ |
| @@ -286,14 +286,14 @@ | |
| 286 | $(TCC) -o $(APPNAME) $(OBJ) $(EXTRAOBJ) $(LIB) |
| 287 | |
| 288 | # This rule prevents make from using its default rules to try build |
| 289 | # an executable named "manifest" out of the file named "manifest.c" |
| 290 | # |
| 291 | $(SRCDIR)/../manifest: |
| 292 | # noop |
| 293 | |
| 294 | clean: |
| 295 | rm -rf $(OBJDIR)/* $(APPNAME) |
| 296 | |
| 297 | }] |
| 298 | |
| 299 | set mhargs {} |
| @@ -580,25 +580,30 @@ | |
| 580 | #### We add the -static option here so that we can build a static |
| 581 | # executable that will run in a chroot jail. |
| 582 | # |
| 583 | LIB = -static |
| 584 | |
| 585 | # MinGW: If available, use the Unicode capable runtime startup code. |
| 586 | ifndef MINGW_IS_32BIT_ONLY |
| 587 | LIB += -municode |
| 588 | endif |
| 589 | |
| 590 | ifdef USE_SYSTEM_SQLITE |
| 591 | LIB += -lsqlite3 |
| 592 | endif |
| 593 | |
| 594 | # OpenSSL: Add the necessary libraries required, if enabled. |
| 595 | ifdef FOSSIL_ENABLE_SSL |
| 596 | LIB += -lssl -lcrypto -lgdi32 |
| 597 | endif |
| 598 | |
| 599 | # Tcl: Add the necessary libraries required, if enabled. |
| 600 | ifdef FOSSIL_ENABLE_TCL |
| 601 | LIB += $(LIBTCL) |
| 602 | endif |
| 603 | |
| 604 | #### Extra arguments for linking the finished binary. Fossil needs |
| @@ -921,11 +926,11 @@ | |
| 921 | APPNAME = $(OBJDIR)\fossil$(E) |
| 922 | |
| 923 | all: $(APPNAME) |
| 924 | |
| 925 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OBJDIR)\link |
| 926 | cd $(OBJDIR) |
| 927 | $(DMDIR)\bin\link @link |
| 928 | |
| 929 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 930 | $(RC) $(RCFLAGS) -o$@ $** |
| 931 | |
| @@ -970,11 +975,11 @@ | |
| 970 | cp $@ $@ |
| 971 | |
| 972 | VERSION.h : version$E $B\manifest.uuid $B\manifest $B\VERSION |
| 973 | +$** > $@ |
| 974 | |
| 975 | page_index.h: mkindex$E $(SRC) |
| 976 | +$** > $@ |
| 977 | |
| 978 | clean: |
| 979 | -del $(OBJDIR)\*.obj |
| 980 | -del *.obj *_.c *.h *.map |
| @@ -1168,31 +1173,31 @@ | |
| 1168 | |
| 1169 | all: $(OX) $(APPNAME) |
| 1170 | |
| 1171 | zlib: |
| 1172 | @echo Building zlib from "$(ZLIBDIR)"... |
| 1173 | @pushd "$(ZLIBDIR)" && nmake /f win32\Makefile.msc $(ZLIB) && popd |
| 1174 | |
| 1175 | !ifdef FOSSIL_ENABLE_SSL |
| 1176 | openssl: |
| 1177 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 1178 | !if "$(PERLDIR)" != "" |
| 1179 | @set PATH=$(PERLDIR);$(PATH) |
| 1180 | !endif |
| 1181 | @pushd "$(SSLDIR)" && $(PERL) Configure VC-WIN32 no-asm && popd |
| 1182 | @pushd "$(SSLDIR)" && call ms\do_ms.bat && popd |
| 1183 | @pushd "$(SSLDIR)" && $(MAKE) -f ms\nt.mak all && popd |
| 1184 | !endif |
| 1185 | |
| 1186 | EXTRATARGETS = $(EXTRATARGETS) zlib |
| 1187 | |
| 1188 | !ifdef FOSSIL_ENABLE_SSL |
| 1189 | EXTRATARGETS = $(EXTRATARGETS) openssl |
| 1190 | !endif |
| 1191 | |
| 1192 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(EXTRATARGETS) |
| 1193 | cd $(OX) |
| 1194 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 1195 | |
| 1196 | $(OX)\linkopts: $B\win\Makefile.msc} |
| 1197 | set redir {>} |
| 1198 | foreach s [lsort [concat $src $AdditionalObj]] { |
| @@ -1235,11 +1240,11 @@ | |
| 1235 | VERSION.h : mkversion$E $B\manifest.uuid $B\manifest $B\VERSION |
| 1236 | $** > $@ |
| 1237 | $(OX)\cson_amalgamation$O : $(SRCDIR)\cson_amalgamation.c |
| 1238 | $(TCC) /Fo$@ /c $** |
| 1239 | |
| 1240 | page_index.h: mkindex$E $(SRC) |
| 1241 | $** > $@ |
| 1242 | |
| 1243 | clean: |
| 1244 | -del $(OX)\*.obj |
| 1245 | -del *.obj |
| @@ -1353,13 +1358,13 @@ | |
| 1353 | # and |
| 1354 | # PellesC 6.00.4 |
| 1355 | # gmake 3.80 |
| 1356 | # zlib sources 1.2.5 |
| 1357 | # Windows 7 Home Premium |
| 1358 | # |
| 1359 | |
| 1360 | # |
| 1361 | PellesCDir=c:\Programme\PellesC |
| 1362 | |
| 1363 | # Select between 32/64 bit code, default is 32 bit |
| 1364 | #TARGETVERSION=64 |
| 1365 | |
| 1366 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -268,11 +268,11 @@ | |
| 268 | |
| 269 | # The USE_SYSTEM_SQLITE variable may be undefined, set to 0, or set |
| 270 | # to 1. If it is set to 1, then there is no need to build or link |
| 271 | # the sqlite3.o object. Instead, the system sqlite will be linked |
| 272 | # using -lsqlite3. |
| 273 | SQLITE3_OBJ.1 = |
| 274 | SQLITE3_OBJ.0 = $(OBJDIR)/sqlite3.o |
| 275 | SQLITE3_OBJ. = $(SQLITE3_OBJ.0) |
| 276 | |
| 277 | EXTRAOBJ = \ |
| 278 | $(SQLITE3_OBJ.$(USE_SYSTEM_SQLITE)) \ |
| @@ -286,14 +286,14 @@ | |
| 286 | $(TCC) -o $(APPNAME) $(OBJ) $(EXTRAOBJ) $(LIB) |
| 287 | |
| 288 | # This rule prevents make from using its default rules to try build |
| 289 | # an executable named "manifest" out of the file named "manifest.c" |
| 290 | # |
| 291 | $(SRCDIR)/../manifest: |
| 292 | # noop |
| 293 | |
| 294 | clean: |
| 295 | rm -rf $(OBJDIR)/* $(APPNAME) |
| 296 | |
| 297 | }] |
| 298 | |
| 299 | set mhargs {} |
| @@ -580,25 +580,30 @@ | |
| 580 | #### We add the -static option here so that we can build a static |
| 581 | # executable that will run in a chroot jail. |
| 582 | # |
| 583 | LIB = -static |
| 584 | |
| 585 | #### MinGW: If available, use the Unicode capable runtime startup code. |
| 586 | # |
| 587 | ifndef MINGW_IS_32BIT_ONLY |
| 588 | LIB += -municode |
| 589 | endif |
| 590 | |
| 591 | #### SQLite: If enabled, use the system SQLite library. |
| 592 | # |
| 593 | ifdef USE_SYSTEM_SQLITE |
| 594 | LIB += -lsqlite3 |
| 595 | endif |
| 596 | |
| 597 | #### OpenSSL: Add the necessary libraries required, if enabled. |
| 598 | # |
| 599 | ifdef FOSSIL_ENABLE_SSL |
| 600 | LIB += -lssl -lcrypto -lgdi32 |
| 601 | endif |
| 602 | |
| 603 | #### Tcl: Add the necessary libraries required, if enabled. |
| 604 | # |
| 605 | ifdef FOSSIL_ENABLE_TCL |
| 606 | LIB += $(LIBTCL) |
| 607 | endif |
| 608 | |
| 609 | #### Extra arguments for linking the finished binary. Fossil needs |
| @@ -921,11 +926,11 @@ | |
| 926 | APPNAME = $(OBJDIR)\fossil$(E) |
| 927 | |
| 928 | all: $(APPNAME) |
| 929 | |
| 930 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OBJDIR)\link |
| 931 | cd $(OBJDIR) |
| 932 | $(DMDIR)\bin\link @link |
| 933 | |
| 934 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 935 | $(RC) $(RCFLAGS) -o$@ $** |
| 936 | |
| @@ -970,11 +975,11 @@ | |
| 975 | cp $@ $@ |
| 976 | |
| 977 | VERSION.h : version$E $B\manifest.uuid $B\manifest $B\VERSION |
| 978 | +$** > $@ |
| 979 | |
| 980 | page_index.h: mkindex$E $(SRC) |
| 981 | +$** > $@ |
| 982 | |
| 983 | clean: |
| 984 | -del $(OBJDIR)\*.obj |
| 985 | -del *.obj *_.c *.h *.map |
| @@ -1168,31 +1173,31 @@ | |
| 1173 | |
| 1174 | all: $(OX) $(APPNAME) |
| 1175 | |
| 1176 | zlib: |
| 1177 | @echo Building zlib from "$(ZLIBDIR)"... |
| 1178 | @pushd "$(ZLIBDIR)" && $(MAKE) /f win32\Makefile.msc $(ZLIB) && popd |
| 1179 | |
| 1180 | !ifdef FOSSIL_ENABLE_SSL |
| 1181 | openssl: |
| 1182 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 1183 | !if "$(PERLDIR)" != "" |
| 1184 | @set PATH=$(PERLDIR);$(PATH) |
| 1185 | !endif |
| 1186 | @pushd "$(SSLDIR)" && $(PERL) Configure VC-WIN32 no-asm && popd |
| 1187 | @pushd "$(SSLDIR)" && call ms\do_ms.bat && popd |
| 1188 | @pushd "$(SSLDIR)" && $(MAKE) /f ms\nt.mak all && popd |
| 1189 | !endif |
| 1190 | |
| 1191 | EXTRATARGETS = $(EXTRATARGETS) zlib |
| 1192 | |
| 1193 | !ifdef FOSSIL_ENABLE_SSL |
| 1194 | EXTRATARGETS = $(EXTRATARGETS) openssl |
| 1195 | !endif |
| 1196 | |
| 1197 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(EXTRATARGETS) |
| 1198 | cd $(OX) |
| 1199 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 1200 | |
| 1201 | $(OX)\linkopts: $B\win\Makefile.msc} |
| 1202 | set redir {>} |
| 1203 | foreach s [lsort [concat $src $AdditionalObj]] { |
| @@ -1235,11 +1240,11 @@ | |
| 1240 | VERSION.h : mkversion$E $B\manifest.uuid $B\manifest $B\VERSION |
| 1241 | $** > $@ |
| 1242 | $(OX)\cson_amalgamation$O : $(SRCDIR)\cson_amalgamation.c |
| 1243 | $(TCC) /Fo$@ /c $** |
| 1244 | |
| 1245 | page_index.h: mkindex$E $(SRC) |
| 1246 | $** > $@ |
| 1247 | |
| 1248 | clean: |
| 1249 | -del $(OX)\*.obj |
| 1250 | -del *.obj |
| @@ -1353,13 +1358,13 @@ | |
| 1358 | # and |
| 1359 | # PellesC 6.00.4 |
| 1360 | # gmake 3.80 |
| 1361 | # zlib sources 1.2.5 |
| 1362 | # Windows 7 Home Premium |
| 1363 | # |
| 1364 | |
| 1365 | # |
| 1366 | PellesCDir=c:\Programme\PellesC |
| 1367 | |
| 1368 | # Select between 32/64 bit code, default is 32 bit |
| 1369 | #TARGETVERSION=64 |
| 1370 | |
| 1371 |
+2
-2
| --- win/Makefile.PellesCGMake | ||
| +++ win/Makefile.PellesCGMake | ||
| @@ -30,13 +30,13 @@ | ||
| 30 | 30 | # and |
| 31 | 31 | # PellesC 6.00.4 |
| 32 | 32 | # gmake 3.80 |
| 33 | 33 | # zlib sources 1.2.5 |
| 34 | 34 | # Windows 7 Home Premium |
| 35 | -# | |
| 35 | +# | |
| 36 | 36 | |
| 37 | -# | |
| 37 | +# | |
| 38 | 38 | PellesCDir=c:\Programme\PellesC |
| 39 | 39 | |
| 40 | 40 | # Select between 32/64 bit code, default is 32 bit |
| 41 | 41 | #TARGETVERSION=64 |
| 42 | 42 | |
| 43 | 43 |
| --- win/Makefile.PellesCGMake | |
| +++ win/Makefile.PellesCGMake | |
| @@ -30,13 +30,13 @@ | |
| 30 | # and |
| 31 | # PellesC 6.00.4 |
| 32 | # gmake 3.80 |
| 33 | # zlib sources 1.2.5 |
| 34 | # Windows 7 Home Premium |
| 35 | # |
| 36 | |
| 37 | # |
| 38 | PellesCDir=c:\Programme\PellesC |
| 39 | |
| 40 | # Select between 32/64 bit code, default is 32 bit |
| 41 | #TARGETVERSION=64 |
| 42 | |
| 43 |
| --- win/Makefile.PellesCGMake | |
| +++ win/Makefile.PellesCGMake | |
| @@ -30,13 +30,13 @@ | |
| 30 | # and |
| 31 | # PellesC 6.00.4 |
| 32 | # gmake 3.80 |
| 33 | # zlib sources 1.2.5 |
| 34 | # Windows 7 Home Premium |
| 35 | # |
| 36 | |
| 37 | # |
| 38 | PellesCDir=c:\Programme\PellesC |
| 39 | |
| 40 | # Select between 32/64 bit code, default is 32 bit |
| 41 | #TARGETVERSION=64 |
| 42 | |
| 43 |
+2
-2
| --- win/Makefile.dmc | ||
| +++ win/Makefile.dmc | ||
| @@ -41,11 +41,11 @@ | ||
| 41 | 41 | APPNAME = $(OBJDIR)\fossil$(E) |
| 42 | 42 | |
| 43 | 43 | all: $(APPNAME) |
| 44 | 44 | |
| 45 | 45 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OBJDIR)\link |
| 46 | - cd $(OBJDIR) | |
| 46 | + cd $(OBJDIR) | |
| 47 | 47 | $(DMDIR)\bin\link @link |
| 48 | 48 | |
| 49 | 49 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 50 | 50 | $(RC) $(RCFLAGS) -o$@ $** |
| 51 | 51 | |
| @@ -85,11 +85,11 @@ | ||
| 85 | 85 | cp $@ $@ |
| 86 | 86 | |
| 87 | 87 | VERSION.h : version$E $B\manifest.uuid $B\manifest $B\VERSION |
| 88 | 88 | +$** > $@ |
| 89 | 89 | |
| 90 | -page_index.h: mkindex$E $(SRC) | |
| 90 | +page_index.h: mkindex$E $(SRC) | |
| 91 | 91 | +$** > $@ |
| 92 | 92 | |
| 93 | 93 | clean: |
| 94 | 94 | -del $(OBJDIR)\*.obj |
| 95 | 95 | -del *.obj *_.c *.h *.map |
| 96 | 96 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -41,11 +41,11 @@ | |
| 41 | APPNAME = $(OBJDIR)\fossil$(E) |
| 42 | |
| 43 | all: $(APPNAME) |
| 44 | |
| 45 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OBJDIR)\link |
| 46 | cd $(OBJDIR) |
| 47 | $(DMDIR)\bin\link @link |
| 48 | |
| 49 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 50 | $(RC) $(RCFLAGS) -o$@ $** |
| 51 | |
| @@ -85,11 +85,11 @@ | |
| 85 | cp $@ $@ |
| 86 | |
| 87 | VERSION.h : version$E $B\manifest.uuid $B\manifest $B\VERSION |
| 88 | +$** > $@ |
| 89 | |
| 90 | page_index.h: mkindex$E $(SRC) |
| 91 | +$** > $@ |
| 92 | |
| 93 | clean: |
| 94 | -del $(OBJDIR)\*.obj |
| 95 | -del *.obj *_.c *.h *.map |
| 96 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -41,11 +41,11 @@ | |
| 41 | APPNAME = $(OBJDIR)\fossil$(E) |
| 42 | |
| 43 | all: $(APPNAME) |
| 44 | |
| 45 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OBJDIR)\link |
| 46 | cd $(OBJDIR) |
| 47 | $(DMDIR)\bin\link @link |
| 48 | |
| 49 | $(OBJDIR)\fossil.res: $B\win\fossil.rc |
| 50 | $(RC) $(RCFLAGS) -o$@ $** |
| 51 | |
| @@ -85,11 +85,11 @@ | |
| 85 | cp $@ $@ |
| 86 | |
| 87 | VERSION.h : version$E $B\manifest.uuid $B\manifest $B\VERSION |
| 88 | +$** > $@ |
| 89 | |
| 90 | page_index.h: mkindex$E $(SRC) |
| 91 | +$** > $@ |
| 92 | |
| 93 | clean: |
| 94 | -del $(OBJDIR)\*.obj |
| 95 | -del *.obj *_.c *.h *.map |
| 96 |
+8
-3
| --- win/Makefile.mingw | ||
| +++ win/Makefile.mingw | ||
| @@ -216,25 +216,30 @@ | ||
| 216 | 216 | #### We add the -static option here so that we can build a static |
| 217 | 217 | # executable that will run in a chroot jail. |
| 218 | 218 | # |
| 219 | 219 | LIB = -static |
| 220 | 220 | |
| 221 | -# MinGW: If available, use the Unicode capable runtime startup code. | |
| 221 | +#### MinGW: If available, use the Unicode capable runtime startup code. | |
| 222 | +# | |
| 222 | 223 | ifndef MINGW_IS_32BIT_ONLY |
| 223 | 224 | LIB += -municode |
| 224 | 225 | endif |
| 225 | 226 | |
| 227 | +#### SQLite: If enabled, use the system SQLite library. | |
| 228 | +# | |
| 226 | 229 | ifdef USE_SYSTEM_SQLITE |
| 227 | 230 | LIB += -lsqlite3 |
| 228 | 231 | endif |
| 229 | 232 | |
| 230 | -# OpenSSL: Add the necessary libraries required, if enabled. | |
| 233 | +#### OpenSSL: Add the necessary libraries required, if enabled. | |
| 234 | +# | |
| 231 | 235 | ifdef FOSSIL_ENABLE_SSL |
| 232 | 236 | LIB += -lssl -lcrypto -lgdi32 |
| 233 | 237 | endif |
| 234 | 238 | |
| 235 | -# Tcl: Add the necessary libraries required, if enabled. | |
| 239 | +#### Tcl: Add the necessary libraries required, if enabled. | |
| 240 | +# | |
| 236 | 241 | ifdef FOSSIL_ENABLE_TCL |
| 237 | 242 | LIB += $(LIBTCL) |
| 238 | 243 | endif |
| 239 | 244 | |
| 240 | 245 | #### Extra arguments for linking the finished binary. Fossil needs |
| 241 | 246 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -216,25 +216,30 @@ | |
| 216 | #### We add the -static option here so that we can build a static |
| 217 | # executable that will run in a chroot jail. |
| 218 | # |
| 219 | LIB = -static |
| 220 | |
| 221 | # MinGW: If available, use the Unicode capable runtime startup code. |
| 222 | ifndef MINGW_IS_32BIT_ONLY |
| 223 | LIB += -municode |
| 224 | endif |
| 225 | |
| 226 | ifdef USE_SYSTEM_SQLITE |
| 227 | LIB += -lsqlite3 |
| 228 | endif |
| 229 | |
| 230 | # OpenSSL: Add the necessary libraries required, if enabled. |
| 231 | ifdef FOSSIL_ENABLE_SSL |
| 232 | LIB += -lssl -lcrypto -lgdi32 |
| 233 | endif |
| 234 | |
| 235 | # Tcl: Add the necessary libraries required, if enabled. |
| 236 | ifdef FOSSIL_ENABLE_TCL |
| 237 | LIB += $(LIBTCL) |
| 238 | endif |
| 239 | |
| 240 | #### Extra arguments for linking the finished binary. Fossil needs |
| 241 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -216,25 +216,30 @@ | |
| 216 | #### We add the -static option here so that we can build a static |
| 217 | # executable that will run in a chroot jail. |
| 218 | # |
| 219 | LIB = -static |
| 220 | |
| 221 | #### MinGW: If available, use the Unicode capable runtime startup code. |
| 222 | # |
| 223 | ifndef MINGW_IS_32BIT_ONLY |
| 224 | LIB += -municode |
| 225 | endif |
| 226 | |
| 227 | #### SQLite: If enabled, use the system SQLite library. |
| 228 | # |
| 229 | ifdef USE_SYSTEM_SQLITE |
| 230 | LIB += -lsqlite3 |
| 231 | endif |
| 232 | |
| 233 | #### OpenSSL: Add the necessary libraries required, if enabled. |
| 234 | # |
| 235 | ifdef FOSSIL_ENABLE_SSL |
| 236 | LIB += -lssl -lcrypto -lgdi32 |
| 237 | endif |
| 238 | |
| 239 | #### Tcl: Add the necessary libraries required, if enabled. |
| 240 | # |
| 241 | ifdef FOSSIL_ENABLE_TCL |
| 242 | LIB += $(LIBTCL) |
| 243 | endif |
| 244 | |
| 245 | #### Extra arguments for linking the finished binary. Fossil needs |
| 246 |
+8
-3
| --- win/Makefile.mingw.mistachkin | ||
| +++ win/Makefile.mingw.mistachkin | ||
| @@ -216,25 +216,30 @@ | ||
| 216 | 216 | #### We add the -static option here so that we can build a static |
| 217 | 217 | # executable that will run in a chroot jail. |
| 218 | 218 | # |
| 219 | 219 | LIB = -static |
| 220 | 220 | |
| 221 | -# MinGW: If available, use the Unicode capable runtime startup code. | |
| 221 | +#### MinGW: If available, use the Unicode capable runtime startup code. | |
| 222 | +# | |
| 222 | 223 | ifndef MINGW_IS_32BIT_ONLY |
| 223 | 224 | LIB += -municode |
| 224 | 225 | endif |
| 225 | 226 | |
| 227 | +#### SQLite: If enabled, use the system SQLite library. | |
| 228 | +# | |
| 226 | 229 | ifdef USE_SYSTEM_SQLITE |
| 227 | 230 | LIB += -lsqlite3 |
| 228 | 231 | endif |
| 229 | 232 | |
| 230 | -# OpenSSL: Add the necessary libraries required, if enabled. | |
| 233 | +#### OpenSSL: Add the necessary libraries required, if enabled. | |
| 234 | +# | |
| 231 | 235 | ifdef FOSSIL_ENABLE_SSL |
| 232 | 236 | LIB += -lssl -lcrypto -lgdi32 |
| 233 | 237 | endif |
| 234 | 238 | |
| 235 | -# Tcl: Add the necessary libraries required, if enabled. | |
| 239 | +#### Tcl: Add the necessary libraries required, if enabled. | |
| 240 | +# | |
| 236 | 241 | ifdef FOSSIL_ENABLE_TCL |
| 237 | 242 | LIB += $(LIBTCL) |
| 238 | 243 | endif |
| 239 | 244 | |
| 240 | 245 | #### Extra arguments for linking the finished binary. Fossil needs |
| 241 | 246 |
| --- win/Makefile.mingw.mistachkin | |
| +++ win/Makefile.mingw.mistachkin | |
| @@ -216,25 +216,30 @@ | |
| 216 | #### We add the -static option here so that we can build a static |
| 217 | # executable that will run in a chroot jail. |
| 218 | # |
| 219 | LIB = -static |
| 220 | |
| 221 | # MinGW: If available, use the Unicode capable runtime startup code. |
| 222 | ifndef MINGW_IS_32BIT_ONLY |
| 223 | LIB += -municode |
| 224 | endif |
| 225 | |
| 226 | ifdef USE_SYSTEM_SQLITE |
| 227 | LIB += -lsqlite3 |
| 228 | endif |
| 229 | |
| 230 | # OpenSSL: Add the necessary libraries required, if enabled. |
| 231 | ifdef FOSSIL_ENABLE_SSL |
| 232 | LIB += -lssl -lcrypto -lgdi32 |
| 233 | endif |
| 234 | |
| 235 | # Tcl: Add the necessary libraries required, if enabled. |
| 236 | ifdef FOSSIL_ENABLE_TCL |
| 237 | LIB += $(LIBTCL) |
| 238 | endif |
| 239 | |
| 240 | #### Extra arguments for linking the finished binary. Fossil needs |
| 241 |
| --- win/Makefile.mingw.mistachkin | |
| +++ win/Makefile.mingw.mistachkin | |
| @@ -216,25 +216,30 @@ | |
| 216 | #### We add the -static option here so that we can build a static |
| 217 | # executable that will run in a chroot jail. |
| 218 | # |
| 219 | LIB = -static |
| 220 | |
| 221 | #### MinGW: If available, use the Unicode capable runtime startup code. |
| 222 | # |
| 223 | ifndef MINGW_IS_32BIT_ONLY |
| 224 | LIB += -municode |
| 225 | endif |
| 226 | |
| 227 | #### SQLite: If enabled, use the system SQLite library. |
| 228 | # |
| 229 | ifdef USE_SYSTEM_SQLITE |
| 230 | LIB += -lsqlite3 |
| 231 | endif |
| 232 | |
| 233 | #### OpenSSL: Add the necessary libraries required, if enabled. |
| 234 | # |
| 235 | ifdef FOSSIL_ENABLE_SSL |
| 236 | LIB += -lssl -lcrypto -lgdi32 |
| 237 | endif |
| 238 | |
| 239 | #### Tcl: Add the necessary libraries required, if enabled. |
| 240 | # |
| 241 | ifdef FOSSIL_ENABLE_TCL |
| 242 | LIB += $(LIBTCL) |
| 243 | endif |
| 244 | |
| 245 | #### Extra arguments for linking the finished binary. Fossil needs |
| 246 |
+4
-4
| --- win/Makefile.msc | ||
| +++ win/Makefile.msc | ||
| @@ -359,31 +359,31 @@ | ||
| 359 | 359 | |
| 360 | 360 | all: $(OX) $(APPNAME) |
| 361 | 361 | |
| 362 | 362 | zlib: |
| 363 | 363 | @echo Building zlib from "$(ZLIBDIR)"... |
| 364 | - @pushd "$(ZLIBDIR)" && nmake /f win32\Makefile.msc $(ZLIB) && popd | |
| 364 | + @pushd "$(ZLIBDIR)" && $(MAKE) /f win32\Makefile.msc $(ZLIB) && popd | |
| 365 | 365 | |
| 366 | 366 | !ifdef FOSSIL_ENABLE_SSL |
| 367 | 367 | openssl: |
| 368 | 368 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 369 | 369 | !if "$(PERLDIR)" != "" |
| 370 | 370 | @set PATH=$(PERLDIR);$(PATH) |
| 371 | 371 | !endif |
| 372 | 372 | @pushd "$(SSLDIR)" && $(PERL) Configure VC-WIN32 no-asm && popd |
| 373 | 373 | @pushd "$(SSLDIR)" && call ms\do_ms.bat && popd |
| 374 | - @pushd "$(SSLDIR)" && $(MAKE) -f ms\nt.mak all && popd | |
| 374 | + @pushd "$(SSLDIR)" && $(MAKE) /f ms\nt.mak all && popd | |
| 375 | 375 | !endif |
| 376 | 376 | |
| 377 | 377 | EXTRATARGETS = $(EXTRATARGETS) zlib |
| 378 | 378 | |
| 379 | 379 | !ifdef FOSSIL_ENABLE_SSL |
| 380 | 380 | EXTRATARGETS = $(EXTRATARGETS) openssl |
| 381 | 381 | !endif |
| 382 | 382 | |
| 383 | 383 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(EXTRATARGETS) |
| 384 | - cd $(OX) | |
| 384 | + cd $(OX) | |
| 385 | 385 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 386 | 386 | |
| 387 | 387 | $(OX)\linkopts: $B\win\Makefile.msc |
| 388 | 388 | echo $(OX)\add.obj > $@ |
| 389 | 389 | echo $(OX)\allrepo.obj >> $@ |
| @@ -537,11 +537,11 @@ | ||
| 537 | 537 | VERSION.h : mkversion$E $B\manifest.uuid $B\manifest $B\VERSION |
| 538 | 538 | $** > $@ |
| 539 | 539 | $(OX)\cson_amalgamation$O : $(SRCDIR)\cson_amalgamation.c |
| 540 | 540 | $(TCC) /Fo$@ /c $** |
| 541 | 541 | |
| 542 | -page_index.h: mkindex$E $(SRC) | |
| 542 | +page_index.h: mkindex$E $(SRC) | |
| 543 | 543 | $** > $@ |
| 544 | 544 | |
| 545 | 545 | clean: |
| 546 | 546 | -del $(OX)\*.obj |
| 547 | 547 | -del *.obj |
| 548 | 548 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -359,31 +359,31 @@ | |
| 359 | |
| 360 | all: $(OX) $(APPNAME) |
| 361 | |
| 362 | zlib: |
| 363 | @echo Building zlib from "$(ZLIBDIR)"... |
| 364 | @pushd "$(ZLIBDIR)" && nmake /f win32\Makefile.msc $(ZLIB) && popd |
| 365 | |
| 366 | !ifdef FOSSIL_ENABLE_SSL |
| 367 | openssl: |
| 368 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 369 | !if "$(PERLDIR)" != "" |
| 370 | @set PATH=$(PERLDIR);$(PATH) |
| 371 | !endif |
| 372 | @pushd "$(SSLDIR)" && $(PERL) Configure VC-WIN32 no-asm && popd |
| 373 | @pushd "$(SSLDIR)" && call ms\do_ms.bat && popd |
| 374 | @pushd "$(SSLDIR)" && $(MAKE) -f ms\nt.mak all && popd |
| 375 | !endif |
| 376 | |
| 377 | EXTRATARGETS = $(EXTRATARGETS) zlib |
| 378 | |
| 379 | !ifdef FOSSIL_ENABLE_SSL |
| 380 | EXTRATARGETS = $(EXTRATARGETS) openssl |
| 381 | !endif |
| 382 | |
| 383 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(EXTRATARGETS) |
| 384 | cd $(OX) |
| 385 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 386 | |
| 387 | $(OX)\linkopts: $B\win\Makefile.msc |
| 388 | echo $(OX)\add.obj > $@ |
| 389 | echo $(OX)\allrepo.obj >> $@ |
| @@ -537,11 +537,11 @@ | |
| 537 | VERSION.h : mkversion$E $B\manifest.uuid $B\manifest $B\VERSION |
| 538 | $** > $@ |
| 539 | $(OX)\cson_amalgamation$O : $(SRCDIR)\cson_amalgamation.c |
| 540 | $(TCC) /Fo$@ /c $** |
| 541 | |
| 542 | page_index.h: mkindex$E $(SRC) |
| 543 | $** > $@ |
| 544 | |
| 545 | clean: |
| 546 | -del $(OX)\*.obj |
| 547 | -del *.obj |
| 548 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -359,31 +359,31 @@ | |
| 359 | |
| 360 | all: $(OX) $(APPNAME) |
| 361 | |
| 362 | zlib: |
| 363 | @echo Building zlib from "$(ZLIBDIR)"... |
| 364 | @pushd "$(ZLIBDIR)" && $(MAKE) /f win32\Makefile.msc $(ZLIB) && popd |
| 365 | |
| 366 | !ifdef FOSSIL_ENABLE_SSL |
| 367 | openssl: |
| 368 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 369 | !if "$(PERLDIR)" != "" |
| 370 | @set PATH=$(PERLDIR);$(PATH) |
| 371 | !endif |
| 372 | @pushd "$(SSLDIR)" && $(PERL) Configure VC-WIN32 no-asm && popd |
| 373 | @pushd "$(SSLDIR)" && call ms\do_ms.bat && popd |
| 374 | @pushd "$(SSLDIR)" && $(MAKE) /f ms\nt.mak all && popd |
| 375 | !endif |
| 376 | |
| 377 | EXTRATARGETS = $(EXTRATARGETS) zlib |
| 378 | |
| 379 | !ifdef FOSSIL_ENABLE_SSL |
| 380 | EXTRATARGETS = $(EXTRATARGETS) openssl |
| 381 | !endif |
| 382 | |
| 383 | $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(EXTRATARGETS) |
| 384 | cd $(OX) |
| 385 | link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts |
| 386 | |
| 387 | $(OX)\linkopts: $B\win\Makefile.msc |
| 388 | echo $(OX)\add.obj > $@ |
| 389 | echo $(OX)\allrepo.obj >> $@ |
| @@ -537,11 +537,11 @@ | |
| 537 | VERSION.h : mkversion$E $B\manifest.uuid $B\manifest $B\VERSION |
| 538 | $** > $@ |
| 539 | $(OX)\cson_amalgamation$O : $(SRCDIR)\cson_amalgamation.c |
| 540 | $(TCC) /Fo$@ /c $** |
| 541 | |
| 542 | page_index.h: mkindex$E $(SRC) |
| 543 | $** > $@ |
| 544 | |
| 545 | clean: |
| 546 | -del $(OX)\*.obj |
| 547 | -del *.obj |
| 548 |
+3
-3
| --- win/fossil.rc | ||
| +++ win/fossil.rc | ||
| @@ -105,11 +105,11 @@ | ||
| 105 | 105 | #endif /* defined(FOSSIL_ENABLE_SSL) */ |
| 106 | 106 | #if defined(FOSSIL_ENABLE_TH1_HOOKS) |
| 107 | 107 | VALUE "Th1Hooks", "Yes\0" |
| 108 | 108 | #else |
| 109 | 109 | VALUE "Th1Hooks", "No\0" |
| 110 | -#endif | |
| 110 | +#endif /* defined(FOSSIL_ENABLE_TH1_HOOKS) */ | |
| 111 | 111 | #if defined(FOSSIL_ENABLE_TCL) |
| 112 | 112 | VALUE "TclEnabled", "Yes, Tcl " TCL_PATCH_LEVEL "\0" |
| 113 | 113 | #if defined(USE_TCL_STUBS) |
| 114 | 114 | VALUE "UseTclStubsEnabled", "Yes\0" |
| 115 | 115 | #else |
| @@ -142,12 +142,12 @@ | ||
| 142 | 142 | * This embedded manifest is needed for Windows 8.1. |
| 143 | 143 | */ |
| 144 | 144 | |
| 145 | 145 | #ifndef RT_MANIFEST |
| 146 | 146 | #define RT_MANIFEST 24 |
| 147 | -#endif | |
| 147 | +#endif /* RT_MANIFEST */ | |
| 148 | 148 | |
| 149 | 149 | #ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID |
| 150 | 150 | #define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 |
| 151 | -#endif | |
| 151 | +#endif /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ | |
| 152 | 152 | |
| 153 | 153 | CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "fossil.exe.manifest" |
| 154 | 154 |
| --- win/fossil.rc | |
| +++ win/fossil.rc | |
| @@ -105,11 +105,11 @@ | |
| 105 | #endif /* defined(FOSSIL_ENABLE_SSL) */ |
| 106 | #if defined(FOSSIL_ENABLE_TH1_HOOKS) |
| 107 | VALUE "Th1Hooks", "Yes\0" |
| 108 | #else |
| 109 | VALUE "Th1Hooks", "No\0" |
| 110 | #endif |
| 111 | #if defined(FOSSIL_ENABLE_TCL) |
| 112 | VALUE "TclEnabled", "Yes, Tcl " TCL_PATCH_LEVEL "\0" |
| 113 | #if defined(USE_TCL_STUBS) |
| 114 | VALUE "UseTclStubsEnabled", "Yes\0" |
| 115 | #else |
| @@ -142,12 +142,12 @@ | |
| 142 | * This embedded manifest is needed for Windows 8.1. |
| 143 | */ |
| 144 | |
| 145 | #ifndef RT_MANIFEST |
| 146 | #define RT_MANIFEST 24 |
| 147 | #endif |
| 148 | |
| 149 | #ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID |
| 150 | #define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 |
| 151 | #endif |
| 152 | |
| 153 | CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "fossil.exe.manifest" |
| 154 |
| --- win/fossil.rc | |
| +++ win/fossil.rc | |
| @@ -105,11 +105,11 @@ | |
| 105 | #endif /* defined(FOSSIL_ENABLE_SSL) */ |
| 106 | #if defined(FOSSIL_ENABLE_TH1_HOOKS) |
| 107 | VALUE "Th1Hooks", "Yes\0" |
| 108 | #else |
| 109 | VALUE "Th1Hooks", "No\0" |
| 110 | #endif /* defined(FOSSIL_ENABLE_TH1_HOOKS) */ |
| 111 | #if defined(FOSSIL_ENABLE_TCL) |
| 112 | VALUE "TclEnabled", "Yes, Tcl " TCL_PATCH_LEVEL "\0" |
| 113 | #if defined(USE_TCL_STUBS) |
| 114 | VALUE "UseTclStubsEnabled", "Yes\0" |
| 115 | #else |
| @@ -142,12 +142,12 @@ | |
| 142 | * This embedded manifest is needed for Windows 8.1. |
| 143 | */ |
| 144 | |
| 145 | #ifndef RT_MANIFEST |
| 146 | #define RT_MANIFEST 24 |
| 147 | #endif /* RT_MANIFEST */ |
| 148 | |
| 149 | #ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID |
| 150 | #define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 |
| 151 | #endif /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ |
| 152 | |
| 153 | CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "fossil.exe.manifest" |
| 154 |