Added copyright string to ares_version.h and make use of it in other files.
authorGuenter Knauf <lists@gknw.net>
Sun, 8 Aug 2010 09:18:38 +0000 (11:18 +0200)
committerGuenter Knauf <lists@gknw.net>
Sun, 8 Aug 2010 09:18:38 +0000 (11:18 +0200)
Makefile.netware
ares_version.h
cares.rc

index 043c967..c70b7f4 100644 (file)
@@ -20,7 +20,7 @@ endif
 TARGETS = adig.nlm ahost.nlm acountry.nlm
 LTARGET = libcares.$(LIBEXT)
 VERSION        = $(LIBCARES_VERSION)
-COPYR  = Copyright (C) 1996 - 2010, Daniel Stenberg, <daniel@haxx.se>
+COPYR  = $(LIBCARES_COPYRIGHT_STR)
 DESCR  = cURL $(subst .def,,$(notdir $@)) $(LIBCARES_VERSION_STR) - http://curl.haxx.se
 MTSAFE = YES
 STACK  = 64000
index a17e8af..c79b33d 100644 (file)
@@ -2,6 +2,9 @@
 #ifndef ARES__VERSION_H
 #define ARES__VERSION_H
 
+/* This is the global package copyright */
+#define ARES_COPYRIGHT "2004 - 2010 Daniel Stenberg, <daniel@haxx.se>."
+
 #define ARES_VERSION_MAJOR 1
 #define ARES_VERSION_MINOR 7
 #define ARES_VERSION_PATCH 4
index 2c43dca..50a5e8e 100644 (file)
--- a/cares.rc
+++ b/cares.rc
@@ -53,7 +53,7 @@ BEGIN
 #endif
       VALUE "ProductName",      "The c-ares library\0"
       VALUE "ProductVersion",   ARES_VERSION_STR "\0"
-      VALUE "LegalCopyright",   "© 2004 - 2009 Daniel Stenberg, <daniel@haxx.se>.\0"
+      VALUE "LegalCopyright",   "© " ARES_COPYRIGHT "\0"
       VALUE "License",          "http://c-ares.haxx.se/license.html\0"
     END
   END