Cleanup the SVN properties of the images.
[obnox/wireshark/wip.git] / image / Makefile.nmake
index 9c76df1a0d300612386ad0568e7055e1a8192759..e0b929fdc8279c375c5b00c3dcd822321f7c6b77 100644 (file)
@@ -4,23 +4,36 @@
 
 include ..\config.nmake
 
-ALL_RC=ethereal.rc libethereal.rc tethereal.rc capinfos.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc
+# Nmake uses an implicit rule to build a .res from a .rc file!
+
+ALL_RC=wireshark.rc libwireshark.rc tshark.rc rawshark.rc capinfos.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc dumpcap.rc libwsutil.rc wireshark.exe.manifest
 all : $(ALL_RC)
 
-ethereal.rc   : ethereal.rc.in ..\config.nmake
+wireshark.exe.manifest: wireshark.exe.manifest.in ..\config.nmake
+       sed -e s/@VERSION_MAJOR@/$(VERSION_MAJOR)/ \
+               -e s/@VERSION_MINOR@/$(VERSION_MINOR)/ \
+               -e s/@VERSION_MICRO@/$(VERSION_MICRO)/ \
+               < wireshark.exe.manifest.in > $@
+
+wireshark.rc   : file_dlg_win32.rc wireshark.rc.in wireshark.exe.manifest ..\config.nmake
+       sed -e s/@VERSION@/$(VERSION)/ \
+               -e s/@RC_VERSION@/$(RC_VERSION)/ \
+               < wireshark.rc.in > $@
+
+libwireshark.rc: libwireshark.rc.in ..\config.nmake
        sed -e s/@VERSION@/$(VERSION)/ \
                -e s/@RC_VERSION@/$(RC_VERSION)/ \
-               < ethereal.rc.in > $@
+               < libwireshark.rc.in > $@
 
-libethereal.rc: libethereal.rc.in ..\config.nmake
+tshark.rc  : tshark.rc.in ..\config.nmake
        sed -e s/@VERSION@/$(VERSION)/ \
                -e s/@RC_VERSION@/$(RC_VERSION)/ \
-               < libethereal.rc.in > $@
+               < tshark.rc.in > $@
 
-tethereal.rc  : tethereal.rc.in ..\config.nmake
+rawshark.rc  : rawshark.rc.in ..\config.nmake
        sed -e s/@VERSION@/$(VERSION)/ \
                -e s/@RC_VERSION@/$(RC_VERSION)/ \
-               < tethereal.rc.in > $@
+               < rawshark.rc.in > $@
 
 capinfos.rc    : capinfos.rc.in ..\config.nmake
        sed -e s/@VERSION@/$(VERSION)/ \
@@ -47,7 +60,19 @@ wiretap.rc    : wiretap.rc.in ..\config.nmake
                -e s/@RC_VERSION@/$(RC_WTAP_VERSION)/ \
                < wiretap.rc.in > $@
 
+libwsutil.rc  : libwsutil.rc.in ..\config.nmake
+       sed -e s/@VERSION@/$(VERSION)/ \
+               -e s/@RC_VERSION@/$(RC_VERSION)/ \
+               < libwsutil.rc.in > $@
+
+dumpcap.rc   : dumpcap.rc.in ..\config.nmake
+       sed -e s/@VERSION@/$(VERSION)/ \
+               -e s/@RC_VERSION@/$(RC_VERSION)/ \
+               < dumpcap.rc.in > $@
+
 clean :
        rm -f $(ALL_RC)
 
 distclean: clean
+
+maintainer-clean: distclean