diff options
Diffstat (limited to 'src/nat/Makefile.am')
-rw-r--r-- | src/nat/Makefile.am | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/nat/Makefile.am b/src/nat/Makefile.am index 14a4d4e92..c47348b7c 100644 --- a/src/nat/Makefile.am +++ b/src/nat/Makefile.am | |||
@@ -1,4 +1,4 @@ | |||
1 | SUBDIRS = miniupnp libnatpmp | 1 | SUBDIRS = . |
2 | 2 | ||
3 | INCLUDES = -I$(top_srcdir)/src/include | 3 | INCLUDES = -I$(top_srcdir)/src/include |
4 | 4 | ||
@@ -12,7 +12,9 @@ endif | |||
12 | 12 | ||
13 | if !MINGW | 13 | if !MINGW |
14 | 14 | ||
15 | if HAVE_EXPERIMENTAL | ||
15 | lib_LTLIBRARIES = libgnunetnat.la | 16 | lib_LTLIBRARIES = libgnunetnat.la |
17 | endif | ||
16 | 18 | ||
17 | libgnunetnat_la_SOURCES = \ | 19 | libgnunetnat_la_SOURCES = \ |
18 | upnp.c upnp.h \ | 20 | upnp.c upnp.h \ |
@@ -24,16 +26,16 @@ libgnunetnat_la_CFLAGS = \ | |||
24 | 26 | ||
25 | libgnunetnat_la_LIBADD = \ | 27 | libgnunetnat_la_LIBADD = \ |
26 | $(top_builddir)/src/util/libgnunetutil.la \ | 28 | $(top_builddir)/src/util/libgnunetutil.la \ |
27 | $(top_builddir)/src/nat/miniupnp/libminiupnp.la \ | 29 | $(GN_LIBINTL) @EXT_LIBS@ |
28 | $(top_builddir)/src/nat/libnatpmp/libnatpmp.la \ | ||
29 | $(GN_LIBINTL) @EXT_LIBS@ | ||
30 | 30 | ||
31 | libgnunetnat_la_LDFLAGS = \ | 31 | libgnunetnat_la_LDFLAGS = \ |
32 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | 32 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ |
33 | -version-info 0:0:0 | 33 | -version-info 0:0:0 |
34 | 34 | ||
35 | if HAVE_EXPERIMENTAL | ||
35 | check_PROGRAMS = \ | 36 | check_PROGRAMS = \ |
36 | test-nat | 37 | test-nat |
38 | endif | ||
37 | 39 | ||
38 | if !DISABLE_TEST_RUN | 40 | if !DISABLE_TEST_RUN |
39 | TESTS = $(check_PROGRAMS) | 41 | TESTS = $(check_PROGRAMS) |
@@ -46,4 +48,4 @@ test_nat_LDADD = \ | |||
46 | $(top_builddir)/src/nat/libgnunetnat.la \ | 48 | $(top_builddir)/src/nat/libgnunetnat.la \ |
47 | $(top_builddir)/src/util/libgnunetutil.la | 49 | $(top_builddir)/src/util/libgnunetutil.la |
48 | 50 | ||
49 | endif \ No newline at end of file | 51 | endif |