projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-test for LRN:
[oweals/gnunet.git]
/
src
/
peerinfo
/
Makefile.am
diff --git
a/src/peerinfo/Makefile.am
b/src/peerinfo/Makefile.am
index 31c7ab92d8e854240b7b4524e33cac2cc5af79e2..468fab541c0e33f103f3b4b8cba9b3e816ac171a 100644
(file)
--- a/
src/peerinfo/Makefile.am
+++ b/
src/peerinfo/Makefile.am
@@
-1,5
+1,10
@@
INCLUDES = -I$(top_srcdir)/src/include
INCLUDES = -I$(top_srcdir)/src/include
+pkgcfgdir= $(pkgdatadir)/config.d/
+
+pkgcfg_DATA = \
+ peerinfo.conf
+
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32
endif
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32
endif
@@
-33,11
+38,16
@@
gnunet_service_peerinfo_LDADD = \
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(top_builddir)/src/util/libgnunetutil.la
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(top_builddir)/src/util/libgnunetutil.la
+if HAVE_BENCHMARKS
+ PEERINFO_BENCHMARKS = \
+ perf_peerinfo_api
+endif
check_PROGRAMS = \
check_PROGRAMS = \
- test_peerinfo_api
+ test_peerinfo_api \
+ $(PEERINFO_BENCHMARKS)
-if
!DIS
ABLE_TEST_RUN
+if
EN
ABLE_TEST_RUN
TESTS = $(check_PROGRAMS)
endif
TESTS = $(check_PROGRAMS)
endif
@@
-48,5
+58,12
@@
test_peerinfo_api_LDADD = \
$(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
$(top_builddir)/src/util/libgnunetutil.la
$(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
$(top_builddir)/src/util/libgnunetutil.la
+perf_peerinfo_api_SOURCES = \
+ perf_peerinfo_api.c
+perf_peerinfo_api_LDADD = \
+ $(top_builddir)/src/hello/libgnunethello.la \
+ $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
+ $(top_builddir)/src/util/libgnunetutil.la
+
EXTRA_DIST = \
test_peerinfo_api_data.conf
EXTRA_DIST = \
test_peerinfo_api_data.conf