Merge in all current libmemcached work, plus restore older, working,
[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/failed.h \
20 libtest/server.h \
21 libtest/test.h \
22 libtest/visibility.h
23
24 noinst_LTLIBRARIES+= libtest/libserver.la
25 libtest_libserver_la_SOURCES= libtest/server.c
26
27 noinst_LTLIBRARIES+= libtest/libtest.la
28 libtest_libtest_la_SOURCES=\
29 libtest/test.c
30 libtest_libtest_la_CFLAGS= ${AM_CFLAGS} ${NO_CONVERSION}
31 libtest_libtest_la_CPPFLAGS= ${AM_CPPFLAGS}
32
33 tests/var: tests/var/log tests/var/tmp
34 $(mkdir_p) tests/var
35
36 tests/var/log:
37 $(mkdir_p) tests/var/log
38
39 tests/var/tmp:
40 $(mkdir_p) tests/var/tmp