1#   Copyright (C) 2007 Ole Laursen
2#   Copyright (C) 2007, 2008, 2009, 2011, 2015 Ben Asselstine
3#   Copyright (C) 2008 Barry deFreese
4#
5#   This program is free software; you can redistribute it and/or modify
6#   it under the terms of the GNU General Public License as published by
7#   the Free Software Foundation; either version 3 of the License, or
8#   (at your option) any later version.
9#
10#   This program is distributed in the hope that it will be useful,
11#   but WITHOUT ANY WARRANTY; without even the implied warranty of
12#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13#   GNU Library General Public License for more details.
14#
15#   You should have received a copy of the GNU General Public License
16#   along with this program; if not, write to the Free Software
17#   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18#   02110-1301, USA.
19MAINTAINERCLEANFILES= Makefile.in
20
21noinst_LTLIBRARIES = liblwgui.la
22
23liblwgui_la_SOURCES = \
24    driver.cpp driver.h \
25    fight-order-dialog.cpp fight-order-dialog.h \
26    hero-levels-dialog.cpp hero-levels-dialog.h \
27    army-bonus-dialog.cpp army-bonus-dialog.h \
28    item-bonus-dialog.cpp item-bonus-dialog.h \
29    city-info-tip.cpp city-info-tip.h \
30    army-info-tip.cpp army-info-tip.h \
31    stack-info-tip.cpp stack-info-tip.h \
32    army-gains-level-dialog.cpp army-gains-level-dialog.h \
33    buy-production-dialog.cpp buy-production-dialog.h \
34    city-window.cpp city-window.h \
35    destination-dialog.cpp destination-dialog.h \
36    fight-window.cpp fight-window.h \
37    game-preferences-dialog.cpp game-preferences-dialog.h \
38    game-options-dialog.cpp game-options-dialog.h \
39    game-window.cpp game-window.h \
40    hero-dialog.cpp hero-dialog.h \
41    hero-offer-dialog.cpp hero-offer-dialog.h \
42    surrender-dialog.cpp surrender-dialog.h \
43    surrender-refused-dialog.cpp surrender-refused-dialog.h \
44    sage-dialog.cpp sage-dialog.h \
45    ruin-rewarded-dialog.cpp ruin-rewarded-dialog.h \
46    ruin-report-dialog.cpp ruin-report-dialog.h \
47    item-report-dialog.cpp item-report-dialog.h \
48    history-report-dialog.cpp history-report-dialog.h \
49    report-dialog.cpp report-dialog.h \
50    triumphs-dialog.cpp triumphs-dialog.h \
51    diplomacy-dialog.cpp diplomacy-dialog.h \
52    diplomacy-report-dialog.cpp diplomacy-report-dialog.h \
53    load-scenario-dialog.cpp load-scenario-dialog.h \
54    quest-assigned-dialog.cpp quest-assigned-dialog.h \
55    quest-completed-dialog.cpp quest-completed-dialog.h \
56    bar-chart.cpp bar-chart.h \
57    line-chart.cpp line-chart.h \
58    main.cpp main.h \
59    quest-report-dialog.cpp quest-report-dialog.h \
60    preferences-dialog.cpp preferences-dialog.h \
61    main-preferences-dialog.cpp main-preferences-dialog.h \
62    stack-info-dialog.cpp stack-info-dialog.h \
63    splash-window.cpp splash-window.h \
64    image-helpers.cpp image-helpers.h \
65    input-helpers.h \
66    timed-message-dialog.cpp timed-message-dialog.h \
67    game-lobby-dialog.cpp game-lobby-dialog.h \
68    quick-help-window.cpp quick-help-window.h \
69    network-game-selector-dialog.cpp network-game-selector-dialog.h \
70    new-network-game-dialog.cpp new-network-game-dialog.h \
71    new-profile-dialog.cpp new-profile-dialog.h \
72    new-network-game-download-window.cpp new-network-game-download-window.h \
73    new-random-map-dialog.cpp new-random-map-dialog.h \
74    use-item-dialog.cpp use-item-dialog.h \
75    use-item-on-player-dialog.cpp use-item-on-player-dialog.h \
76    use-item-on-city-dialog.cpp use-item-on-city-dialog.h \
77    game-button-box.cpp game-button-box.h \
78    status-box.cpp status-box.h \
79    stack-tile-box.cpp stack-tile-box.h \
80    stack-army-button.cpp stack-army-button.h \
81    lw-dialog.cpp lw-dialog.h \
82    builder-cache.cpp builder-cache.h \
83    tartan-progress-bar.cpp tartan-progress-bar.h \
84    font-size.cpp font-size.h \
85    load-progress-window.cpp load-progress-window.h
86
87liblwgui_la_LIBADD = @LTLIBOBJS@
88
89AM_CPPFLAGS = \
90   $(GTKMM_CFLAGS) \
91   $(XMLPP_CFLAGS) \
92   $(GSTREAMER_CFLAGS) \
93   -I$(top_srcdir)/src
94
95AM_CXXFLAGS = -Wall -Wshadow -Wextra -pedantic -Wno-deprecated-declarations \
96	      -Wno-deprecated-copy -std=c++11
97