fix doxygen warning
[oweals/gnunet.git] / src / nat / Makefile.am
1 SUBDIRS = .
2
3 INCLUDES = -I$(top_srcdir)/src/include
4
5 if MINGW
6   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
7 endif
8
9 if USE_COVERAGE
10   AM_CFLAGS = -fprofile-arcs -ftest-coverage
11 endif
12
13 if !MINGW
14
15 if HAVE_EXPERIMENTAL
16 lib_LTLIBRARIES = libgnunetnat.la
17 endif
18
19 libgnunetnat_la_SOURCES = \
20   upnp.c upnp.h \
21   natpmp.c natpmp.h \
22   nat.c 
23
24 libgnunetnat_la_CFLAGS = \
25  -I$(top_scrdir)/include
26
27 libgnunetnat_la_LIBADD = \
28   $(top_builddir)/src/util/libgnunetutil.la \
29   $(GN_LIBINTL) @EXT_LIBS@ 
30
31 libgnunetnat_la_LDFLAGS = \
32   $(GN_LIB_LDFLAGS) $(WINFLAGS) \
33   -version-info 0:0:0
34
35 if HAVE_EXPERIMENTAL
36 check_PROGRAMS = \
37   test-nat
38 endif
39
40 if !DISABLE_TEST_RUN
41 TESTS = $(check_PROGRAMS)
42 endif
43
44 test_nat_SOURCES = \
45   test_nat.c
46
47 test_nat_LDADD = \
48  $(top_builddir)/src/nat/libgnunetnat.la \
49  $(top_builddir)/src/util/libgnunetutil.la
50
51 endif