From b7c1cc72a6a300900ee4656cb10c495b1afcab2b Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 31 Aug 2012 22:38:21 +0200 Subject: Add threads support. --- plugingui/Makefile.am | 2 +- plugingui/Makefile.am.plugingui | 3 ++- 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 -- cgit v1.2.3