diff options
Diffstat (limited to 'src/auction/Makefile.am')
-rw-r--r-- | src/auction/Makefile.am | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/auction/Makefile.am b/src/auction/Makefile.am new file mode 100644 index 000000000..0ced1ad22 --- /dev/null +++ b/src/auction/Makefile.am | |||
@@ -0,0 +1,52 @@ | |||
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 | dist_pkgcfg_DATA = \ | ||
9 | auction.conf | ||
10 | |||
11 | if MINGW | ||
12 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
13 | endif | ||
14 | |||
15 | if USE_COVERAGE | ||
16 | AM_CFLAGS = -fprofile-arcs -ftest-coverage | ||
17 | endif | ||
18 | |||
19 | # Note: In a real installation, | ||
20 | # bin_PROGRAMS should be used for gnunet-auction | ||
21 | # libexec_PROGRAMS should be used for gnunet-service-auction | ||
22 | |||
23 | noinst_PROGRAMS = \ | ||
24 | gnunet-auction \ | ||
25 | gnunet-service-auction | ||
26 | |||
27 | |||
28 | gnunet_auction_SOURCES = \ | ||
29 | gnunet-auction.c | ||
30 | gnunet_auction_LDADD = \ | ||
31 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
32 | $(GN_LIBINTL) | ||
33 | |||
34 | gnunet_service_auction_SOURCES = \ | ||
35 | gnunet-service-auction.c | ||
36 | gnunet_service_auction_LDADD = \ | ||
37 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
38 | $(GN_LIBINTL) | ||
39 | |||
40 | |||
41 | check_PROGRAMS = \ | ||
42 | test_auction_api | ||
43 | |||
44 | if ENABLE_TEST_RUN | ||
45 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; | ||
46 | TESTS = $(check_PROGRAMS) | ||
47 | endif | ||
48 | |||
49 | test_auction_api_SOURCES = \ | ||
50 | test_auction_api.c | ||
51 | test_auction_api_LDADD = \ | ||
52 | $(top_builddir)/src/util/libgnunetutil.la | ||