From 5e6df7147738533d19dabac9b4397e7c1f45f31c Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Sat, 21 Jul 2001 15:40:04 +0000 Subject: [PATCH] Added version resource script. svn path=/trunk/; revision=2082 --- reactos/lib/ole32/makefile | 13 +++++++++---- reactos/lib/ole32/ole32.rc | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 4 deletions(-) create mode 100644 reactos/lib/ole32/ole32.rc diff --git a/reactos/lib/ole32/makefile b/reactos/lib/ole32/makefile index e854b101284..ef2eb43300b 100644 --- a/reactos/lib/ole32/makefile +++ b/reactos/lib/ole32/makefile @@ -1,3 +1,5 @@ +# $Id: makefile,v 1.4 2001/07/21 15:40:04 ea Exp $ +# # ReactOS 0.17 # Jurgen Van Gael [jurgen.vangael@student.kuleuven.ac.be] # @@ -5,7 +7,7 @@ # PATH_TO_TOP = ../.. -CFLAGS = -fno-rtti -I../../include/ +CFLAGS = -fno-rtti -I$(PATH_TO_TOP)/include/ TARGETNAME=ole32 @@ -19,15 +21,18 @@ OBJECTS=\ Ole2.o \ OleAuto.o \ Misc.o \ - Storage.o + Storage.o \ + $(TARGETNAME).coff CLEAN_FILES = *.o \ $(TARGETNAME).o $(TARGETNAME).a junk.tmp base.tmp temp.exp \ - $(TARGETNAME).dll $(TARGETNAME).sym + $(TARGETNAME).dll $(TARGETNAME).sym $(TARGETNAME).coff all: $(DLLTARGET) +$(TARGETNAME).coff: $(TARGETNAME).rc $(PATH_TO_TOP)/include/reactos/resource.h + $(TARGETNAME).a: $(OBJECTS) $(LD) -r $(OBJECTS) -o $(TARGETNAME).a @@ -75,4 +80,4 @@ clean: .PHONY: clean -include ../../rules.mak +include $(PATH_TO_TOP)/rules.mak diff --git a/reactos/lib/ole32/ole32.rc b/reactos/lib/ole32/ole32.rc new file mode 100644 index 00000000000..aed7dcaaf77 --- /dev/null +++ b/reactos/lib/ole32/ole32.rc @@ -0,0 +1,38 @@ +#include +#include + +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US + +VS_VERSION_INFO VERSIONINFO + FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD + PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", RES_STR_COMPANY_NAME + VALUE "FileDescription", "OLE for ReactOS\0" + VALUE "FileVersion", RES_STR_FILE_VERSION + VALUE "InternalName", "ole32\0" + VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT + VALUE "OriginalFilename", "ole32.dll\0" + VALUE "ProductName", RES_STR_PRODUCT_NAME + VALUE "ProductVersion", RES_STR_PRODUCT_VERSION + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END +