summaryrefslogtreecommitdiff
path: root/src/nt/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/nt/Makefile.am')
-rw-r--r--src/nt/Makefile.am36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/nt/Makefile.am b/src/nt/Makefile.am
new file mode 100644
index 000000000..68b6a55e7
--- /dev/null
+++ b/src/nt/Makefile.am
@@ -0,0 +1,36 @@
+# This Makefile.am is in the public domain
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
+
+if MINGW
+ WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
+endif
+
+if USE_COVERAGE
+ AM_CFLAGS = --coverage
+endif
+
+lib_LTLIBRARIES = libgnunetnt.la
+
+libgnunetnt_la_SOURCES = \
+ nt.c
+
+libgnunetnt_la_LIBADD = \
+ $(top_builddir)/src/util/libgnunetutil.la
+libgnunetnt_la_LDFLAGS = \
+ $(GN_LIB_LDFLAGS) \
+ -version-info 0:0:0
+
+#if ENABLE_TEST_RUN
+#TESTS = \
+# test_nt
+#endif
+
+#check_PROGRAMS= \
+# test_nt
+#
+#test_nt_SOURCES = \
+# test_nt.c
+#test_nt_LDADD = \
+# libgnunetnt.la \
+# $(top_builddir)/src/util/libgnunetutil.la \
+# $(XLIB)