1999-09-09 03:55:49 +00:00
|
|
|
# Makefile.am
|
2006-05-31 19:12:15 +00:00
|
|
|
# Automake file for the GTK interface routines for Wireshark
|
1999-09-09 03:55:49 +00:00
|
|
|
#
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
1999-09-09 03:55:49 +00:00
|
|
|
#
|
2006-05-21 05:12:17 +00:00
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
1999-09-09 03:55:49 +00:00
|
|
|
# Copyright 1998 Gerald Combs
|
2002-08-31 10:58:18 +00:00
|
|
|
#
|
1999-09-09 03:55:49 +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.
|
2002-08-31 10:58:18 +00:00
|
|
|
#
|
1999-09-09 03:55:49 +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.
|
2002-08-31 10:58:18 +00:00
|
|
|
#
|
1999-09-09 03:55:49 +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.
|
1999-09-09 03:55:49 +00:00
|
|
|
|
2004-01-22 18:08:58 +00:00
|
|
|
include Makefile.common
|
2012-01-15 22:12:28 +00:00
|
|
|
include ../../Makefile.am.inc
|
2004-01-22 18:08:58 +00:00
|
|
|
|
2007-03-24 00:45:11 +00:00
|
|
|
if HAVE_WARNINGS_AS_ERRORS
|
2010-11-16 20:13:26 +00:00
|
|
|
AM_CLEAN_CFLAGS = -Werror
|
2007-03-24 00:45:11 +00:00
|
|
|
endif
|
|
|
|
|
2012-09-14 21:06:26 +00:00
|
|
|
noinst_LIBRARIES = libgtkui.a
|
1999-08-27 22:27:18 +00:00
|
|
|
|
|
|
|
CLEANFILES = \
|
2012-09-18 17:40:50 +00:00
|
|
|
libgtkui.a \
|
|
|
|
wireshark-tap-register.c-tmp \
|
|
|
|
wireshark-tap-register-cache.pkl \
|
1999-08-27 22:27:18 +00:00
|
|
|
*~
|
|
|
|
|
2005-07-10 08:04:27 +00:00
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
$(GENERATED_FILES) \
|
|
|
|
Makefile.in
|
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
|
|
|
|
2012-02-19 18:59:08 +00:00
|
|
|
#
|
|
|
|
# Build "wireshark-tap-register.c", which contains a function
|
|
|
|
# "register_all_tap_listeners()"
|
|
|
|
# that calls the register routines for all wireshark tap listeners.
|
|
|
|
#
|
|
|
|
# We do this by grepping through sources.
|
|
|
|
#
|
|
|
|
# Formatting conventions: The name of the tap_listener_register_*
|
|
|
|
# routines must start in column zero, or must be preceded only by
|
|
|
|
# "void " starting in column zero, and must not be inside #if.
|
|
|
|
#
|
|
|
|
# The first argument is the directory in which the source files live.
|
|
|
|
# All subsequent arguments are the files to scan.
|
|
|
|
#
|
2012-09-18 14:48:28 +00:00
|
|
|
wireshark-tap-register.c: $(WIRESHARK_TAP_SRC) $(top_srcdir)/tools/make-tapreg-dotc $(top_srcdir)/tools/make-tap-reg.py
|
|
|
|
@if test -n "$(PYTHON)"; then \
|
|
|
|
echo Making wireshark-tap-register.c with python ; \
|
|
|
|
$(PYTHON) $(top_srcdir)/tools/make-tap-reg.py $(srcdir) taps $(WIRESHARK_TAP_SRC); \
|
|
|
|
else \
|
|
|
|
echo Making wireshark-tap-register.c; \
|
|
|
|
$(top_srcdir)/tools/make-tapreg-dotc wireshark-tap-register.c $(srcdir) $(WIRESHARK_TAP_SRC); \
|
|
|
|
fi
|
2002-11-06 10:53:36 +00:00
|
|
|
|
2012-02-19 23:35:19 +00:00
|
|
|
WIRESHARK_CLEAN_LIBGTKUI_SRC = \
|
|
|
|
$(WIRESHARK_GTK_SRC) \
|
2012-02-20 00:01:21 +00:00
|
|
|
$(WIRESHARK_TAP_SRC) \
|
2012-02-19 23:35:19 +00:00
|
|
|
$(GENERATED_C_FILES)
|
|
|
|
|
2012-02-18 20:21:30 +00:00
|
|
|
libgtkui_a_SOURCES = \
|
2012-02-19 23:35:19 +00:00
|
|
|
$(WIRESHARK_CLEAN_LIBGTKUI_SRC) \
|
2004-01-22 20:31:44 +00:00
|
|
|
$(noinst_HEADERS) \
|
2012-02-19 23:35:19 +00:00
|
|
|
$(GENERATED_HEADER_FILES)
|
1999-12-26 22:38:07 +00:00
|
|
|
|
2012-02-18 20:21:30 +00:00
|
|
|
libgtkui_a_CFLAGS = $(AM_CLEAN_CFLAGS)
|
2010-11-16 20:13:26 +00:00
|
|
|
|
2012-02-18 20:21:30 +00:00
|
|
|
libgtkui_a_DEPENDENCIES =
|
2010-11-16 20:13:26 +00:00
|
|
|
|
2003-09-10 07:17:21 +00:00
|
|
|
# Common headers
|
2012-09-03 19:56:25 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(PORTAUDIO_INCLUDES)
|
2007-01-23 19:46:55 +00:00
|
|
|
|
2004-06-09 03:08:13 +00:00
|
|
|
|
2004-06-25 07:10:55 +00:00
|
|
|
doxygen:
|
2004-06-09 03:08:13 +00:00
|
|
|
if HAVE_DOXYGEN
|
2004-06-25 07:10:55 +00:00
|
|
|
$(DOXYGEN) doxygen.cfg
|
2004-06-09 03:08:13 +00:00
|
|
|
endif # HAVE_DOXYGEN
|
|
|
|
|
2011-04-26 10:10:22 +00:00
|
|
|
checkapi: checkapi-base checkapi-todo
|
|
|
|
|
|
|
|
checkapi-base:
|
2012-04-04 20:46:49 +00:00
|
|
|
$(PERL) ../../tools/checkAPIs.pl -g deprecated-gtk -build \
|
2012-02-19 23:35:19 +00:00
|
|
|
$(WIRESHARK_CLEAN_LIBGTKUI_SRC) \
|
2011-09-25 21:54:04 +00:00
|
|
|
capture_if_details_dlg_win32.c
|
2011-04-26 10:10:22 +00:00
|
|
|
|
|
|
|
checkapi-todo:
|
2012-04-04 20:46:49 +00:00
|
|
|
$(PERL) ../../tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \
|
2010-11-30 02:04:55 +00:00
|
|
|
$(WIRESHARK_GTK_SRC) \
|
|
|
|
$(WIRESHARK_TAP_SRC) \
|
2011-09-25 21:54:04 +00:00
|
|
|
capture_if_details_dlg_win32.c
|
2010-11-30 02:04:55 +00:00
|
|
|
|
2009-11-10 18:02:05 +00:00
|
|
|
expert_indicators.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
2012-08-09 13:23:47 +00:00
|
|
|
for elevel in chat error none note warn ok ; do \
|
2012-03-08 08:45:20 +00:00
|
|
|
gdk-pixbuf-csource --raw --name=expert_$${elevel}_pb_data $(top_srcdir)/image/expert_$${elevel}.png >> $@ ;\
|
2012-03-07 20:56:01 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
capture_comment_icons.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
|
|
|
for caction in add update disabled ; do \
|
2012-03-08 08:46:52 +00:00
|
|
|
gdk-pixbuf-csource --raw --name=capture_comment_$${caction}_pb_data $(top_srcdir)/image/capture_comment_$${caction}.png >> $@ ;\
|
2009-11-10 18:02:05 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
network_icons.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
2009-11-12 18:10:34 +00:00
|
|
|
for icon in bluetooth usb wired wireless ; do \
|
2012-03-08 08:46:52 +00:00
|
|
|
gdk-pixbuf-csource --raw --name=network_$${icon}_pb_data $(top_srcdir)/image/toolbar/network_$${icon}_16.png >> $@ ;\
|
2009-11-10 18:02:05 +00:00
|
|
|
done
|
2010-05-14 16:27:03 +00:00
|
|
|
|
2011-09-24 12:39:09 +00:00
|
|
|
remote_icons.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
|
|
|
for icon in arrow globe sat ; do \
|
2012-03-08 08:46:52 +00:00
|
|
|
gdk-pixbuf-csource --raw --name=remote_$${icon}_pb_data $(top_srcdir)/image/toolbar/remote_$${icon}_16.png >> $@ ;\
|
2011-09-24 12:39:09 +00:00
|
|
|
done
|
|
|
|
|
2012-01-19 13:02:32 +00:00
|
|
|
pipe_icon.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
2012-03-08 08:46:52 +00:00
|
|
|
gdk-pixbuf-csource --raw --name=pipe_pb_data $(top_srcdir)/image/toolbar/pipe_16.png >> $@
|
2012-01-19 13:02:32 +00:00
|
|
|
|
2013-03-27 18:09:00 +00:00
|
|
|
TOOLBAR_COMMON_ICONS = \
|
|
|
|
capture_interfaces \
|
2013-04-26 21:10:35 +00:00
|
|
|
capture_options_alt1 \
|
2013-03-27 18:09:00 +00:00
|
|
|
capture_restart \
|
|
|
|
capture_start \
|
|
|
|
capture_stop \
|
|
|
|
gnome_emblem_web \
|
|
|
|
toolbar_wireshark_file
|
|
|
|
|
2012-12-05 22:28:12 +00:00
|
|
|
toolbar_icons.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
2013-03-27 18:09:00 +00:00
|
|
|
for icon16 in $(TOOLBAR_COMMON_ICONS) ; do \
|
2013-03-26 19:51:33 +00:00
|
|
|
gdk-pixbuf-csource --raw --name=$${icon16}_16_pb_data $(top_srcdir)/image/toolbar/$${icon16}_16.png >> $@ ;\
|
2012-12-05 22:28:12 +00:00
|
|
|
done
|
2013-03-27 18:09:00 +00:00
|
|
|
for icon24 in $(TOOLBAR_COMMON_ICONS) ; do \
|
2013-03-26 19:51:33 +00:00
|
|
|
gdk-pixbuf-csource --raw --name=$${icon24}_24_pb_data $(top_srcdir)/image/toolbar/$${icon24}_24.png >> $@ ;\
|
2012-12-05 22:28:12 +00:00
|
|
|
done
|
|
|
|
|
2013-01-19 05:48:43 +00:00
|
|
|
layouts.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
2013-01-19 13:01:00 +00:00
|
|
|
for layout_num in 1 2 3 4 5 6 ; do \
|
2013-01-19 05:48:43 +00:00
|
|
|
gdk-pixbuf-csource --raw --name=layout_$${layout_num}_pb_data $(top_srcdir)/image/layout_$${layout_num}.png >> $@ ;\
|
|
|
|
done
|
|
|
|
|
2013-03-26 19:51:33 +00:00
|
|
|
wsicon.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
|
|
|
for layout_num in 16 24 32 48 64 ; do \
|
|
|
|
gdk-pixbuf-csource --raw --name=wsicon_$${layout_num}_pb_data $(top_srcdir)/image/wsicon$${layout_num}.png >> $@ ;\
|
|
|
|
done
|
|
|
|
|
|
|
|
wsiconcap.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
|
|
|
for layout_num in 16 24 32 48 64 ; do \
|
|
|
|
gdk-pixbuf-csource --raw --name=wsiconcap_$${layout_num}_pb_data $(top_srcdir)/image/wsiconcap$${layout_num}.png >> $@ ;\
|
|
|
|
done
|
|
|
|
|
2013-03-27 21:29:44 +00:00
|
|
|
wssplash.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
|
|
|
gdk-pixbuf-csource --raw --name=wssplash_pb_data $(top_srcdir)/image/wssplash_dev.png >> $@
|
|
|
|
|
2013-04-07 17:40:28 +00:00
|
|
|
clean-pixbufs:
|
|
|
|
rm expert_indicators.h capture_comment_icons.h network_icons.h remote_icons.h pipe_icon.h \
|
|
|
|
toolbar_icons.h layouts.h wsicon.h wsiconcap.h wssplash.h
|
|
|
|
|
2010-05-14 16:27:03 +00:00
|
|
|
EXTRA_DIST = \
|
2012-02-19 22:41:53 +00:00
|
|
|
$(GENERATOR_FILES) \
|
2010-05-14 16:27:03 +00:00
|
|
|
airpcap_dlg.c \
|
|
|
|
airpcap_gui_utils.c \
|
|
|
|
capture_if_details_dlg_win32.c \
|
|
|
|
capture_if_details_dlg_win32.h \
|
2012-03-19 06:31:13 +00:00
|
|
|
CMakeLists.txt \
|
2010-05-14 16:27:03 +00:00
|
|
|
doxygen.cfg.in \
|
2012-02-18 20:21:30 +00:00
|
|
|
libgtkui.vcproj \
|
2010-05-14 16:27:03 +00:00
|
|
|
main_airpcap_toolbar.c \
|
|
|
|
Makefile.common \
|
|
|
|
Makefile.nmake \
|
2011-08-31 13:44:43 +00:00
|
|
|
Makefile_custom.common
|