Create a common libui using CMake similar to what we do with Autotools.
[metze/wireshark/wip.git] / ui / Makefile.common
1 # Makefile.common
2 #     Contains the stuff from Makefile.am and Makefile.nmake that is
3 #     a) common to both files and
4 #     b) portable between both files
5 #
6 # $Id$
7 #
8 # Wireshark - Network traffic analyzer
9 # By Gerald Combs <gerald@wireshark.org>
10 # Copyright 1998 Gerald Combs
11 #
12 # This program is free software; you can redistribute it and/or
13 # modify it under the terms of the GNU General Public License
14 # as published by the Free Software Foundation; either version 2
15 # of the License, or (at your option) any later version.
16 #
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 # GNU General Public License for more details.
21 #
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25
26 # Generated header files that we want in the distribution.
27 GENERATED_HEADER_FILES =
28
29 # Generated C source files that we want in the distribution.
30 GENERATED_C_FILES =
31
32 DIRTY_GENERATED_C_FILES =
33
34 # All the generated files we want in the distribution.
35 GENERATED_FILES = \
36         $(GENERATED_HEADER_FILES) \
37         $(GENERATED_C_FILES) \
38         $(DIRTY_GENERATED_C_FILES)
39
40 # Files that generate compileable files
41 GENERATOR_FILES = \
42         text_import_scanner.l
43
44 WIRESHARK_UI_SRC = \
45         alert_box.c     \
46         iface_lists.c   \
47         text_import.c   \
48         util.c
49
50 noinst_HEADERS = \
51         alert_box.h             \
52         capture_globals.h       \
53         last_open_dir.h         \
54         iface_lists.h           \
55         main_statusbar.h        \
56         progress_dlg.h          \
57         recent.h                \
58         recent_utils.h          \
59         simple_dialog.h         \
60         text_import.h           \
61         ui_util.h               \
62         utf8_entities.h         \
63         util.h