4bf5485791
While here correctly link libucl to libm and register the dependency on libm for static building
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
EXTRA_DIST = $(TESTS) basic schema generate.res streamline.res rcl_test.json.xz
|
|
|
|
TESTS = basic.test \
|
|
generate.test \
|
|
schema.test \
|
|
speed.test \
|
|
streamline.test
|
|
TESTS_ENVIRONMENT = $(SH) \
|
|
TEST_DIR=$(top_srcdir)/tests \
|
|
TEST_OUT_DIR=$(top_builddir)/tests \
|
|
TEST_BINARY_DIR=$(top_builddir)/tests
|
|
|
|
common_test_cflags = -I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/src \
|
|
-I$(top_srcdir)/uthash
|
|
common_test_ldadd = $(top_builddir)/src/libucl.la
|
|
|
|
test_basic_SOURCES = test_basic.c
|
|
test_basic_LDADD = $(common_test_ldadd)
|
|
test_basic_CFLAGS = $(common_test_cflags)
|
|
|
|
test_speed_SOURCES = test_speed.c
|
|
test_speed_LDADD = $(common_test_ldadd)
|
|
test_speed_CFLAGS = $(common_test_cflags)
|
|
|
|
test_generate_SOURCES = test_generate.c
|
|
test_generate_LDADD = $(common_test_ldadd)
|
|
test_generate_CFLAGS = $(common_test_cflags)
|
|
|
|
test_schema_SOURCES = test_schema.c
|
|
test_schema_LDADD = $(common_test_ldadd)
|
|
test_schema_CFLAGS = $(common_test_cflags)
|
|
|
|
test_streamline_SOURCES = test_streamline.c
|
|
test_streamline_LDADD = $(common_test_ldadd)
|
|
test_streamline_CFLAGS = $(common_test_cflags)
|
|
|
|
check_PROGRAMS = test_basic test_speed test_generate test_schema test_streamline
|