Added version resource script.
authorEmanuele Aliberti <ea@iol.it>
Sat, 21 Jul 2001 15:34:08 +0000 (15:34 +0000)
committerEmanuele Aliberti <ea@iol.it>
Sat, 21 Jul 2001 15:34:08 +0000 (15:34 +0000)
svn path=/trunk/; revision=2081

reactos/lib/oleaut32/makefile
reactos/lib/oleaut32/oleaut32.rc [new file with mode: 0644]

index c01fbba..24db173 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.1 2001/07/16 01:45:43 rex Exp $
+# $Id: makefile,v 1.2 2001/07/21 15:34:08 ea Exp $
 #
 # Makefile for ReactOS oleaut32.dll
 #
 #
 # Makefile for ReactOS oleaut32.dll
 #
@@ -11,14 +11,14 @@ TARGETNAME=oleaut32
 IMAGE_BASE = 0x76260000
 
 DLLTARGET=$(TARGETNAME).dll
 IMAGE_BASE = 0x76260000
 
 DLLTARGET=$(TARGETNAME).dll
-OBJECTS = dllmain.o stubs.o 
+OBJECTS = dllmain.o stubs.o $(TARGETNAME).coff
 CLEAN_FILES = $(OBJECTS) $(TARGETNAME).o $(TARGETNAME).a junk.tmp  \
        base.tmp temp.exp $(TARGETNAME).dll $(TARGETNAME).sym  \
        $(TARGETNAME).coff
 
 all: $(DLLTARGET)
 
 CLEAN_FILES = $(OBJECTS) $(TARGETNAME).o $(TARGETNAME).a junk.tmp  \
        base.tmp temp.exp $(TARGETNAME).dll $(TARGETNAME).sym  \
        $(TARGETNAME).coff
 
 all: $(DLLTARGET)
 
-$(TARGETNAME).coff: $(TARGETNAME).rc ../../include/reactos/resource.h
+$(TARGETNAME).coff: $(TARGETNAME).rc $(PATH_TO_TOP)/include/reactos/resource.h
 
 $(TARGETNAME).a: $(OBJECTS)
        $(LD) -r $(OBJECTS) -o $(TARGETNAME).a
 
 $(TARGETNAME).a: $(OBJECTS)
        $(LD) -r $(OBJECTS) -o $(TARGETNAME).a
diff --git a/reactos/lib/oleaut32/oleaut32.rc b/reactos/lib/oleaut32/oleaut32.rc
new file mode 100644 (file)
index 0000000..f6cdfb9
--- /dev/null
@@ -0,0 +1,38 @@
+#include <defines.h>
+#include <reactos/resource.h>
+
+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",      "oleaut32\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "oleaut32.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
+