Fossil SCM

Fix makemake.tcl and Makefile.msc to build on Windows.

danield 2022-01-27 15:17 pickhr-prototype
Commit 2d354a6e7fca46ee6c90ce0b101bb14ec58c2e6f07d93016271fec11b46a3613
--- tools/makemake.tcl
+++ tools/makemake.tcl
@@ -1765,11 +1765,11 @@
17651765
writeln -nonewline "\"\$(OX)\\${s}_.c\""; incr i
17661766
}
17671767
foreach s [lsort $src_ext] {
17681768
writeln " \\"
17691769
writeln -nonewline " "
1770
- writeln -nonewline "\"\$(OX)\\${s}_.c\""; incr i
1770
+ writeln -nonewline "\"\$(SRCDIR_extsrc)\\${s}.c\""; incr i
17711771
}
17721772
writeln "\n"
17731773
writeln -nonewline "EXTRA_FILES = "
17741774
set i 0
17751775
foreach s [lsort $extra_files] {
@@ -2013,11 +2013,11 @@
20132013
writeln -nonewline "\"\$(OX)\\${s}_.c\":\"\$(OX)\\$s.h\""; incr i
20142014
}
20152015
foreach s [lsort $src_ext] {
20162016
writeln " \\"
20172017
writeln -nonewline "\t\t\t"
2018
- writeln -nonewline "\"\$(OX)\\${s}_.c\":\"\$(OX)\\$s.h\""; incr i
2018
+ writeln -nonewline "\"\$(SRCDIR_extsrc)\\${s}.c\":\"\$(OX)\\$s.h\""; incr i
20192019
}
20202020
writeln " \\\n\t\t\t\"\$(SRCDIR_extsrc)\\sqlite3.h\" \\"
20212021
writeln "\t\t\t\"\$(SRCDIR)\\th.h\" \\"
20222022
writeln "\t\t\t\"\$(OX)\\VERSION.h\" \\"
20232023
writeln "\t\t\t\"\$(SRCDIR_extsrc)\\cson_amalgamation.h\""
20242024
--- tools/makemake.tcl
+++ tools/makemake.tcl
@@ -1765,11 +1765,11 @@
1765 writeln -nonewline "\"\$(OX)\\${s}_.c\""; incr i
1766 }
1767 foreach s [lsort $src_ext] {
1768 writeln " \\"
1769 writeln -nonewline " "
1770 writeln -nonewline "\"\$(OX)\\${s}_.c\""; incr i
1771 }
1772 writeln "\n"
1773 writeln -nonewline "EXTRA_FILES = "
1774 set i 0
1775 foreach s [lsort $extra_files] {
@@ -2013,11 +2013,11 @@
2013 writeln -nonewline "\"\$(OX)\\${s}_.c\":\"\$(OX)\\$s.h\""; incr i
2014 }
2015 foreach s [lsort $src_ext] {
2016 writeln " \\"
2017 writeln -nonewline "\t\t\t"
2018 writeln -nonewline "\"\$(OX)\\${s}_.c\":\"\$(OX)\\$s.h\""; incr i
2019 }
2020 writeln " \\\n\t\t\t\"\$(SRCDIR_extsrc)\\sqlite3.h\" \\"
2021 writeln "\t\t\t\"\$(SRCDIR)\\th.h\" \\"
2022 writeln "\t\t\t\"\$(OX)\\VERSION.h\" \\"
2023 writeln "\t\t\t\"\$(SRCDIR_extsrc)\\cson_amalgamation.h\""
2024
--- tools/makemake.tcl
+++ tools/makemake.tcl
@@ -1765,11 +1765,11 @@
1765 writeln -nonewline "\"\$(OX)\\${s}_.c\""; incr i
1766 }
1767 foreach s [lsort $src_ext] {
1768 writeln " \\"
1769 writeln -nonewline " "
1770 writeln -nonewline "\"\$(SRCDIR_extsrc)\\${s}.c\""; incr i
1771 }
1772 writeln "\n"
1773 writeln -nonewline "EXTRA_FILES = "
1774 set i 0
1775 foreach s [lsort $extra_files] {
@@ -2013,11 +2013,11 @@
2013 writeln -nonewline "\"\$(OX)\\${s}_.c\":\"\$(OX)\\$s.h\""; incr i
2014 }
2015 foreach s [lsort $src_ext] {
2016 writeln " \\"
2017 writeln -nonewline "\t\t\t"
2018 writeln -nonewline "\"\$(SRCDIR_extsrc)\\${s}.c\":\"\$(OX)\\$s.h\""; incr i
2019 }
2020 writeln " \\\n\t\t\t\"\$(SRCDIR_extsrc)\\sqlite3.h\" \\"
2021 writeln "\t\t\t\"\$(SRCDIR)\\th.h\" \\"
2022 writeln "\t\t\t\"\$(OX)\\VERSION.h\" \\"
2023 writeln "\t\t\t\"\$(SRCDIR_extsrc)\\cson_amalgamation.h\""
2024
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -491,11 +491,11 @@
491491
"$(OX)\winfile_.c" \
492492
"$(OX)\winhttp_.c" \
493493
"$(OX)\xfer_.c" \
494494
"$(OX)\xfersetup_.c" \
495495
"$(OX)\zip_.c" \
496
- "$(OX)\pikchr_.c"
496
+ "$(SRCDIR_extsrc)\pikchr.c"
497497
498498
EXTRA_FILES = "$(SRCDIR)\..\skins\ardoise\css.txt" \
499499
"$(SRCDIR)\..\skins\ardoise\details.txt" \
500500
"$(SRCDIR)\..\skins\ardoise\footer.txt" \
501501
"$(SRCDIR)\..\skins\ardoise\header.txt" \
@@ -2235,11 +2235,11 @@
22352235
"$(OX)\winfile_.c":"$(OX)\winfile.h" \
22362236
"$(OX)\winhttp_.c":"$(OX)\winhttp.h" \
22372237
"$(OX)\xfer_.c":"$(OX)\xfer.h" \
22382238
"$(OX)\xfersetup_.c":"$(OX)\xfersetup.h" \
22392239
"$(OX)\zip_.c":"$(OX)\zip.h" \
2240
- "$(OX)\pikchr_.c":"$(OX)\pikchr.h" \
2240
+ "$(SRCDIR_extsrc)\pikchr.c":"$(OX)\pikchr.h" \
22412241
"$(SRCDIR_extsrc)\sqlite3.h" \
22422242
"$(SRCDIR)\th.h" \
22432243
"$(OX)\VERSION.h" \
22442244
"$(SRCDIR_extsrc)\cson_amalgamation.h"
22452245
@copy /Y nul: $@
22462246
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -491,11 +491,11 @@
491 "$(OX)\winfile_.c" \
492 "$(OX)\winhttp_.c" \
493 "$(OX)\xfer_.c" \
494 "$(OX)\xfersetup_.c" \
495 "$(OX)\zip_.c" \
496 "$(OX)\pikchr_.c"
497
498 EXTRA_FILES = "$(SRCDIR)\..\skins\ardoise\css.txt" \
499 "$(SRCDIR)\..\skins\ardoise\details.txt" \
500 "$(SRCDIR)\..\skins\ardoise\footer.txt" \
501 "$(SRCDIR)\..\skins\ardoise\header.txt" \
@@ -2235,11 +2235,11 @@
2235 "$(OX)\winfile_.c":"$(OX)\winfile.h" \
2236 "$(OX)\winhttp_.c":"$(OX)\winhttp.h" \
2237 "$(OX)\xfer_.c":"$(OX)\xfer.h" \
2238 "$(OX)\xfersetup_.c":"$(OX)\xfersetup.h" \
2239 "$(OX)\zip_.c":"$(OX)\zip.h" \
2240 "$(OX)\pikchr_.c":"$(OX)\pikchr.h" \
2241 "$(SRCDIR_extsrc)\sqlite3.h" \
2242 "$(SRCDIR)\th.h" \
2243 "$(OX)\VERSION.h" \
2244 "$(SRCDIR_extsrc)\cson_amalgamation.h"
2245 @copy /Y nul: $@
2246
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -491,11 +491,11 @@
491 "$(OX)\winfile_.c" \
492 "$(OX)\winhttp_.c" \
493 "$(OX)\xfer_.c" \
494 "$(OX)\xfersetup_.c" \
495 "$(OX)\zip_.c" \
496 "$(SRCDIR_extsrc)\pikchr.c"
497
498 EXTRA_FILES = "$(SRCDIR)\..\skins\ardoise\css.txt" \
499 "$(SRCDIR)\..\skins\ardoise\details.txt" \
500 "$(SRCDIR)\..\skins\ardoise\footer.txt" \
501 "$(SRCDIR)\..\skins\ardoise\header.txt" \
@@ -2235,11 +2235,11 @@
2235 "$(OX)\winfile_.c":"$(OX)\winfile.h" \
2236 "$(OX)\winhttp_.c":"$(OX)\winhttp.h" \
2237 "$(OX)\xfer_.c":"$(OX)\xfer.h" \
2238 "$(OX)\xfersetup_.c":"$(OX)\xfersetup.h" \
2239 "$(OX)\zip_.c":"$(OX)\zip.h" \
2240 "$(SRCDIR_extsrc)\pikchr.c":"$(OX)\pikchr.h" \
2241 "$(SRCDIR_extsrc)\sqlite3.h" \
2242 "$(SRCDIR)\th.h" \
2243 "$(OX)\VERSION.h" \
2244 "$(SRCDIR_extsrc)\cson_amalgamation.h"
2245 @copy /Y nul: $@
2246

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button