winbuild: include version info for .dll .exe
authorAndrei Kurushin <ajax16384@gmail.com>
Mon, 4 Feb 2013 23:08:01 +0000 (00:08 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 4 Feb 2013 23:08:50 +0000 (00:08 +0100)
Bug: http://curl.haxx.se/bug/view.cgi?id=1186

winbuild/MakefileBuild.vc

index 5e8b392..1f67010 100644 (file)
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___\r
 #                             \___|\___/|_| \_\_____|\r
 #\r
-# Copyright (C) 1999 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.\r
+# Copyright (C) 1999 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.\r
 #\r
 # This software is licensed as described in the file COPYING, which\r
 # you should have received as part of this distribution. The terms\r
@@ -374,8 +374,13 @@ clean:
 !include CURL_OBJS.inc\r
 !include LIBCURL_OBJS.inc\r
 \r
+!IF "$(AS_DLL)" == "true"\r
+LIB_OBJS = $(LIBCURL_OBJS) $(RESOURCE)\r
+!ELSE\r
 LIB_OBJS = $(LIBCURL_OBJS)\r
-EXE_OBJS = $(CURL_OBJS)\r
+!ENDIF\r
+\r
+EXE_OBJS = $(CURL_OBJS) $(CURL_DIROBJ)\curl.res\r
 \r
 all : $(TARGET) $(PROGRAM_NAME)\r
 \r