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
|
|
|
#
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
2001-07-30 21:40:13 +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
|
|
|
|
#
|
|
|
|
# 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.
|
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 \
|
2008-02-15 23:20:32 +00:00
|
|
|
editcap.html idl2wrs.html mergecap.html text2pcap.html dumpcap.html \
|
|
|
|
rawshark.html
|
2001-03-09 03:43:58 +00:00
|
|
|
|
2006-05-31 19:12:15 +00:00
|
|
|
man: wireshark.1 tshark.1 wireshark-filter.4 capinfos.1 editcap.1 \
|
2008-02-15 23:20:32 +00:00
|
|
|
idl2wrs.1 mergecap.1 text2pcap.1 dumpcap.1 rawshark.1
|
2004-05-22 13:45:05 +00:00
|
|
|
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark-tmp.pod: wireshark.pod ../AUTHORS-SHORT-FORMAT
|
|
|
|
copy /B wireshark.pod + ..\AUTHORS-SHORT-FORMAT wireshark-tmp.pod
|
2004-10-18 09:53:06 +00:00
|
|
|
|
|
|
|
../AUTHORS-SHORT-FORMAT:
|
|
|
|
cd ..
|
2006-12-05 12:36:06 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f makefile.nmake AUTHORS-SHORT-FORMAT
|
2004-10-18 09:53:06 +00:00
|
|
|
cd doc
|
|
|
|
|
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) \
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark-tmp.pod > wireshark.1
|
2001-03-09 03:43:58 +00:00
|
|
|
|
2008-02-22 21:28:55 +00:00
|
|
|
wireshark.html: wireshark-tmp.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 \
|
2006-05-31 19:12:15 +00:00
|
|
|
wireshark-tmp.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
|
|
|
|
2008-05-02 12:58:15 +00:00
|
|
|
wireshark-filter.pod: wireshark-filter.pod.template ../tshark.exe
|
2003-12-23 11:53:25 +00:00
|
|
|
cd ..
|
2008-04-09 03:48:16 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake install-all
|
|
|
|
$(INSTALL_DIR)\tshark.exe -G | $(PERL) doc\dfilter2pod.pl doc\wireshark-filter.pod.template > doc\wireshark-filter.pod
|
2003-12-23 11:53:25 +00:00
|
|
|
cd doc
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
2001-04-12 18:07:22 +00:00
|
|
|
clean:
|
2006-05-31 19:12:15 +00:00
|
|
|
rm -f wireshark.html wireshark.1 wireshark-tmp.pod
|
2006-05-31 17:38:42 +00:00
|
|
|
rm -f tshark.html tshark.1
|
2006-05-31 19:12:15 +00:00
|
|
|
rm -f wireshark-filter.html wireshark-filter.4 wireshark-filter.pod
|
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
|
|
|
|
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
|
2002-01-04 06:57:10 +00:00
|
|
|
rm -f pod2htm*
|
2008-04-05 08:51:08 +00:00
|
|
|
rm -f ws.css
|
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
|