diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-12-23 02:01:39 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-01-28 17:06:02 +0100 |
commit | e01115702ad73c32efdf11b97d84a81f59300e1d (patch) | |
tree | ad59f6e47978e3873cc0f1229d6aaac5aae221e8 /Makefile.am | |
parent | ab6e81997cf8c5bcf7d1778bb32d8e01425b13f1 (diff) | |
download | blogc-e01115702ad73c32efdf11b97d84a81f59300e1d.tar.gz blogc-e01115702ad73c32efdf11b97d84a81f59300e1d.tar.bz2 blogc-e01115702ad73c32efdf11b97d84a81f59300e1d.zip |
common: thread-pool: initial work
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 23 |
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) |