Fossil SCM

Corrected path to mkbuiltin.c in Makefile.msc. Corrected, perhaps, build of tools/*.c, in Makefile.PellesCGMake.

stephan 2021-12-25 19:29 code-movement
Commit 1b1938e2133308d5046a7092c84c8e2ba075b500b0dc0283d95b8455e66d13b5
--- tools/makemake.tcl
+++ tools/makemake.tcl
@@ -1968,11 +1968,11 @@
19681968
$(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
19691969
19701970
"$(OBJDIR)\mkindex$E": "$(SRCDIR_tools)\mkindex.c"
19711971
$(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
19721972
1973
-"$(OBJDIR)\mkbuiltin$E": "$(SRCDIR)\mkbuiltin.c"
1973
+"$(OBJDIR)\mkbuiltin$E": "$(SRCDIR_tools)\mkbuiltin.c"
19741974
$(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
19751975
19761976
"$(OBJDIR)\mkversion$E": "$(SRCDIR_tools)\mkversion.c"
19771977
$(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
19781978
19791979
--- tools/makemake.tcl
+++ tools/makemake.tcl
@@ -1968,11 +1968,11 @@
1968 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1969
1970 "$(OBJDIR)\mkindex$E": "$(SRCDIR_tools)\mkindex.c"
1971 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1972
1973 "$(OBJDIR)\mkbuiltin$E": "$(SRCDIR)\mkbuiltin.c"
1974 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1975
1976 "$(OBJDIR)\mkversion$E": "$(SRCDIR_tools)\mkversion.c"
1977 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1978
1979
--- tools/makemake.tcl
+++ tools/makemake.tcl
@@ -1968,11 +1968,11 @@
1968 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1969
1970 "$(OBJDIR)\mkindex$E": "$(SRCDIR_tools)\mkindex.c"
1971 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1972
1973 "$(OBJDIR)\mkbuiltin$E": "$(SRCDIR_tools)\mkbuiltin.c"
1974 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1975
1976 "$(OBJDIR)\mkversion$E": "$(SRCDIR_tools)\mkversion.c"
1977 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1978
1979
--- win/Makefile.PellesCGMake
+++ win/Makefile.PellesCGMake
@@ -54,10 +54,11 @@
5454
5555
# define the project directories
5656
B=..
5757
SRCDIR=$(B)/src/
5858
SRCDIR_extsrc=$(B)/extsrc/
59
+SRCDIR_tools=$(B)/tools/
5960
WINDIR=$(B)/win/
6061
ZLIBSRCDIR=../../zlib/
6162
6263
# define linker command and options
6364
LINK=$(PellesCDir)/bin/polink.exe
@@ -78,11 +79,11 @@
7879
7980
# define the special utilities files, needed to generate
8081
# the automatically generated source files
8182
UTILS=translate.exe mkindex.exe makeheaders.exe mkbuiltin.exe
8283
UTILS_OBJ=$(UTILS:.exe=.obj)
83
-UTILS_SRC=$(foreach uf,$(UTILS),$(SRCDIR_extsrc)$(uf:.exe=.c))
84
+UTILS_SRC=$(foreach uf,$(UTILS),$(SRCDIR_tools)$(uf:.exe=.c))
8485
8586
# define the SQLite files, which need special flags on compile
8687
SQLITESRC=sqlite3.c
8788
ORIGSQLITESRC=$(foreach sf,$(SQLITESRC),$(SRCDIR_extsrc)$(sf))
8889
SQLITEOBJ=$(foreach sf,$(SQLITESRC),$(sf:.c=.obj))
8990
--- win/Makefile.PellesCGMake
+++ win/Makefile.PellesCGMake
@@ -54,10 +54,11 @@
54
55 # define the project directories
56 B=..
57 SRCDIR=$(B)/src/
58 SRCDIR_extsrc=$(B)/extsrc/
 
59 WINDIR=$(B)/win/
60 ZLIBSRCDIR=../../zlib/
61
62 # define linker command and options
63 LINK=$(PellesCDir)/bin/polink.exe
@@ -78,11 +79,11 @@
78
79 # define the special utilities files, needed to generate
80 # the automatically generated source files
81 UTILS=translate.exe mkindex.exe makeheaders.exe mkbuiltin.exe
82 UTILS_OBJ=$(UTILS:.exe=.obj)
83 UTILS_SRC=$(foreach uf,$(UTILS),$(SRCDIR_extsrc)$(uf:.exe=.c))
84
85 # define the SQLite files, which need special flags on compile
86 SQLITESRC=sqlite3.c
87 ORIGSQLITESRC=$(foreach sf,$(SQLITESRC),$(SRCDIR_extsrc)$(sf))
88 SQLITEOBJ=$(foreach sf,$(SQLITESRC),$(sf:.c=.obj))
89
--- win/Makefile.PellesCGMake
+++ win/Makefile.PellesCGMake
@@ -54,10 +54,11 @@
54
55 # define the project directories
56 B=..
57 SRCDIR=$(B)/src/
58 SRCDIR_extsrc=$(B)/extsrc/
59 SRCDIR_tools=$(B)/tools/
60 WINDIR=$(B)/win/
61 ZLIBSRCDIR=../../zlib/
62
63 # define linker command and options
64 LINK=$(PellesCDir)/bin/polink.exe
@@ -78,11 +79,11 @@
79
80 # define the special utilities files, needed to generate
81 # the automatically generated source files
82 UTILS=translate.exe mkindex.exe makeheaders.exe mkbuiltin.exe
83 UTILS_OBJ=$(UTILS:.exe=.obj)
84 UTILS_SRC=$(foreach uf,$(UTILS),$(SRCDIR_tools)$(uf:.exe=.c))
85
86 # define the SQLite files, which need special flags on compile
87 SQLITESRC=sqlite3.c
88 ORIGSQLITESRC=$(foreach sf,$(SQLITESRC),$(SRCDIR_extsrc)$(sf))
89 SQLITEOBJ=$(foreach sf,$(SQLITESRC),$(sf:.c=.obj))
90
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -1023,11 +1023,11 @@
10231023
$(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
10241024
10251025
"$(OBJDIR)\mkindex$E": "$(SRCDIR_tools)\mkindex.c"
10261026
$(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
10271027
1028
-"$(OBJDIR)\mkbuiltin$E": "$(SRCDIR)\mkbuiltin.c"
1028
+"$(OBJDIR)\mkbuiltin$E": "$(SRCDIR_tools)\mkbuiltin.c"
10291029
$(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
10301030
10311031
"$(OBJDIR)\mkversion$E": "$(SRCDIR_tools)\mkversion.c"
10321032
$(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
10331033
10341034
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -1023,11 +1023,11 @@
1023 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1024
1025 "$(OBJDIR)\mkindex$E": "$(SRCDIR_tools)\mkindex.c"
1026 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1027
1028 "$(OBJDIR)\mkbuiltin$E": "$(SRCDIR)\mkbuiltin.c"
1029 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1030
1031 "$(OBJDIR)\mkversion$E": "$(SRCDIR_tools)\mkversion.c"
1032 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1033
1034
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -1023,11 +1023,11 @@
1023 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1024
1025 "$(OBJDIR)\mkindex$E": "$(SRCDIR_tools)\mkindex.c"
1026 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1027
1028 "$(OBJDIR)\mkbuiltin$E": "$(SRCDIR_tools)\mkbuiltin.c"
1029 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1030
1031 "$(OBJDIR)\mkversion$E": "$(SRCDIR_tools)\mkversion.c"
1032 $(BCC) /Fe$@ /Fo$(@D)\ /Fd$(@D)\ $**
1033
1034

Keyboard Shortcuts

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