summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-10-09 09:03:15 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-10-09 09:03:15 +0200
commit37fd78926f6e6a090d4fef82175da6a8942040c9 (patch)
tree4bf6038f13b376e5d5802f1f39d9921eb7bb5449 /src
parentaab6eb03fcb2157ce771e9cbadc0044c518ca11e (diff)
resource file for executable
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/makefile.mak4
-rw-r--r--src/fe-gtk/xchat.rc22
2 files changed, 22 insertions, 4 deletions
diff --git a/src/fe-gtk/makefile.mak b/src/fe-gtk/makefile.mak
index 02bd8479..883fb5ef 100644
--- a/src/fe-gtk/makefile.mak
+++ b/src/fe-gtk/makefile.mak
@@ -17,9 +17,6 @@ all: $(PROG)
 $(PROG): $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
 	$(LINK) /out:$(PROG) /entry:mainCRTStartup $(LDFLAGS) $(LIBS) $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
 
-xchat.rc:
-	echo XC_ICON ICON "../../xchat.ico" > xchat.rc
-
 xchat.res: xchat.rc ../../xchat.ico
 	rc /nologo /r xchat.rc
 
@@ -29,5 +26,4 @@ xchat-icon.obj: xchat.res
 clean:
 	@del *.obj
 	@del $(PROG)
-	@del xchat.rc
 	@del xchat.res
diff --git a/src/fe-gtk/xchat.rc b/src/fe-gtk/xchat.rc
new file mode 100644
index 00000000..18c209c1
--- /dev/null
+++ b/src/fe-gtk/xchat.rc
@@ -0,0 +1,22 @@
+#include <winver.h>

+#include "../../config.h"

+

+XC_ICON ICON "../../xchat.ico" 

+

+VS_VERSION_INFO VERSIONINFO

+	BEGIN

+		BLOCK "StringFileInfo"

+		BEGIN

+			BLOCK "040904B0"

+			BEGIN

+				

+				VALUE "FileDescription", "XChat-WDK IRC Client"

+				VALUE "ProductName", "XChat-WDK" 

+				VALUE "ProductVersion", PACKAGE_VERSION

+			END

+		END

+		BLOCK "VarFileInfo"

+		BEGIN

+			VALUE "Translation", 0x0409, 0x04B0

+		END

+	END