2 # Nmake file for Ethereal documentation
4 # $Id: Makefile.nmake,v 1.16 2004/05/22 17:14:32 ulfl Exp $
6 # Ethereal - Network traffic analyzer
7 # By Gerald Combs <gerald@ethereal.com>
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 editcap.html \
30 idl2eth.html mergecap.html text2pcap.html
32 man: ethereal.1 tethereal.1 ethereal-filter.4 editcap.1 \
33 idl2eth.1 mergecap.1 text2pcap.1
35 ethereal-tmp.pod: ethereal.pod ../AUTHORS-SHORT
36 copy /B ethereal.pod + ..\AUTHORS-SHORT ethereal-tmp.pod
38 ethereal.1: ethereal.pod ../config.h
40 --center="The Ethereal Network Analyzer" \
41 --release=$(VERSION) \
42 ethereal-tmp.pod > ethereal.1
44 ethereal.html: ethereal-tmp.pod ../config.h
46 --title="The Ethereal Network Analyzer $(VERSION)" \
48 ethereal-tmp.pod > ethereal.html
52 $(MAKE) -f makefile.nmake tethereal.exe
55 tethereal.1: tethereal.pod ../config.h
57 --center="The Ethereal Network Analyzer" \
58 --release=$(VERSION) \
59 tethereal.pod > tethereal.1
61 tethereal.html: tethereal.pod ../config.h
63 --title="tethereal - The Ethereal Network Analyzer $(VERSION)" \
65 tethereal.pod > tethereal.html
67 ethereal-filter.4: ethereal-filter.pod ../config.h
69 --center="The Ethereal Network Analyzer" \
70 --release=$(VERSION) \
71 ethereal-filter.pod > ethereal.4
73 ethereal-filter.html: ethereal-filter.pod ../config.h
75 --title="ethereal-filter - The Ethereal Network Analyzer $(VERSION)" \
77 ethereal-filter.pod > ethereal-filter.html
79 ethereal-filter.pod: ethereal-filter.pod.template ../tethereal.exe
81 cp --update --preserve wiretap/wiretap-$(WTAP_VERSION).dll wiretap-$(WTAP_VERSION).dll
82 !IFDEF ENABLE_LIBETHEREAL
83 cp --update --preserve epan/libethereal.dll libethereal.dll
85 tethereal.exe -G | $(PERL) doc\dfilter2pod.pl doc\ethereal-filter.pod.template > doc\ethereal-filter.pod
86 rm -f libethereal.dll wiretap-$(WTAP_VERSION).dll
89 editcap.1: editcap.pod ../config.h
91 --center="The Ethereal Network Analyzer" \
92 --release=$(VERSION) \
93 editcap.pod > editcap.1
95 editcap.html: editcap.pod ../config.h
97 --title="editcap - The Ethereal Network Analyzer $(VERSION)" \
99 editcap.pod > editcap.html
101 idl2eth.1: idl2eth.pod ../config.h
103 --center="The Ethereal Network Analyzer" \
104 --release=$(VERSION) \
105 idl2eth.pod > idl2eth.1
107 idl2eth.html: idl2eth.pod ../config.h
109 --title="idl2eth - The Ethereal Network Analyzer $(VERSION)" \
111 idl2eth.pod > idl2eth.html
113 mergecap.1: mergecap.pod ../config.h
115 --center="The Ethereal Network Analyzer" \
116 --release=$(VERSION) \
117 mergecap.pod > mergecap.1
119 mergecap.html: mergecap.pod ../config.h
121 --title="mergecap - The Ethereal Network Analyzer $(VERSION)" \
123 mergecap.pod > mergecap.html
125 text2pcap.1: text2pcap.pod ../config.h
127 --center="The Ethereal Network Analyzer" \
128 --release=$(VERSION) \
129 text2pcap.pod > text2pcap.1
131 text2pcap.html: text2pcap.pod ../config.h
133 --title="text2pcap - The Ethereal Network Analyzer $(VERSION)" \
135 text2pcap.pod > text2pcap.html
138 rm -f ethereal.html ethereal.1 ethereal-tmp.pod
139 rm -f tethereal.html tethereal.1
140 rm -f ethereal-filter.html ethereal-filter.4 ethereal-filter.pod
141 rm -f editcap.html editcap.1
142 rm -f idl2eth.html idl2eth.1
143 rm -f mergecap.html mergecap.1
144 rm -f text2pcap.html text2pcap.1