mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
add xmlrpc-c 1.03.14 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3772 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
49
libs/xmlrpc-c/tools/xml-rpc-api2cpp/Makefile
Normal file
49
libs/xmlrpc-c/tools/xml-rpc-api2cpp/Makefile
Normal file
@@ -0,0 +1,49 @@
|
||||
ifeq ($(SRCDIR)x,x)
|
||||
SRCDIR = $(CURDIR)/../..
|
||||
BUILDDIR= $(SRCDIR)
|
||||
endif
|
||||
|
||||
default: all
|
||||
|
||||
include $(BUILDDIR)/Makefile.config
|
||||
|
||||
include ../Makefile.common
|
||||
|
||||
INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/include
|
||||
|
||||
CXXFLAGS = $(INCLUDES) $(CXXFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
|
||||
|
||||
LDFLAGS = $(CLIENT_LDFLAGS) $(LADD)
|
||||
|
||||
all: xml-rpc-api2cpp
|
||||
|
||||
OBJECTS = \
|
||||
xml-rpc-api2cpp.o \
|
||||
DataType.o \
|
||||
XmlRpcFunction.o \
|
||||
XmlRpcClass.o \
|
||||
SystemProxy.o \
|
||||
|
||||
xml-rpc-api2cpp: \
|
||||
$(OBJECTS) \
|
||||
$(LIBXMLRPC_CPP) \
|
||||
$(LIBXMLRPC_CLIENT) \
|
||||
$(LIBXMLRPC_SERVER) \
|
||||
$(LIBXMLRPC) \
|
||||
$(LIBXML)
|
||||
$(LIBTOOL) --mode=link $(CXXLD) -o $@ $(LDFLAGS) $^
|
||||
|
||||
%.o:%.cpp
|
||||
$(LIBTOOL) --mode=compile $(CXX) -c $(CXXFLAGS) $<
|
||||
|
||||
include Makefile.depend
|
||||
|
||||
.PHONY: clean
|
||||
clean: clean-common
|
||||
rm -f xml-rpc-api2cpp
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: clean distclean-common
|
||||
|
||||
.PHONY: dep
|
||||
dep: dep-common
|
Reference in New Issue
Block a user