doxygen additions
[oweals/gnunet.git] / src / peerinfo / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 if MINGW
4  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32
5 endif
6
7 if USE_COVERAGE
8   AM_CFLAGS = --coverage -O0
9   XLIB = -lgcov
10 endif
11
12 lib_LTLIBRARIES = libgnunetpeerinfo.la
13
14 libgnunetpeerinfo_la_SOURCES = \
15   peerinfo_api.c peerinfo.h
16 libgnunetpeerinfo_la_LIBADD = \
17   $(top_builddir)/src/hello/libgnunethello.la \
18   $(top_builddir)/src/util/libgnunetutil.la \
19   $(XLIB)
20 libgnunetpeerinfo_la_LDFLAGS = \
21   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
22   -version-info 0:0:0
23
24
25 bin_PROGRAMS = \
26  gnunet-service-peerinfo
27
28 gnunet_service_peerinfo_SOURCES = \
29  gnunet-service-peerinfo.c         
30 gnunet_service_peerinfo_LDADD = \
31   $(top_builddir)/src/hello/libgnunethello.la \
32   $(top_builddir)/src/statistics/libgnunetstatistics.la \
33   $(top_builddir)/src/util/libgnunetutil.la 
34
35
36 check_PROGRAMS = \
37  test_peerinfo_api
38
39 TESTS = $(check_PROGRAMS) # $(check_SCRIPTS)
40
41 test_peerinfo_api_SOURCES = \
42  test_peerinfo_api.c
43 test_peerinfo_api_LDADD = \
44  $(top_builddir)/src/hello/libgnunethello.la \
45  $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
46  $(top_builddir)/src/util/libgnunetutil.la  
47
48 EXTRA_DIST = \
49   test_peerinfo_api_data.conf