aboutsummaryrefslogtreecommitdiffstats
path: root/image/Makefile.nmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2006-02-13 23:09:51 +0000
committerGerald Combs <gerald@wireshark.org>2006-02-13 23:09:51 +0000
commitee12c30d2c4e4a3896775e20d70066f0c47a707a (patch)
treeac619a062b4f04cdd119c7c23956baa4801f881d /image/Makefile.nmake
parent184349063fb64bf9b4a5636cd85988fd58e65834 (diff)
Add a manifest, so that styled widgets are drawn correcltly. The
"version" field in the manifest is picky about formatting, so setting a custom version in config.nmake (e.g. "0.10.14-test") will probably break the Windows build. svn path=/trunk/; revision=17291
Diffstat (limited to 'image/Makefile.nmake')
-rw-r--r--image/Makefile.nmake9
1 files changed, 7 insertions, 2 deletions
diff --git a/image/Makefile.nmake b/image/Makefile.nmake
index d7eee52cc1..c9689912c1 100644
--- a/image/Makefile.nmake
+++ b/image/Makefile.nmake
@@ -4,10 +4,15 @@
include ..\config.nmake
-ALL_RC=ethereal.rc libethereal.rc tethereal.rc capinfos.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc dumpcap.rc
+ALL_RC=ethereal.rc libethereal.rc tethereal.rc capinfos.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc dumpcap.rc ethereal.exe.manifest
all : $(ALL_RC)
-ethereal.rc : ethereal.rc.in ..\config.nmake
+ethereal.exe.manifest: ethereal.exe.manifest.in ..\config.nmake
+ sed -e s/@VERSION@/$(VERSION)/ \
+ -e s/@RC_VERSION@/$(RC_VERSION)/ \
+ < ethereal.exe.manifest.in > $@
+
+ethereal.rc : ethereal.rc.in ethereal.exe.manifest ..\config.nmake
sed -e s/@VERSION@/$(VERSION)/ \
-e s/@RC_VERSION@/$(RC_VERSION)/ \
< ethereal.rc.in > $@