From 1fc29711562b84f04eb4209e0983f5bbd3bfb150 Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Sat, 1 Apr 2000 14:19:48 +0000 Subject: [PATCH] Version info for Minix driver. svn path=/trunk/; revision=1097 --- reactos/drivers/fs/minix/makefile_rex | 44 +++++++++++++++++++++------ reactos/drivers/fs/minix/minix.rc | 39 ++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 10 deletions(-) create mode 100644 reactos/drivers/fs/minix/minix.rc diff --git a/reactos/drivers/fs/minix/makefile_rex b/reactos/drivers/fs/minix/makefile_rex index 07b9ab8e170..3a889519694 100644 --- a/reactos/drivers/fs/minix/makefile_rex +++ b/reactos/drivers/fs/minix/makefile_rex @@ -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 index 00000000000..37081597650 --- /dev/null +++ b/reactos/drivers/fs/minix/minix.rc @@ -0,0 +1,39 @@ + +#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", "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 + -- 2.17.1