projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix doxygen warning
[oweals/gnunet.git]
/
src
/
nat
/
Makefile.am
diff --git
a/src/nat/Makefile.am
b/src/nat/Makefile.am
index 3ec124c5e508b4061db321cc770e63fb6faf9219..c47348b7c8b3ea2f39877f726ab8cabb712f931c 100644
(file)
--- a/
src/nat/Makefile.am
+++ b/
src/nat/Makefile.am
@@
-1,4
+1,4
@@
-SUBDIRS =
miniupnp libnatpmp
+SUBDIRS =
.
INCLUDES = -I$(top_srcdir)/src/include
INCLUDES = -I$(top_srcdir)/src/include
@@
-10,7
+10,11
@@
if USE_COVERAGE
AM_CFLAGS = -fprofile-arcs -ftest-coverage
endif
AM_CFLAGS = -fprofile-arcs -ftest-coverage
endif
+if !MINGW
+
+if HAVE_EXPERIMENTAL
lib_LTLIBRARIES = libgnunetnat.la
lib_LTLIBRARIES = libgnunetnat.la
+endif
libgnunetnat_la_SOURCES = \
upnp.c upnp.h \
libgnunetnat_la_SOURCES = \
upnp.c upnp.h \
@@
-22,18
+26,20
@@
libgnunetnat_la_CFLAGS = \
libgnunetnat_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la \
libgnunetnat_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la \
- $(top_builddir)/src/nat/miniupnp/libminiupnp.la \
- $(top_builddir)/src/nat/libnatpmp/libnatpmp.la \
- $(GN_LIBINTL) @EXT_LIBS@
+ $(GN_LIBINTL) @EXT_LIBS@
libgnunetnat_la_LDFLAGS = \
$(GN_LIB_LDFLAGS) $(WINFLAGS) \
-version-info 0:0:0
libgnunetnat_la_LDFLAGS = \
$(GN_LIB_LDFLAGS) $(WINFLAGS) \
-version-info 0:0:0
+if HAVE_EXPERIMENTAL
check_PROGRAMS = \
test-nat
check_PROGRAMS = \
test-nat
+endif
+if !DISABLE_TEST_RUN
TESTS = $(check_PROGRAMS)
TESTS = $(check_PROGRAMS)
+endif
test_nat_SOURCES = \
test_nat.c
test_nat_SOURCES = \
test_nat.c
@@
-42,3
+48,4
@@
test_nat_LDADD = \
$(top_builddir)/src/nat/libgnunetnat.la \
$(top_builddir)/src/util/libgnunetutil.la
$(top_builddir)/src/nat/libgnunetnat.la \
$(top_builddir)/src/util/libgnunetutil.la
+endif