Rollup merge.
[awesomized/libmemcached] / example / 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_LIBEVENT
6 noinst_PROGRAMS += example/memcached_light
7 endif
8
9 example_memcached_light_SOURCES= \
10 example/interface_v0.c \
11 example/interface_v1.c \
12 example/memcached_light.c \
13 example/memcached_light.h \
14 example/storage.h
15
16 example_memcached_light_LDADD= libmemcached/libmemcachedprotocol.la \
17 $(LIBINNODB) $(LTLIBEVENT)
18
19 if BUILD_BYTEORDER
20 example_memcached_light_LDADD+= libmemcached/libbyteorder.la
21 endif
22
23 if HAVE_LIBINNODB
24 example_memcached_light_SOURCES+= example/storage_innodb.c
25 else
26 example_memcached_light_SOURCES+= example/storage.c
27 endif