1 INCLUDES = -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 = \
50 test_peerinfo_shipped_hellos \
52 test_peerinfo_api_friend_only \
53 test_peerinfo_api_notify_friend_only \
54 $(PEERINFO_BENCHMARKS)
57 TESTS = $(check_PROGRAMS)
60 test_peerinfo_shipped_hellos_SOURCES = \
61 test_peerinfo_shipped_hellos.c
62 test_peerinfo_shipped_hellos_LDADD = \
63 $(top_builddir)/src/hello/libgnunethello.la \
64 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
65 $(top_builddir)/src/testing/libgnunettesting.la \
66 $(top_builddir)/src/util/libgnunetutil.la
68 test_peerinfo_api_SOURCES = \
70 test_peerinfo_api_LDADD = \
71 $(top_builddir)/src/hello/libgnunethello.la \
72 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
73 $(top_builddir)/src/testing/libgnunettesting.la \
74 $(top_builddir)/src/util/libgnunetutil.la
76 test_peerinfo_api_friend_only_SOURCES = \
77 test_peerinfo_api_friend_only.c
78 test_peerinfo_api_friend_only_LDADD = \
79 $(top_builddir)/src/hello/libgnunethello.la \
80 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
81 $(top_builddir)/src/testing/libgnunettesting.la \
82 $(top_builddir)/src/util/libgnunetutil.la
84 test_peerinfo_api_notify_friend_only_SOURCES = \
85 test_peerinfo_api_notify_friend_only.c
86 test_peerinfo_api_notify_friend_only_LDADD = \
87 $(top_builddir)/src/hello/libgnunethello.la \
88 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
89 $(top_builddir)/src/testing/libgnunettesting.la \
90 $(top_builddir)/src/util/libgnunetutil.la
92 perf_peerinfo_api_SOURCES = \
94 perf_peerinfo_api_LDADD = \
95 $(top_builddir)/src/hello/libgnunethello.la \
96 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
97 $(top_builddir)/src/testing/libgnunettesting.la \
98 $(top_builddir)/src/util/libgnunetutil.la
101 test_peerinfo_api_data.conf