diff options
Diffstat (limited to 'src/nat-auto/Makefile.am')
-rw-r--r-- | src/nat-auto/Makefile.am | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/nat-auto/Makefile.am b/src/nat-auto/Makefile.am new file mode 100644 index 000000000..dbe910306 --- /dev/null +++ b/src/nat-auto/Makefile.am | |||
@@ -0,0 +1,58 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | libexecdir= $(pkglibdir)/libexec/ | ||
5 | |||
6 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
7 | |||
8 | pkgcfg_DATA = \ | ||
9 | nat-auto.conf | ||
10 | |||
11 | bin_PROGRAMS = \ | ||
12 | gnunet-nat-auto \ | ||
13 | gnunet-nat-server | ||
14 | |||
15 | libexec_PROGRAMS = \ | ||
16 | gnunet-service-nat-auto | ||
17 | |||
18 | gnunet_nat_server_SOURCES = \ | ||
19 | gnunet-nat-server.c nat-auto.h | ||
20 | gnunet_nat_server_LDADD = \ | ||
21 | $(top_builddir)/src/nat/libgnunetnat.la \ | ||
22 | $(top_builddir)/src/util/libgnunetutil.la | ||
23 | |||
24 | gnunet_nat_auto_SOURCES = \ | ||
25 | gnunet-nat-auto.c nat-auto.h | ||
26 | gnunet_nat_auto_LDADD = \ | ||
27 | libgnunetnatauto.la \ | ||
28 | $(top_builddir)/src/util/libgnunetutil.la | ||
29 | |||
30 | |||
31 | if USE_COVERAGE | ||
32 | AM_CFLAGS = -fprofile-arcs -ftest-coverage | ||
33 | endif | ||
34 | |||
35 | lib_LTLIBRARIES = \ | ||
36 | libgnunetnatauto.la | ||
37 | |||
38 | libgnunetnatauto_la_SOURCES = \ | ||
39 | nat_auto_api.c \ | ||
40 | nat_auto_api_test.c | ||
41 | libgnunetnatauto_la_LIBADD = \ | ||
42 | $(top_builddir)/src/nat/libgnunetnatnew.la \ | ||
43 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
44 | $(GN_LIBINTL) @EXT_LIBS@ | ||
45 | libgnunetnatauto_la_LDFLAGS = \ | ||
46 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | ||
47 | -version-info 0:0:0 | ||
48 | |||
49 | gnunet_service_nat_auto_SOURCES = \ | ||
50 | gnunet-service-nat-auto.c | ||
51 | gnunet_service_nat_auto_LDADD = \ | ||
52 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
53 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
54 | $(top_builddir)/src/nat/libgnunetnatnew.la \ | ||
55 | $(LIBGCRYPT_LIBS) \ | ||
56 | -lgcrypt \ | ||
57 | $(GN_LIBINTL) | ||
58 | |||