1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3 pkgcfgdir= $(pkgdatadir)/config.d/
5 libexecdir= $(pkglibdir)/libexec/
11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32
15 AM_CFLAGS = --coverage -O0
19 lib_LTLIBRARIES = libgnunetpeerinfo.la
21 libgnunetpeerinfo_la_SOURCES = \
22 peerinfo_api.c peerinfo.h \
24 libgnunetpeerinfo_la_LIBADD = \
25 $(top_builddir)/src/hello/libgnunethello.la \
26 $(top_builddir)/src/util/libgnunetutil.la \
29 libgnunetpeerinfo_la_LDFLAGS = \
30 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
35 gnunet-service-peerinfo
37 gnunet_service_peerinfo_SOURCES = \
38 gnunet-service-peerinfo.c
39 gnunet_service_peerinfo_LDADD = \
40 $(top_builddir)/src/hello/libgnunethello.la \
41 $(top_builddir)/src/statistics/libgnunetstatistics.la \
42 $(top_builddir)/src/util/libgnunetutil.la
45 PEERINFO_BENCHMARKS = \
52 test_peerinfo_api_friend_only \
53 test_peerinfo_api_notify_friend_only \
54 $(PEERINFO_BENCHMARKS)
56 # test_peerinfo_shipped_hellos
60 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
61 TESTS = $(check_PROGRAMS)
64 test_peerinfo_shipped_hellos_SOURCES = \
65 test_peerinfo_shipped_hellos.c
66 test_peerinfo_shipped_hellos_LDADD = \
67 $(top_builddir)/src/hello/libgnunethello.la \
68 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
69 $(top_builddir)/src/testing/libgnunettesting.la \
70 $(top_builddir)/src/util/libgnunetutil.la
72 test_peerinfo_api_SOURCES = \
74 test_peerinfo_api_LDADD = \
75 $(top_builddir)/src/hello/libgnunethello.la \
76 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
77 $(top_builddir)/src/testing/libgnunettesting.la \
78 $(top_builddir)/src/util/libgnunetutil.la
80 test_peerinfo_api_friend_only_SOURCES = \
81 test_peerinfo_api_friend_only.c
82 test_peerinfo_api_friend_only_LDADD = \
83 $(top_builddir)/src/hello/libgnunethello.la \
84 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
85 $(top_builddir)/src/testing/libgnunettesting.la \
86 $(top_builddir)/src/util/libgnunetutil.la
88 test_peerinfo_api_notify_friend_only_SOURCES = \
89 test_peerinfo_api_notify_friend_only.c
90 test_peerinfo_api_notify_friend_only_LDADD = \
91 $(top_builddir)/src/hello/libgnunethello.la \
92 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
93 $(top_builddir)/src/testing/libgnunettesting.la \
94 $(top_builddir)/src/util/libgnunetutil.la
96 perf_peerinfo_api_SOURCES = \
98 perf_peerinfo_api_LDADD = \
99 $(top_builddir)/src/hello/libgnunethello.la \
100 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
101 $(top_builddir)/src/testing/libgnunettesting.la \
102 $(top_builddir)/src/util/libgnunetutil.la
105 test_peerinfo_api_data.conf