summaryrefslogtreecommitdiff
path: root/plugingui/Makefile.am.plugingui
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2014-01-18 10:43:36 +0100
committerJonas Suhr Christensen <jsc@umbraculum.org>2014-01-18 10:43:36 +0100
commitf4635499bc96a597764f9cefb0b7b44f532e9c9b (patch)
tree1f3ef87b23db41aec7fe2b0fa5ca3feb396893c1 /plugingui/Makefile.am.plugingui
parentfe9e38995f5a0abc196e9600c38d95385d6bf84f (diff)
Added enable-pugl as configure parameter.
Added nativewindow_pugl files.
Diffstat (limited to 'plugingui/Makefile.am.plugingui')
-rw-r--r--plugingui/Makefile.am.plugingui10
1 files changed, 8 insertions, 2 deletions
diff --git a/plugingui/Makefile.am.plugingui b/plugingui/Makefile.am.plugingui
index f47582c..1c95310 100644
--- a/plugingui/Makefile.am.plugingui
+++ b/plugingui/Makefile.am.plugingui
@@ -1,8 +1,14 @@
+
+if ENABLE_PUGL
+puglsources = $(top_srcdir)/pugl/pugl/pugl_x11.c $(top_srcdir)/plugingui/nativewindow_pugl.cc
+else
+puglsources =
+endif
+
PLUGIN_GUI_SOURCES = \
$(top_srcdir)/hugin/hugin.c \
$(top_srcdir)/hugin/hugin_syslog.c \
- $(top_srcdir)/pugl/pugl/pugl_x11.c \
- $(top_srcdir)/plugingui/nativewindow_pugl.cc \
+ $(puglsources) \
$(top_srcdir)/plugingui/nativewindow_x11.cc \
$(top_srcdir)/plugingui/nativewindow_win32.cc \
$(top_srcdir)/plugingui/plugingui.cc \