34 lines
1.0 KiB
Makefile
34 lines
1.0 KiB
Makefile
#
|
|
# Copyright (C) 2023 CismonX <admin@cismon.net>
|
|
#
|
|
# Copying and distribution of this file, with or without modification, are
|
|
# permitted in any medium without royalty, provided the copyright notice and
|
|
# this notice are preserved. This file is offered as-is, without any warranty.
|
|
#
|
|
|
|
AUTOMAKE_OPTIONS = dejagnu
|
|
|
|
|
|
check_HEADERS = arif_dummy_engine.h
|
|
check_PROGRAMS = arif-test
|
|
check_LTLIBRARIES = libarifdummy.la
|
|
|
|
arif_test_CPPFLAGS = -I$(top_srcdir)/include
|
|
arif_test_LDADD = $(top_builddir)/src/libarif.la
|
|
arif_test_SOURCES = arif_test.c arif_dummy_engine.c
|
|
|
|
libarifdummy_la_CPPFLAGS = -I$(top_srcdir)/include
|
|
libarifdummy_la_SOURCES = arif_dummy_engine.c
|
|
|
|
EXTRA_DIST = lib/arif.exp \
|
|
arif/000-query.exp \
|
|
arif/001-select-page.exp \
|
|
arif/002-fetch.exp
|
|
RUNTESTFLAGS = ARIF_TEST_BIN=$(builddir)/arif-test
|
|
|
|
if ENABLE_DEBUG
|
|
|
|
RUNTESTFLAGS += ARIF_ENABLE_DEBUG=1
|
|
|
|
endif # ENABLE_DEBUG
|