From 35fe93e0725ebed2fe2f430b185b075a9761346c Mon Sep 17 00:00:00 2001 From: cantor Date: Thu, 13 Sep 2007 15:49:18 +0000 Subject: [PATCH] Add version resource. git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@304 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- saml/Makefile.am | 2 +- saml/resource.h | 15 +++++++ saml/saml.rc | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 saml/resource.h create mode 100644 saml/saml.rc diff --git a/saml/Makefile.am b/saml/Makefile.am index 4cfdd44..cc42f95 100644 --- a/saml/Makefile.am +++ b/saml/Makefile.am @@ -171,7 +171,7 @@ libsaml_la_LDFLAGS = -version-info 2:0:0 install-exec-hook: for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done -EXTRA_DIST = saml.vcproj zlib +EXTRA_DIST = saml.vcproj zlib resource.h saml.rc dist-hook: rm -rf `find $(distdir)/zlib -name .svn` diff --git a/saml/resource.h b/saml/resource.h new file mode 100644 index 0000000..f8aee23 --- /dev/null +++ b/saml/resource.h @@ -0,0 +1,15 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Developer Studio generated include file. +// Used by saml.rc +// + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/saml/saml.rc b/saml/saml.rc new file mode 100644 index 0000000..0a36262 --- /dev/null +++ b/saml/saml.rc @@ -0,0 +1,117 @@ +//Microsoft Developer Studio generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifndef _MAC +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 2,0,0,0 + PRODUCTVERSION 2,0,0,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "Comments", "\0" + VALUE "CompanyName", "Internet2\0" + VALUE "FileDescription", "OpenSAML 2.0 Library\0" + VALUE "FileVersion", "2, 0, 0, 0\0" +#ifdef _DEBUG + VALUE "InternalName", "saml2_0D\0" +#else + VALUE "InternalName", "saml2_0\0" +#endif + VALUE "LegalCopyright", "Copyright © 2007 Internet2\0" + VALUE "LegalTrademarks", "\0" +#ifdef _DEBUG + VALUE "OriginalFilename", "saml2_0D.dll\0" +#else + VALUE "OriginalFilename", "saml2_0.dll\0" +#endif + VALUE "PrivateBuild", "\0" + VALUE "ProductName", "OpenSAML 2.0\0" + VALUE "ProductVersion", "2, 0, 0, 0\0" + VALUE "SpecialBuild", "\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + +#endif // !_MAC + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE DISCARDABLE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE DISCARDABLE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE DISCARDABLE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + -- 2.1.4