diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-17 19:00:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-17 19:00:11 +0000 |
commit | 87509e6096da2f4c7a8359da338574f939d01f13 (patch) | |
tree | 2f81f3e9be5dfc0a4241e85e862bea65d1503bfc | |
parent | 4d899684274d4d5d0ce68c897acafc3d6d5ea3ab (diff) | |
download | gnunet-87509e6096da2f4c7a8359da338574f939d01f13.tar.gz gnunet-87509e6096da2f4c7a8359da338574f939d01f13.zip |
-starting TUN lib
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/tun/Makefile.am | 20 |
2 files changed, 21 insertions, 0 deletions
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 | |||
891 | src/topology/Makefile | 891 | src/topology/Makefile |
892 | src/transport/Makefile | 892 | src/transport/Makefile |
893 | src/transport/transport.conf | 893 | src/transport/transport.conf |
894 | src/tun/Makefile | ||
894 | src/util/Makefile | 895 | src/util/Makefile |
895 | src/util/resolver.conf | 896 | src/util/resolver.conf |
896 | src/vpn/Makefile | 897 | 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 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | ||
2 | |||
3 | if MINGW | ||
4 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
5 | endif | ||
6 | |||
7 | if USE_COVERAGE | ||
8 | AM_CFLAGS = --coverage -O0 | ||
9 | XLIB = -lgcov | ||
10 | endif | ||
11 | |||
12 | lib_LTLIBRARIES = libgnunettun.la | ||
13 | |||
14 | libgnunettun_la_SOURCES = \ | ||
15 | tun.c | ||
16 | libgnunettun_la_LIBADD = \ | ||
17 | $(top_builddir)/src/util/libgnunetutil.la $(XLIB) | ||
18 | libgnunethello_la_LDFLAGS = \ | ||
19 | $(GN_LIB_LDFLAGS) | ||
20 | |||