[Freeswitch-svn] [commit] r8586 - freeswitch/trunk/src/mod/xml_int/mod_xml_rpc
Freeswitch SVN
stkn at freeswitch.org
Sat May 24 19:43:20 EDT 2008
Author: stkn
Date: Sat May 24 19:43:20 2008
New Revision: 8586
Modified:
freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/Makefile
Log:
Fix building on fbsd7 x86_64 (stuff was building without -fPIC), nametab.h is a generated file, recreate it if missing
Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/Makefile (original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_rpc/Makefile Sat May 24 19:43:20 2008
@@ -65,9 +65,10 @@
#XMLRPCLAS += $(XMLRPC_DIR)/src/libxmlrpc_server.so $(XMLRPC_DIR)/src/libxmlrpc.so
#XMLRPCLAS += $(XMLRPC_DIR)/src/libxmlrpc_server_abyss.so $(XMLRPC_DIR)/lib/abyss/src/libxmlrpc_abyss.so
#XMLRPCLAS += $(XMLRPC_DIR)/lib/expat/xmlparse/libxmlrpc_xmlparse.so $(XMLRPC_DIR)/lib/expat/xmltok/libxmlrpc_xmltok.so
+#LOCAL_LIBADD =$(XMLRPCLAS)
-LOCAL_LIBADD =$(XMLRPCLAS)
-LOCAL_CFLAGS=-w -I$(XMLRPC_DIR)/lib/expat/xmlparse -I$(XMLRPC_DIR)/lib/expat/xmltok -I$(XMLRPC_DIR) -I$(XMLRPC_DIR)/include -I../../../../libs/xmlrpc-c/lib/abyss/src -I../../../../libs/xmlrpc-c/lib/util/include -D_THREAD
+LOCAL_CFLAGS = -w -I$(XMLRPC_DIR)/lib/expat/xmlparse -I$(XMLRPC_DIR)/lib/expat/xmltok -I$(XMLRPC_DIR) -I$(XMLRPC_DIR)/include
+LOCAL_CFLAGS+= -I$(XMLRPC_DIR)/libs/xmlrpc-c/lib/abyss/src -I$(XMLRPC_DIR)/lib/util/include -D_THREAD
include $(BASE)/build/modmake.rules
@@ -75,4 +76,8 @@
cd $(XMLRPC_DIR) && $(MAKE)
$(TOUCH_TARGET)
+$(XMLRPC_DIR)/lib/expat/xmltok/xmltok.o: $(XMLRPC_DIR)/lib/expat/xmltok/nametab.h
+$(XMLRPC_DIR)/lib/expat/xmltok/nametab.h:
+ cd $(XMLRPC_DIR)/lib/expat/gennmtab && $(MAKE)
+ cd $(XMLRPC_DIR)/lib/expat/xmltok && ../gennmtab/gennmtab > nametab.h
More information about the Freeswitch-svn
mailing list