diff options
Diffstat (limited to 'src/namestore/Makefile.am')
-rw-r--r-- | src/namestore/Makefile.am | 41 |
1 files changed, 33 insertions, 8 deletions
diff --git a/src/namestore/Makefile.am b/src/namestore/Makefile.am index 5f18506a7..b925261b7 100644 --- a/src/namestore/Makefile.am +++ b/src/namestore/Makefile.am | |||
@@ -20,29 +20,28 @@ if USE_COVERAGE | |||
20 | XLIBS = -lgcov | 20 | XLIBS = -lgcov |
21 | endif | 21 | endif |
22 | 22 | ||
23 | if HAVE_EXPERIMENTAL | ||
24 | FLAT_PLUGIN = libgnunet_plugin_namestore_flat.la | 23 | FLAT_PLUGIN = libgnunet_plugin_namestore_flat.la |
25 | if HAVE_TESTING | 24 | if HAVE_TESTING |
26 | FLAT_TESTS = test_plugin_namestore_flat | 25 | FLAT_TESTS = test_plugin_namestore_flat \ |
27 | endif | 26 | perf_namestore_api_zone_iteration_flat |
28 | endif | 27 | endif |
29 | 28 | ||
30 | if HAVE_SQLITE | 29 | if HAVE_SQLITE |
31 | SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la | 30 | SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la |
32 | if HAVE_TESTING | 31 | if HAVE_TESTING |
33 | SQLITE_TESTS = test_plugin_namestore_sqlite | 32 | SQLITE_TESTS = test_plugin_namestore_sqlite \ |
33 | perf_namestore_api_zone_iteration_sqlite | ||
34 | endif | 34 | endif |
35 | endif | 35 | endif |
36 | 36 | ||
37 | if HAVE_POSTGRESQL | 37 | if HAVE_POSTGRESQL |
38 | # postgres doesn't even build yet; thus: experimental! | ||
39 | POSTGRES_PLUGIN = libgnunet_plugin_namestore_postgres.la | 38 | POSTGRES_PLUGIN = libgnunet_plugin_namestore_postgres.la |
40 | if HAVE_TESTING | 39 | if HAVE_TESTING |
41 | POSTGRES_TESTS = test_plugin_namestore_postgres | 40 | POSTGRES_TESTS = test_plugin_namestore_postgres \ |
41 | perf_namestore_api_zone_iteration_postgres | ||
42 | endif | 42 | endif |
43 | endif | 43 | endif |
44 | 44 | ||
45 | # testcases do not even build yet; thus: experimental! | ||
46 | if HAVE_TESTING | 45 | if HAVE_TESTING |
47 | TESTING_TESTS = \ | 46 | TESTING_TESTS = \ |
48 | test_namestore_api_store.nc \ | 47 | test_namestore_api_store.nc \ |
@@ -81,7 +80,6 @@ test_namestore_api_zone_iteration_specific_zone.log: test_namestore_api_zone_ite | |||
81 | test_namestore_api_zone_iteration_stop.log: test_namestore_api_monitoring.log | 80 | test_namestore_api_zone_iteration_stop.log: test_namestore_api_monitoring.log |
82 | test_namestore_api_monitoring.log: test_namestore_api_monitoring_existing.log | 81 | test_namestore_api_monitoring.log: test_namestore_api_monitoring_existing.log |
83 | 82 | ||
84 | |||
85 | if HAVE_SQLITE | 83 | if HAVE_SQLITE |
86 | check_PROGRAMS = \ | 84 | check_PROGRAMS = \ |
87 | $(SQLITE_TESTS) \ | 85 | $(SQLITE_TESTS) \ |
@@ -341,6 +339,30 @@ test_namestore_api_zone_iteration_nc_LDADD = \ | |||
341 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | 339 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ |
342 | libgnunetnamestore.la | 340 | libgnunetnamestore.la |
343 | 341 | ||
342 | perf_namestore_api_zone_iteration_postgres_SOURCES = \ | ||
343 | perf_namestore_api_zone_iteration.c | ||
344 | perf_namestore_api_zone_iteration_postgres_LDADD = \ | ||
345 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
346 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
347 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
348 | libgnunetnamestore.la | ||
349 | |||
350 | perf_namestore_api_zone_iteration_sqlite_SOURCES = \ | ||
351 | perf_namestore_api_zone_iteration.c | ||
352 | perf_namestore_api_zone_iteration_sqlite_LDADD = \ | ||
353 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
354 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
355 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
356 | libgnunetnamestore.la | ||
357 | |||
358 | perf_namestore_api_zone_iteration_flat_SOURCES = \ | ||
359 | perf_namestore_api_zone_iteration.c | ||
360 | perf_namestore_api_zone_iteration_flat_LDADD = \ | ||
361 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
362 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
363 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
364 | libgnunetnamestore.la | ||
365 | |||
344 | test_namestore_api_zone_iteration_nick_nc_SOURCES = \ | 366 | test_namestore_api_zone_iteration_nick_nc_SOURCES = \ |
345 | test_namestore_api_zone_iteration_nick.c | 367 | test_namestore_api_zone_iteration_nick.c |
346 | test_namestore_api_zone_iteration_nick_nc_LDADD = \ | 368 | test_namestore_api_zone_iteration_nick_nc_LDADD = \ |
@@ -391,6 +413,9 @@ check_SCRIPTS = \ | |||
391 | 413 | ||
392 | EXTRA_DIST = \ | 414 | EXTRA_DIST = \ |
393 | test_namestore_api.conf \ | 415 | test_namestore_api.conf \ |
416 | test_namestore_api_postgres.conf \ | ||
417 | test_namestore_api_sqlite.conf \ | ||
418 | test_namestore_api_flat.conf \ | ||
394 | test_plugin_namestore_sqlite.conf \ | 419 | test_plugin_namestore_sqlite.conf \ |
395 | test_plugin_namestore_postgres.conf \ | 420 | test_plugin_namestore_postgres.conf \ |
396 | test_plugin_namestore_flat.conf \ | 421 | test_plugin_namestore_flat.conf \ |