2017-07-26 20:06:49 +00:00
|
|
|
check_PROGRAMS = runtests \
|
2017-07-27 11:58:13 +00:00
|
|
|
msgbuf_parse1 \
|
2017-07-28 17:34:46 +00:00
|
|
|
msgbuf_unparse1 \
|
2017-07-30 14:56:29 +00:00
|
|
|
rb_linebuf_put1 \
|
2017-07-30 16:05:26 +00:00
|
|
|
rb_snprintf_append1 \
|
|
|
|
rb_snprintf_try_append1 \
|
2017-07-27 11:58:13 +00:00
|
|
|
substitution1
|
2017-07-25 20:02:45 +00:00
|
|
|
AM_CFLAGS=$(WARNFLAGS)
|
|
|
|
AM_CPPFLAGS = $(DEFAULT_INCLUDES) -I../librb/include -I..
|
|
|
|
AM_LDFLAGS = -no-install
|
|
|
|
LDADD = tap/libtap.a ../librb/src/librb.la ../ircd/libircd.la
|
|
|
|
|
|
|
|
# Override -rpath or programs will be linked to installed libraries
|
|
|
|
libdir=$(abs_top_builddir)
|
|
|
|
|
|
|
|
runtests_CPPFLAGS = -DC_TAP_SOURCE='"$(abs_top_srcdir)/tests"' \
|
|
|
|
-DC_TAP_BUILD='"$(abs_top_builddir)/tests"'
|
|
|
|
check_LIBRARIES = tap/libtap.a
|
|
|
|
tap_libtap_a_SOURCES = tap/basic.c tap/basic.h \
|
|
|
|
tap/float.c tap/float.h tap/macros.h
|
|
|
|
|
2017-07-26 20:06:49 +00:00
|
|
|
msgbuf_parse1_SOURCES = msgbuf_parse1.c
|
2017-07-28 17:34:46 +00:00
|
|
|
msgbuf_unparse1_SOURCES = msgbuf_unparse1.c
|
2017-07-30 14:56:29 +00:00
|
|
|
rb_linebuf_put1_SOURCES = rb_linebuf_put1.c
|
2017-07-30 16:05:26 +00:00
|
|
|
rb_snprintf_append1_SOURCES = rb_snprintf_append1.c
|
|
|
|
rb_snprintf_try_append1_SOURCES = rb_snprintf_try_append1.c
|
2017-07-27 11:58:13 +00:00
|
|
|
substitution1_SOURCES = substitution1.c
|
2017-07-26 20:06:49 +00:00
|
|
|
|
2017-07-25 20:02:45 +00:00
|
|
|
check-local: $(check_PROGRAMS)
|
|
|
|
./runtests -l $(abs_top_srcdir)/tests/TESTS
|