2014-06-01 06:06:12 -04:00
|
|
|
TESTS =
|
|
|
|
|
2018-07-01 10:41:26 -04:00
|
|
|
AM_CFLAGS=$(DEPS_CFLAGS) $(GVC_DEPS_CFLAGS) $(JSONC_CFLAGS) @CHECK_CFLAGS@ -I$(top_builddir) -I$(top_builddir)/include -I$(top_builddir)/src -Wall -std=c99 -ggdb `pkg-config --cflags --libs check`
|
2014-06-01 17:23:00 -04:00
|
|
|
AM_LDFLAGS=$(DEPS_LIBS) $(GVC_DEPS_LIBS) $(JSONC_LIBS) @CHECK_LIBS@ $(top_builddir)/libr3.la
|
2014-06-01 06:06:12 -04:00
|
|
|
|
|
|
|
if USE_JEMALLOC
|
|
|
|
AM_CFLAGS += -ljemalloc
|
|
|
|
endif
|
2014-05-17 21:29:31 -04:00
|
|
|
|
2014-05-18 01:52:56 -04:00
|
|
|
noinst_HEADERS = \
|
|
|
|
bench.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
dist_noinst_DATA = \
|
|
|
|
$(NULL)
|
|
|
|
|
2014-06-01 06:06:12 -04:00
|
|
|
|
|
|
|
TESTS += check_slug
|
|
|
|
check_slug_SOURCES = check_slug.c
|
|
|
|
|
|
|
|
TESTS += check_tree
|
|
|
|
check_tree_SOURCES = check_tree.c
|
|
|
|
|
2014-06-01 22:06:10 -04:00
|
|
|
TESTS += check_routes
|
|
|
|
check_routes_SOURCES = check_routes.c
|
|
|
|
|
2014-06-01 20:13:19 -04:00
|
|
|
TESTS += check_str_array
|
|
|
|
check_str_array_SOURCES = check_str_array.c
|
|
|
|
|
2019-06-19 08:01:36 -04:00
|
|
|
TESTS += check_host
|
|
|
|
check_host_SOURCES = check_host.c
|
|
|
|
|
2019-06-19 23:19:08 -04:00
|
|
|
TESTS += check_remote_addr
|
|
|
|
check_remote_addr_SOURCES = check_remote_addr.c
|
|
|
|
|
2019-06-26 11:06:32 -04:00
|
|
|
TESTS += check_http_scheme
|
|
|
|
check_http_scheme_SOURCES = check_http_scheme.c
|
|
|
|
|
2014-06-01 06:06:12 -04:00
|
|
|
|
|
|
|
if ENABLE_JSON
|
|
|
|
TESTS += check_json
|
|
|
|
check_json_SOURCES = check_json.c
|
2014-05-21 23:34:37 -04:00
|
|
|
endif
|
|
|
|
|
2014-06-01 06:06:12 -04:00
|
|
|
|
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-17 21:29:31 -04:00
|
|
|
endif
|
|
|
|
|
2014-06-01 12:22:12 -04:00
|
|
|
|
2014-05-22 09:55:41 -04:00
|
|
|
|
2014-05-17 21:29:31 -04:00
|
|
|
check_PROGRAMS = $(TESTS)
|
2014-05-17 20:13:58 -04:00
|
|
|
|
2014-06-02 12:47:06 -04:00
|
|
|
noinst_PROGRAMS = bench
|
|
|
|
bench_SOURCES = bench.c
|
2014-06-02 08:54:42 -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
|