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