summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/examples/c/Makefile.am
blob: e441d45af46bff81727fbc37a2c1f6d6b514c446 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
LDADD =  $(top_builddir)/test/utility/libtest_util.la
LDADD += $(top_builddir)/libwiredtiger.la
AM_CPPFLAGS = -I$(top_srcdir)/src/include
AM_CPPFLAGS +=-I$(top_srcdir)/test/utility

noinst_PROGRAMS = \
	ex_access \
	ex_all \
	ex_async \
	ex_backup \
	ex_call_center \
	ex_config_parse \
	ex_cursor \
	ex_data_source \
	ex_encrypt \
	ex_event_handler \
	ex_extending \
	ex_extractor \
	ex_file_system \
	ex_hello \
	ex_log \
	ex_pack \
	ex_process \
	ex_schema \
	ex_smoke \
	ex_stat \
	ex_sync \
	ex_thread

ex_encrypt_LDFLAGS = -rdynamic
ex_file_system_LDFLAGS = -rdynamic

# The examples can be run with no arguments as simple smoke tests
TESTS = $(noinst_PROGRAMS)

AM_TESTS_ENVIRONMENT = WIREDTIGER_HOME=`mktemp -d WT_HOME.XXXX` ; export WIREDTIGER_HOME ; rm -rf $$WIREDTIGER_HOME ; mkdir $$WIREDTIGER_HOME ;

# Inject valgrind or similar
LOG_COMPILER = $(TEST_WRAPPER)

clean-local:
	rm -rf WT_HOME* core.* *.core backup_full.* backup_incr.*