From 87509e6096da2f4c7a8359da338574f939d01f13 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 17 Jan 2012 19:00:11 +0000 Subject: [PATCH] -starting TUN lib --- configure.ac | 1 + src/tun/Makefile.am | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 src/tun/Makefile.am diff --git a/configure.ac b/configure.ac index ab02d9111..4dae1ea0c 100644 --- a/configure.ac +++ b/configure.ac @@ -891,6 +891,7 @@ src/testing/Makefile src/topology/Makefile src/transport/Makefile src/transport/transport.conf +src/tun/Makefile src/util/Makefile src/util/resolver.conf src/vpn/Makefile diff --git a/src/tun/Makefile.am b/src/tun/Makefile.am new file mode 100644 index 000000000..15b0d6205 --- /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) + -- 2.25.1