mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Added version resource script.
svn path=/trunk/; revision=2082
This commit is contained in:
parent
5cb7155212
commit
5e6df71477
2 changed files with 47 additions and 4 deletions
|
@ -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]
|
||||
#
|
||||
|
@ -5,7 +7,7 @@
|
|||
#
|
||||
PATH_TO_TOP = ../..
|
||||
|
||||
CFLAGS = -fno-rtti -I../../include/
|
||||
CFLAGS = -fno-rtti -I$(PATH_TO_TOP)/include/
|
||||
|
||||
TARGETNAME=ole32
|
||||
|
||||
|
@ -19,15 +21,18 @@ OBJECTS=\
|
|||
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 \
|
||||
$(TARGETNAME).dll $(TARGETNAME).sym
|
||||
$(TARGETNAME).dll $(TARGETNAME).sym $(TARGETNAME).coff
|
||||
|
||||
all: $(DLLTARGET)
|
||||
|
||||
$(TARGETNAME).coff: $(TARGETNAME).rc $(PATH_TO_TOP)/include/reactos/resource.h
|
||||
|
||||
$(TARGETNAME).a: $(OBJECTS)
|
||||
$(LD) -r $(OBJECTS) -o $(TARGETNAME).a
|
||||
|
||||
|
@ -75,4 +80,4 @@ clean:
|
|||
|
||||
.PHONY: clean
|
||||
|
||||
include ../../rules.mak
|
||||
include $(PATH_TO_TOP)/rules.mak
|
||||
|
|
38
reactos/lib/ole32/ole32.rc
Normal file
38
reactos/lib/ole32/ole32.rc
Normal file
|
@ -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
|
||||
|
Loading…
Reference in a new issue