ignore in lint/
[oweals/gnunet.git] / src / auction / Makefile.am
1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3
4 pkgcfgdir = $(pkgdatadir)/config.d/
5
6 libexecdir = $(pkglibdir)/libexec/
7
8
9 pkgcfg_DATA = \
10         auction.conf
11
12 if MINGW
13         WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
14 endif
15
16 if USE_COVERAGE
17         AM_CFLAGS = -fprofile-arcs -ftest-coverage
18 endif
19
20
21 libexec_PROGRAMS = \
22         gnunet-service-auction
23
24 gnunet_service_auction_SOURCES = \
25         gnunet-service-auction.c
26 gnunet_service_auction_LDADD = \
27         $(top_builddir)/src/util/libgnunetutil.la \
28         -ljansson \
29         $(GN_LIBINTL)
30
31
32 bin_PROGRAMS = \
33         gnunet-auction-create \
34         gnunet-auction-info \
35         gnunet-auction-join
36
37 gnunet_auction_create_SOURCES = \
38         gnunet-auction-create.c
39 gnunet_auction_create_LDADD = \
40         $(top_builddir)/src/util/libgnunetutil.la \
41         -ljansson \
42         $(GN_LIBINTL)
43
44 gnunet_auction_info_SOURCES = \
45         gnunet-auction-info.c
46 gnunet_auction_info_LDADD = \
47         $(top_builddir)/src/util/libgnunetutil.la \
48         -ljansson \
49         $(GN_LIBINTL)
50
51 gnunet_auction_join_SOURCES = \
52         gnunet-auction-join.c
53 gnunet_auction_join_LDADD = \
54         $(top_builddir)/src/util/libgnunetutil.la \
55         -ljansson \
56         $(GN_LIBINTL)
57
58
59 check_PROGRAMS = \
60         test_auction_api
61
62 test_auction_api_SOURCES = \
63         test_auction_api.c
64 test_auction_api_LDADD = \
65         $(top_builddir)/src/util/libgnunetutil.la
66
67
68 check_SCRIPTS = \
69         test_auction_create.sh
70
71 EXTRA_DIST = \
72   auction.h \
73   auction.conf \
74   $(check_SCRIPTS)
75
76 if ENABLE_TEST_RUN
77         AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
78         TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
79 endif