]>
Commit | Line | Data |
---|---|---|
05a16d98 | 1 | check_PROGRAMS = runtests \ |
17ea8880 | 2 | msgbuf_parse1 \ |
108699df | 3 | msgbuf_unparse1 \ |
2cc7be99 | 4 | rb_linebuf_put1 \ |
17ea8880 | 5 | substitution1 |
8fe5ef5a SA |
6 | AM_CFLAGS=$(WARNFLAGS) |
7 | AM_CPPFLAGS = $(DEFAULT_INCLUDES) -I../librb/include -I.. | |
8 | AM_LDFLAGS = -no-install | |
9 | LDADD = tap/libtap.a ../librb/src/librb.la ../ircd/libircd.la | |
10 | ||
11 | # Override -rpath or programs will be linked to installed libraries | |
12 | libdir=$(abs_top_builddir) | |
13 | ||
14 | runtests_CPPFLAGS = -DC_TAP_SOURCE='"$(abs_top_srcdir)/tests"' \ | |
15 | -DC_TAP_BUILD='"$(abs_top_builddir)/tests"' | |
16 | check_LIBRARIES = tap/libtap.a | |
17 | tap_libtap_a_SOURCES = tap/basic.c tap/basic.h \ | |
18 | tap/float.c tap/float.h tap/macros.h | |
19 | ||
05a16d98 | 20 | msgbuf_parse1_SOURCES = msgbuf_parse1.c |
108699df | 21 | msgbuf_unparse1_SOURCES = msgbuf_unparse1.c |
2cc7be99 | 22 | rb_linebuf_put1_SOURCES = rb_linebuf_put1.c |
17ea8880 | 23 | substitution1_SOURCES = substitution1.c |
05a16d98 | 24 | |
8fe5ef5a SA |
25 | check-local: $(check_PROGRAMS) |
26 | ./runtests -l $(abs_top_srcdir)/tests/TESTS |