## Release\r
CCR = cl.exe /MD /O2 /D "NDEBUG"\r
LINKR = link.exe /incremental:no /libpath:"../lib"\r
+RCR = rc.exe /dCURLDEBUG=0\r
\r
## Debug\r
CCD = cl.exe /MDd /Gm /ZI /Od /D "_DEBUG" /GZ\r
LINKD = link.exe /incremental:yes /debug /libpath:"../lib"\r
+RCD = rc.exe /dCURLDEBUG=1\r
\r
!IFNDEF ZLIB_PATH\r
ZLIB_PATH = ../../zlib-1.1.4\r
\r
CFLAGS = /I "../lib" /I "../include" /I "$(ZLIB_PATH)" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "_MBCS" /YX /FD /c\r
LFLAGS = /nologo /libpath:"$(ZLIB_PATH)" /out:$(PROGRAM_NAME) /subsystem:console /machine:I386\r
+RESFLAGS = /i "../include"\r
LINKLIBS = wsock32.lib libcurl.lib winmm.lib zlib.lib\r
LINKLIBS_DEBUG = wsock32.lib libcurld.lib winmm.lib zlib.lib\r
\r
urlglobr.obj \\r
getpassr.obj \\r
homedirr.obj \\r
- mainr.obj\r
+ mainr.obj \\r
+ curlr.res\r
\r
DEBUG_OBJS= \\r
hugehelpd.obj \\r
urlglobd.obj \\r
getpassd.obj \\r
homedird.obj \\r
- maind.obj\r
+ maind.obj \\r
+ curld.res\r
\r
######################\r
# release-ssl\r
LINKLIBS_DEBUG = $(LINKLIBS_DEBUG) $(SSLLIBS)\r
LFLAGS = $(LFLAGS) $(LFLAGSSSL)\r
!ENDIF\r
- \r
+\r
all : release\r
\r
release: $(RELEASE_OBJS)\r
$(CCR) $(CFLAGS) /Fo"$@" homedir.c\r
mainr.obj: main.c\r
$(CCR) $(CFLAGS) /Fo"$@" main.c\r
+curlr.res : curl.rc\r
+ $(RCR) $(RESFLAGS) /Fo"$@" curl.rc\r
\r
## Debug\r
hugehelpd.obj: hugehelp.c\r
$(CCD) $(CFLAGS) /Fo"$@" homedir.c\r
maind.obj: main.c\r
$(CCD) $(CFLAGS) /Fo"$@" main.c\r
+curld.res : curl.rc\r
+ $(RCD) $(RESFLAGS) /Fo"$@" curl.rc\r
\r
clean:\r
-@erase $(RELEASE_OBJS)\r
+#ifndef __VERSION_H
+#define __VERSION_H
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ * $Id$
+ ***************************************************************************/
+
+#include <curl/curl.h>
+
#define CURL_NAME "curl"
#define CURL_VERSION LIBCURL_VERSION
+#define CURL_VERSION_MAJOR LIBCURL_VERSION_MAJOR
+#define CURL_VERSION_MINOR LIBCURL_VERSION_MINOR
+#define CURL_VERSION_PATCH LIBCURL_VERSION_PATCH
#define CURL_ID CURL_NAME " " CURL_VERSION " (" OS ") "
+
+#endif