diff options
Diffstat (limited to 'src/util/Makefile.am')
-rw-r--r-- | src/util/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 4ae073c2c..b0f45b1da 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am | |||
@@ -40,6 +40,11 @@ if USE_COVERAGE | |||
40 | XLIB = -lgcov | 40 | XLIB = -lgcov |
41 | endif | 41 | endif |
42 | 42 | ||
43 | if ENABLE_BENCHMARK | ||
44 | BENCHMARK = benchmark.c | ||
45 | PTHREAD = -lpthread | ||
46 | endif | ||
47 | |||
43 | w32cat_SOURCES = w32cat.c | 48 | w32cat_SOURCES = w32cat.c |
44 | 49 | ||
45 | gnunet_helper_w32_console_SOURCES = \ | 50 | gnunet_helper_w32_console_SOURCES = \ |
@@ -60,6 +65,7 @@ test_common_logging_dummy_LDADD = \ | |||
60 | 65 | ||
61 | libgnunetutil_la_SOURCES = \ | 66 | libgnunetutil_la_SOURCES = \ |
62 | bandwidth.c \ | 67 | bandwidth.c \ |
68 | $(BENCHMARK) \ | ||
63 | bio.c \ | 69 | bio.c \ |
64 | client.c \ | 70 | client.c \ |
65 | common_allocation.c \ | 71 | common_allocation.c \ |
@@ -121,7 +127,7 @@ libgnunetutil_la_LIBADD = \ | |||
121 | $(LIBGCRYPT_LIBS) \ | 127 | $(LIBGCRYPT_LIBS) \ |
122 | $(LTLIBICONV) \ | 128 | $(LTLIBICONV) \ |
123 | $(LTLIBINTL) \ | 129 | $(LTLIBINTL) \ |
124 | -lltdl -lidn $(Z_LIBS) -lunistring $(XLIB) | 130 | -lltdl -lidn $(Z_LIBS) -lunistring $(XLIB) $(PTHREAD) |
125 | 131 | ||
126 | libgnunetutil_la_LDFLAGS = \ | 132 | libgnunetutil_la_LDFLAGS = \ |
127 | $(GN_LIB_LDFLAGS) \ | 133 | $(GN_LIB_LDFLAGS) \ |