Add text import capability, like text2pcap, directly into the GUI.
[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 include ../Makefile.am.inc
26
27 if HAVE_WARNINGS_AS_ERRORS
28 AM_CFLAGS = -Werror
29 endif
30
31 noinst_LIBRARIES = libui.a
32
33 CLEANFILES = \
34         libui.a         \
35         *~
36
37 MAINTAINERCLEANFILES = \
38         $(GENERATED_FILES)      \
39         Makefile.in
40
41 RUNLEX=$(top_srcdir)/tools/runlex.sh
42
43 wireshark-tap-register.c: $(WIRESHARK_TAP_SRC) $(top_srcdir)/tools/make-tapreg-dotc
44         @echo Making wireshark-tap-register.c
45         @$(top_srcdir)/tools/make-tapreg-dotc wireshark-tap-register.c $(srcdir) $(WIRESHARK_TAP_SRC)
46
47 libui_a_SOURCES = \
48         $(WIRESHARK_GTK_SRC) \
49         $(GENERATED_C_FILES) \
50         $(noinst_HEADERS) \
51         $(WIRESHARK_TAP_SRC)
52
53 libui_a_DEPENDENCIES = 
54
55 # Common headers
56 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES)
57
58
59 doxygen:
60 if HAVE_DOXYGEN
61         $(DOXYGEN) doxygen.cfg
62 endif           # HAVE_DOXYGEN
63
64 checkapi:
65         $(PERL) ../tools/checkAPIs.pl \
66         $(WIRESHARK_GTK_SRC) \
67         $(WIRESHARK_TAP_SRC) \
68         capture_if_details_dlg_win32.c  \
69         file_dlg_win32.c \
70         print_win32.c
71
72 expert_indicators.h:
73         echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
74         echo >> $@
75         for elevel in chat error none note warn ; do \
76                 gdk-pixbuf-csource --raw --name=expert_$${elevel}_pb_data ../image/expert_$${elevel}.png >> $@ ;\
77         done
78
79 network_icons.h:
80         echo "/* This file was automatically generated. DO NOT EDIT. */" > $@
81         echo >> $@
82         for icon in bluetooth usb wired wireless ; do \
83                 gdk-pixbuf-csource --raw --name=network_$${icon}_pb_data ../image/toolbar/network_$${icon}_16.png >> $@ ;\
84         done
85
86 EXTRA_DIST = \
87         airpcap_dlg.c                   \
88         airpcap_gui_utils.c             \
89         capture_if_details_dlg_win32.c  \
90         capture_if_details_dlg_win32.h  \
91         doxygen.cfg.in                  \
92         file_dlg_win32.c                \
93         file_dlg_win32.h                \
94         libui.vcproj                    \
95         main_airpcap_toolbar.c          \
96         Makefile.common                 \
97         Makefile.nmake                  \
98         print_win32.c                   \
99         print_win32.h                   \
100         CMakeLists.txt