diff options
Diffstat (limited to 'src/datacache/Makefile.am')
-rw-r--r-- | src/datacache/Makefile.am | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/src/datacache/Makefile.am b/src/datacache/Makefile.am index 0219ecc12..9b66636e5 100644 --- a/src/datacache/Makefile.am +++ b/src/datacache/Makefile.am | |||
@@ -28,11 +28,11 @@ lib_LTLIBRARIES = \ | |||
28 | libgnunetdatacache.la | 28 | libgnunetdatacache.la |
29 | 29 | ||
30 | libgnunetdatacache_la_SOURCES = \ | 30 | libgnunetdatacache_la_SOURCES = \ |
31 | datacache.c | 31 | datacache.c |
32 | libgnunetdatacache_la_LIBADD = \ | 32 | libgnunetdatacache_la_LIBADD = \ |
33 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 33 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
34 | $(top_builddir)/src/util/libgnunetutil.la \ | 34 | $(top_builddir)/src/util/libgnunetutil.la \ |
35 | $(GN_LIBINTL) | 35 | $(GN_LIBINTL) |
36 | libgnunetdatacache_la_LDFLAGS = \ | 36 | libgnunetdatacache_la_LDFLAGS = \ |
37 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | 37 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ |
38 | -version-info 0:1:0 | 38 | -version-info 0:1:0 |
@@ -41,8 +41,12 @@ libgnunetdatacache_la_LDFLAGS = \ | |||
41 | plugin_LTLIBRARIES = \ | 41 | plugin_LTLIBRARIES = \ |
42 | $(SQLITE_PLUGIN) \ | 42 | $(SQLITE_PLUGIN) \ |
43 | $(POSTGRES_PLUGIN) \ | 43 | $(POSTGRES_PLUGIN) \ |
44 | libgnunet_plugin_datacache_heap.la \ | 44 | libgnunet_plugin_datacache_heap.la |
45 | libgnunet_plugin_datacache_template.la | 45 | |
46 | # Real plugins should of course go into | ||
47 | # plugin_LTLIBRARIES | ||
48 | noinst_LTLIBRARIES = \ | ||
49 | libgnunet_plugin_datacache_template.la | ||
46 | 50 | ||
47 | 51 | ||
48 | libgnunet_plugin_datacache_sqlite_la_SOURCES = \ | 52 | libgnunet_plugin_datacache_sqlite_la_SOURCES = \ |
@@ -120,7 +124,7 @@ endif | |||
120 | check_PROGRAMS = \ | 124 | check_PROGRAMS = \ |
121 | $(SQLITE_TESTS) \ | 125 | $(SQLITE_TESTS) \ |
122 | $(HEAP_TESTS) \ | 126 | $(HEAP_TESTS) \ |
123 | $(POSTGRES_TESTS) | 127 | $(POSTGRES_TESTS) |
124 | 128 | ||
125 | if ENABLE_TEST_RUN | 129 | if ENABLE_TEST_RUN |
126 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; | 130 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; |
@@ -132,63 +136,63 @@ test_datacache_sqlite_SOURCES = \ | |||
132 | test_datacache_sqlite_LDADD = \ | 136 | test_datacache_sqlite_LDADD = \ |
133 | $(top_builddir)/src/testing/libgnunettesting.la \ | 137 | $(top_builddir)/src/testing/libgnunettesting.la \ |
134 | libgnunetdatacache.la \ | 138 | libgnunetdatacache.la \ |
135 | $(top_builddir)/src/util/libgnunetutil.la | 139 | $(top_builddir)/src/util/libgnunetutil.la |
136 | 140 | ||
137 | test_datacache_quota_sqlite_SOURCES = \ | 141 | test_datacache_quota_sqlite_SOURCES = \ |
138 | test_datacache_quota.c | 142 | test_datacache_quota.c |
139 | test_datacache_quota_sqlite_LDADD = \ | 143 | test_datacache_quota_sqlite_LDADD = \ |
140 | $(top_builddir)/src/testing/libgnunettesting.la \ | 144 | $(top_builddir)/src/testing/libgnunettesting.la \ |
141 | libgnunetdatacache.la \ | 145 | libgnunetdatacache.la \ |
142 | $(top_builddir)/src/util/libgnunetutil.la | 146 | $(top_builddir)/src/util/libgnunetutil.la |
143 | 147 | ||
144 | perf_datacache_sqlite_SOURCES = \ | 148 | perf_datacache_sqlite_SOURCES = \ |
145 | perf_datacache.c | 149 | perf_datacache.c |
146 | perf_datacache_sqlite_LDADD = \ | 150 | perf_datacache_sqlite_LDADD = \ |
147 | $(top_builddir)/src/testing/libgnunettesting.la \ | 151 | $(top_builddir)/src/testing/libgnunettesting.la \ |
148 | libgnunetdatacache.la \ | 152 | libgnunetdatacache.la \ |
149 | $(top_builddir)/src/util/libgnunetutil.la | 153 | $(top_builddir)/src/util/libgnunetutil.la |
150 | 154 | ||
151 | test_datacache_heap_SOURCES = \ | 155 | test_datacache_heap_SOURCES = \ |
152 | test_datacache.c | 156 | test_datacache.c |
153 | test_datacache_heap_LDADD = \ | 157 | test_datacache_heap_LDADD = \ |
154 | $(top_builddir)/src/testing/libgnunettesting.la \ | 158 | $(top_builddir)/src/testing/libgnunettesting.la \ |
155 | libgnunetdatacache.la \ | 159 | libgnunetdatacache.la \ |
156 | $(top_builddir)/src/util/libgnunetutil.la | 160 | $(top_builddir)/src/util/libgnunetutil.la |
157 | 161 | ||
158 | test_datacache_quota_heap_SOURCES = \ | 162 | test_datacache_quota_heap_SOURCES = \ |
159 | test_datacache_quota.c | 163 | test_datacache_quota.c |
160 | test_datacache_quota_heap_LDADD = \ | 164 | test_datacache_quota_heap_LDADD = \ |
161 | $(top_builddir)/src/testing/libgnunettesting.la \ | 165 | $(top_builddir)/src/testing/libgnunettesting.la \ |
162 | libgnunetdatacache.la \ | 166 | libgnunetdatacache.la \ |
163 | $(top_builddir)/src/util/libgnunetutil.la | 167 | $(top_builddir)/src/util/libgnunetutil.la |
164 | 168 | ||
165 | perf_datacache_heap_SOURCES = \ | 169 | perf_datacache_heap_SOURCES = \ |
166 | perf_datacache.c | 170 | perf_datacache.c |
167 | perf_datacache_heap_LDADD = \ | 171 | perf_datacache_heap_LDADD = \ |
168 | $(top_builddir)/src/testing/libgnunettesting.la \ | 172 | $(top_builddir)/src/testing/libgnunettesting.la \ |
169 | libgnunetdatacache.la \ | 173 | libgnunetdatacache.la \ |
170 | $(top_builddir)/src/util/libgnunetutil.la | 174 | $(top_builddir)/src/util/libgnunetutil.la |
171 | 175 | ||
172 | test_datacache_postgres_SOURCES = \ | 176 | test_datacache_postgres_SOURCES = \ |
173 | test_datacache.c | 177 | test_datacache.c |
174 | test_datacache_postgres_LDADD = \ | 178 | test_datacache_postgres_LDADD = \ |
175 | $(top_builddir)/src/testing/libgnunettesting.la \ | 179 | $(top_builddir)/src/testing/libgnunettesting.la \ |
176 | libgnunetdatacache.la \ | 180 | libgnunetdatacache.la \ |
177 | $(top_builddir)/src/util/libgnunetutil.la | 181 | $(top_builddir)/src/util/libgnunetutil.la |
178 | 182 | ||
179 | test_datacache_quota_postgres_SOURCES = \ | 183 | test_datacache_quota_postgres_SOURCES = \ |
180 | test_datacache_quota.c | 184 | test_datacache_quota.c |
181 | test_datacache_quota_postgres_LDADD = \ | 185 | test_datacache_quota_postgres_LDADD = \ |
182 | $(top_builddir)/src/testing/libgnunettesting.la \ | 186 | $(top_builddir)/src/testing/libgnunettesting.la \ |
183 | libgnunetdatacache.la \ | 187 | libgnunetdatacache.la \ |
184 | $(top_builddir)/src/util/libgnunetutil.la | 188 | $(top_builddir)/src/util/libgnunetutil.la |
185 | 189 | ||
186 | perf_datacache_postgres_SOURCES = \ | 190 | perf_datacache_postgres_SOURCES = \ |
187 | perf_datacache.c | 191 | perf_datacache.c |
188 | perf_datacache_postgres_LDADD = \ | 192 | perf_datacache_postgres_LDADD = \ |
189 | $(top_builddir)/src/testing/libgnunettesting.la \ | 193 | $(top_builddir)/src/testing/libgnunettesting.la \ |
190 | libgnunetdatacache.la \ | 194 | libgnunetdatacache.la \ |
191 | $(top_builddir)/src/util/libgnunetutil.la | 195 | $(top_builddir)/src/util/libgnunetutil.la |
192 | 196 | ||
193 | EXTRA_DIST = \ | 197 | EXTRA_DIST = \ |
194 | test_datacache_data_sqlite.conf \ | 198 | test_datacache_data_sqlite.conf \ |