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
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
2004-01-22 18:08:58 +00:00
|
|
|
include Makefile.common
|
|
|
|
|
2007-03-24 00:45:11 +00:00
|
|
|
if HAVE_WARNINGS_AS_ERRORS
|
|
|
|
AM_CFLAGS = -Werror
|
|
|
|
endif
|
|
|
|
|
1999-08-27 22:27:18 +00:00
|
|
|
noinst_LIBRARIES = libui.a
|
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
libui.a \
|
|
|
|
*~
|
|
|
|
|
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
|
|
|
|
2009-10-04 09:12:14 +00:00
|
|
|
wireshark-tap-register.c: $(WIRESHARK_TAP_SRC) $(top_srcdir)/tools/make-tapreg-dotc
|
2006-05-31 19:12:15 +00:00
|
|
|
@echo Making wireshark-tap-register.c
|
2009-10-04 09:12:14 +00:00
|
|
|
@$(top_srcdir)/tools/make-tapreg-dotc wireshark-tap-register.c $(srcdir) $(WIRESHARK_TAP_SRC)
|
2002-11-06 10:53:36 +00:00
|
|
|
|
2002-11-03 17:38:45 +00:00
|
|
|
libui_a_SOURCES = \
|
2006-05-31 19:12:15 +00:00
|
|
|
$(WIRESHARK_GTK_SRC) \
|
2008-05-23 13:14:08 +00:00
|
|
|
$(GENERATED_C_FILES) \
|
2004-01-22 20:31:44 +00:00
|
|
|
$(noinst_HEADERS) \
|
2006-05-31 19:12:15 +00:00
|
|
|
$(WIRESHARK_TAP_SRC)
|
1999-12-26 22:38:07 +00:00
|
|
|
|
2004-06-25 07:10:55 +00:00
|
|
|
libui_a_DEPENDENCIES =
|
2004-06-09 03:08:13 +00:00
|
|
|
|
2003-09-10 07:17:21 +00:00
|
|
|
# Common headers
|
2007-02-12 19:55:54 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(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
|
|
|
|
|
2008-07-02 01:44:30 +00:00
|
|
|
checkapi:
|
|
|
|
$(PERL) ../tools/checkAPIs.pl \
|
|
|
|
$(WIRESHARK_GTK_SRC) \
|
|
|
|
$(WIRESHARK_TAP_SRC) \
|
|
|
|
capture_if_details_dlg_win32.c \
|
|
|
|
file_dlg_win32.c \
|
|
|
|
print_win32.c
|
2009-11-10 18:02:05 +00:00
|
|
|
|
|
|
|
expert_indicators.h:
|
|
|
|
echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
|
|
|
|
echo >> $@
|
|
|
|
for elevel in chat error none note warn ; do \
|
|
|
|
gdk-pixbuf-csource --raw --name=expert_$${elevel}_pb_data ../image/expert_$${elevel}.png >> $@ ;\
|
|
|
|
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 \
|
2009-11-10 18:02:05 +00:00
|
|
|
gdk-pixbuf-csource --raw --name=network_$${icon}_pb_data ../image/toolbar/network_$${icon}_16.png >> $@ ;\
|
|
|
|
done
|