fef0ca8036cf93c8ce86291e0f2717d6230a46a7
[obnox/wireshark/wip.git] / gtk / Makefile.am
1 # Makefile.am
2 # Automake file for the GTK interface routines for Wireshark
3 #
4 # $Id$
5 #
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
9 #
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.
14 #
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.
19 #
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.
23
24 include Makefile.common
25
26 if HAVE_WARNINGS_AS_ERRORS
27 AM_CFLAGS = -Werror
28 endif
29
30 noinst_LIBRARIES = libui.a
31
32 CLEANFILES = \
33         libui.a         \
34         *~
35
36 MAINTAINERCLEANFILES = \
37         $(GENERATED_FILES)      \
38         Makefile.in
39
40 wireshark-tap-register.c: $(WIRESHARK_TAP_SRC) $(top_srcdir)/make-tapreg-dotc
41         @echo Making wireshark-tap-register.c
42         @$(top_srcdir)/make-tapreg-dotc wireshark-tap-register.c $(srcdir) $(WIRESHARK_TAP_SRC)
43
44 libui_a_SOURCES = \
45         $(WIRESHARK_GTK_SRC) \
46         $(GENERATED_C_FILES) \
47         $(noinst_HEADERS) \
48         $(WIRESHARK_TAP_SRC)
49
50 libui_a_DEPENDENCIES = 
51
52 # Common headers
53 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
54
55
56 doxygen:
57 if HAVE_DOXYGEN
58         $(DOXYGEN) doxygen.cfg
59 endif           # HAVE_DOXYGEN
60
61 checkapi:
62         $(PERL) ../tools/checkAPIs.pl \
63         $(WIRESHARK_GTK_SRC) \
64         $(WIRESHARK_TAP_SRC) \
65         capture_if_details_dlg_win32.c  \
66         file_dlg_win32.c \
67         print_win32.c