check
[oweals/gnunet.git] / src / nat / Makefile.am
index c47348b7c8b3ea2f39877f726ab8cabb712f931c..66af052c78ac25a0889afad1847112107db70c4e 100644 (file)
@@ -1,5 +1,3 @@
-SUBDIRS = .
-
 INCLUDES = -I$(top_srcdir)/src/include
 
 if MINGW
@@ -10,19 +8,20 @@ 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 \
-  natpmp.c natpmp.h \
-  nat.c 
+  upnp-commands.c upnp-commands.h \
+  upnp-discover.c upnp-discover.h \
+  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.h \
+  natpmp.h 
 
 libgnunetnat_la_CFLAGS = \
- -I$(top_scrdir)/include
+ -DDEBUG_UPNP -g -O0
 
 libgnunetnat_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
@@ -30,12 +29,10 @@ libgnunetnat_la_LIBADD = \
 
 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)
@@ -46,6 +43,5 @@ test_nat_SOURCES = \
 
 test_nat_LDADD = \
  $(top_builddir)/src/nat/libgnunetnat.la \
- $(top_builddir)/src/util/libgnunetutil.la
-
-endif
+ $(top_builddir)/src/util/libgnunetutil.la \
+ @LIBCURL@