-indentation, code cleanup
[oweals/gnunet.git] / src / tun / Makefile.am
index 390ce9e1eccaf7d41708b9e8f64769b0ccd036c0..f090266a97163eae38fdaaba0292a8dcf2332d59 100644 (file)
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
 
 if MINGW
   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
@@ -12,17 +12,19 @@ endif
 lib_LTLIBRARIES = libgnunettun.la
 
 libgnunettun_la_SOURCES = \
-  tun.c
+  tun.c \
+  regex.c
 libgnunettun_la_LIBADD = \
- $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
+ $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
+ $(LTLIBINTL)
 libgnunettun_la_LDFLAGS = \
   $(GN_LIB_LDFLAGS) \
-  -version-info 0:0:0
+  -version-info 1:0:1
 
 
 check_PROGRAMS = \
- test_tun
-
+ test_tun \
+ test_regex
 
 if ENABLE_TEST_RUN
 TESTS = $(check_PROGRAMS)
@@ -33,3 +35,10 @@ test_tun_SOURCES = \
 test_tun_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(top_builddir)/src/tun/libgnunettun.la
+
+
+test_regex_SOURCES = \
+ test_regex.c
+test_regex_LDADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(top_builddir)/src/tun/libgnunettun.la