X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fpeerinfo%2FMakefile.am;h=468fab541c0e33f103f3b4b8cba9b3e816ac171a;hb=f700969b9bc46795e9ecd1bee08699fd03ea8fb8;hp=42396e3e7e98b6fc4a07e9d4eae20773448900b8;hpb=7b7ec4fefd44742d9368638df9670771b8eaf259;p=oweals%2Fgnunet.git diff --git a/src/peerinfo/Makefile.am b/src/peerinfo/Makefile.am index 42396e3e7..468fab541 100644 --- a/src/peerinfo/Makefile.am +++ b/src/peerinfo/Makefile.am @@ -1,7 +1,12 @@ 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 -luuid -liconv -lstdc++ -lcomdlg32 -lgdi32 + WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32 endif if USE_COVERAGE @@ -12,7 +17,8 @@ endif lib_LTLIBRARIES = libgnunetpeerinfo.la libgnunetpeerinfo_la_SOURCES = \ - peerinfo_api.c peerinfo.h + peerinfo_api.c peerinfo.h \ + peerinfo_api_notify.c libgnunetpeerinfo_la_LIBADD = \ $(top_builddir)/src/hello/libgnunethello.la \ $(top_builddir)/src/util/libgnunetutil.la \ @@ -32,11 +38,18 @@ gnunet_service_peerinfo_LDADD = \ $(top_builddir)/src/statistics/libgnunetstatistics.la \ $(top_builddir)/src/util/libgnunetutil.la +if HAVE_BENCHMARKS + PEERINFO_BENCHMARKS = \ + perf_peerinfo_api +endif check_PROGRAMS = \ - test_peerinfo_api + test_peerinfo_api \ + $(PEERINFO_BENCHMARKS) -TESTS = $(check_PROGRAMS) # $(check_SCRIPTS) +if ENABLE_TEST_RUN +TESTS = $(check_PROGRAMS) +endif test_peerinfo_api_SOURCES = \ test_peerinfo_api.c @@ -45,5 +58,12 @@ test_peerinfo_api_LDADD = \ $(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