2 # Nmake file for Wireshark documentation
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
10 # This program is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU General Public License
12 # as published by the Free Software Foundation; either version 2
13 # of the License, or (at your option) any later version.
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 # We include dependencies on ../config.h in order to
25 # capture when $(VERSION) changes.
27 include ../config.nmake
29 doc: ethereal.html tethereal.html ethereal-filter.html capinfos.html \
30 editcap.html idl2wrs.html mergecap.html text2pcap.html dumpcap.html
32 man: ethereal.1 tethereal.1 ethereal-filter.4 capinfos.1 editcap.1 \
33 idl2wrs.1 mergecap.1 text2pcap.1 dumpcap.1
35 ethereal-tmp.pod: ethereal.pod ../AUTHORS-SHORT-FORMAT
36 copy /B ethereal.pod + ..\AUTHORS-SHORT-FORMAT ethereal-tmp.pod
38 ../AUTHORS-SHORT-FORMAT:
40 $(MAKE) -f makefile.nmake AUTHORS-SHORT-FORMAT
43 ethereal.1: ethereal.pod ../config.h
45 --center="The Wireshark Network Analyzer" \
46 --release=$(VERSION) \
47 ethereal-tmp.pod > ethereal.1
49 ethereal.html: ethereal-tmp.pod ../config.h
51 --title="The Wireshark Network Analyzer $(VERSION)" \
53 ethereal-tmp.pod > ethereal.html
57 $(MAKE) -f makefile.nmake tethereal.exe
60 tethereal.1: tethereal.pod ../config.h
62 --center="The Wireshark Network Analyzer" \
63 --release=$(VERSION) \
64 tethereal.pod > tethereal.1
66 tethereal.html: tethereal.pod ../config.h
68 --title="tethereal - The Wireshark Network Analyzer $(VERSION)" \
70 tethereal.pod > tethereal.html
72 ethereal-filter.4: ethereal-filter.pod ../config.h
74 --center="The Wireshark Network Analyzer" \
75 --release=$(VERSION) \
76 ethereal-filter.pod > ethereal.4
78 ethereal-filter.html: ethereal-filter.pod ../config.h
80 --title="ethereal-filter - The Wireshark Network Analyzer $(VERSION)" \
82 ethereal-filter.pod > ethereal-filter.html
84 ethereal-filter.pod: ethereal-filter.pod.template ../tethereal.exe
86 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake install-deps
87 tethereal.exe -G | $(PERL) doc\dfilter2pod.pl doc\ethereal-filter.pod.template > doc\ethereal-filter.pod
88 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean-deps
91 capinfos.1: capinfos.pod ../config.h
93 --center="The Wireshark Network Analyzer" \
94 --release=$(VERSION) \
95 capinfos.pod > capinfos.1
97 capinfos.html: capinfos.pod ../config.h
99 --title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
101 capinfos.pod > capinfos.html
104 editcap.1: editcap.pod ../config.h
106 --center="The Wireshark Network Analyzer" \
107 --release=$(VERSION) \
108 editcap.pod > editcap.1
110 editcap.html: editcap.pod ../config.h
112 --title="editcap - The Wireshark Network Analyzer $(VERSION)" \
114 editcap.pod > editcap.html
116 idl2wrs.1: idl2wrs.pod ../config.h
118 --center="The Wireshark Network Analyzer" \
119 --release=$(VERSION) \
120 idl2wrs.pod > idl2wrs.1
122 idl2wrs.html: idl2wrs.pod ../config.h
124 --title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
126 idl2wrs.pod > idl2wrs.html
128 mergecap.1: mergecap.pod ../config.h
130 --center="The Wireshark Network Analyzer" \
131 --release=$(VERSION) \
132 mergecap.pod > mergecap.1
134 mergecap.html: mergecap.pod ../config.h
136 --title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
138 mergecap.pod > mergecap.html
140 text2pcap.1: text2pcap.pod ../config.h
142 --center="The Wireshark Network Analyzer" \
143 --release=$(VERSION) \
144 text2pcap.pod > text2pcap.1
146 text2pcap.html: text2pcap.pod ../config.h
148 --title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
150 text2pcap.pod > text2pcap.html
152 dumpcap.1: dumpcap.pod ../config.h
154 --center="The Wireshark Network Analyzer" \
155 --release=$(VERSION) \
156 dumpcap.pod > dumpcap.1
158 dumpcap.html: dumpcap.pod ../config.h
160 --title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
162 dumpcap.pod > dumpcap.html
165 rm -f ethereal.html ethereal.1 ethereal-tmp.pod
166 rm -f tethereal.html tethereal.1
167 rm -f ethereal-filter.html ethereal-filter.4 ethereal-filter.pod
168 rm -f capinfos.html capinfos.1
169 rm -f editcap.html editcap.1
170 rm -f idl2wrs.html idl2wrs.1
171 rm -f mergecap.html mergecap.1
172 rm -f text2pcap.html text2pcap.1
173 rm -f dumpcap.html dumpcap.1
178 maintainer-clean: distclean