1 check_PROGRAMS = runtests \
6 rb_snprintf_try_append1 \
11 AM_CFLAGS=$(WARNFLAGS)
12 AM_CPPFLAGS = $(DEFAULT_INCLUDES) -I../librb/include -I..
13 AM_LDFLAGS = -no-install
14 LDADD = tap/libtap.a ../librb/src/librb.la ../ircd/libircd.la -ldl
16 # Override -rpath or programs will be linked to installed libraries
17 libdir=$(abs_top_builddir)
19 runtests_CPPFLAGS = -DC_TAP_SOURCE='"$(abs_top_srcdir)/tests"' \
20 -DC_TAP_BUILD='"$(abs_top_builddir)/tests"'
21 check_LIBRARIES = tap/libtap.a
22 tap_libtap_a_SOURCES = tap/basic.c tap/basic.h \
23 tap/float.c tap/float.h tap/macros.h
25 msgbuf_parse1_SOURCES = msgbuf_parse1.c
26 msgbuf_unparse1_SOURCES = msgbuf_unparse1.c
27 rb_dictionary1_SOURCES = rb_dictionary1.c
28 rb_snprintf_append1_SOURCES = rb_snprintf_append1.c
29 rb_snprintf_try_append1_SOURCES = rb_snprintf_try_append1.c
30 sasl_abort1_SOURCES = sasl_abort1.c ircd_util.c client_util.c
31 send1_SOURCES = send1.c ircd_util.c client_util.c
32 serv_connect1_SOURCES = serv_connect1.c ircd_util.c client_util.c
33 substitution1_SOURCES = substitution1.c
35 check-local: $(check_PROGRAMS) \
40 $(patsubst ../modules/%.c,../modules/.libs/%.so,$(wildcard ../modules/*.c)) \
41 $(patsubst ../modules/core/%.c,../modules/core/.libs/%.so,$(wildcard ../modules/core/*.c)) \
42 $(patsubst ../extensions/%.c,../extensions/.libs/%.so,$(wildcard ../extensions/*.c))
44 ./runtests -l $(abs_top_srcdir)/tests/TESTS