53 lines
1 KiB
Makefile
53 lines
1 KiB
Makefile
# INCLUDES = @CHECK_CFLAGS@
|
|
# if HAVE_CHECK
|
|
# TESTS = check_tree
|
|
# else
|
|
# TESTS =
|
|
# endif
|
|
TESTS =
|
|
|
|
AM_CFLAGS=$(DEPS_CFLAGS) $(GVC_DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include -I$(top_builddir)/3rdparty -Wall -std=c99 -ggdb -Wall
|
|
AM_LDFLAGS=$(DEPS_LIBS) $(GVC_DEPS_LIBS) -L$(top_builddir) -lr3 -lcheck @CHECK_LIBS@
|
|
|
|
if USE_JEMALLOC
|
|
AM_CFLAGS += -ljemalloc
|
|
endif
|
|
|
|
|
|
noinst_HEADERS = \
|
|
bench.h \
|
|
$(NULL)
|
|
|
|
dist_noinst_DATA = \
|
|
$(NULL)
|
|
|
|
|
|
TESTS += check_slug
|
|
check_slug_SOURCES = check_slug.c
|
|
|
|
|
|
TESTS += check_tree
|
|
check_tree_SOURCES = check_tree.c
|
|
|
|
|
|
if ENABLE_JSON
|
|
TESTS += check_json
|
|
check_json_SOURCES = check_json.c
|
|
endif
|
|
|
|
|
|
if ENABLE_GRAPHVIZ
|
|
TESTS += check_gvc
|
|
check_gvc_SOURCES = check_gvc.c
|
|
endif
|
|
|
|
|
|
# TESTS += benchmark
|
|
# benchmark_SOURCES = bench.c
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
# AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir)/include
|
|
# AM_CFLAGS=$(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include
|
|
CLEANFILES = check_tree.log
|
|
# noinst_PROGRAMS = $(TESTS)
|