2 # Nmake file for Ethereal documentation
4 # $Id: Makefile.nmake,v 1.14 2004/05/09 10:03:39 guy 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 ethereal.1: ethereal.pod ../config.h
34 --center="The Ethereal Network Analyzer" \
35 --release=$(VERSION) \
36 ethereal.pod > ethereal.1
38 ethereal.html: ethereal.pod ../config.h
40 --title="The Ethereal Network Analyzer $(VERSION)" \
42 ethereal.pod > ethereal.html
46 $(MAKE) -f makefile.nmake tethereal.exe
49 tethereal.1: tethereal.pod ../config.h
51 --center="The Ethereal Network Analyzer" \
52 --release=$(VERSION) \
53 tethereal.pod > tethereal.1
55 tethereal.html: tethereal.pod ../config.h
57 --title="tethereal - The Ethereal Network Analyzer $(VERSION)" \
59 tethereal.pod > tethereal.html
61 ethereal-filter.4: ethereal-filter.pod ../config.h
63 --center="The Ethereal Network Analyzer" \
64 --release=$(VERSION) \
65 ethereal-filter.pod > ethereal.4
67 ethereal-filter.html: ethereal-filter.pod ../config.h
69 --title="ethereal-filter - The Ethereal Network Analyzer $(VERSION)" \
71 ethereal-filter.pod > ethereal-filter.html
73 ethereal-filter.pod: ethereal-filter.pod.template ../tethereal.exe
75 cp --update --preserve wiretap/wiretap-$(WTAP_VERSION).dll wiretap-$(WTAP_VERSION).dll
76 !IFDEF ENABLE_LIBETHEREAL
77 cp --update --preserve epan/libethereal.dll libethereal.dll
79 tethereal.exe -G | $(PERL) doc\dfilter2pod.pl doc\ethereal-filter.pod.template > doc\ethereal-filter.pod
80 rm -f libethereal.dll wiretap-$(WTAP_VERSION).dll
83 editcap.1: editcap.pod ../config.h
85 --center="The Ethereal Network Analyzer" \
86 --release=$(VERSION) \
87 editcap.pod > editcap.1
89 editcap.html: editcap.pod ../config.h
91 --title="editcap - The Ethereal Network Analyzer $(VERSION)" \
93 editcap.pod > editcap.html
95 idl2eth.1: idl2eth.pod ../config.h
97 --center="The Ethereal Network Analyzer" \
98 --release=$(VERSION) \
99 idl2eth.pod > idl2eth.1
101 idl2eth.html: idl2eth.pod ../config.h
103 --title="idl2eth - The Ethereal Network Analyzer $(VERSION)" \
105 idl2eth.pod > idl2eth.html
107 mergecap.1: mergecap.pod ../config.h
109 --center="The Ethereal Network Analyzer" \
110 --release=$(VERSION) \
111 mergecap.pod > mergecap.1
113 mergecap.html: mergecap.pod ../config.h
115 --title="mergecap - The Ethereal Network Analyzer $(VERSION)" \
117 mergecap.pod > mergecap.html
119 text2pcap.1: text2pcap.pod ../config.h
121 --center="The Ethereal Network Analyzer" \
122 --release=$(VERSION) \
123 text2pcap.pod > text2pcap.1
125 text2pcap.html: text2pcap.pod ../config.h
127 --title="text2pcap - The Ethereal Network Analyzer $(VERSION)" \
129 text2pcap.pod > text2pcap.html
132 rm -f ethereal.html ethereal.1
133 rm -f tethereal.html tethereal.1
134 rm -f ethereal-filter.html ethereal-filter.4 ethereal-filter.pod
135 rm -f editcap.html editcap.1
136 rm -f idl2eth.html idl2eth.1
137 rm -f mergecap.html mergecap.1
138 rm -f text2pcap.html text2pcap.1