Fossil SCM

Same change a previous commit, but for custom makefile

jan.nijtmans 2014-11-09 20:04 trunk
Commit ee5b8648987d93cdddf24de09e93a54b86b48011
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -100,19 +100,26 @@
100100
#### The directories where the zlib include and library files are located.
101101
#
102102
ZINCDIR = $(SRCDIR)/../compat/zlib
103103
ZLIBDIR = $(SRCDIR)/../compat/zlib
104104
105
-ifeq (,$(findstring x86_64-w64-mingw32,$(PREFIX)))
105
+ifndef X64
106
+ifneq (,$(findstring x86_64-w64-mingw32,$(PREFIX)))
107
+X64 = 1
108
+endif
109
+endif
110
+
111
+ifndef X64
106112
SSLCONFIG = mingw
107113
ZLIBCONFIG = LOC="-DASMV -DASMINF" OBJA="inffas86.o match.o"
108114
LIBTARGETS = $(ZLIBDIR)/inffas86.o $(ZLIBDIR)/match.o
109115
else
110116
SSLCONFIG = mingw64
111117
ZLIBCONFIG =
112118
LIBTARGETS =
113119
endif
120
+
114121
ifndef FOSSIL_ENABLE_MINIZ
115122
SSLCONFIG += --with-zlib-lib=$(PWD)/$(ZLIBDIR) --with-zlib-include=$(PWD)/$(ZLIBDIR) zlib
116123
endif
117124
118125
#### The directories where the OpenSSL include and library files are located.
119126
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -100,19 +100,26 @@
100 #### The directories where the zlib include and library files are located.
101 #
102 ZINCDIR = $(SRCDIR)/../compat/zlib
103 ZLIBDIR = $(SRCDIR)/../compat/zlib
104
105 ifeq (,$(findstring x86_64-w64-mingw32,$(PREFIX)))
 
 
 
 
 
 
106 SSLCONFIG = mingw
107 ZLIBCONFIG = LOC="-DASMV -DASMINF" OBJA="inffas86.o match.o"
108 LIBTARGETS = $(ZLIBDIR)/inffas86.o $(ZLIBDIR)/match.o
109 else
110 SSLCONFIG = mingw64
111 ZLIBCONFIG =
112 LIBTARGETS =
113 endif
 
114 ifndef FOSSIL_ENABLE_MINIZ
115 SSLCONFIG += --with-zlib-lib=$(PWD)/$(ZLIBDIR) --with-zlib-include=$(PWD)/$(ZLIBDIR) zlib
116 endif
117
118 #### The directories where the OpenSSL include and library files are located.
119
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -100,19 +100,26 @@
100 #### The directories where the zlib include and library files are located.
101 #
102 ZINCDIR = $(SRCDIR)/../compat/zlib
103 ZLIBDIR = $(SRCDIR)/../compat/zlib
104
105 ifndef X64
106 ifneq (,$(findstring x86_64-w64-mingw32,$(PREFIX)))
107 X64 = 1
108 endif
109 endif
110
111 ifndef X64
112 SSLCONFIG = mingw
113 ZLIBCONFIG = LOC="-DASMV -DASMINF" OBJA="inffas86.o match.o"
114 LIBTARGETS = $(ZLIBDIR)/inffas86.o $(ZLIBDIR)/match.o
115 else
116 SSLCONFIG = mingw64
117 ZLIBCONFIG =
118 LIBTARGETS =
119 endif
120
121 ifndef FOSSIL_ENABLE_MINIZ
122 SSLCONFIG += --with-zlib-lib=$(PWD)/$(ZLIBDIR) --with-zlib-include=$(PWD)/$(ZLIBDIR) zlib
123 endif
124
125 #### The directories where the OpenSSL include and library files are located.
126

Keyboard Shortcuts

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