mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 00:04:13 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15720 d0543943-73ff-0310-b7d9-9358b9ac24b2
28 lines
599 B
Makefile
28 lines
599 B
Makefile
MEMCACHED=libmemcached-0.32
|
|
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)
|
|
cd $(MEMCACHED_DIR) && $(DEFAULT_VARS) ./configure $(DEFAULT_ARGS) --with-memcached=no CPPFLAGS= LDFLAGS=
|
|
$(TOUCH_TARGET)
|
|
|
|
$(MEMCACHEDLA): $(MEMCACHED_DIR)/Makefile
|
|
cd $(MEMCACHED_DIR) && $(MAKE)
|
|
$(TOUCH_TARGET)
|
|
|
|
|
|
|