summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-08-31 22:38:21 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2012-08-31 22:38:21 +0200
commitb7c1cc72a6a300900ee4656cb10c495b1afcab2b (patch)
treed71d8d2fd39782519fa02ca0ba7cc5210bd9fec6 /plugingui
parentc923ad25381aa21636abfab1290d88f08b76b845 (diff)
Add threads support.
Diffstat (limited to 'plugingui')
-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