2012-02-18 23:55:41 +00:00
|
|
|
# Makefile.am
|
|
|
|
# Automake file for the common-to-all-toolkits user interface routines
|
|
|
|
# for Wireshark
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
|
|
|
# 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
|
2012-06-28 22:56:06 +00:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2012-02-18 23:55:41 +00:00
|
|
|
|
|
|
|
include Makefile.common
|
|
|
|
include ../Makefile.am.inc
|
|
|
|
|
|
|
|
if HAVE_WARNINGS_AS_ERRORS
|
|
|
|
AM_CLEAN_CFLAGS = -Werror
|
|
|
|
endif
|
|
|
|
|
2012-09-14 21:06:26 +00:00
|
|
|
noinst_LIBRARIES = libui.a libui_dirty.a
|
2012-02-18 23:55:41 +00:00
|
|
|
|
|
|
|
CLEANFILES = \
|
2013-04-30 00:27:02 +00:00
|
|
|
doxygen-ui.tag \
|
2012-02-18 23:55:41 +00:00
|
|
|
libui.a \
|
2012-09-14 21:06:26 +00:00
|
|
|
libui_dirty.a \
|
2012-02-18 23:55:41 +00:00
|
|
|
*~
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
$(GENERATED_FILES) \
|
|
|
|
Makefile.in
|
|
|
|
|
2012-09-14 20:55:11 +00:00
|
|
|
RUNLEX=$(top_srcdir)/tools/runlex.sh
|
|
|
|
|
|
|
|
text_import_scanner_lex.h: text_import_scanner.c
|
|
|
|
|
2012-02-19 22:25:54 +00:00
|
|
|
# All sources that should be put in the source distribution tarball
|
2012-02-18 23:55:41 +00:00
|
|
|
libui_a_SOURCES = \
|
|
|
|
$(WIRESHARK_UI_SRC) \
|
|
|
|
$(noinst_HEADERS) \
|
2012-02-19 22:25:54 +00:00
|
|
|
$(GENERATED_HEADER_FILES) \
|
|
|
|
$(GENERATED_C_FILES)
|
2012-02-18 23:55:41 +00:00
|
|
|
|
|
|
|
libui_a_CFLAGS = $(AM_CLEAN_CFLAGS)
|
|
|
|
|
|
|
|
libui_a_DEPENDENCIES =
|
|
|
|
|
2012-09-14 21:06:26 +00:00
|
|
|
libui_dirty_a_SOURCES = \
|
|
|
|
$(DIRTY_GENERATED_C_FILES)
|
|
|
|
|
|
|
|
libui_dirty_a_DEPENDENCIES =
|
|
|
|
|
2012-02-18 23:55:41 +00:00
|
|
|
# Common headers
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
|
|
|
|
|
|
|
|
|
|
|
|
doxygen:
|
|
|
|
if HAVE_DOXYGEN
|
|
|
|
$(DOXYGEN) doxygen.cfg
|
|
|
|
endif # HAVE_DOXYGEN
|
|
|
|
|
2013-04-26 00:07:42 +00:00
|
|
|
wsar_html: doxygen.cfg ../doxygen_global.cfg
|
2013-04-26 17:49:00 +00:00
|
|
|
if HAVE_DOXYGEN
|
2013-04-26 18:23:05 +00:00
|
|
|
(umask 022 ; $(DOXYGEN) doxygen.cfg)
|
2013-04-26 17:49:00 +00:00
|
|
|
endif
|
2013-04-26 00:07:42 +00:00
|
|
|
|
2012-02-18 23:55:41 +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 22:25:54 +00:00
|
|
|
$(WIRESHARK_UI_SRC)
|
2012-02-18 23:55:41 +00:00
|
|
|
|
|
|
|
checkapi-todo:
|
2012-04-04 20:46:49 +00:00
|
|
|
$(PERL) ../tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \
|
2012-02-19 22:25:54 +00:00
|
|
|
$(WIRESHARK_UI_SRC)
|
2012-02-18 23:55:41 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2012-02-19 22:25:54 +00:00
|
|
|
$(GENERATOR_FILES) \
|
2012-09-14 20:23:18 +00:00
|
|
|
CMakeLists.txt \
|
2012-02-19 22:25:54 +00:00
|
|
|
doxygen.cfg.in \
|
2012-02-18 23:55:41 +00:00
|
|
|
Makefile.common \
|
|
|
|
Makefile.nmake
|