Skip to content
Newer
Older
100644 627 lines (546 sloc) 20 KB
14a6788 @bagder - Lisa Xu pointed out that the ssh.obj file was missing from the lib/…
bagder authored
1 #***************************************************************************
2 # _ _ ____ _
3 # Project ___| | | | _ \| |
4 # / __| | | | |_) | |
5 # | (__| |_| | _ <| |___
6 # \___|\___/|_| \_\_____|
7 #
9a51c11 @captain-caveman2k Makefile.vc6: Added version.lib if built with SSPI
captain-caveman2k authored
8 # Copyright (C) 1999 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
14a6788 @bagder - Lisa Xu pointed out that the ssh.obj file was missing from the lib/…
bagder authored
9 #
10 # This software is licensed as described in the file COPYING, which
11 # you should have received as part of this distribution. The terms
12 # are also available at http://curl.haxx.se/docs/copyright.html.
13 #
14 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 # copies of the Software, and permit persons to whom the Software is
16 # furnished to do so, under the terms of the COPYING file.
17 #
18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 # KIND, either express or implied.
20 #
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
21 #***************************************************************************
22
a30ede8 @bagder VC6 makefiles: added embedded documentation
bagder authored
23 # All files in the Makefile.vc* series are generated automatically from the
24 # one made for MSVC version 6. Alas, if you want to do changes to any of the
9a51c11 @captain-caveman2k Makefile.vc6: Added version.lib if built with SSPI
captain-caveman2k authored
25 # files and send back to the project, edit the version six, make your diff and
a30ede8 @bagder VC6 makefiles: added embedded documentation
bagder authored
26 # mail curl-library.
27
14a6788 @bagder - Lisa Xu pointed out that the ssh.obj file was missing from the lib/…
bagder authored
28 ###########################################################################
f1ce203 @bagder Added $Id:$ string for file version in the header
bagder authored
29 #
f5ba174 @bagder John Lask's new makefile
bagder authored
30 # Makefile for building libcurl with MSVC6
31 #
32 # Usage: see usage message below
33 # Should be invoked from \lib directory
34 # Edit the paths and desired library name
1d1530e Add hash and llist to VC makefile
sm authored
35 # SSL path is only required if you intend compiling
f5ba174 @bagder John Lask's new makefile
bagder authored
36 # with SSL.
37 #
38 # This make file leaves the result either a .lib or .dll file
39 # in the \lib directory. It should be called from the \lib
40 # directory.
41 #
42 # An option would have been to allow the source directory to
43 # be specified, but I saw no requirement.
44 #
45 # Another option would have been to leave the .lib and .dll
46 # files in the "cfg" directory, but then the make file
1d1530e Add hash and llist to VC makefile
sm authored
47 # in \src would need to be changed.
48 #
f5ba174 @bagder John Lask's new makefile
bagder authored
49 ##############################################################
b555ca5 @bagder made it binary in CVS to maintain DOS newlines and turned those newlines
bagder authored
50
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
51 # ----------------------------------------------
52 # Verify that current subdir is libcurl's 'lib'
53 # ----------------------------------------------
54
55 !IF ! EXIST(.\curl_addrinfo.c)
56 ! MESSAGE Can not process this makefile from outside of libcurl's 'lib' subdirectory.
57 ! MESSAGE Change to libcurl's 'lib' subdirectory, and try again.
58 ! ERROR See previous message.
59 !ENDIF
60
61 # ------------------------------------------------
62 # Makefile.msvc.names provides libcurl file names
63 # ------------------------------------------------
64
65 !INCLUDE ..\Makefile.msvc.names
66
9e6cc86 @bagder Miklos Nemeth improved
bagder authored
67 !IFNDEF OPENSSL_PATH
1c58f29 @gknauf Updated dependency libary versions.
gknauf authored
68 OPENSSL_PATH = ../../openssl-0.9.8x
9e6cc86 @bagder Miklos Nemeth improved
bagder authored
69 !ENDIF
b555ca5 @bagder made it binary in CVS to maintain DOS newlines and turned those newlines
bagder authored
70
4ed7abb @bagder MSVC makefiles: provide SSH build targets
bagder authored
71 !IFNDEF LIBSSH2_PATH
1c58f29 @gknauf Updated dependency libary versions.
gknauf authored
72 LIBSSH2_PATH = ../../libssh2-1.4.2
4ed7abb @bagder MSVC makefiles: provide SSH build targets
bagder authored
73 !ENDIF
74
0fd3b7a @bagder David Byron's patch for MSVC builds with zlib
bagder authored
75 !IFNDEF ZLIB_PATH
1c58f29 @gknauf Updated dependency libary versions.
gknauf authored
76 ZLIB_PATH = ../../zlib-1.2.7
0fd3b7a @bagder David Byron's patch for MSVC builds with zlib
bagder authored
77 !ENDIF
78
6dd4fe0 @bagder - Robert A. Monat improved the maketgz and VC6/8 generating to set th…
bagder authored
79 !IFNDEF MACHINE
80 MACHINE = X86
81 !ENDIF
82
d1d35ba @bagder Christopher R. Palmer made it possible to build libcurl with the
bagder authored
83 # USE_WINDOWS_SSPI uses windows libraries to allow NTLM authentication
84 # without an openssl installation and offers the ability to authenticate
dab569d @gknauf make users use the latest OpenSSL and Zlib libraries;
gknauf authored
85 # using the "current logged in user". Since at least with MSVC6 the sspi.h
86 # header is broken it is either required to install the Windows SDK,
87 # or to fix sspi.h with adding this define at the beginning of sspi.h:
88 # #define FreeCredentialHandle FreeCredentialsHandle
d1d35ba @bagder Christopher R. Palmer made it possible to build libcurl with the
bagder authored
89 #
90 # If, for some reason the Windows SDK is installed but not installed
91 # in the default location, you can specify WINDOWS_SDK_PATH.
92 # It can be downloaded from:
93 # http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
94
8f4fda1 @gknauf fixed commented define for SSPI.
gknauf authored
95 # WINDOWS_SSPI = 1
d1d35ba @bagder Christopher R. Palmer made it possible to build libcurl with the
bagder authored
96
97 !IFDEF WINDOWS_SSPI
98 !IFNDEF WINDOWS_SDK_PATH
d541085 @gknauf Use env var for PSDK instead of hardcoded path.
gknauf authored
99 WINDOWS_SDK_PATH = "$(PROGRAMFILES)\Microsoft SDK"
d1d35ba @bagder Christopher R. Palmer made it possible to build libcurl with the
bagder authored
100 !ENDIF
101 !ENDIF
102
f5ba174 @bagder John Lask's new makefile
bagder authored
103 #############################################################
104 ## Nothing more to do below this line!
b555ca5 @bagder made it binary in CVS to maintain DOS newlines and turned those newlines
bagder authored
105
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
106 CCNODBG = cl.exe /O2 /DNDEBUG
107 CCDEBUG = cl.exe /Od /Gm /Zi /D_DEBUG /GZ
0b08491 @bagder VC build: add define for openssl
bagder authored
108 CFLAGSSSL = /DUSE_SSLEAY /DUSE_OPENSSL /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl"
4ed7abb @bagder MSVC makefiles: provide SSH build targets
bagder authored
109 CFLAGSSSH2 = /DUSE_LIBSSH2 /DCURL_DISABLE_LDAP /DHAVE_LIBSSH2 /DHAVE_LIBSSH2_H /DLIBSSH2_WIN32 /DLIBSSH2_LIBRARY /I "$(LIBSSH2_PATH)/include"
377e43f Changes for removing libcurl.def file on Win32.
Gisle Vanem authored
110 CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /I "$(ZLIB_PATH)"
9016958 windows build: use correct MS CRT
Josue Andrade Gomes authored
111 CFLAGS = /I. /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c /DBUILDING_LIBCURL /D_BIND_TO_CURRENT_VCLIBS_VERSION=1
200ac58 @bagder Dave Dribin: set CURL_STATICLIB when it builds static library variants.
bagder authored
112 CFLAGSLIB = /DCURL_STATICLIB
377e43f Changes for removing libcurl.def file on Win32.
Gisle Vanem authored
113 LNKDLL = link.exe /DLL
08df4b8 @gknauf changed paths to external libs to recent versions.
gknauf authored
114 LNKLIB = link.exe /lib
6dd4fe0 @bagder - Robert A. Monat improved the maketgz and VC6/8 generating to set th…
bagder authored
115 LFLAGS = /nologo /machine:$(MACHINE)
08df4b8 @gknauf changed paths to external libs to recent versions.
gknauf authored
116 SSLLIBS = libeay32.lib ssleay32.lib
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
117 ZLIBLIBSDLL= zdll.lib
118 ZLIBLIBS = zlib.lib
0c8ccf7 @mback2k Makefile.vc6: Added missing default library advapi32.lib
mback2k authored
119 WINLIBS = ws2_32.lib wldap32.lib advapi32.lib
19479ea @yangtse Internal time differences now use monotonic time source if available.
yangtse authored
120 CFLAGS = $(CFLAGS)
121
08df4b8 @gknauf changed paths to external libs to recent versions.
gknauf authored
122 CFGSET = FALSE
f5ba174 @bagder John Lask's new makefile
bagder authored
123
d1d35ba @bagder Christopher R. Palmer made it possible to build libcurl with the
bagder authored
124 !IFDEF WINDOWS_SSPI
125 CFLAGS = $(CFLAGS) /DUSE_WINDOWS_SSPI /I$(WINDOWS_SDK_PATH)\include
126 !ENDIF
127
7239538 @pierrejoye build: add enable IPV6 option for the VC makefiles
pierrejoye authored
128 !IFDEF USE_IPV6
129 CFLAGS = $(CFLAGS) /DUSE_IPV6
130 !ENDIF
131
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
132 ##############################################################
133 # Runtime library configuration
134
135 RTLIB = /MD
136 RTLIBD = /MDd
137
138 !IF "$(RTLIBCFG)" == "static"
139 RTLIB = /MT
140 RTLIBD = /MTd
141 !ENDIF
142
143
f5ba174 @bagder John Lask's new makefile
bagder authored
144 ######################
715b706 @bagder Temprimus improved the MSVC makefile so that the static debug SSL lib…
bagder authored
145 # release
146
147 !IF "$(CFG)" == "release"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
148 TARGET = $(LIBCURL_STA_LIB_REL)
715b706 @bagder Temprimus improved the MSVC makefile so that the static debug SSL lib…
bagder authored
149 DIROBJ = $(CFG)
150 LNK = $(LNKLIB) /out:$(DIROBJ)\$(TARGET)
151 CC = $(CCNODBG) $(RTLIB) $(CFLAGSLIB)
152 CFGSET = TRUE
153 !ENDIF
154
155 ######################
f5ba174 @bagder John Lask's new makefile
bagder authored
156 # release-ssl
30a0bd9 Fixed release-ssl build
sm authored
157
1d1530e Add hash and llist to VC makefile
sm authored
158 !IF "$(CFG)" == "release-ssl"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
159 TARGET = $(LIBCURL_STA_LIB_REL)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
160 DIROBJ = $(CFG)
161 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
162 LNK = $(LNKLIB) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
163 CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSLIB)
1d1530e Add hash and llist to VC makefile
sm authored
164 CFGSET = TRUE
f5ba174 @bagder John Lask's new makefile
bagder authored
165 !ENDIF
166
167 ######################
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
168 # release-zlib
f5ba174 @bagder John Lask's new makefile
bagder authored
169
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
170 !IF "$(CFG)" == "release-zlib"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
171 TARGET = $(LIBCURL_STA_LIB_REL)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
172 DIROBJ = $(CFG)
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
173 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
174 LNK = $(LNKLIB) $(ZLIBLIBS) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
175 CC = $(CCNODBG) $(RTLIB) $(CFLAGSZLIB) $(CFLAGSLIB)
1d1530e Add hash and llist to VC makefile
sm authored
176 CFGSET = TRUE
f5ba174 @bagder John Lask's new makefile
bagder authored
177 !ENDIF
178
179 ######################
0fd3b7a @bagder David Byron's patch for MSVC builds with zlib
bagder authored
180 # release-ssl-zlib
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
181
0fd3b7a @bagder David Byron's patch for MSVC builds with zlib
bagder authored
182 !IF "$(CFG)" == "release-ssl-zlib"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
183 TARGET = $(LIBCURL_STA_LIB_REL)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
184 DIROBJ = $(CFG)
185 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
0fd3b7a @bagder David Byron's patch for MSVC builds with zlib
bagder authored
186 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
187 LNK = $(LNKLIB) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
188 CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)
0fd3b7a @bagder David Byron's patch for MSVC builds with zlib
bagder authored
189 CFGSET = TRUE
190 !ENDIF
191
192 ######################
2ebb87f @yangtse build: fix RESOURCE bug in lib/Makefile.vc*
yangtse authored
193 # release-ssl-ssh2-zlib
194
195 !IF "$(CFG)" == "release-ssl-ssh2-zlib"
196 TARGET = $(LIBCURL_STA_LIB_REL)
197 DIROBJ = $(CFG)
198 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
199 LFLAGSSSH2 = "/LIBPATH:$(LIBSSH2_PATH)"
200 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
201 LNK = $(LNKLIB) $(LFLAGSSSL) $(LFLAGSSSH2) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
202 CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSSSH2) $(CFLAGSZLIB) $(CFLAGSLIB)
203 CFGSET = TRUE
204 !ENDIF
205
206 ######################
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
207 # release-ssl-dll
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
208
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
209 !IF "$(CFG)" == "release-ssl-dll"
210 TARGET = $(LIBCURL_STA_LIB_REL)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
211 DIROBJ = $(CFG)
212 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
213 LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)
214 CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSLIB)
f232baf @bagder Dylan Ellicott added the release-libcurl-ssl-dll target
bagder authored
215 CFGSET = TRUE
216 !ENDIF
217
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
218 ######################
219 # release-zlib-dll
220
221 !IF "$(CFG)" == "release-zlib-dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
222 TARGET = $(LIBCURL_STA_LIB_REL)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
223 DIROBJ = $(CFG)
224 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
225 LNK = $(LNKLIB) $(WINLIBS) $(ZLIBLIBSDLL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
226 CC = $(CCNODBG) $(RTLIB) $(CFLAGSZLIB) $(CFLAGSLIB)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
227 CFGSET = TRUE
228 !ENDIF
f232baf @bagder Dylan Ellicott added the release-libcurl-ssl-dll target
bagder authored
229
230 ######################
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
231 # release-ssl-dll-zlib-dll
f5ba174 @bagder John Lask's new makefile
bagder authored
232
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
233 !IF "$(CFG)" == "release-ssl-dll-zlib-dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
234 TARGET = $(LIBCURL_STA_LIB_REL)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
235 DIROBJ = $(CFG)
236 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
237 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
238 LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(ZLIBLIBSDLL) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
239 CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
240 CFGSET = TRUE
f5ba174 @bagder John Lask's new makefile
bagder authored
241 !ENDIF
242
243 ######################
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
244 # release-dll
245
246 !IF "$(CFG)" == "release-dll"
247 TARGET = $(LIBCURL_DYN_LIB_REL)
248 DIROBJ = $(CFG)
249 LNK = $(LNKDLL) $(WINLIBS) /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_REL)
250 CC = $(CCNODBG) $(RTLIB)
251 CFGSET = TRUE
252 RESOURCE = $(DIROBJ)\libcurl.res
253 !ENDIF
254
255 ######################
256 # release-dll-ssl-dll
257
258 !IF "$(CFG)" == "release-dll-ssl-dll"
259 TARGET = $(LIBCURL_DYN_LIB_REL)
260 DIROBJ = $(CFG)
261 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
262 LNK = $(LNKDLL) $(WINLIBS) $(SSLLIBS) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_REL)
263 CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL)
264 CFGSET = TRUE
265 RESOURCE = $(DIROBJ)\libcurl.res
266 !ENDIF
267
268 ######################
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
269 # release-dll-zlib-dll
f5ba174 @bagder John Lask's new makefile
bagder authored
270
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
271 !IF "$(CFG)" == "release-dll-zlib-dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
272 TARGET = $(LIBCURL_DYN_LIB_REL)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
273 DIROBJ = $(CFG)
274 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
275 LNK = $(LNKDLL) $(WINLIBS) $(ZLIBLIBSDLL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_REL)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
276 CC = $(CCNODBG) $(RTLIB) $(CFLAGSZLIB)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
277 CFGSET = TRUE
278 RESOURCE = $(DIROBJ)\libcurl.res
279 !ENDIF
280
281 ######################
282 # release-dll-ssl-dll-zlib-dll
283
284 !IF "$(CFG)" == "release-dll-ssl-dll-zlib-dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
285 TARGET = $(LIBCURL_DYN_LIB_REL)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
286 DIROBJ = $(CFG)
287 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
288 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
289 LNK = $(LNKDLL) $(WINLIBS) $(SSLLIBS) $(ZLIBLIBSDLL) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_REL)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
290 CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSZLIB)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
291 CFGSET = TRUE
292 RESOURCE = $(DIROBJ)\libcurl.res
293 !ENDIF
294
295 ######################
296 # debug
297
298 !IF "$(CFG)" == "debug"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
299 TARGET = $(LIBCURL_STA_LIB_DBG)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
300 DIROBJ = $(CFG)
301 LNK = $(LNKLIB) /out:$(DIROBJ)\$(TARGET)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
302 CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSLIB)
f5ba174 @bagder John Lask's new makefile
bagder authored
303 CFGSET = TRUE
304 !ENDIF
305
306 ######################
307 # debug-ssl
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
308
1d1530e Add hash and llist to VC makefile
sm authored
309 !IF "$(CFG)" == "debug-ssl"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
310 TARGET = $(LIBCURL_STA_LIB_DBG)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
311 DIROBJ = $(CFG)
312 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
715b706 @bagder Temprimus improved the MSVC makefile so that the static debug SSL lib…
bagder authored
313 LNK = $(LNKLIB) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
314 CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSLIB)
f5ba174 @bagder John Lask's new makefile
bagder authored
315 CFGSET = TRUE
316 !ENDIF
317
318 ######################
76dfef7 @bagder Mohun Biswas added release-zlib and debug-zlib targets.
bagder authored
319 # debug-zlib
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
320
76dfef7 @bagder Mohun Biswas added release-zlib and debug-zlib targets.
bagder authored
321 !IF "$(CFG)" == "debug-zlib"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
322 TARGET = $(LIBCURL_STA_LIB_DBG)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
323 DIROBJ = $(CFG)
76dfef7 @bagder Mohun Biswas added release-zlib and debug-zlib targets.
bagder authored
324 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
325 LNK = $(LNKLIB) $(ZLIBLIBS) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
326 CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSZLIB) $(CFLAGSLIB)
76dfef7 @bagder Mohun Biswas added release-zlib and debug-zlib targets.
bagder authored
327 CFGSET = TRUE
328 !ENDIF
329
330 ######################
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
331 # debug-ssl-zlib
f5ba174 @bagder John Lask's new makefile
bagder authored
332
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
333 !IF "$(CFG)" == "debug-ssl-zlib"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
334 TARGET = $(LIBCURL_STA_LIB_DBG)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
335 DIROBJ = $(CFG)
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
336 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
337 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
338 LNK = $(LNKLIB) $(ZLIBLIBS) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
339 CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
340 CFGSET = TRUE
341 !ENDIF
342
343 ######################
2ebb87f @yangtse build: fix RESOURCE bug in lib/Makefile.vc*
yangtse authored
344 # debug-ssl-ssh2-zlib
345
346 !IF "$(CFG)" == "debug-ssl-ssh2-zlib"
347 TARGET = $(LIBCURL_STA_LIB_DBG)
348 DIROBJ = $(CFG)
349 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
350 LFLAGSSSH2 = "/LIBPATH:$(LIBSSH2_PATH)"
351 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
352 LNK = $(LNKLIB) $(ZLIBLIBS) $(LFLAGSSSL) $(LFLAGSSSH2) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
353 CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSSSH2) $(CFLAGSZLIB) $(CFLAGSLIB)
354 CFGSET = TRUE
355 !ENDIF
356
357 ######################
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
358 # debug-ssl-dll
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
359
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
360 !IF "$(CFG)" == "debug-ssl-dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
361 TARGET = $(LIBCURL_STA_LIB_DBG)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
362 DIROBJ = $(CFG)
71ab0ce @yangtse build: sort configuration hunks in lib/Makefile.vc6
yangtse authored
363 LFLAGSSSL = /LIBPATH:$(OPENSSL_PATH)\out32dll
364 LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)
365 CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSLIB)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
366 CFGSET = TRUE
367 !ENDIF
368
369 ######################
370 # debug-zlib-dll
371
372 !IF "$(CFG)" == "debug-zlib-dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
373 TARGET = $(LIBCURL_STA_LIB_DBG)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
374 DIROBJ = $(CFG)
375 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
376 LNK = $(LNKLIB) $(WINLIBS) $(ZLIBLIBSDLL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
377 CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSZLIB) $(CFLAGSLIB)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
378 CFGSET = TRUE
379 !ENDIF
380
381 ######################
382 # debug-ssl-dll-zlib-dll
383
384 !IF "$(CFG)" == "debug-ssl-dll-zlib-dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
385 TARGET = $(LIBCURL_STA_LIB_DBG)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
386 DIROBJ = $(CFG)
387 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
388 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
389 LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(ZLIBLIBSDLL) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
390 CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
391 CFGSET = TRUE
392 !ENDIF
393
394 ######################
395 # debug-dll
396
397 !IF "$(CFG)" == "debug-dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
398 TARGET = $(LIBCURL_DYN_LIB_DBG)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
399 DIROBJ = $(CFG)
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
400 LNK = $(LNKDLL) $(WINLIBS) /DEBUG /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) /PDB:$(DIROBJ)\$(LIBCURL_DYN_LIB_PDB)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
401 CC = $(CCDEBUG) $(RTLIBD)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
402 CFGSET = TRUE
403 RESOURCE = $(DIROBJ)\libcurl.res
404 !ENDIF
405
406 ######################
407 # debug-dll-ssl-dll
408
409 !IF "$(CFG)" == "debug-dll-ssl-dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
410 TARGET = $(LIBCURL_DYN_LIB_DBG)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
411 DIROBJ = $(CFG)
412 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
413 LNK = $(LNKDLL) $(WINLIBS) $(SSLLIBS) $(LFLAGSSSL) /DEBUG /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) /PDB:$(DIROBJ)\$(LIBCURL_DYN_LIB_PDB)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
414 CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL)
f5ba174 @bagder John Lask's new makefile
bagder authored
415 CFGSET = TRUE
ecb8188 @bagder Gisle Vanem's libcurl.dll version info patch applied
bagder authored
416 RESOURCE = $(DIROBJ)\libcurl.res
f5ba174 @bagder John Lask's new makefile
bagder authored
417 !ENDIF
418
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
419 ######################
420 # debug-dll-zlib-dll
421
422 !IF "$(CFG)" == "debug-dll-zlib-dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
423 TARGET = $(LIBCURL_DYN_LIB_DBG)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
424 DIROBJ = $(CFG)
425 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
426 LNK = $(LNKDLL) $(WINLIBS) $(ZLIBLIBSDLL) $(LFLAGSZLIB) /DEBUG /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) /PDB:$(DIROBJ)\$(LIBCURL_DYN_LIB_PDB)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
427 CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSZLIB)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
428 CFGSET = TRUE
429 RESOURCE = $(DIROBJ)\libcurl.res
430 !ENDIF
431
432 ######################
433 # debug-dll-ssl-dll-zlib-dll
434
435 !IF "$(CFG)" == "debug-dll-ssl-dll-zlib-dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
436 TARGET = $(LIBCURL_DYN_LIB_DBG)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
437 DIROBJ = $(CFG)
438 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
439 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
440 LNK = $(LNKDLL) $(WINLIBS) $(SSLLIBS) $(ZLIBLIBSDLL) $(LFLAGSSSL) $(LFLAGSZLIB) /DEBUG /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) /PDB:$(DIROBJ)\$(LIBCURL_DYN_LIB_PDB)
0c6bb8c @bagder Temprimus improved the MSVC makefile: "makes a build option available…
bagder authored
441 CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSZLIB)
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
442 CFGSET = TRUE
443 RESOURCE = $(DIROBJ)\libcurl.res
444 !ENDIF
445
f5ba174 @bagder John Lask's new makefile
bagder authored
446 #######################
447 # Usage
448 #
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
449 !IF "$(CFGSET)" == "FALSE" && "$(CFG)" != ""
4515d06 @bagder David Byron's fixes to make the latest curl build fine under MSVC 6.
bagder authored
450 !MESSAGE Usage: nmake /f makefile.vc6 CFG=<config> <target>
f5ba174 @bagder John Lask's new makefile
bagder authored
451 !MESSAGE where <config> is one of:
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
452 !MESSAGE release - release static library
453 !MESSAGE release-ssl - release static library with ssl
454 !MESSAGE release-zlib - release static library with zlib
455 !MESSAGE release-ssl-zlib - release static library with ssl and zlib
4ed7abb @bagder MSVC makefiles: provide SSH build targets
bagder authored
456 !MESSAGE release-ssl-ssh2-zlib - release static library with ssl, ssh2 and zlib
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
457 !MESSAGE release-ssl-dll - release static library with dynamic ssl
458 !MESSAGE release-zlib-dll - release static library with dynamic zlib
459 !MESSAGE release-ssl-dll-zlib-dll - release static library with dynamic ssl and dynamic zlib
460 !MESSAGE release-dll - release dynamic library
461 !MESSAGE release-dll-ssl-dll - release dynamic library with dynamic ssl
462 !MESSAGE release-dll-zlib-dll - release dynamic library with dynamic zlib
463 !MESSAGE release-dll-ssl-dll-zlib-dll - release dynamic library with dynamic ssl and dynamic zlib
464 !MESSAGE debug - debug static library
465 !MESSAGE debug-ssl - debug static library with ssl
466 !MESSAGE debug-zlib - debug static library with zlib
467 !MESSAGE debug-ssl-zlib - debug static library with ssl and zlib
2ebb87f @yangtse build: fix RESOURCE bug in lib/Makefile.vc*
yangtse authored
468 !MESSAGE debug-ssl-ssh2-zlib - debug static library with ssl, ssh2 and zlib
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
469 !MESSAGE debug-ssl-dll - debug static library with dynamic ssl
470 !MESSAGE debug-zlib-dll - debug static library with dynamic zlib
471 !MESSAGE debug-ssl-dll-zlib-dll - debug static library with dynamic ssl and dynamic zlib
472 !MESSAGE debug-dll - debug dynamic library
473 !MESSAGE debug-dll-ssl-dll - debug dynamic library with dynamic ssl
474 !MESSAGE debug-dll-zlib-dll - debug dynamic library with dynamic zlib1
475 !MESSAGE debug-dll-ssl-dll-zlib-dll - debug dynamic library with dynamic ssl and dynamic zlib
f5ba174 @bagder John Lask's new makefile
bagder authored
476 !MESSAGE <target> can be left blank in which case all is assumed
477 !ERROR please choose a valid configuration "$(CFG)"
478 !ENDIF
479
480 #######################
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
481 # Only the clean target can be used if a config was not provided.
482 #
483 !IF "$(CFGSET)" == "FALSE"
484 clean:
485 @-erase /s *.dll 2> NUL
486 @-erase /s *.exp 2> NUL
487 @-erase /s *.idb 2> NUL
488 @-erase /s *.lib 2> NUL
489 @-erase /s *.obj 2> NUL
490 @-erase /s *.pch 2> NUL
491 @-erase /s *.pdb 2> NUL
492 @-erase /s *.res 2> NUL
493 !ELSE
494 # A config was provided, so the library can be built.
f5ba174 @bagder John Lask's new makefile
bagder authored
495 #
496 X_OBJS= \
4235457 @dfandrich Added new resolver sources to Symbian and VC6 build files
dfandrich authored
497 $(DIROBJ)\asyn-ares.obj \
498 $(DIROBJ)\asyn-thread.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
499 $(DIROBJ)\base64.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
500 $(DIROBJ)\connect.obj \
501 $(DIROBJ)\content_encoding.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
502 $(DIROBJ)\cookie.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
503 $(DIROBJ)\curl_addrinfo.obj \
e6b2eb7 @yangtse build: add curl_schannel and curl_darwinssl files to other build systems
yangtse authored
504 $(DIROBJ)\curl_darwinssl.obj \
ad6bc4d @dfandrich Added the new ftp source files to the non-autoconf build files
dfandrich authored
505 $(DIROBJ)\curl_fnmatch.obj \
6028fdb @yangtse build: add missing new files to non-configure target build files
yangtse authored
506 $(DIROBJ)\curl_gethostname.obj \
7d22ce5 @yangtse libcurl private function Curl_memrchr() now in curl_memrchr.c and cur…
yangtse authored
507 $(DIROBJ)\curl_memrchr.obj \
a5e0583 @yangtse build: add curl_multibyte files to build systems
yangtse authored
508 $(DIROBJ)\curl_multibyte.obj \
98fb0ef @yangtse http NTLM: split http_ntlm.[ch] between http_ntlm.[ch] and curl_ntlm.…
yangtse authored
509 $(DIROBJ)\curl_ntlm.obj \
135f694 @yangtse NTLM: move NTLM core specifics into curl_ntlm_core.[ch]
yangtse authored
510 $(DIROBJ)\curl_ntlm_core.obj \
662c1d8 @yangtse NTLM: END of refactoring/splitting/moving
yangtse authored
511 $(DIROBJ)\curl_ntlm_msgs.obj \
260ee6b @yangtse NTLM_WB: move NTLM_WB specifics into curl_ntlm_wb.[ch]
yangtse authored
512 $(DIROBJ)\curl_ntlm_wb.obj \
f2f4533 @yangtse Moved Curl_rand() and Curl_srand() code from formdata.c and formdata.h
yangtse authored
513 $(DIROBJ)\curl_rand.obj \
76255cf @dfandrich Added Polar SSL and RTMP files to the non-autoconf build files
dfandrich authored
514 $(DIROBJ)\curl_rtmp.obj \
32ab327 @yangtse sasl: add reference for curl_sasl
yangtse authored
515 $(DIROBJ)\curl_sasl.obj \
e6b2eb7 @yangtse build: add curl_schannel and curl_darwinssl files to other build systems
yangtse authored
516 $(DIROBJ)\curl_schannel.obj \
e813bf3 @yangtse Introduced curl_sspi.c and curl_sspi.h for the implementation of func…
yangtse authored
517 $(DIROBJ)\curl_sspi.obj \
1d86ebf @yangtse add curl_threads.c to non-configure target build files
yangtse authored
518 $(DIROBJ)\curl_threads.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
519 $(DIROBJ)\dict.obj \
520 $(DIROBJ)\easy.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
521 $(DIROBJ)\escape.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
522 $(DIROBJ)\file.obj \
32ab327 @yangtse sasl: add reference for curl_sasl
yangtse authored
523 $(DIROBJ)\fileinfo.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
524 $(DIROBJ)\formdata.obj \
525 $(DIROBJ)\ftp.obj \
32ab327 @yangtse sasl: add reference for curl_sasl
yangtse authored
526 $(DIROBJ)\ftplistparser.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
527 $(DIROBJ)\getenv.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
528 $(DIROBJ)\getinfo.obj \
29439ac @bagder Makefile: add gopher.c file to build
bagder authored
529 $(DIROBJ)\gopher.obj \
4235457 @dfandrich Added new resolver sources to Symbian and VC6 build files
dfandrich authored
530 $(DIROBJ)\gtls.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
531 $(DIROBJ)\hash.obj \
32236da @yangtse hmac.c related compilation adjustment
yangtse authored
532 $(DIROBJ)\hmac.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
533 $(DIROBJ)\hostasyn.obj \
32ab327 @yangtse sasl: add reference for curl_sasl
yangtse authored
534 $(DIROBJ)\hostip.obj \
92fc3f0 @bagder added the new files to the build
bagder authored
535 $(DIROBJ)\hostip4.obj \
536 $(DIROBJ)\hostip6.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
537 $(DIROBJ)\hostsyn.obj \
32ab327 @yangtse sasl: add reference for curl_sasl
yangtse authored
538 $(DIROBJ)\http.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
539 $(DIROBJ)\http_chunks.obj \
540 $(DIROBJ)\http_digest.obj \
541 $(DIROBJ)\http_negotiate.obj \
32ab327 @yangtse sasl: add reference for curl_sasl
yangtse authored
542 $(DIROBJ)\http_negotiate_sspi.obj \
02dbfa2 @bagder http-proxy: move proxy code to http_proxy.c
bagder authored
543 $(DIROBJ)\http_proxy.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
544 $(DIROBJ)\if2ip.obj \
a644af1 @dfandrich Added the new protocol source files to the non-autoconf build files
dfandrich authored
545 $(DIROBJ)\imap.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
546 $(DIROBJ)\inet_ntop.obj \
547 $(DIROBJ)\inet_pton.obj \
548 $(DIROBJ)\ldap.obj \
549 $(DIROBJ)\llist.obj \
6028fdb @yangtse build: add missing new files to non-configure target build files
yangtse authored
550 $(DIROBJ)\md4.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
551 $(DIROBJ)\md5.obj \
552 $(DIROBJ)\memdebug.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
553 $(DIROBJ)\mprintf.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
554 $(DIROBJ)\multi.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
555 $(DIROBJ)\netrc.obj \
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
556 $(DIROBJ)\nonblock.obj \
3b24076 @yangtse add missing new files to non-configure target build files
yangtse authored
557 $(DIROBJ)\openldap.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
558 $(DIROBJ)\parsedate.obj \
a644af1 @dfandrich Added the new protocol source files to the non-autoconf build files
dfandrich authored
559 $(DIROBJ)\pingpong.obj \
76255cf @dfandrich Added Polar SSL and RTMP files to the non-autoconf build files
dfandrich authored
560 $(DIROBJ)\polarssl.obj \
a644af1 @dfandrich Added the new protocol source files to the non-autoconf build files
dfandrich authored
561 $(DIROBJ)\pop3.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
562 $(DIROBJ)\progress.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
563 $(DIROBJ)\rawstr.obj \
5af20c7 @dfandrich Added rtsp.c to the non-configure target build files
dfandrich authored
564 $(DIROBJ)\rtsp.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
565 $(DIROBJ)\select.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
566 $(DIROBJ)\sendf.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
567 $(DIROBJ)\share.obj \
7291f50 @dfandrich Added new libcurl source files to Amiga, RiscOS and VC6 build files.
dfandrich authored
568 $(DIROBJ)\slist.obj \
a644af1 @dfandrich Added the new protocol source files to the non-autoconf build files
dfandrich authored
569 $(DIROBJ)\smtp.obj \
ad6bc4d @dfandrich Added the new ftp source files to the non-autoconf build files
dfandrich authored
570 $(DIROBJ)\socks.obj \
32ab327 @yangtse sasl: add reference for curl_sasl
yangtse authored
571 $(DIROBJ)\socks_gssapi.obj \
de4610a @bagder - Markus Moeller introduced two new options to libcurl:
bagder authored
572 $(DIROBJ)\socks_sspi.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
573 $(DIROBJ)\speedcheck.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
574 $(DIROBJ)\splay.obj \
14a6788 @bagder - Lisa Xu pointed out that the ssh.obj file was missing from the lib/…
bagder authored
575 $(DIROBJ)\ssh.obj \
2a045df @bagder fixed to build after the GnuTLS fixes
bagder authored
576 $(DIROBJ)\sslgen.obj \
f5ba174 @bagder John Lask's new makefile
bagder authored
577 $(DIROBJ)\ssluse.obj \
578 $(DIROBJ)\strequal.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
579 $(DIROBJ)\strerror.obj \
d1ea596 @bagder SM added connect.obj
bagder authored
580 $(DIROBJ)\strtok.obj \
b60e0fa @bagder David J Meyer's large file support.
bagder authored
581 $(DIROBJ)\strtoofft.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
582 $(DIROBJ)\telnet.obj \
0e7d938 @bagder added tftp.c
bagder authored
583 $(DIROBJ)\tftp.obj \
4a4885e @yangtse Add missing curl_addrinfo, and sort the list.
yangtse authored
584 $(DIROBJ)\timeval.obj \
585 $(DIROBJ)\transfer.obj \
586 $(DIROBJ)\url.obj \
587 $(DIROBJ)\version.obj \
0484383 @yangtse fix compiler warning
yangtse authored
588 $(DIROBJ)\warnless.obj \
ad6bc4d @dfandrich Added the new ftp source files to the non-autoconf build files
dfandrich authored
589 $(DIROBJ)\wildcard.obj \
ecb8188 @bagder Gisle Vanem's libcurl.dll version info patch applied
bagder authored
590 $(RESOURCE)
f5ba174 @bagder John Lask's new makefile
bagder authored
591
592 all : $(TARGET)
593
594 $(TARGET): $(X_OBJS)
2479e06 @bagder David Byron's work on making libcurl only require winsock 1.1 on Windows
bagder authored
595 $(LNK) $(LFLAGS) $(X_OBJS)
8d569c7 @yangtse build: refactoring of msvc makefiles to allow overriding of library f…
yangtse authored
596 -xcopy $(DIROBJ)\$(LIBCURL_STA_LIB_REL) . /y
597 -xcopy $(DIROBJ)\$(LIBCURL_STA_LIB_DBG) . /y
598 -xcopy $(DIROBJ)\$(LIBCURL_DYN_LIB_REL) . /y
599 -xcopy $(DIROBJ)\$(LIBCURL_DYN_LIB_DBG) . /y
600 -xcopy $(DIROBJ)\$(LIBCURL_IMP_LIB_REL) . /y
601 -xcopy $(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) . /y
602 -xcopy $(DIROBJ)\*.exp . /y
603 -xcopy $(DIROBJ)\*.pdb . /y
f5ba174 @bagder John Lask's new makefile
bagder authored
604
605 $(X_OBJS): $(DIROBJ)
606
607 $(DIROBJ):
608 @if not exist "$(DIROBJ)" mkdir $(DIROBJ)
609
ecb8188 @bagder Gisle Vanem's libcurl.dll version info patch applied
bagder authored
610 .SUFFIXES: .c .obj .res
f5ba174 @bagder John Lask's new makefile
bagder authored
611
612 {.\}.c{$(DIROBJ)\}.obj:
613 $(CC) $(CFLAGS) /Fo"$@" $<
b555ca5 @bagder made it binary in CVS to maintain DOS newlines and turned those newlines
bagder authored
614
ecb8188 @bagder Gisle Vanem's libcurl.dll version info patch applied
bagder authored
615 debug-dll\libcurl.res \
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
616 debug-dll-ssl-dll\libcurl.res \
617 debug-dll-zlib-dll\libcurl.res \
618 debug-dll-ssl-dll-zlib-dll\libcurl.res: libcurl.rc
7eb59de @yangtse DEBUGBUILD / CURLDEBUG decoupling follow-up
yangtse authored
619 rc /dDEBUGBUILD=1 /Fo $@ libcurl.rc
ecb8188 @bagder Gisle Vanem's libcurl.dll version info patch applied
bagder authored
620
621 release-dll\libcurl.res \
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
622 release-dll-ssl-dll\libcurl.res \
623 release-dll-zlib-dll\libcurl.res \
624 release-dll-ssl-dll-zlib-dll\libcurl.res: libcurl.rc
7eb59de @yangtse DEBUGBUILD / CURLDEBUG decoupling follow-up
yangtse authored
625 rc /dDEBUGBUILD=0 /Fo $@ libcurl.rc
b1080f7 @bagder Cody Jones' enhanced version of Samuel D�az Garc�a's MSVC makefile pa…
bagder authored
626 !ENDIF # End of case where a config was provided.
Something went wrong with that request. Please try again.