ethereal->wireshark updates
[obnox/wireshark/wip.git] / image / Makefile.nmake
1 #
2 # $Id$
3 #
4
5 include ..\config.nmake
6
7 ALL_RC=ethereal.rc libethereal.rc tethereal.rc capinfos.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc dumpcap.rc ethereal.exe.manifest
8 all : $(ALL_RC)
9
10 ethereal.exe.manifest: ethereal.exe.manifest.in ..\config.nmake
11         sed -e s/@VERSION_MAJOR@/$(VERSION_MAJOR)/ \
12                 -e s/@VERSION_MINOR@/$(VERSION_MINOR)/ \
13                 -e s/@VERSION_MICRO@/$(VERSION_MICRO)/ \
14                 < ethereal.exe.manifest.in > $@
15
16 ethereal.rc   : win32-file-dlg.rc ethereal.rc.in wireshark.exe.manifest ..\config.nmake
17         sed -e s/@VERSION@/$(VERSION)/ \
18                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
19                 < ethereal.rc.in > $@
20
21 libethereal.rc: libethereal.rc.in ..\config.nmake
22         sed -e s/@VERSION@/$(VERSION)/ \
23                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
24                 < libethereal.rc.in > $@
25
26 tethereal.rc  : tethereal.rc.in ..\config.nmake
27         sed -e s/@VERSION@/$(VERSION)/ \
28                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
29                 < tethereal.rc.in > $@
30
31 capinfos.rc    : capinfos.rc.in ..\config.nmake
32         sed -e s/@VERSION@/$(VERSION)/ \
33                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
34                 < capinfos.rc.in > $@
35
36 editcap.rc    : editcap.rc.in ..\config.nmake
37         sed -e s/@VERSION@/$(VERSION)/ \
38                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
39                 < editcap.rc.in > $@
40
41 mergecap.rc   : mergecap.rc.in ..\config.nmake
42         sed -e s/@VERSION@/$(VERSION)/ \
43                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
44                 < mergecap.rc.in > $@
45
46 text2pcap.rc  : text2pcap.rc.in ..\config.nmake
47         sed -e s/@VERSION@/$(VERSION)/ \
48                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
49                 < text2pcap.rc.in > $@
50
51 wiretap.rc    : wiretap.rc.in ..\config.nmake
52         sed -e s/@VERSION@/$(WTAP_VERSION)/ \
53                 -e s/@RC_VERSION@/$(RC_WTAP_VERSION)/ \
54                 < wiretap.rc.in > $@
55
56 dumpcap.rc   : dumpcap.rc.in ..\config.nmake
57         sed -e s/@VERSION@/$(VERSION)/ \
58                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
59                 < dumpcap.rc.in > $@
60
61 clean :
62         rm -f $(ALL_RC)
63
64 distclean: clean
65
66 maintainer-clean: distclean