]>
Commit | Line | Data |
---|---|---|
05a16d98 | 1 | check_PROGRAMS = runtests \ |
17ea8880 | 2 | msgbuf_parse1 \ |
108699df | 3 | msgbuf_unparse1 \ |
9ea60637 | 4 | hostmask1 \ |
959dffde | 5 | rb_dictionary1 \ |
0e6b8d0a SA |
6 | rb_snprintf_append1 \ |
7 | rb_snprintf_try_append1 \ | |
958c354c | 8 | sasl_abort1 \ |
d2b5f411 | 9 | send1 \ |
e7010268 | 10 | serv_connect1 \ |
17ea8880 | 11 | substitution1 |
8fe5ef5a SA |
12 | AM_CFLAGS=$(WARNFLAGS) |
13 | AM_CPPFLAGS = $(DEFAULT_INCLUDES) -I../librb/include -I.. | |
14 | AM_LDFLAGS = -no-install | |
e7010268 | 15 | LDADD = tap/libtap.a ../librb/src/librb.la ../ircd/libircd.la -ldl |
8fe5ef5a SA |
16 | |
17 | # Override -rpath or programs will be linked to installed libraries | |
18 | libdir=$(abs_top_builddir) | |
19 | ||
20 | runtests_CPPFLAGS = -DC_TAP_SOURCE='"$(abs_top_srcdir)/tests"' \ | |
21 | -DC_TAP_BUILD='"$(abs_top_builddir)/tests"' | |
22 | check_LIBRARIES = tap/libtap.a | |
23 | tap_libtap_a_SOURCES = tap/basic.c tap/basic.h \ | |
24 | tap/float.c tap/float.h tap/macros.h | |
25 | ||
05a16d98 | 26 | msgbuf_parse1_SOURCES = msgbuf_parse1.c |
108699df | 27 | msgbuf_unparse1_SOURCES = msgbuf_unparse1.c |
9ea60637 | 28 | hostmask1_SOURCES = hostmask1.c |
959dffde | 29 | rb_dictionary1_SOURCES = rb_dictionary1.c |
0e6b8d0a SA |
30 | rb_snprintf_append1_SOURCES = rb_snprintf_append1.c |
31 | rb_snprintf_try_append1_SOURCES = rb_snprintf_try_append1.c | |
958c354c | 32 | sasl_abort1_SOURCES = sasl_abort1.c ircd_util.c client_util.c |
d2b5f411 | 33 | send1_SOURCES = send1.c ircd_util.c client_util.c |
e7010268 | 34 | serv_connect1_SOURCES = serv_connect1.c ircd_util.c client_util.c |
17ea8880 | 35 | substitution1_SOURCES = substitution1.c |
05a16d98 | 36 | |
d2b5f411 SA |
37 | check-local: $(check_PROGRAMS) \ |
38 | ../authd/authd \ | |
39 | ../bandb/bandb \ | |
40 | ../ssld/ssld \ | |
41 | ../wsockd/wsockd \ | |
42 | $(patsubst ../modules/%.c,../modules/.libs/%.so,$(wildcard ../modules/*.c)) \ | |
ac0ae805 | 43 | $(patsubst ../modules/core/%.c,../modules/core/.libs/%.so,$(wildcard ../modules/core/*.c)) |
d2b5f411 | 44 | |
30725c43 | 45 | ASAN_OPTIONS="${ASAN_OPTIONS}:detect_leaks=false" ./runtests -l $(abs_top_srcdir)/tests/TESTS |