From f4635499bc96a597764f9cefb0b7b44f532e9c9b Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Sat, 18 Jan 2014 10:43:36 +0100 Subject: Added enable-pugl as configure parameter. Added nativewindow_pugl files. --- plugingui/Makefile.am.plugingui | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'plugingui/Makefile.am.plugingui') 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 \ -- cgit v1.2.3