17 lines
596 B
Makefile
17 lines
596 B
Makefile
check_PROGRAMS = runtests
|
|
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
|
|
|
|
check-local: $(check_PROGRAMS)
|
|
./runtests -l $(abs_top_srcdir)/tests/TESTS
|