mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-25 02:51:30 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14938 d0543943-73ff-0310-b7d9-9358b9ac24b2
32 lines
729 B
Makefile
32 lines
729 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
|
|
|
|
DEFAULT_ARGS=--prefix=$(PREFIX) --disable-shared --with-pic
|
|
|
|
$(LOCAL_OBJS): $(LOCAL_SOURCES)
|
|
|
|
$(MEMCACHED_DIR):
|
|
$(GETLIB) $(MEMCACHED).tar.gz
|
|
|
|
$(MEMCACHED_DIR)/Makefile: $(MEMCACHED_DIR)
|
|
cd $(MEMCACHED_DIR) && CFLAGS=$(AM_CFLAGS) CC=$(CC) CXX=$(CXX) ./configure --disable-shared --with-pic --with-memcached=no CPPFLAGS= LDFLAGS=
|
|
$(TOUCH_TARGET)
|
|
|
|
$(MEMCACHEDLA): $(MEMCACHED_DIR)/Makefile
|
|
cd $(MEMCACHED_DIR) && $(MAKE)
|
|
$(TOUCH_TARGET)
|
|
|
|
|
|
|