Version info for Minix driver.
authorEmanuele Aliberti <ea@iol.it>
Sat, 1 Apr 2000 14:19:48 +0000 (14:19 +0000)
committerEmanuele Aliberti <ea@iol.it>
Sat, 1 Apr 2000 14:19:48 +0000 (14:19 +0000)
svn path=/trunk/; revision=1097

reactos/drivers/fs/minix/makefile_rex
reactos/drivers/fs/minix/minix.rc [new file with mode: 0644]

index 07b9ab8..3a88951 100644 (file)
@@ -1,9 +1,15 @@
+# $Id: makefile_rex,v 1.8 2000/04/01 14:19:48 ea Exp $
+#
+# Minix IFS Driver makefile
+#
 BASE_CFLAGS = -I../../../include
 
-all: minixfs.sys
+TARGETNAME=minixfs
+
+all: $(TARGETNAME).sys
 
 OBJECTS = block.o rw.o inode.o dir.o mount.o blockdev.o cache.o \
-          ../../../ntoskrnl/ntoskrnl.a 
+          minix.coff ../../../ntoskrnl/ntoskrnl.a 
 
 .phony: all
 
@@ -18,7 +24,7 @@ clean:
        - $(RM) junk.tmp
        - $(RM) base.tmp
        - $(RM) temp.exp
-       - $(RM) minixfs.sys
+       - $(RM) $(TARGETNAME).sys
 
 .phony: clean
 
@@ -26,17 +32,35 @@ minix.o: $(OBJECTS)
        $(LD) -r $(OBJECTS) -o minix.o
 
 minixfs.sys: $(OBJECTS)
-       $(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
-             -Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
-             -Wl,--base-file,base.tmp $(OBJECTS)
+       $(CC) \
+               -specs=../../svc_specs \
+               -mdll \
+               -o junk.tmp \
+               -Wl,--defsym,_end=end \
+               -Wl,--defsym,_edata=__data_end__ \
+               -Wl,--defsym,_etext=etext \
+               -Wl,--base-file,base.tmp \
+               $(OBJECTS)
        - $(RM) junk.tmp
-       $(DLLTOOL) --dllname minixfs.sys --base-file base.tmp \
-                  --output-exp temp.exp
+       $(DLLTOOL) \
+               --dllname $(TARGETNAME).sys \
+               --base-file base.tmp \
+               --output-exp temp.exp
        - $(RM) base.tmp
-       $(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
-             -specs=../../svc_specs -mdll -o minixfs.sys $(OBJECTS) -Wl,temp.exp
+       $(CC) \
+               --verbose \
+               -Wl,--image-base,0x10000 \
+               -Wl,-e,_DriverEntry@8 \
+               -specs=../../svc_specs \
+               -mdll \
+               -o $(TARGETNAME).sys \
+               $(OBJECTS) \
+               -Wl,temp.exp
        - $(RM) temp.exp
 
+minix.coff: ../../../include/reactos/buildno.h minix.rc
+
 WIN32_LEAN_AND_MEAN = yes
 WARNINGS_ARE_ERRORS = yes
 include ../../../rules.mak
+# EOF
diff --git a/reactos/drivers/fs/minix/minix.rc b/reactos/drivers/fs/minix/minix.rc
new file mode 100644 (file)
index 0000000..3708159
--- /dev/null
@@ -0,0 +1,39 @@
+
+#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",   "Minix IFS Driver\0"
+            VALUE "FileVersion",       "0.0.0\0"
+            VALUE "InternalName",      "minixfs\0"
+            VALUE "LegalCopyright",    RES_STR_LEGAL_COPYRIGHT
+            VALUE "OriginalFilename",  "minixfs.sys\0"
+            VALUE "ProductName",       RES_STR_PRODUCT_NAME
+            VALUE "ProductVersion",    RES_STR_PRODUCT_VERSION
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+