Merge from trunk.
[awesomized/libmemcached] / example / Makefile.am
1 noinst_PROGRAMS = memcached_light
2
3 memcached_light_SOURCES= memcached_light.c \
4 storage.h \
5 interface_v0.c \
6 interface_v1.c
7 memcached_light_LDADD= $(top_builddir)/libmemcached/libmemcachedprotocol.la $(LIBINNODB)
8 memcached_light_DEPENDENCIES= $(top_builddir)/libmemcached/libmemcachedprotocol.la
9
10 if BUILD_BYTEORDER
11 memcached_light_LDADD+= $(top_builddir)/libmemcached/libbyteorder.la
12 memcached_light_DEPENDENCIES+= $(top_builddir)/libmemcached/libbyteorder.la
13 endif
14
15 if HAVE_LIBINNODB
16 memcached_light_SOURCES+= storage_innodb.c
17 else
18 memcached_light_SOURCES+= storage.c
19 endif