clean up for configs
[oweals/gnunet.git] / src / scalarproduct / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
2
3 pkgcfgdir= $(pkgdatadir)/config.d/
4
5 libexecdir= $(pkglibdir)/libexec/
6
7 pkgcfg_DATA = \
8   scalarproduct.conf 
9
10 if MINGW
11  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
12 endif
13
14 if USE_COVERAGE
15   AM_CFLAGS = -fprofile-arcs -ftest-coverage
16 endif
17
18 bin_PROGRAMS = \
19  gnunet-scalarproduct
20
21 libexec_PROGRAMS = \
22  gnunet-service-scalarproduct
23
24 lib_LTLIBRARIES = \
25   libgnunetscalarproduct.la
26
27 gnunet_scalarproduct_SOURCES = \
28   gnunet-scalarproduct.c
29 gnunet_scalarproduct_LDADD = \
30   $(top_builddir)/src/util/libgnunetutil.la \
31   $(top_builddir)/src/scalarproduct/libgnunetscalarproduct.la \
32   -lgcrypt \
33   $(GN_LIBINTL) 
34 gnunet_scalarproduct_DEPENDENCIES = \
35   libgnunetscalarproduct.la
36
37 gnunet_service_scalarproduct_SOURCES = \
38   gnunet-service-scalarproduct.c
39 gnunet_service_scalarproduct_LDADD = \
40   $(top_builddir)/src/util/libgnunetutil.la \
41   $(top_builddir)/src/mesh/libgnunetmesh.la \
42   $(top_builddir)/src/set/libgnunetset.la \
43   -lgcrypt \
44   $(GN_LIBINTL)
45
46 libgnunetscalarproduct_la_SOURCES = \
47   scalarproduct_api.c 
48 libgnunetscalarproduct_la_LIBADD = \
49   $(top_builddir)/src/util/libgnunetutil.la \
50   $(top_builddir)/src/statistics/libgnunetstatistics.la \
51   -lgcrypt \
52   $(LTLIBINTL)
53 libgnunetscalarproduct_la_LDFLAGS = \
54   $(GN_LIB_LDFLAGS)
55
56 EXTRA_DIST = \
57   test_scalarproduct.conf \
58   $(check_SCRIPTS)
59
60 check_SCRIPTS = \
61   test_scalarproduct.sh \
62   test_scalarproduct_negative.sh \
63   test_scalarproduct_negativezero.sh
64   
65 if ENABLE_TEST_RUN
66   TESTS = $(check_SCRIPTS)
67 endif