summaryrefslogtreecommitdiffstats
path: root/client/x11
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-07-01 13:48:58 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-01 13:48:58 +0200
commit0e16cadc7077d448a5b91be205226620e2bc5191 (patch)
treeee3f97a1a9189956c8ca5aac25ed8975e5ee9787 /client/x11
parentd69fd9408cecff72a9261ed5c1cc2de77aee37bb (diff)
downloadspice-0e16cadc7077d448a5b91be205226620e2bc5191.tar.gz
spice-0e16cadc7077d448a5b91be205226620e2bc5191.tar.xz
spice-0e16cadc7077d448a5b91be205226620e2bc5191.zip
Make CEGUI optional
This makes the CEGUI dependency optional and off by default. Restoring previous behaviour of exiting on disconnect if disabled.
Diffstat (limited to 'client/x11')
-rw-r--r--client/x11/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/client/x11/Makefile.am b/client/x11/Makefile.am
index eaa03149..ce4813b0 100644
--- a/client/x11/Makefile.am
+++ b/client/x11/Makefile.am
@@ -116,6 +116,10 @@ RED_COMMON_SRCS = \
$(CLIENT_DIR)/zlib_decoder.cpp \
$(CLIENT_DIR)/zlib_decoder.h \
$(CLIENT_DIR)/icon.h \
+ $(NULL)
+
+if SUPPORT_GUI
+RED_GUI_SRCS = \
$(CLIENT_DIR)/gui/softrenderer.h \
$(CLIENT_DIR)/gui/softrenderer.cpp \
$(CLIENT_DIR)/gui/softtexture.h \
@@ -123,8 +127,11 @@ RED_COMMON_SRCS = \
$(CLIENT_DIR)/gui/resource_provider.h \
$(CLIENT_DIR)/gui/resource_provider.cpp \
$(CLIENT_DIR)/gui/gui.h \
- $(CLIENT_DIR)/gui/gui.cpp \
- $(NULL)
+ $(CLIENT_DIR)/gui/gui.cpp
+else
+RED_GUI_SRCS =
+endif
+
if SUPPORT_GL
RED_OGL_SRCS = \
@@ -167,6 +174,7 @@ spicec_SOURCES = \
x_icon.h \
x_platform.h \
$(RED_COMMON_SRCS) \
+ $(RED_GUI_SRCS) \
$(RED_OGL_SRCS) \
$(NULL)