You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/modules/dialplan/Makefile

30 lines
655 B

# $Id:$
#
# WARNING: do not run this directly, it should be run by the master Makefile
include ../../Makefile.defs
auto_gen=
NAME=dialplan.so
BUILDER = $(shell which pcre-config)
ifeq ($(BUILDER),)
PCREDEFS=-I$(LOCALBASE)/include -I/usr/local/include -I/opt/include \
-I/usr/sfw/include
PCRELIBS=-L$(LOCALBASE)/lib -L/usr/local/lib -L/usr/sfw/lib \
-L/opt/lib -lpcre
else
PCREDEFS = $(shell pcre-config --cflags)
PCRELIBS = $(shell pcre-config --libs)
endif
DEFS+=$(PCREDEFS)
LIBS=$(PCRELIBS)
DEFS+=-DOPENSER_MOD_INTERFACE
SERLIBPATH=../../lib
SER_LIBS+=$(SERLIBPATH)/kmi/kmi
SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
include ../../Makefile.modules