2 # Automake file for the GTK interface routines for Wireshark
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
10 # This program is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU General Public License
12 # as published by the Free Software Foundation; either version 2
13 # of the License, or (at your option) any later version.
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 include Makefile.common
25 include ../Makefile.am.inc
27 if HAVE_WARNINGS_AS_ERRORS
28 AM_CLEAN_CFLAGS = -Werror
31 noinst_LIBRARIES = libui.a libui_dirty.a
38 MAINTAINERCLEANFILES = \
42 RUNLEX=$(top_srcdir)/tools/runlex.sh
44 wireshark-tap-register.c: $(WIRESHARK_TAP_SRC) $(top_srcdir)/tools/make-tapreg-dotc
45 @echo Making wireshark-tap-register.c
46 @$(top_srcdir)/tools/make-tapreg-dotc wireshark-tap-register.c $(srcdir) $(WIRESHARK_TAP_SRC)
49 $(WIRESHARK_GTK_SRC) \
50 $(GENERATED_C_FILES) \
54 libui_a_CFLAGS = $(AM_CLEAN_CFLAGS)
56 libui_a_DEPENDENCIES =
59 libui_dirty_a_SOURCES = \
60 $(DIRTY_GENERATED_C_FILES)
62 libui_dirty_a_DEPENDENCIES =
65 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
70 $(DOXYGEN) doxygen.cfg
74 $(PERL) ../tools/checkAPIs.pl \
75 $(WIRESHARK_GTK_SRC) \
76 $(WIRESHARK_TAP_SRC) \
77 capture_if_details_dlg_win32.c
80 echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
82 for elevel in chat error none note warn ; do \
83 gdk-pixbuf-csource --raw --name=expert_$${elevel}_pb_data ../image/expert_$${elevel}.png >> $@ ;\
87 echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
89 for icon in bluetooth usb wired wireless ; do \
90 gdk-pixbuf-csource --raw --name=network_$${icon}_pb_data ../image/toolbar/network_$${icon}_16.png >> $@ ;\
96 capture_if_details_dlg_win32.c \
97 capture_if_details_dlg_win32.h \
100 main_airpcap_toolbar.c \