aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 219d843..b7388a0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -65,6 +65,7 @@ noinst_HEADERS = \
src/common/error.h \
src/common/file.h \
src/common/stdin.h \
+ src/common/thread-pool.h \
src/common/utf8.h \
src/common/utils.h \
$(NULL)
@@ -111,6 +112,12 @@ noinst_LTLIBRARIES += \
$(NULL)
endif
+if USE_THREADS
+noinst_LTLIBRARIES += \
+ libblogc_common_tp.la \
+ $(NULL)
+endif
+
check_PROGRAMS = \
$(NULL)
@@ -152,6 +159,22 @@ libblogc_common_la_CFLAGS = \
$(NULL)
+if USE_THREADS
+libblogc_common_tp_la_SOURCES = \
+ src/common/thread-pool.c \
+ $(NULL)
+
+libblogc_common_tp_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(PTHREAD_CFLAGS) \
+ $(NULL)
+
+libblogc_common_tp_la_LIBADD = \
+ $(PTHREAD_LIBS) \
+ $(NULL)
+endif
+
+
blogc_SOURCES = \
src/blogc/main.c \
$(NULL)