summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugingui/Makefile.am2
-rw-r--r--plugingui/Makefile.am.plugingui3
2 files changed, 3 insertions, 2 deletions
diff --git a/plugingui/Makefile.am b/plugingui/Makefile.am
index 20150c5..957ca76 100644
--- a/plugingui/Makefile.am
+++ b/plugingui/Makefile.am
@@ -2,7 +2,7 @@ bin_PROGRAMS = plugingui
plugingui_LDADD = $(SNDFILE_LIBS) $(PTHREAD_LIBS) $(EXPAT_LIBS) -ldl -lX11
-plugingui_CXXFLAGS = $(SNDFILE_CXXFLAGS) $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/src -DSTANDALONE -DX11
+plugingui_CXXFLAGS = $(SNDFILE_CXXFLAGS) $(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/src -DSTANDALONE -DX11 -DUSE_THREAD
include Makefile.am.plugingui
include $(top_srcdir)/src/Makefile.am.drumgizmo
diff --git a/plugingui/Makefile.am.plugingui b/plugingui/Makefile.am.plugingui
index fd0e7cb..634c641 100644
--- a/plugingui/Makefile.am.plugingui
+++ b/plugingui/Makefile.am.plugingui
@@ -14,7 +14,8 @@ PLUGIN_GUI_SOURCES = \
$(top_srcdir)/plugingui/lineedit.cc \
$(top_srcdir)/plugingui/led.cc \
$(top_srcdir)/plugingui/checkbox.cc \
- $(top_srcdir)/plugingui/slider.cc
+ $(top_srcdir)/plugingui/slider.cc \
+ $(top_srcdir)/plugingui/thread.cc
PLUGIN_GUI_LIBS = -lX11