2014-05-16 19:14:09 -04:00
|
|
|
# INCLUDES = @CHECK_CFLAGS@
|
2014-05-16 19:23:24 -04:00
|
|
|
# if HAVE_CHECK
|
|
|
|
# TESTS = check_tree
|
|
|
|
# else
|
|
|
|
# TESTS =
|
|
|
|
# endif
|
2014-05-17 21:29:31 -04:00
|
|
|
TESTS = check_tree
|
2014-05-20 03:34:56 -04:00
|
|
|
AM_CFLAGS = -ggdb $(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include @CHECK_CFLAGS@
|
2014-05-18 06:58:31 -04:00
|
|
|
AM_LDFLAGS = $(DEPS_LIBS) -L$(top_builddir)/src -lr3 @CHECK_LIBS@
|
2014-05-17 21:29:31 -04:00
|
|
|
|
2014-05-21 10:00:30 -04:00
|
|
|
|
2014-05-18 01:52:56 -04:00
|
|
|
noinst_HEADERS = \
|
|
|
|
bench.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
dist_noinst_DATA = \
|
|
|
|
$(NULL)
|
|
|
|
|
2014-05-21 23:34:37 -04:00
|
|
|
if USE_JEMALLOC
|
|
|
|
AM_CFLAGS += -ljemalloc
|
|
|
|
endif
|
|
|
|
|
2014-05-17 22:13:51 -04:00
|
|
|
if ENABLE_GRAPHVIZ
|
2014-05-17 21:29:31 -04:00
|
|
|
TESTS += check_gvc
|
2014-05-22 09:55:41 -04:00
|
|
|
check_gvc_SOURCES = check_gvc.c
|
2014-05-18 06:58:31 -04:00
|
|
|
# check_gvc_LDADD = $(GVC_DEPS_LIBS) $(DEPS_LIBS) -L$(top_builddir)/src -lr3 @CHECK_LIBS@
|
|
|
|
# check_gvc_CFLAGS = $(GVC_DEPS_CFLAGS) $(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include @CHECK_CFLAGS@
|
2014-05-18 01:15:53 -04:00
|
|
|
AM_CFLAGS += $(GVC_DEPS_CFLAGS)
|
2014-05-18 06:58:31 -04:00
|
|
|
AM_LDFLAGS += $(GVC_DEPS_LIBS)
|
2014-05-17 21:29:31 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2014-05-22 09:55:41 -04:00
|
|
|
bin_PROGRAMS = benchmark
|
|
|
|
benchmark_SOURCES = bench.c
|
|
|
|
|
|
|
|
|
2014-05-18 01:15:53 -04:00
|
|
|
|
2014-05-16 19:14:09 -04:00
|
|
|
# noinst_PROGRAMS = $(TESTS)
|
2014-05-22 09:55:41 -04:00
|
|
|
check_tree_SOURCES = check_tree.c
|
2014-05-18 06:58:31 -04:00
|
|
|
# check_tree_LDADD=$(DEPS_LIBS) -L$(top_builddir)/src -lr3 @CHECK_LIBS@
|
|
|
|
# check_tree_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include @CHECK_CFLAGS@
|
|
|
|
|
|
|
|
TESTS += check_slug
|
|
|
|
check_slug_SOURCES = check_slug.c
|
|
|
|
|
2014-05-23 12:05:50 -04:00
|
|
|
TESTS += check_worker
|
|
|
|
check_worker_SOURCES = check_worker.c
|
|
|
|
|
2014-05-23 22:17:54 -04:00
|
|
|
TESTS += check_queue
|
|
|
|
check_queue_SOURCES = check_queue.c
|
2014-05-18 06:58:31 -04:00
|
|
|
|
2014-05-17 21:29:31 -04:00
|
|
|
check_PROGRAMS = $(TESTS)
|
2014-05-17 20:13:58 -04:00
|
|
|
|
|
|
|
|
2014-05-16 18:52:26 -04:00
|
|
|
# AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir)/include
|
2014-05-16 19:23:24 -04:00
|
|
|
# AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include
|
2014-05-16 19:14:09 -04:00
|
|
|
CLEANFILES = check_tree.log
|