summaryrefslogtreecommitdiff
path: root/tests/irc/core/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tests/irc/core/Makefile.am')
-rw-r--r--tests/irc/core/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/irc/core/Makefile.am b/tests/irc/core/Makefile.am
new file mode 100644
index 00000000..ccc6aa97
--- /dev/null
+++ b/tests/irc/core/Makefile.am
@@ -0,0 +1,29 @@
+include $(top_srcdir)/utils/glib-tap.mk
+
+PACKAGE_STRING=irc/core
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/core \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ $(GLIB_CFLAGS)
+
+test_programs = test-irc
+
+test_irc_CPPFLAGS = \
+ -I$(top_srcdir)/src/irc/core \
+ $(AM_CPPFLAGS)
+
+test_irc_DEPENDENCIES = \
+ ../../../src/core/libcore.a \
+ ../../../src/lib-config/libirssi_config.a
+
+test_irc_LDADD = \
+ ../../../src/irc/core/libirc_core.a \
+ ../../../src/core/libcore.a \
+ ../../../src/lib-config/libirssi_config.a \
+ @GLIB_LIBS@ \
+ @OPENSSL_LIBS@
+
+test_irc_SOURCES = \
+ test-irc.c