Fossil SCM

More changes to the MSVC makefile to make building with OpenSSL support easier.

mistachkin 2014-09-13 02:34 trunk
Commit 201e87a2511d74c6ab85c0a00225648441142340
2 files changed +6 -2 +6 -2
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1153,11 +1153,15 @@
11531153
OBJDIR = .
11541154
OX = .
11551155
O = .obj
11561156
E = .exe
11571157
P = .pdb
1158
-PERLDIR =
1158
+
1159
+# Perl is only necessary if OpenSSL support is enabled and it must
1160
+# be built from source code. The PERLDIR variable should point to
1161
+# the directory containing the main Perl binary (i.e. "perl.exe").
1162
+PERLDIR = C:\Perl\bin
11591163
PERL = perl.exe
11601164
11611165
# Uncomment to enable debug symbols
11621166
# DEBUG = 1
11631167
@@ -1338,11 +1342,11 @@
13381342
13391343
!ifdef FOSSIL_ENABLE_SSL
13401344
APPTARGETS = $(APPTARGETS) openssl
13411345
!endif
13421346
1343
-$(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(APPTARGETS)
1347
+$(APPNAME) : $(APPTARGETS) translate$E mkindex$E headers $(OBJ) $(OX)\linkopts
13441348
cd $(OX)
13451349
link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts
13461350
13471351
$(OX)\linkopts: $B\win\Makefile.msc}
13481352
set redir {>}
13491353
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1153,11 +1153,15 @@
1153 OBJDIR = .
1154 OX = .
1155 O = .obj
1156 E = .exe
1157 P = .pdb
1158 PERLDIR =
 
 
 
 
1159 PERL = perl.exe
1160
1161 # Uncomment to enable debug symbols
1162 # DEBUG = 1
1163
@@ -1338,11 +1342,11 @@
1338
1339 !ifdef FOSSIL_ENABLE_SSL
1340 APPTARGETS = $(APPTARGETS) openssl
1341 !endif
1342
1343 $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(APPTARGETS)
1344 cd $(OX)
1345 link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts
1346
1347 $(OX)\linkopts: $B\win\Makefile.msc}
1348 set redir {>}
1349
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1153,11 +1153,15 @@
1153 OBJDIR = .
1154 OX = .
1155 O = .obj
1156 E = .exe
1157 P = .pdb
1158
1159 # Perl is only necessary if OpenSSL support is enabled and it must
1160 # be built from source code. The PERLDIR variable should point to
1161 # the directory containing the main Perl binary (i.e. "perl.exe").
1162 PERLDIR = C:\Perl\bin
1163 PERL = perl.exe
1164
1165 # Uncomment to enable debug symbols
1166 # DEBUG = 1
1167
@@ -1338,11 +1342,11 @@
1342
1343 !ifdef FOSSIL_ENABLE_SSL
1344 APPTARGETS = $(APPTARGETS) openssl
1345 !endif
1346
1347 $(APPNAME) : $(APPTARGETS) translate$E mkindex$E headers $(OBJ) $(OX)\linkopts
1348 cd $(OX)
1349 link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts
1350
1351 $(OX)\linkopts: $B\win\Makefile.msc}
1352 set redir {>}
1353
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -12,11 +12,15 @@
1212
OBJDIR = .
1313
OX = .
1414
O = .obj
1515
E = .exe
1616
P = .pdb
17
-PERLDIR =
17
+
18
+# Perl is only necessary if OpenSSL support is enabled and it must
19
+# be built from source code. The PERLDIR variable should point to
20
+# the directory containing the main Perl binary (i.e. "perl.exe").
21
+PERLDIR = C:\Perl\bin
1822
PERL = perl.exe
1923
2024
# Uncomment to enable debug symbols
2125
# DEBUG = 1
2226
@@ -413,11 +417,11 @@
413417
414418
!ifdef FOSSIL_ENABLE_SSL
415419
APPTARGETS = $(APPTARGETS) openssl
416420
!endif
417421
418
-$(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(APPTARGETS)
422
+$(APPNAME) : $(APPTARGETS) translate$E mkindex$E headers $(OBJ) $(OX)\linkopts
419423
cd $(OX)
420424
link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts
421425
422426
$(OX)\linkopts: $B\win\Makefile.msc
423427
echo $(OX)\add.obj > $@
424428
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -12,11 +12,15 @@
12 OBJDIR = .
13 OX = .
14 O = .obj
15 E = .exe
16 P = .pdb
17 PERLDIR =
 
 
 
 
18 PERL = perl.exe
19
20 # Uncomment to enable debug symbols
21 # DEBUG = 1
22
@@ -413,11 +417,11 @@
413
414 !ifdef FOSSIL_ENABLE_SSL
415 APPTARGETS = $(APPTARGETS) openssl
416 !endif
417
418 $(APPNAME) : translate$E mkindex$E headers $(OBJ) $(OX)\linkopts $(APPTARGETS)
419 cd $(OX)
420 link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts
421
422 $(OX)\linkopts: $B\win\Makefile.msc
423 echo $(OX)\add.obj > $@
424
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -12,11 +12,15 @@
12 OBJDIR = .
13 OX = .
14 O = .obj
15 E = .exe
16 P = .pdb
17
18 # Perl is only necessary if OpenSSL support is enabled and it must
19 # be built from source code. The PERLDIR variable should point to
20 # the directory containing the main Perl binary (i.e. "perl.exe").
21 PERLDIR = C:\Perl\bin
22 PERL = perl.exe
23
24 # Uncomment to enable debug symbols
25 # DEBUG = 1
26
@@ -413,11 +417,11 @@
417
418 !ifdef FOSSIL_ENABLE_SSL
419 APPTARGETS = $(APPTARGETS) openssl
420 !endif
421
422 $(APPNAME) : $(APPTARGETS) translate$E mkindex$E headers $(OBJ) $(OX)\linkopts
423 cd $(OX)
424 link $(LDFLAGS) /OUT:$@ $(LIBDIR) Wsetargv.obj fossil.res @linkopts
425
426 $(OX)\linkopts: $B\win\Makefile.msc
427 echo $(OX)\add.obj > $@
428

Keyboard Shortcuts

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