aboutsummaryrefslogtreecommitdiffstats
path: root/image/Makefile.nmake
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-13 23:09:51 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-13 23:09:51 +0000
commit0f4b5c537dd5fc4a2154c5d084c4d6d7e7dcdc01 (patch)
treeac619a062b4f04cdd119c7c23956baa4801f881d /image/Makefile.nmake
parenteb9143e0d2f723741182000d53dea2f790562ae0 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17291 f5534014-38df-0310-8fa8-9805f1628bb7
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 > $@