fix 1678
[oweals/gnunet.git] / src / nat / Makefile.am
index 1b53095f33995ca46c223ed020c7f95cb8258d7e..a795b56fa768daac225cf0de7822eeae8e2f4f17 100644 (file)
@@ -8,11 +8,7 @@ if USE_COVERAGE
   AM_CFLAGS = -fprofile-arcs -ftest-coverage
 endif
 
-if !MINGW
-
-if HAVE_EXPERIMENTAL
 lib_LTLIBRARIES = libgnunetnat.la
-endif
 
 libgnunetnat_la_SOURCES = \
   upnp.c upnp.h \
@@ -21,24 +17,23 @@ libgnunetnat_la_SOURCES = \
   upnp-igd-parse.c upnp-igd-parse.h \
   upnp-minixml.c upnp-minixml.h \
   upnp-reply-parse.c upnp-reply-parse.h bsdqueue.h \
-  nat.c 
+  nat.c nat.h \
+  natpmp.h 
 
 libgnunetnat_la_CFLAGS = \
- -I$(top_scrdir)/include \
  -DDEBUG_UPNP -g -O0
 
 libgnunetnat_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
+  @LIBCURL@ \
   $(GN_LIBINTL) @EXT_LIBS@ 
 
 libgnunetnat_la_LDFLAGS = \
   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
-  -version-info 0:0:0
+  -version-info 0:0:0          
 
-if HAVE_EXPERIMENTAL
 check_PROGRAMS = \
   test-nat
-endif
 
 if !DISABLE_TEST_RUN
 TESTS = $(check_PROGRAMS)
@@ -51,4 +46,3 @@ test_nat_LDADD = \
  $(top_builddir)/src/nat/libgnunetnat.la \
  $(top_builddir)/src/util/libgnunetutil.la \
  @LIBCURL@
-endif