aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo-tool/Makefile.am
blob: 20f657b41ccd3f1a08e74c59b1baa645da6648b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
INCLUDES = -I$(top_srcdir)/src/include

if MINGW
 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32
endif

if USE_COVERAGE
  AM_CFLAGS = --coverage -O0
  XLIB = -lgcov
endif

bin_PROGRAMS = \
 gnunet-peerinfo 

gnunet_peerinfo_SOURCES = \
 gnunet-peerinfo.c         
gnunet_peerinfo_LDADD = \
  $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
  $(top_builddir)/src/transport/libgnunettransport.la \
  $(top_builddir)/src/util/libgnunetutil.la 

if HAVE_PYTHON_PEXPECT
TESTS_ENVIRONMENT = $(PYTHON)
TESTS = \
 test_gnunet_peerinfo.py 
endif

TESTS = $(check_SCRIPTS)