Fossil SCM

Rename EXTRATARGETS to APPTARGETS in the MSVC makefile.

mistachkin 2014-08-25 22:28 trunk
Commit b575811affe45a4874eb690a9f2818a9b5df5b89
--- Makefile.classic
+++ Makefile.classic
@@ -25,11 +25,11 @@
2525
#### The suffix to add to final executable file. When cross-compiling
2626
# to windows, make this ".exe". Otherwise leave it blank.
2727
#
2828
E =
2929
30
-#### C Compile and options for use in building executables that
30
+#### C Compile and options for use in building executables that
3131
# will run on the target platform. This is usually the same
3232
# as BCC, unless you are cross-compiling. This C compiler builds
3333
# the finished binary for fossil. The BCC compiler above is used
3434
# for building intermediate code-generator tools.
3535
#
3636
--- Makefile.classic
+++ Makefile.classic
@@ -25,11 +25,11 @@
25 #### The suffix to add to final executable file. When cross-compiling
26 # to windows, make this ".exe". Otherwise leave it blank.
27 #
28 E =
29
30 #### C Compile and options for use in building executables that
31 # will run on the target platform. This is usually the same
32 # as BCC, unless you are cross-compiling. This C compiler builds
33 # the finished binary for fossil. The BCC compiler above is used
34 # for building intermediate code-generator tools.
35 #
36
--- Makefile.classic
+++ Makefile.classic
@@ -25,11 +25,11 @@
25 #### The suffix to add to final executable file. When cross-compiling
26 # to windows, make this ".exe". Otherwise leave it blank.
27 #
28 E =
29
30 #### C Compile and options for use in building executables that
31 # will run on the target platform. This is usually the same
32 # as BCC, unless you are cross-compiling. This C compiler builds
33 # the finished binary for fossil. The BCC compiler above is used
34 # for building intermediate code-generator tools.
35 #
36
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1166,12 +1166,13 @@
11661166
writeln -nonewline "\$(OX)\\$s\$O"; incr i
11671167
}
11681168
writeln " \\"
11691169
writeln -nonewline " \$(OX)\\fossil.res\n\n"
11701170
writeln {
1171
-APPNAME = $(OX)\fossil$(E)
1172
-PDBNAME = $(OX)\fossil$(P)
1171
+APPNAME = $(OX)\fossil$(E)
1172
+PDBNAME = $(OX)\fossil$(P)
1173
+APPTARGETS =
11731174
11741175
all: $(OX) $(APPNAME)
11751176
11761177
zlib:
11771178
@echo Building zlib from "$(ZLIBDIR)"...
@@ -1186,17 +1187,17 @@
11861187
@pushd "$(SSLDIR)" && $(PERL) Configure VC-WIN32 no-asm && popd
11871188
@pushd "$(SSLDIR)" && call ms\do_ms.bat && popd
11881189
@pushd "$(SSLDIR)" && $(MAKE) /f ms\nt.mak all && popd
11891190
!endif
11901191
1191
-EXTRATARGETS = $(EXTRATARGETS) zlib
1192
+APPTARGETS = $(APPTARGETS) zlib
11921193
11931194
!ifdef FOSSIL_ENABLE_SSL
1194
-EXTRATARGETS = $(EXTRATARGETS) openssl
1195
+APPTARGETS = $(APPTARGETS) openssl
11951196
!endif
11961197
1197
-$(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(EXTRATARGETS)
1198
+$(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(APPTARGETS)
11981199
cd $(OX)
11991200
link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts
12001201
12011202
$(OX)\linkopts: $B\win\Makefile.msc}
12021203
set redir {>}
12031204
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1166,12 +1166,13 @@
1166 writeln -nonewline "\$(OX)\\$s\$O"; incr i
1167 }
1168 writeln " \\"
1169 writeln -nonewline " \$(OX)\\fossil.res\n\n"
1170 writeln {
1171 APPNAME = $(OX)\fossil$(E)
1172 PDBNAME = $(OX)\fossil$(P)
 
1173
1174 all: $(OX) $(APPNAME)
1175
1176 zlib:
1177 @echo Building zlib from "$(ZLIBDIR)"...
@@ -1186,17 +1187,17 @@
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
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1166,12 +1166,13 @@
1166 writeln -nonewline "\$(OX)\\$s\$O"; incr i
1167 }
1168 writeln " \\"
1169 writeln -nonewline " \$(OX)\\fossil.res\n\n"
1170 writeln {
1171 APPNAME = $(OX)\fossil$(E)
1172 PDBNAME = $(OX)\fossil$(P)
1173 APPTARGETS =
1174
1175 all: $(OX) $(APPNAME)
1176
1177 zlib:
1178 @echo Building zlib from "$(ZLIBDIR)"...
@@ -1186,17 +1187,17 @@
1187 @pushd "$(SSLDIR)" && $(PERL) Configure VC-WIN32 no-asm && popd
1188 @pushd "$(SSLDIR)" && call ms\do_ms.bat && popd
1189 @pushd "$(SSLDIR)" && $(MAKE) /f ms\nt.mak all && popd
1190 !endif
1191
1192 APPTARGETS = $(APPTARGETS) zlib
1193
1194 !ifdef FOSSIL_ENABLE_SSL
1195 APPTARGETS = $(APPTARGETS) openssl
1196 !endif
1197
1198 $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(APPTARGETS)
1199 cd $(OX)
1200 link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts
1201
1202 $(OX)\linkopts: $B\win\Makefile.msc}
1203 set redir {>}
1204
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -352,12 +352,13 @@
352352
$(OX)\xfersetup$O \
353353
$(OX)\zip$O \
354354
$(OX)\fossil.res
355355
356356
357
-APPNAME = $(OX)\fossil$(E)
358
-PDBNAME = $(OX)\fossil$(P)
357
+APPNAME = $(OX)\fossil$(E)
358
+PDBNAME = $(OX)\fossil$(P)
359
+APPTARGETS =
359360
360361
all: $(OX) $(APPNAME)
361362
362363
zlib:
363364
@echo Building zlib from "$(ZLIBDIR)"...
@@ -372,17 +373,17 @@
372373
@pushd "$(SSLDIR)" && $(PERL) Configure VC-WIN32 no-asm && popd
373374
@pushd "$(SSLDIR)" && call ms\do_ms.bat && popd
374375
@pushd "$(SSLDIR)" && $(MAKE) /f ms\nt.mak all && popd
375376
!endif
376377
377
-EXTRATARGETS = $(EXTRATARGETS) zlib
378
+APPTARGETS = $(APPTARGETS) zlib
378379
379380
!ifdef FOSSIL_ENABLE_SSL
380
-EXTRATARGETS = $(EXTRATARGETS) openssl
381
+APPTARGETS = $(APPTARGETS) openssl
381382
!endif
382383
383
-$(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(EXTRATARGETS)
384
+$(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(APPTARGETS)
384385
cd $(OX)
385386
link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts
386387
387388
$(OX)\linkopts: $B\win\Makefile.msc
388389
echo $(OX)\add.obj > $@
389390
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -352,12 +352,13 @@
352 $(OX)\xfersetup$O \
353 $(OX)\zip$O \
354 $(OX)\fossil.res
355
356
357 APPNAME = $(OX)\fossil$(E)
358 PDBNAME = $(OX)\fossil$(P)
 
359
360 all: $(OX) $(APPNAME)
361
362 zlib:
363 @echo Building zlib from "$(ZLIBDIR)"...
@@ -372,17 +373,17 @@
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
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -352,12 +352,13 @@
352 $(OX)\xfersetup$O \
353 $(OX)\zip$O \
354 $(OX)\fossil.res
355
356
357 APPNAME = $(OX)\fossil$(E)
358 PDBNAME = $(OX)\fossil$(P)
359 APPTARGETS =
360
361 all: $(OX) $(APPNAME)
362
363 zlib:
364 @echo Building zlib from "$(ZLIBDIR)"...
@@ -372,17 +373,17 @@
373 @pushd "$(SSLDIR)" && $(PERL) Configure VC-WIN32 no-asm && popd
374 @pushd "$(SSLDIR)" && call ms\do_ms.bat && popd
375 @pushd "$(SSLDIR)" && $(MAKE) /f ms\nt.mak all && popd
376 !endif
377
378 APPTARGETS = $(APPTARGETS) zlib
379
380 !ifdef FOSSIL_ENABLE_SSL
381 APPTARGETS = $(APPTARGETS) openssl
382 !endif
383
384 $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(APPTARGETS)
385 cd $(OX)
386 link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts
387
388 $(OX)\linkopts: $B\win\Makefile.msc
389 echo $(OX)\add.obj > $@
390

Keyboard Shortcuts

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