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

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

index 113712f..c36a89b 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.3 2001/07/15 21:18:55 rex Exp $
+# $Id: makefile,v 1.4 2001/07/21 08:36:33 ea Exp $
 #
 # Makefile for ReactOS shell32.dll
 #
@@ -17,7 +17,8 @@ MISC_OBJECTS=\
        misc/stubs.o 
 
 OBJECTS=\
-       $(MISC_OBJECTS)
+       $(MISC_OBJECTS) \
+       $(TARGETNAME).coff
 
 CLEAN_FILES = misc/*.o  \
               $(TARGETNAME).o $(TARGETNAME).a junk.tmp base.tmp temp.exp \
@@ -25,7 +26,7 @@ CLEAN_FILES = misc/*.o  \
 
 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
diff --git a/reactos/lib/shell32/shell32.rc b/reactos/lib/shell32/shell32.rc
new file mode 100644 (file)
index 0000000..fda429e
--- /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",   "ReactOS Shell Common Library\0"
+            VALUE "FileVersion",       RES_STR_FILE_VERSION
+            VALUE "InternalName",      "shell32\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "shell32.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
+