diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-04-05 04:39:29 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-04-05 04:39:29 +0000 |
commit | a8d864bca78bfaeb4a27649c16408064ed7f1068 (patch) | |
tree | 17afe72068b50bb87e11e03c3a1e8bd543db4630 /image/Makefile.nmake | |
parent | c4979d817a4e6960a6a137857b467a10622d9fe0 (diff) | |
download | wireshark-a8d864bca78bfaeb4a27649c16408064ed7f1068.tar.gz wireshark-a8d864bca78bfaeb4a27649c16408064ed7f1068.tar.bz2 wireshark-a8d864bca78bfaeb4a27649c16408064ed7f1068.zip |
Use sed in the Win32 build to place the version in various files.
We us $(VERSION), defined in the top-level config.nmake, to replace
@VERSION@ in various files. $(RC_VERSION) and $(WTAP_VERSION) are
similarly used.
svn path=/trunk/; revision=3258
Diffstat (limited to 'image/Makefile.nmake')
-rw-r--r-- | image/Makefile.nmake | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/image/Makefile.nmake b/image/Makefile.nmake new file mode 100644 index 0000000000..f8984b26b7 --- /dev/null +++ b/image/Makefile.nmake @@ -0,0 +1,26 @@ +# +# $Id: Makefile.nmake,v 1.1 2001/04/05 04:39:26 gram Exp $ +# + +include ..\config.nmake + +ALL_RC=ethereal.rc tethereal.rc editcap.rc +all : $(ALL_RC) + +ethereal.rc : ethereal.rc.in + sed -e s/@VERSION@/$(VERSION)/ \ + -e s/@RC_VERSION@/$(RC_VERSION)/ \ + < ethereal.rc.in > $@ + +tethereal.rc : tethereal.rc.in + sed -e s/@VERSION@/$(VERSION)/ \ + -e s/@RC_VERSION@/$(RC_VERSION)/ \ + < tethereal.rc.in > $@ + +editcap.rc : editcap.rc.in + sed -e s/@VERSION@/$(VERSION)/ \ + -e s/@RC_VERSION@/$(RC_VERSION)/ \ + < editcap.rc.in > $@ + +clean : + rm -f $(ALL_RC) |