packet-smb2: fix lease epoch fields
[metze/wireshark/wip.git] / ui / Makefile.am
1 # Makefile.am
2 # Automake file for the common-to-all-toolkits user interface routines
3 # for Wireshark
4 #
5 # $Id$
6 #
7 # Wireshark - Network traffic analyzer
8 # By Gerald Combs <gerald@wireshark.org>
9 # Copyright 1998 Gerald Combs
10 #
11 # This program is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU General Public License
13 # as published by the Free Software Foundation; either version 2
14 # of the License, or (at your option) any later version.
15 #
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 # GNU General Public License for more details.
20 #
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24
25 include Makefile.common
26 include ../Makefile.am.inc
27
28 if HAVE_WARNINGS_AS_ERRORS
29 AM_CLEAN_CFLAGS = -Werror
30 endif
31
32 noinst_LIBRARIES = libui.a libui_dirty.a
33
34 CLEANFILES = \
35         doxygen-ui.tag  \
36         libui.a         \
37         libui_dirty.a   \
38         *~
39
40 MAINTAINERCLEANFILES = \
41         $(GENERATED_FILES)      \
42         Makefile.in
43
44 RUNLEX=$(top_srcdir)/tools/runlex.sh
45
46 text_import_scanner_lex.h: text_import_scanner.c
47
48 # All sources that should be put in the source distribution tarball
49 libui_a_SOURCES = \
50         $(WIRESHARK_UI_SRC) \
51         $(noinst_HEADERS) \
52         $(GENERATED_HEADER_FILES) \
53         $(GENERATED_C_FILES)
54
55 libui_a_CFLAGS = $(AM_CLEAN_CFLAGS)
56
57 libui_a_DEPENDENCIES =
58
59 libui_dirty_a_SOURCES = \
60         $(DIRTY_GENERATED_C_FILES)
61
62 libui_dirty_a_DEPENDENCIES =
63
64 # Common headers
65 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
66
67
68 doxygen:
69 if HAVE_DOXYGEN
70         $(DOXYGEN) doxygen.cfg
71 endif           # HAVE_DOXYGEN
72
73 wsar_html: doxygen.cfg ../doxygen_global.cfg
74 if HAVE_DOXYGEN
75         (umask 022 ; $(DOXYGEN) doxygen.cfg)
76 endif
77
78 checkapi: checkapi-base checkapi-todo
79
80 checkapi-base:
81         $(PERL) ../tools/checkAPIs.pl -g deprecated-gtk -build \
82         $(WIRESHARK_UI_SRC)
83
84 checkapi-todo:
85         $(PERL) ../tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \
86         $(WIRESHARK_UI_SRC)
87
88 EXTRA_DIST = \
89         $(GENERATOR_FILES)              \
90         CMakeLists.txt                  \
91         doxygen.cfg.in                  \
92         Makefile.common                 \
93         Makefile.nmake