blob: 765f728f74cb75d3f39ad36f456a7edaa12001f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
|
# Makefile.nmake
# Nmake file for Wireshark documentation
#
# $Id$
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# We include dependencies on ../config.h in order to
# capture when $(VERSION) changes.
include ../config.nmake
doc: wireshark.html tshark.html wireshark-filter.html capinfos.html \
editcap.html idl2wrs.html mergecap.html text2pcap.html dumpcap.html \
rawshark.html
man: wireshark.1 tshark.1 wireshark-filter.4 capinfos.1 editcap.1 \
idl2wrs.1 mergecap.1 text2pcap.1 dumpcap.1 rawshark.1
wireshark-tmp.pod: wireshark.pod ../AUTHORS-SHORT-FORMAT
copy /B wireshark.pod + ..\AUTHORS-SHORT-FORMAT wireshark-tmp.pod
../AUTHORS-SHORT-FORMAT:
cd ..
$(MAKE) /$(MAKEFLAGS) -f makefile.nmake AUTHORS-SHORT-FORMAT
cd doc
../ws.css: ../docbook/ws.css
copy ..\docbook\ws.css ..
wireshark.1: wireshark.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
--release=$(VERSION) \
wireshark-tmp.pod > wireshark.1
wireshark.html: wireshark-tmp.pod ../config.h ../ws.css
$(POD2HTML) \
--title="The Wireshark Network Analyzer $(VERSION)" \
--css=ws.css \
--noindex \
wireshark-tmp.pod > wireshark.html
../$(INSTALL2_DIR)/tshark.exe:
cd ..
$(MAKE) /$(MAKEFLAGS) -f makefile.nmake tshark.exe
cd doc
tshark.1: tshark.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
--release=$(VERSION) \
tshark.pod > tshark.1
tshark.html: tshark.pod ../config.h ../ws.css
$(POD2HTML) \
--title="tshark - The Wireshark Network Analyzer $(VERSION)" \
--css=ws.css \
--noindex \
tshark.pod > tshark.html
wireshark-filter.4: wireshark-filter.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
--release=$(VERSION) \
wireshark-filter.pod > wireshark.4
wireshark-filter.html: wireshark-filter.pod ../config.h ../ws.css
$(POD2HTML) \
--title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \
--css=ws.css \
--noindex \
wireshark-filter.pod > wireshark-filter.html
wireshark-filter.pod: wireshark-filter.pod.template ../$(INSTALL2_DIR)/tshark.exe
cd ..
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake install-deps
$(INSTALL2_DIR)\tshark.exe -G | $(PERL) doc\dfilter2pod.pl doc\wireshark-filter.pod.template > doc\wireshark-filter.pod
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean-deps
cd doc
capinfos.1: capinfos.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
--release=$(VERSION) \
capinfos.pod > capinfos.1
capinfos.html: capinfos.pod ../config.h ../ws.css
$(POD2HTML) \
--title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
--css=ws.css \
--noindex \
capinfos.pod > capinfos.html
editcap.1: editcap.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
--release=$(VERSION) \
editcap.pod > editcap.1
editcap.html: editcap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="editcap - The Wireshark Network Analyzer $(VERSION)" \
--css=ws.css \
--noindex \
editcap.pod > editcap.html
idl2wrs.1: idl2wrs.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
--release=$(VERSION) \
idl2wrs.pod > idl2wrs.1
idl2wrs.html: idl2wrs.pod ../config.h ../ws.css
$(POD2HTML) \
--title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
--css=ws.css \
--noindex \
idl2wrs.pod > idl2wrs.html
mergecap.1: mergecap.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
--release=$(VERSION) \
mergecap.pod > mergecap.1
mergecap.html: mergecap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
--css=ws.css \
--noindex \
mergecap.pod > mergecap.html
text2pcap.1: text2pcap.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
--release=$(VERSION) \
text2pcap.pod > text2pcap.1
text2pcap.html: text2pcap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
--css=ws.css \
--noindex \
text2pcap.pod > text2pcap.html
dumpcap.1: dumpcap.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
--release=$(VERSION) \
dumpcap.pod > dumpcap.1
dumpcap.html: dumpcap.pod ../config.h ../ws.css
$(POD2HTML) \
--title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
--css=ws.css \
--noindex \
dumpcap.pod > dumpcap.html
rawshark.1: rawshark.pod ../config.h
$(POD2MAN) \
--center="The Wireshark Network Analyzer" \
--release=$(VERSION) \
rawshark.pod > rawshark.1
rawshark.html: rawshark.pod ../config.h ../ws.css
$(POD2HTML) \
--title="rawshark - The Wireshark Network Analyzer $(VERSION)" \
--css=ws.css \
--noindex \
rawshark.pod > rawshark.html
clean:
rm -f wireshark.html wireshark.1 wireshark-tmp.pod
rm -f tshark.html tshark.1
rm -f wireshark-filter.html wireshark-filter.4 wireshark-filter.pod
rm -f capinfos.html capinfos.1
rm -f editcap.html editcap.1
rm -f idl2wrs.html idl2wrs.1
rm -f mergecap.html mergecap.1
rm -f text2pcap.html text2pcap.1
rm -f dumpcap.html dumpcap.1
rm -f rawshark.html rawshark.1
rm -f pod2htm*
distclean: clean
maintainer-clean: distclean
|