Fixed autoconf macros for cross compile
[awesomized/libmemcached] / unittests / include.am
1 # vim:ft=automake
2 # included from Top Level Makefile.am
3 # All paths should be given relative to the root
4
5 if HAVE_LIBGTEST
6 check_PROGRAMS += unittests/unittests
7 endif
8
9 unittests_unittests_SOURCES= \
10 unittests/main.cc \
11 unittests/strings.cc
12
13 unittests_unittest_CXXFLAGS= ${AM_CXXFLAGS} ${NO_WERROR}
14 unittests_unittests_LDADD= \
15 tests/libserver.la \
16 libmemcached/libmemcachedinternal.la \
17 ${TESTS_LDADDS} ${LTLIBGTEST}
18 # Shorthand
19 unit: check-TESTS
20