mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +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:
1 parent
6d9679b164
commit
3abb7730b2
338 files changed
+98032
-2
No files matched your search
@@ -0,0 +1,44 @@
|
||||
ifeq ($(SRCDIR)x,x)
|
||||
SRCDIR = $(CURDIR)/../..
|
||||
BUILDDIR = $(SRCDIR)
|
||||
endif
|
||||
|
||||
all: xmlrpc
|
||||
|
||||
include $(BUILDDIR)/Makefile.config
|
||||
|
||||
PROGRAMS_TO_INSTALL = xmlrpc
|
||||
|
||||
include ../Makefile.common
|
||||
|
||||
INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include
|
||||
|
||||
CFLAGS = $(CFLAGS_COMMON) $(INCLUDES) $(CFLAGS_PERSONAL) $(CADD)
|
||||
|
||||
LDFLAGS = $(CLIENT_LDFLAGS) $(LADD)
|
||||
|
||||
UTIL_OBJS = cmdline_parser.o getoptx.o
|
||||
UTILS = $(UTIL_OBJS:%=$(UTIL_DIR)/%)
|
||||
|
||||
xmlrpc:%:%.o $(LIBXMLRPC_CLIENT) $(LIBXMLRPC) $(LIBXML) $(UTILS)
|
||||
$(LIBTOOL) --mode=link $(CCLD) -o $@ $(LDFLAGS) $^
|
||||
|
||||
%.o:%.c
|
||||
$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $<
|
||||
|
||||
*.c: config.h
|
||||
|
||||
config.h:
|
||||
$(LN_S) $(BUILDDIR)/xmlrpc_config.h $@
|
||||
|
||||
include Makefile.depend
|
||||
|
||||
.PHONY: dep
|
||||
dep: dep-common
|
||||
|
||||
.PHONY: clean
|
||||
clean: clean-common
|
||||
rm -f xmlrpc config.h
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: clean distclean-common
|
||||
Reference in new issue
Block a user