aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-01-17 19:00:11 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-01-17 19:00:11 +0000
commit7cf9e479b65529b2c21b4c31e3e033adf211a63b (patch)
tree2f81f3e9be5dfc0a4241e85e862bea65d1503bfc /src
parentf17b3bec81a88737498c457a4342570d52f30628 (diff)
-starting TUN lib
git-svn-id: https://gnunet.org/svn/gnunet@19210 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src')
-rw-r--r--src/tun/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/tun/Makefile.am b/src/tun/Makefile.am
new file mode 100644
index 0000000000..15b0d6205b
--- /dev/null
+++ b/src/tun/Makefile.am
@@ -0,0 +1,20 @@
+INCLUDES = -I$(top_srcdir)/src/include
+
+if MINGW
+ WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
+endif
+
+if USE_COVERAGE
+ AM_CFLAGS = --coverage -O0
+ XLIB = -lgcov
+endif
+
+lib_LTLIBRARIES = libgnunettun.la
+
+libgnunettun_la_SOURCES = \
+ tun.c
+libgnunettun_la_LIBADD = \
+ $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
+libgnunethello_la_LDFLAGS = \
+ $(GN_LIB_LDFLAGS)
+