2001-07-30 21:40:13 +00:00
|
|
|
# Makefile.nmake
|
2006-05-22 08:14:01 +00:00
|
|
|
# Nmake file for Wireshark documentation
|
2001-03-09 03:43:58 +00:00
|
|
|
#
|
2006-05-21 05:12:17 +00:00
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
2001-07-30 21:40:13 +00:00
|
|
|
# Copyright 1998 Gerald Combs
|
2013-05-22 17:53:24 +00:00
|
|
|
#
|
2001-07-30 21:40:13 +00:00
|
|
|
# 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.
|
2013-05-22 17:53:24 +00:00
|
|
|
#
|
2001-07-30 21:40:13 +00:00
|
|
|
# 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.
|
2013-05-22 17:53:24 +00:00
|
|
|
#
|
2001-07-30 21:40:13 +00:00
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2001-07-30 21:40:13 +00:00
|
|
|
|
|
|
|
# We include dependencies on ../config.h in order to
|
|
|
|
# capture when $(VERSION) changes.
|
2001-03-09 03:43:58 +00:00
|
|
|
|
|
|
|
include ../config.nmake
|
|
|
|
|
2006-05-31 19:12:15 +00:00
|
|
|
doc: wireshark.html tshark.html wireshark-filter.html capinfos.html \
|
2013-05-22 17:53:24 +00:00
|
|
|
editcap.html idl2wrs.html mergecap.html reordercap.html \
|
|
|
|
text2pcap.html dumpcap.html rawshark.html dftest.html randpkt.html \
|
|
|
|
idl2deb.html asn2deb.html
|
2001-03-09 03:43:58 +00:00
|
|
|
|
2013-05-22 17:53:24 +00:00
|
|
|
man: wireshark.1 tshark.1 wireshark-filter.4 capinfos.1 \
|
|
|
|
editcap.1 idl2wrs.1 mergecap.1 reordercap.1 \
|
|
|
|
text2pcap.1 dumpcap.1 rawshark.1 dftest.1 randpkt.1 \
|
|
|
|
idl2deb.1 asn2deb.1
|
2004-05-22 13:45:05 +00:00
|
|
|
|
2009-11-07 15:55:01 +00:00
|
|
|
wireshark.pod: wireshark.pod.template AUTHORS-SHORT-FORMAT
|
|
|
|
copy /B wireshark.pod.template + AUTHORS-SHORT-FORMAT wireshark.pod
|
2004-10-18 09:53:06 +00:00
|
|
|
|
2009-06-21 12:47:48 +00:00
|
|
|
#
|
|
|
|
# Build the short version of the authors file for the about dialog
|
|
|
|
#
|
|
|
|
AUTHORS-SHORT: ../AUTHORS make-authors-short.pl
|
|
|
|
$(PERL) perlnoutf.pl make-authors-short.pl < ../AUTHORS > AUTHORS-SHORT
|
|
|
|
|
|
|
|
#
|
|
|
|
# Build the short version of the authors file with formatting codes for
|
|
|
|
# the man page
|
|
|
|
#
|
|
|
|
AUTHORS-SHORT-FORMAT: AUTHORS-SHORT make-authors-format.pl
|
2013-06-25 15:32:49 +00:00
|
|
|
$(PERL) perlnoutf.pl make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
|
2004-10-18 09:53:06 +00:00
|
|
|
|
2008-02-22 21:28:55 +00:00
|
|
|
ws.css: ../docbook/ws.css
|
|
|
|
copy ..\docbook\ws.css .
|
2008-02-22 20:03:36 +00:00
|
|
|
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark.1: wireshark.pod ../config.h
|
2003-02-13 22:35:10 +00:00
|
|
|
$(POD2MAN) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--center="The Wireshark Network Analyzer" \
|
2001-03-09 03:43:58 +00:00
|
|
|
--release=$(VERSION) \
|
2009-11-07 15:55:01 +00:00
|
|
|
wireshark.pod > wireshark.1
|
2001-03-09 03:43:58 +00:00
|
|
|
|
2009-11-07 15:55:01 +00:00
|
|
|
wireshark.html: wireshark.pod ../config.h ws.css
|
2003-02-13 22:35:10 +00:00
|
|
|
$(POD2HTML) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--title="The Wireshark Network Analyzer $(VERSION)" \
|
2008-02-22 20:03:36 +00:00
|
|
|
--css=ws.css \
|
2002-01-04 06:57:10 +00:00
|
|
|
--noindex \
|
2009-11-07 15:55:01 +00:00
|
|
|
wireshark.pod > wireshark.html
|
2002-01-04 06:57:10 +00:00
|
|
|
|
2006-05-31 17:38:42 +00:00
|
|
|
tshark.1: tshark.pod ../config.h
|
2003-02-13 22:35:10 +00:00
|
|
|
$(POD2MAN) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--center="The Wireshark Network Analyzer" \
|
2001-03-09 03:43:58 +00:00
|
|
|
--release=$(VERSION) \
|
2006-05-31 17:38:42 +00:00
|
|
|
tshark.pod > tshark.1
|
2001-03-09 03:43:58 +00:00
|
|
|
|
2008-02-22 21:28:55 +00:00
|
|
|
tshark.html: tshark.pod ../config.h ws.css
|
2003-02-13 22:35:10 +00:00
|
|
|
$(POD2HTML) \
|
2006-05-31 17:38:42 +00:00
|
|
|
--title="tshark - The Wireshark Network Analyzer $(VERSION)" \
|
2008-02-22 20:03:36 +00:00
|
|
|
--css=ws.css \
|
2002-01-04 06:57:10 +00:00
|
|
|
--noindex \
|
2006-05-31 17:38:42 +00:00
|
|
|
tshark.pod > tshark.html
|
2002-01-04 06:57:10 +00:00
|
|
|
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark-filter.4: wireshark-filter.pod ../config.h
|
2003-10-01 19:44:05 +00:00
|
|
|
$(POD2MAN) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--center="The Wireshark Network Analyzer" \
|
2003-10-01 19:44:05 +00:00
|
|
|
--release=$(VERSION) \
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark-filter.pod > wireshark.4
|
2003-10-01 19:44:05 +00:00
|
|
|
|
2008-02-22 21:28:55 +00:00
|
|
|
wireshark-filter.html: wireshark-filter.pod ../config.h ws.css
|
2003-10-01 19:44:05 +00:00
|
|
|
$(POD2HTML) \
|
2006-05-31 19:12:15 +00:00
|
|
|
--title="wireshark-filter - The Wireshark Network Analyzer $(VERSION)" \
|
2008-02-22 20:03:36 +00:00
|
|
|
--css=ws.css \
|
2003-10-01 19:44:05 +00:00
|
|
|
--noindex \
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark-filter.pod > wireshark-filter.html
|
2003-10-01 19:44:05 +00:00
|
|
|
|
2004-10-20 18:50:58 +00:00
|
|
|
capinfos.1: capinfos.pod ../config.h
|
2004-07-28 20:51:29 +00:00
|
|
|
$(POD2MAN) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--center="The Wireshark Network Analyzer" \
|
2004-07-28 20:51:29 +00:00
|
|
|
--release=$(VERSION) \
|
2004-10-20 18:50:58 +00:00
|
|
|
capinfos.pod > capinfos.1
|
2004-07-28 20:51:29 +00:00
|
|
|
|
2008-02-22 21:28:55 +00:00
|
|
|
capinfos.html: capinfos.pod ../config.h ws.css
|
2004-07-28 20:51:29 +00:00
|
|
|
$(POD2HTML) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--title="capinfos - The Wireshark Network Analyzer $(VERSION)" \
|
2008-02-22 20:03:36 +00:00
|
|
|
--css=ws.css \
|
2004-07-28 20:51:29 +00:00
|
|
|
--noindex \
|
2004-10-20 18:50:58 +00:00
|
|
|
capinfos.pod > capinfos.html
|
2004-07-28 20:51:29 +00:00
|
|
|
|
2001-03-09 03:43:58 +00:00
|
|
|
editcap.1: editcap.pod ../config.h
|
2003-02-13 22:35:10 +00:00
|
|
|
$(POD2MAN) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--center="The Wireshark Network Analyzer" \
|
2001-03-09 03:43:58 +00:00
|
|
|
--release=$(VERSION) \
|
2003-02-13 22:35:10 +00:00
|
|
|
editcap.pod > editcap.1
|
2001-04-12 18:07:22 +00:00
|
|
|
|
2008-02-22 21:28:55 +00:00
|
|
|
editcap.html: editcap.pod ../config.h ws.css
|
2003-02-13 22:35:10 +00:00
|
|
|
$(POD2HTML) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--title="editcap - The Wireshark Network Analyzer $(VERSION)" \
|
2008-02-22 20:03:36 +00:00
|
|
|
--css=ws.css \
|
2002-01-04 06:57:10 +00:00
|
|
|
--noindex \
|
2003-02-13 22:35:10 +00:00
|
|
|
editcap.pod > editcap.html
|
2002-01-04 06:57:10 +00:00
|
|
|
|
2013-03-06 13:31:08 +00:00
|
|
|
asn2deb.1: asn2deb.pod ../config.h
|
|
|
|
$(POD2MAN) \
|
|
|
|
--center="The Wireshark Network Analyzer" \
|
|
|
|
--release=$(VERSION) \
|
|
|
|
asn2deb.pod > asn2deb.1
|
|
|
|
|
|
|
|
asn2deb.html: asn2deb.pod ../config.h ws.css
|
|
|
|
$(POD2HTML) \
|
|
|
|
--title="asn2deb - The Wireshark Network Analyzer $(VERSION)" \
|
|
|
|
--css=ws.css \
|
|
|
|
--noindex \
|
|
|
|
asn2deb.pod > asn2deb.html
|
|
|
|
|
|
|
|
idl2deb.1: idl2deb.pod ../config.h
|
|
|
|
$(POD2MAN) \
|
|
|
|
--center="The Wireshark Network Analyzer" \
|
|
|
|
--release=$(VERSION) \
|
|
|
|
idl2deb.pod > idl2deb.1
|
|
|
|
|
|
|
|
idl2deb.html: idl2deb.pod ../config.h ws.css
|
|
|
|
$(POD2HTML) \
|
|
|
|
--title="idl2deb - The Wireshark Network Analyzer $(VERSION)" \
|
|
|
|
--css=ws.css \
|
|
|
|
--noindex \
|
|
|
|
idl2deb.pod > idl2deb.html
|
|
|
|
|
2006-05-31 00:23:01 +00:00
|
|
|
idl2wrs.1: idl2wrs.pod ../config.h
|
2003-02-13 22:35:10 +00:00
|
|
|
$(POD2MAN) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--center="The Wireshark Network Analyzer" \
|
2001-07-12 22:45:23 +00:00
|
|
|
--release=$(VERSION) \
|
2006-05-31 00:23:01 +00:00
|
|
|
idl2wrs.pod > idl2wrs.1
|
2001-07-12 22:45:23 +00:00
|
|
|
|
2008-02-22 21:28:55 +00:00
|
|
|
idl2wrs.html: idl2wrs.pod ../config.h ws.css
|
2003-02-13 22:35:10 +00:00
|
|
|
$(POD2HTML) \
|
2006-05-31 00:23:01 +00:00
|
|
|
--title="idl2wrs - The Wireshark Network Analyzer $(VERSION)" \
|
2008-02-22 20:03:36 +00:00
|
|
|
--css=ws.css \
|
2002-01-04 06:57:10 +00:00
|
|
|
--noindex \
|
2006-05-31 00:23:01 +00:00
|
|
|
idl2wrs.pod > idl2wrs.html
|
2002-01-04 06:57:10 +00:00
|
|
|
|
2003-02-13 22:35:10 +00:00
|
|
|
mergecap.1: mergecap.pod ../config.h
|
|
|
|
$(POD2MAN) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--center="The Wireshark Network Analyzer" \
|
2001-07-30 21:40:13 +00:00
|
|
|
--release=$(VERSION) \
|
2003-02-13 22:35:10 +00:00
|
|
|
mergecap.pod > mergecap.1
|
2001-07-30 21:40:13 +00:00
|
|
|
|
2008-02-22 21:28:55 +00:00
|
|
|
mergecap.html: mergecap.pod ../config.h ws.css
|
2003-02-13 22:35:10 +00:00
|
|
|
$(POD2HTML) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--title="mergecap - The Wireshark Network Analyzer $(VERSION)" \
|
2008-02-22 20:03:36 +00:00
|
|
|
--css=ws.css \
|
2002-01-04 06:57:10 +00:00
|
|
|
--noindex \
|
2003-02-13 22:35:10 +00:00
|
|
|
mergecap.pod > mergecap.html
|
2002-01-04 06:57:10 +00:00
|
|
|
|
2012-10-03 12:22:08 +00:00
|
|
|
reordercap.1: reordercap.pod ../config.h
|
|
|
|
$(POD2MAN) \
|
|
|
|
--center="The Wireshark Network Analyzer" \
|
|
|
|
--release=$(VERSION) \
|
|
|
|
reordercap.pod > reordercap.1
|
|
|
|
|
|
|
|
reordercap.html: reordercap.pod ../config.h ws.css
|
|
|
|
$(POD2HTML) \
|
|
|
|
--title="reordercap - The Wireshark Network Analyzer $(VERSION)" \
|
|
|
|
--css=ws.css \
|
|
|
|
--noindex \
|
|
|
|
reordercap.pod > reordercap.html
|
|
|
|
|
2001-05-22 16:19:45 +00:00
|
|
|
text2pcap.1: text2pcap.pod ../config.h
|
2003-02-13 22:35:10 +00:00
|
|
|
$(POD2MAN) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--center="The Wireshark Network Analyzer" \
|
2001-05-22 16:19:45 +00:00
|
|
|
--release=$(VERSION) \
|
2003-02-13 22:35:10 +00:00
|
|
|
text2pcap.pod > text2pcap.1
|
2001-05-22 16:19:45 +00:00
|
|
|
|
2008-02-22 21:28:55 +00:00
|
|
|
text2pcap.html: text2pcap.pod ../config.h ws.css
|
2003-02-13 22:35:10 +00:00
|
|
|
$(POD2HTML) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--title="text2pcap - The Wireshark Network Analyzer $(VERSION)" \
|
2008-02-22 20:03:36 +00:00
|
|
|
--css=ws.css \
|
2002-01-04 06:57:10 +00:00
|
|
|
--noindex \
|
2003-02-13 22:35:10 +00:00
|
|
|
text2pcap.pod > text2pcap.html
|
2002-01-04 06:57:10 +00:00
|
|
|
|
2006-02-09 21:49:02 +00:00
|
|
|
dumpcap.1: dumpcap.pod ../config.h
|
|
|
|
$(POD2MAN) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--center="The Wireshark Network Analyzer" \
|
2006-02-09 21:49:02 +00:00
|
|
|
--release=$(VERSION) \
|
|
|
|
dumpcap.pod > dumpcap.1
|
|
|
|
|
2008-02-22 21:28:55 +00:00
|
|
|
dumpcap.html: dumpcap.pod ../config.h ws.css
|
2006-02-09 21:49:02 +00:00
|
|
|
$(POD2HTML) \
|
2006-05-22 08:14:01 +00:00
|
|
|
--title="dumpcap - The Wireshark Network Analyzer $(VERSION)" \
|
2008-02-22 20:03:36 +00:00
|
|
|
--css=ws.css \
|
2006-02-09 21:49:02 +00:00
|
|
|
--noindex \
|
|
|
|
dumpcap.pod > dumpcap.html
|
|
|
|
|
2008-02-15 23:20:32 +00:00
|
|
|
rawshark.1: rawshark.pod ../config.h
|
|
|
|
$(POD2MAN) \
|
|
|
|
--center="The Wireshark Network Analyzer" \
|
|
|
|
--release=$(VERSION) \
|
|
|
|
rawshark.pod > rawshark.1
|
|
|
|
|
2008-02-22 21:28:55 +00:00
|
|
|
rawshark.html: rawshark.pod ../config.h ws.css
|
2008-02-15 23:20:32 +00:00
|
|
|
$(POD2HTML) \
|
|
|
|
--title="rawshark - The Wireshark Network Analyzer $(VERSION)" \
|
2008-02-22 20:03:36 +00:00
|
|
|
--css=ws.css \
|
2008-02-15 23:20:32 +00:00
|
|
|
--noindex \
|
|
|
|
rawshark.pod > rawshark.html
|
|
|
|
|
2013-05-22 17:53:24 +00:00
|
|
|
dftest.1: dftest.pod ../config.h
|
|
|
|
$(POD2MAN) \
|
|
|
|
--center="The Wireshark Network Analyzer" \
|
|
|
|
--release=$(VERSION) \
|
|
|
|
dftest.pod > dftest.1
|
|
|
|
|
|
|
|
dftest.html: dftest.pod ../config.h ws.css
|
|
|
|
$(POD2HTML) \
|
|
|
|
--title="dftest - The Wireshark Network Analyzer $(VERSION)" \
|
|
|
|
--css=ws.css \
|
|
|
|
--noindex \
|
|
|
|
dftest.pod > dftest.html
|
|
|
|
|
|
|
|
randpkt.1: randpkt.pod ../config.h
|
|
|
|
$(POD2MAN) \
|
|
|
|
--center="The Wireshark Network Analyzer" \
|
|
|
|
--release=$(VERSION) \
|
|
|
|
randpkt.pod > randpkt.1
|
|
|
|
|
|
|
|
randpkt.html: randpkt.pod ../config.h ws.css
|
|
|
|
$(POD2HTML) \
|
|
|
|
--title="randpkt - The Wireshark Network Analyzer $(VERSION)" \
|
|
|
|
--css=ws.css \
|
|
|
|
--noindex \
|
|
|
|
randpkt.pod > randpkt.html
|
|
|
|
|
2001-04-12 18:07:22 +00:00
|
|
|
clean:
|
2009-11-07 15:55:01 +00:00
|
|
|
rm -f wireshark.html wireshark.1 wireshark.pod
|
2006-05-31 17:38:42 +00:00
|
|
|
rm -f tshark.html tshark.1
|
2010-07-15 17:12:18 +00:00
|
|
|
rm -f wireshark-filter.html wireshark-filter.4
|
2004-10-20 18:50:58 +00:00
|
|
|
rm -f capinfos.html capinfos.1
|
2001-04-12 18:07:22 +00:00
|
|
|
rm -f editcap.html editcap.1
|
2006-05-31 00:23:01 +00:00
|
|
|
rm -f idl2wrs.html idl2wrs.1
|
2001-07-30 21:40:13 +00:00
|
|
|
rm -f mergecap.html mergecap.1
|
2012-10-03 12:22:08 +00:00
|
|
|
rm -f reordercap.html reordercap.1
|
2001-07-30 21:40:13 +00:00
|
|
|
rm -f text2pcap.html text2pcap.1
|
2006-02-09 21:49:02 +00:00
|
|
|
rm -f dumpcap.html dumpcap.1
|
2008-02-15 23:20:32 +00:00
|
|
|
rm -f rawshark.html rawshark.1
|
2013-05-22 17:53:24 +00:00
|
|
|
rm -f randpkt.html randpkt.1
|
|
|
|
rm -f dftest.html dftest.1
|
2002-01-04 06:57:10 +00:00
|
|
|
rm -f pod2htm*
|
2008-04-05 08:51:08 +00:00
|
|
|
rm -f ws.css
|
2009-06-21 12:47:48 +00:00
|
|
|
rm -f AUTHORS-SHORT AUTHORS-SHORT-FORMAT
|
2003-10-10 21:31:53 +00:00
|
|
|
|
|
|
|
distclean: clean
|
Make the "maintainer-clean" rules get rid of some additional generated
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.
Clean up "*~" files with "make clean" rather than only "make distclean"
in some additional places.
Add "maintainer-clean" rules to the Makefile.nmake files, paralelling
the ones in the automake-generated Makefile.in files, using the
GENERATED_FILES macros from Makefile.common files. In some cases, move
the cleanup of files from "make distclean" to "make maintainer-clean",
and in other cases, put in a comment indicating why we're not doing that
(because some files that are distributed in the source tarballs, namely
Flex output, were built with a UN*X Flex and won't compile on Windows,
so we get rid of them with "make distclean" so you can clean up stuff
that *has* to be re-generated for Windows).
Clean up some *CLEANFILES definitions - get rid of ones that no longer
apply as files were moved or that add to the definition a name that's
already there.
svn path=/trunk/; revision=13402
2005-02-14 20:33:57 +00:00
|
|
|
|
|
|
|
maintainer-clean: distclean
|