modules_k/purple/Makefile
b1588082
 include ../../Makefile.defs
 auto_gen=
 NAME=purple.so
fe10a2ef
 BUILDER = $(shell which pkg-config)
b1588082
 
fe10a2ef
 ifeq ($(BUILDER),)
 	DEFS+= -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 \
b1588082
 		-I/usr/include/libxml2
fe10a2ef
 	LIBS= -lglib-2.0 -lpurple -lxml2
 else
 	DEFS+= $(shell pkg-config --cflags glib-2.0)
 	LIBS=  $(shell pkg-config --libs glib-2.0)
 	DEFS+= $(shell pkg-config --cflags purple)
 	LIBS+= $(shell pkg-config --libs purple)
 	DEFS+= $(shell pkg-config --cflags libxml-2.0)
 	LIBS+= $(shell pkg-config --libs libxml-2.0)
 endif
b1588082
 
5e886dbb
 DEFS+=-DKAMAILIO_MOD_INTERFACE
e4798026
 
36ea0a36
 SERLIBPATH=../../lib
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
b1588082
 include ../../Makefile.modules