#
-# $Id: Makefile.nmake,v 1.2 2001/05/21 05:04:49 guy Exp $
+# $Id$
#
include ..\config.nmake
-ALL_RC=ethereal.rc tethereal.rc editcap.rc text2pcap.rc
+ALL_RC=ethereal.rc libethereal.rc tethereal.rc capinfo.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc
all : $(ALL_RC)
-ethereal.rc : ethereal.rc.in
+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
+libethereal.rc: libethereal.rc.in ..\config.nmake
+ sed -e s/@VERSION@/$(VERSION)/ \
+ -e s/@RC_VERSION@/$(RC_VERSION)/ \
+ < libethereal.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
+capinfo.rc : capinfo.rc.in ..\config.nmake
+ sed -e s/@VERSION@/$(VERSION)/ \
+ -e s/@RC_VERSION@/$(RC_VERSION)/ \
+ < capinfo.rc.in > $@
+
+editcap.rc : editcap.rc.in ..\config.nmake
sed -e s/@VERSION@/$(VERSION)/ \
-e s/@RC_VERSION@/$(RC_VERSION)/ \
< editcap.rc.in > $@
-text2pcap.rc : text2pcap.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 > $@
+wiretap.rc : wiretap.rc.in ..\config.nmake
+ sed -e s/@VERSION@/$(WTAP_VERSION)/ \
+ -e s/@RC_VERSION@/$(RC_WTAP_VERSION)/ \
+ < wiretap.rc.in > $@
+
clean :
rm -f $(ALL_RC)
+
+distclean: clean