1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
5 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32
9 AM_CFLAGS = --coverage -O0
16 gnunet_peerinfo_SOURCES = \
18 gnunet-peerinfo_plugins.c gnunet-peerinfo_plugins.h
20 gnunet_peerinfo_LDADD = \
21 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
22 $(top_builddir)/src/nat/libgnunetnat.la \
23 $(top_builddir)/src/transport/libgnunettransport.la \
24 $(top_builddir)/src/hello/libgnunethello.la \
25 $(top_builddir)/src/statistics/libgnunetstatistics.la \
26 $(top_builddir)/src/util/libgnunetutil.la
30 test_gnunet_peerinfo.py
34 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
35 TESTS = $(check_SCRIPTS)
38 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
40 test_gnunet_peerinfo.py: test_gnunet_peerinfo.py.in Makefile
41 $(do_subst) < $(srcdir)/test_gnunet_peerinfo.py.in > test_gnunet_peerinfo.py
42 chmod +x test_gnunet_peerinfo.py
45 test_gnunet_peerinfo.py.in \
46 test_gnunet_peerinfo_data.conf
48 CLEANFILES = $(check_SCRIPTS)