Module: sip-router
Branch: carstenbock/ims
Commit: a54eb8a8ef324d3f68793603499c215a259b7425
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a54eb8a…
Author: Carsten Bock <carsten(a)bock.info>
Committer: Carsten Bock <carsten(a)bock.info>
Date: Thu Jan 6 18:56:55 2011 +0100
- Fixed Makefile for PCSCF
---
modules/pcscf/Makefile | 24 +++++-------------------
1 files changed, 5 insertions(+), 19 deletions(-)
diff --git a/modules/pcscf/Makefile b/modules/pcscf/Makefile
index 3c9a7e7..32fedcb 100644
--- a/modules/pcscf/Makefile
+++ b/modules/pcscf/Makefile
@@ -9,25 +9,11 @@ include ../../Makefile.defs
auto_gen=
NAME=pcscf.so
-
-ifeq ($(CFG_NAME),kamailio)
- DEFS+=-DSER_MOD_INTERFACE
- SERLIBPATH=../../lib
- SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
- #LIBS+=-L../../lib/cds -lser_cds
-else
-ifeq ($(CFG_NAME),sip-router)
- DEFS+=-DSER_MOD_INTERFACE
- SERLIBPATH=../../lib
- SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
- LIBS+=-L../../lib/cds -lser_cds
-else
- LIBS+=-L../../lib/cds -l_ser_cds
-endif
-endif
-
-DEFS += -I/usr/include/libxml2 -I../../lib -DSER -I../..
-LIBS += -lxml2
+DEFS+=-DSER
+INCLUDES = -I../../lib -I../..
+DEFS+=-DSER_MOD_INTERFACE
+SERLIBPATH=../../lib
+SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1 $(SERLIBPATH)/cds/ser_cds
DEFS += -DCDP_FOR_SER
DEFS += -I/usr/include/libxml2