2009-09-21 15:56:24 +00:00
|
|
|
MEMCACHED=libmemcached-0.32
|
2009-04-01 19:02:59 +00:00
|
|
|
switch_srcdir=../../../..
|
|
|
|
|
|
|
|
WANT_CURL=yes
|
|
|
|
|
|
|
|
MEMCACHED_DIR=$(switch_srcdir)/libs/$(MEMCACHED)
|
|
|
|
|
|
|
|
MEMCACHEDLA=$(MEMCACHED_DIR)/libmemcached/libmemcached.la
|
|
|
|
|
|
|
|
LOCAL_CFLAGS=-I$(MEMCACHED_DIR)
|
|
|
|
LOCAL_LIBADD=$(MEMCACHEDLA)
|
|
|
|
|
|
|
|
include $(switch_srcdir)/build/modmake.rules
|
|
|
|
|
|
|
|
$(MEMCACHED_DIR):
|
|
|
|
$(GETLIB) $(MEMCACHED).tar.gz
|
|
|
|
|
|
|
|
$(MEMCACHED_DIR)/Makefile: $(MEMCACHED_DIR)
|
2009-11-30 14:23:09 +00:00
|
|
|
cd $(MEMCACHED_DIR) && $(DEFAULT_VARS) ./configure $(DEFAULT_ARGS) --with-memcached=no CPPFLAGS= LDFLAGS=
|
2009-04-01 19:02:59 +00:00
|
|
|
$(TOUCH_TARGET)
|
|
|
|
|
|
|
|
$(MEMCACHEDLA): $(MEMCACHED_DIR)/Makefile
|
|
|
|
cd $(MEMCACHED_DIR) && $(MAKE)
|
|
|
|
$(TOUCH_TARGET)
|
|
|
|
|
|
|
|
|
|
|
|
|