summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
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