DCERPC: factor out proto_tree_add_dcerpc_drep()
[wireshark-wip.git] / image / Makefile.nmake
blob59af3289605d5e0ab0eadaeb087b50b7a7d7afa0
2 # $Id$
5 include ..\config.nmake
7 # Nmake uses an implicit rule to build a .res from a .rc file!
9 ALL_RC=wireshark.rc libwireshark.rc tshark.rc rawshark.rc capinfos.rc editcap.rc text2pcap.rc mergecap.rc reordercap.rc wiretap.rc dumpcap.rc libwsutil.rc wireshark.exe.manifest
10 all : $(ALL_RC)
12 wireshark.exe.manifest: wireshark.exe.manifest.in ..\config.nmake
13         sed -e s/@VERSION_MAJOR@/$(VERSION_MAJOR)/ \
14                 -e s/@VERSION_MINOR@/$(VERSION_MINOR)/ \
15                 -e s/@VERSION_MICRO@/$(VERSION_MICRO)/ \
16                 -e s/@PROCESSOR_ARCHITECTURE@/$(PROCESSOR_ARCHITECTURE)/ \
17                 < wireshark.exe.manifest.in > $@
19 wireshark.rc   : file_dlg_win32.rc wireshark.rc.in wireshark.exe.manifest ..\config.nmake
20         sed -e s/@VERSION@/$(VERSION)/ \
21                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
22                 < wireshark.rc.in > $@
24 libwireshark.rc: libwireshark.rc.in ..\config.nmake
25         sed -e s/@VERSION@/$(VERSION)/ \
26                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
27                 < libwireshark.rc.in > $@
29 tshark.rc  : tshark.rc.in wireshark.exe.manifest ..\config.nmake
30         sed -e s/@VERSION@/$(VERSION)/ \
31                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
32                 < tshark.rc.in > $@
34 rawshark.rc  : rawshark.rc.in wireshark.exe.manifest ..\config.nmake
35         sed -e s/@VERSION@/$(VERSION)/ \
36                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
37                 < rawshark.rc.in > $@
39 capinfos.rc    : capinfos.rc.in ..\config.nmake
40         sed -e s/@VERSION@/$(VERSION)/ \
41                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
42                 < capinfos.rc.in > $@
44 editcap.rc    : editcap.rc.in ..\config.nmake
45         sed -e s/@VERSION@/$(VERSION)/ \
46                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
47                 < editcap.rc.in > $@
49 mergecap.rc   : mergecap.rc.in ..\config.nmake
50         sed -e s/@VERSION@/$(VERSION)/ \
51                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
52                 < mergecap.rc.in > $@
54 reordercap.rc   : reordercap.rc.in ..\config.nmake
55         sed -e s/@VERSION@/$(VERSION)/ \
56                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
57                 < reordercap.rc.in > $@
59 text2pcap.rc  : text2pcap.rc.in ..\config.nmake
60         sed -e s/@VERSION@/$(VERSION)/ \
61                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
62                 < text2pcap.rc.in > $@
64 wiretap.rc    : wiretap.rc.in ..\config.nmake
65         sed -e s/@VERSION@/$(WTAP_VERSION)/ \
66                 -e s/@RC_VERSION@/$(RC_WTAP_VERSION)/ \
67                 < wiretap.rc.in > $@
69 libwsutil.rc  : libwsutil.rc.in ..\config.nmake
70         sed -e s/@VERSION@/$(VERSION)/ \
71                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
72                 < libwsutil.rc.in > $@
74 dumpcap.rc   : dumpcap.rc.in wireshark.exe.manifest ..\config.nmake
75         sed -e s/@VERSION@/$(VERSION)/ \
76                 -e s/@RC_VERSION@/$(RC_VERSION)/ \
77                 < dumpcap.rc.in > $@
79 clean :
80         rm -f $(ALL_RC)
82 distclean: clean
84 maintainer-clean: distclean