a1ed6ede1d298c574d8d094708540ed3dd822825
[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/test.hpp \
33 libtest/visibility.h
34
35 noinst_LTLIBRARIES+= libtest/libserver.la
36 libtest_libserver_la_SOURCES= libtest/memcached.cc
37
38 noinst_LTLIBRARIES+= libtest/libtest.la
39 libtest_libtest_la_SOURCES=\
40 libtest/framework.cc \
41 libtest/test.cc
42 libtest_libtest_la_CFLAGS= ${AM_CFLAGS} ${NO_CONVERSION} -DBUILDING_LIBTEST
43 libtest_libtest_la_CPPFLAGS= ${AM_CPPFLAGS}
44
45 tests/var: tests/var/log tests/var/tmp
46 $(mkdir_p) tests/var
47
48 tests/var/log:
49 $(mkdir_p) tests/var/log
50
51 tests/var/tmp:
52 $(mkdir_p) tests/var/tmp