wireshark/image/Makefile.nmake
Guy Harris 458e915b90 From Graham Bloice: make the RC_VERSION variable in config.nmake
comma-separated, so that the resources will be built correctly and the
version number correctly displayed in the GUI, and make the resources
dependent on "config.nmake" so that they're rebuilt if it's changed.

svn path=/trunk/; revision=7373
2003-03-26 20:17:42 +00:00

37 lines
915 B
Makefile

#
# $Id: Makefile.nmake,v 1.5 2003/03/26 20:17:42 guy Exp $
#
include ..\config.nmake
ALL_RC=ethereal.rc tethereal.rc editcap.rc text2pcap.rc mergecap.rc
all : $(ALL_RC)
ethereal.rc : ethereal.rc.in ..\config.nmake
sed -e s/@VERSION@/$(VERSION)/ \
-e s/@RC_VERSION@/$(RC_VERSION)/ \
< ethereal.rc.in > $@
tethereal.rc : tethereal.rc.in ..\config.nmake
sed -e s/@VERSION@/$(VERSION)/ \
-e s/@RC_VERSION@/$(RC_VERSION)/ \
< tethereal.rc.in > $@
editcap.rc : editcap.rc.in ..\config.nmake
sed -e s/@VERSION@/$(VERSION)/ \
-e s/@RC_VERSION@/$(RC_VERSION)/ \
< editcap.rc.in > $@
mergecap.rc : mergecap.rc.in ..\config.nmake
sed -e s/@VERSION@/$(VERSION)/ \
-e s/@RC_VERSION@/$(RC_VERSION)/ \
< mergecap.rc.in > $@
text2pcap.rc : text2pcap.rc.in ..\config.nmake
sed -e s/@VERSION@/$(VERSION)/ \
-e s/@RC_VERSION@/$(RC_VERSION)/ \
< text2pcap.rc.in > $@
clean :
rm -f $(ALL_RC)