1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-02-19 08:09:14 +00:00
Michael Jerris 3abb7730b2 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
2006-12-21 03:57:49 +00:00

72 lines
1.1 KiB
Makefile

ifeq ($(SRCDIR)x,x)
SRCDIR = $(CURDIR)/../../..
endif
SUBDIR = lib/abyss/src
include $(SRCDIR)/Makefile.config
CFLAGS = $(CFLAGS_COMMON)
CFLAGS += -D_UNIX
ifeq ($(ENABLE_ABYSS_THREADS),yes)
CFLAGS += -D_THREAD
endif
CFLAGS +=
CFLAGS += $(CFLAGS_PERSONAL) $(CADD)
LIBLDFLAGS = $(LDFLAGS_VERSINFO) -rpath $(LIBINST_DIR)
ifeq ($(ENABLE_ABYSS_THREADS),yes)
LIBLDFLAGS += -lpthread
endif
LIBLDFLAGS += $(LADD)
INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include
LTLIBRARIES_TO_INSTALL = libxmlrpc_abyss.la
default: all
.PHONY: all
all: libxmlrpc_abyss.la
ABYSS_OBJS = \
conf.lo \
data.lo \
token.lo \
trace.lo \
file.lo \
thread.lo \
http.lo \
socket.lo \
server.lo \
conn.lo \
libxmlrpc_abyss.la: $(ABYSS_OBJS)
$(LIBTOOL) --mode=link $(CCLD) -o $@ $(LIBLDFLAGS) $^
$(ABYSS_OBJS):%.lo:%.c
$(LIBTOOL) --mode=compile $(CC) -c $(INCLUDES) \
$(CFLAGS) $<
.PHONY: clean
clean: clean-common
.PHONY: distclean
distclean: clean distclean-common
.PHONY: tags
tags: TAGS
.PHONY: distdir
distdir:
.PHONY: install
install: install-common
.PHONY: dep
dep: dep-common
include $(SRCDIR)/Makefile.common
include Makefile.depend