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
|
|
|
#
|
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
|
2015-11-27 02:28:17 +00:00
|
|
|
include $(top_srcdir)/Makefile.am.inc
|
2004-01-22 18:08:58 +00:00
|
|
|
|
2016-02-25 17:46:00 +00:00
|
|
|
if HAVE_GRESOURCE_PIXBUF
|
2016-03-13 21:19:10 +00:00
|
|
|
NODIST_GENERATED_FILES += \
|
|
|
|
wireshark-gresources.h \
|
|
|
|
wireshark-gresources.c
|
2016-02-25 17:46:00 +00:00
|
|
|
else
|
2016-03-13 21:19:10 +00:00
|
|
|
BUILD_PIXBUF_CSOURCE = \
|
2016-04-20 10:28:45 +00:00
|
|
|
pixbuf-csource.h \
|
2016-03-13 21:19:10 +00:00
|
|
|
pixbuf-csource.c
|
2016-02-25 17:46:00 +00:00
|
|
|
endif
|
|
|
|
|
2016-03-18 17:31:09 +00:00
|
|
|
if HAVE_EXTCAP
|
|
|
|
WIRESHARK_COMMON_GTK_SRC += extcap_gtk.c
|
|
|
|
WIRESHARK_COMMON_GTK_HDRS += extcap_gtk.h
|
|
|
|
endif
|
|
|
|
|
2016-02-19 08:20:35 +00:00
|
|
|
AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GTK_CFLAGS) \
|
|
|
|
$(PORTAUDIO_INCLUDES)
|
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
|
|
|
*~
|
|
|
|
|
2016-02-25 17:46:00 +00:00
|
|
|
DISTCLEANFILES = \
|
2016-03-13 21:19:10 +00:00
|
|
|
$(NODIST_GENERATED_FILES)
|
2016-02-25 17:46:00 +00:00
|
|
|
|
2005-07-10 08:04:27 +00:00
|
|
|
MAINTAINERCLEANFILES = \
|
2016-03-13 21:19:10 +00:00
|
|
|
$(GENERATED_FILES) \
|
2005-07-10 08:04:27 +00:00
|
|
|
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
|
|
|
|
2015-10-17 12:47:17 +00:00
|
|
|
EXTRA_DIST = \
|
2016-03-06 17:41:38 +00:00
|
|
|
.editorconfig \
|
2015-10-17 12:47:17 +00:00
|
|
|
$(GENERATOR_FILES) \
|
|
|
|
airpcap_dlg.c \
|
2015-11-25 00:45:06 +00:00
|
|
|
airpcap_dlg.h \
|
2015-10-17 12:47:17 +00:00
|
|
|
airpcap_gui_utils.c \
|
2015-11-25 00:45:06 +00:00
|
|
|
airpcap_gui_utils.h \
|
2015-10-17 12:47:17 +00:00
|
|
|
capture_if_details_dlg_win32.c \
|
|
|
|
capture_if_details_dlg_win32.h \
|
|
|
|
CMakeLists.txt \
|
|
|
|
doxygen.cfg.in \
|
|
|
|
main_airpcap_toolbar.c \
|
2015-11-25 00:45:06 +00:00
|
|
|
main_airpcap_toolbar.h \
|
2015-10-17 12:47:17 +00:00
|
|
|
Makefile.common \
|
|
|
|
Makefile_custom.common \
|
|
|
|
pixbuf-csource.c \
|
|
|
|
pixbuf-csource.h
|
|
|
|
|
2016-03-13 21:19:10 +00:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
$(GENERATED_FILES) \
|
|
|
|
$(NODIST_GENERATED_FILES)
|
2015-10-17 12:47:17 +00:00
|
|
|
|
|
|
|
noinst_LIBRARIES = libgtkui.a
|
|
|
|
|
|
|
|
libgtkui_a_SOURCES = \
|
2016-02-25 17:46:00 +00:00
|
|
|
$(WIRESHARK_COMMON_GTK_SRC) \
|
|
|
|
$(WIRESHARK_COMMON_GTK_HDRS) \
|
|
|
|
$(WIRESHARK_TAP_SRC) \
|
2016-03-13 21:19:10 +00:00
|
|
|
$(GENERATED_FILES)
|
2016-02-25 17:46:00 +00:00
|
|
|
|
|
|
|
nodist_libgtkui_a_SOURCES = \
|
2016-03-13 21:19:10 +00:00
|
|
|
$(NODIST_GENERATED_FILES) \
|
|
|
|
$(BUILD_PIXBUF_CSOURCE)
|
2015-10-17 12:47:17 +00:00
|
|
|
|
|
|
|
libgtkui_a_DEPENDENCIES =
|
|
|
|
|
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.
|
|
|
|
#
|
2015-06-25 21:30:48 +00:00
|
|
|
wireshark-tap-register.c: $(WIRESHARK_TAP_SRC) Makefile.common Makefile_custom.common $(top_srcdir)/tools/make-tap-reg.py
|
2014-08-24 19:23:45 +00:00
|
|
|
@echo Making wireshark-tap-register.c
|
|
|
|
@$(PYTHON) $(top_srcdir)/tools/make-tap-reg.py $(srcdir) taps $(WIRESHARK_TAP_SRC)
|
2002-11-06 10:53:36 +00:00
|
|
|
|
2015-11-15 17:15:42 +00:00
|
|
|
wireshark-gresources.c: main.gresources.xml $(shell glib-compile-resources --sourcedir=$(top_srcdir) --generate-dependencies $(srcdir)/main.gresources.xml)
|
2015-10-17 12:47:17 +00:00
|
|
|
@echo Making $@
|
|
|
|
@glib-compile-resources --sourcedir=$(top_srcdir) --target=$@ --generate --manual-register $<
|
2007-01-23 19:46:55 +00:00
|
|
|
|
2015-10-17 12:47:17 +00:00
|
|
|
wireshark-gresources.h: main.gresources.xml
|
|
|
|
@echo Making $@
|
|
|
|
@glib-compile-resources --sourcedir=$(top_srcdir) --target=$@ --generate --manual-register $<
|
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
|
2015-10-17 12:47:17 +00:00
|
|
|
endif
|
2004-06-09 03:08:13 +00:00
|
|
|
|
2011-04-26 10:10:22 +00:00
|
|
|
checkapi: checkapi-base checkapi-todo
|
|
|
|
|
|
|
|
checkapi-base:
|
2014-04-23 08:50:27 +00:00
|
|
|
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \
|
2015-10-17 12:47:17 +00:00
|
|
|
-sourcedir=$(srcdir) \
|
|
|
|
$(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:
|
2014-04-23 08:50:27 +00:00
|
|
|
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \
|
2015-10-17 12:47:17 +00:00
|
|
|
-sourcedir=$(srcdir) \
|
|
|
|
$(WIRESHARK_GTK_SRC) \
|
|
|
|
$(WIRESHARK_TAP_SRC) \
|
2011-09-25 21:54:04 +00:00
|
|
|
capture_if_details_dlg_win32.c
|