aboutsummaryrefslogtreecommitdiffstats
path: root/image/Makefile.nmake
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-04-05 04:39:29 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-04-05 04:39:29 +0000
commita8d864bca78bfaeb4a27649c16408064ed7f1068 (patch)
tree17afe72068b50bb87e11e03c3a1e8bd543db4630 /image/Makefile.nmake
parentc4979d817a4e6960a6a137857b467a10622d9fe0 (diff)
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.nmake26
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)