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

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

index e854b10..ef2eb43 100644 (file)
@@ -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]
 #
 # ReactOS 0.17
 # Jurgen Van Gael [jurgen.vangael@student.kuleuven.ac.be]
 #
@@ -5,7 +7,7 @@
 #
 PATH_TO_TOP = ../..
 
 #
 PATH_TO_TOP = ../..
 
-CFLAGS = -fno-rtti -I../../include/
+CFLAGS = -fno-rtti -I$(PATH_TO_TOP)/include/
 
 TARGETNAME=ole32
 
 
 TARGETNAME=ole32
 
@@ -19,15 +21,18 @@ OBJECTS=\
        Ole2.o \
        OleAuto.o \
        Misc.o \
        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 \
 
 
 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)
 
 
 all: $(DLLTARGET)
 
+$(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
 
@@ -75,4 +80,4 @@ clean:
 
 .PHONY: 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 (file)
index 0000000..aed7dca
--- /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",      "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
+