Update docs, and syncronize libtest.
[m6w6/libmemcached] / libtest / include.am
1 # vim:ft=automake
2 # Copyright (C) 2011 Data Differential (http://datadifferential.com/)
3 # All rights reserved.
4 #
5 # Use and distribution licensed under the BSD license. See
6 # the COPYING file in the parent directory for full text.
7 #
8 # included from Top Level Makefile.am
9 # All paths should be given relative to the root
10 #
11
12 LIBUTEST_TMP = ${abs_top_builddir}/tests/var/tmp/
13
14 CLEANFILES+= \
15 tests/var/log/* \
16 tests/var/tmp/*
17
18 noinst_HEADERS+= \
19 libtest/callbacks.h \
20 libtest/collection.h \
21 libtest/common.h \
22 libtest/core.h \
23 libtest/error.h \
24 libtest/failed.h \
25 libtest/framework.h \
26 libtest/get.h \
27 libtest/runner.h \
28 libtest/server.h \
29 libtest/stats.h \
30 libtest/strerror.h \
31 libtest/test.h \
32 libtest/visibility.h
33
34 noinst_LTLIBRARIES+= libtest/libserver.la
35 libtest_libserver_la_SOURCES= libtest/server.c
36
37 noinst_LTLIBRARIES+= libtest/libtest.la
38 libtest_libtest_la_SOURCES=\
39 libtest/framework.cc \
40 libtest/test.cc
41 libtest_libtest_la_CFLAGS= ${AM_CFLAGS} ${NO_CONVERSION} -DBUILDING_LIBTEST
42 libtest_libtest_la_CPPFLAGS= ${AM_CPPFLAGS}
43
44 tests/var: tests/var/log tests/var/tmp
45 $(mkdir_p) tests/var
46
47 tests/var/log:
48 $(mkdir_p) tests/var/log
49
50 tests/var/tmp:
51 $(mkdir_p) tests/var/tmp