Author: rco
Date: 2008-04-10 16:15:57 +0200 (Thu, 10 Apr 2008)
New Revision: 879

Modified:
   trunk/Makefile.defs
   trunk/apps/examples/tutorial/ivr_announce/Makefile
   trunk/apps/ivr/Makefile
   trunk/apps/ivr/Makefile.defs
Log:
- fixed some other stuff for Darwin.


Modified: trunk/Makefile.defs
===================================================================
--- trunk/Makefile.defs 2008-04-10 08:52:38 UTC (rev 878)
+++ trunk/Makefile.defs 2008-04-10 14:15:57 UTC (rev 879)
@@ -115,8 +115,7 @@
        CPPFLAGS += -I /opt/local/include
        LDFLAGS += -L/opt/local/lib
 
-       # those modules do not compile by now
-       exclude_modules += binrpcctrl
+       override exclude_modules += binrpcctrl mp3 examples py_sems
 else
        LDFLAGS+= -fPIC -ldl -lsocket -lnsl -lpthread
        TARGET=solaris

Modified: trunk/apps/examples/tutorial/ivr_announce/Makefile
===================================================================
--- trunk/apps/examples/tutorial/ivr_announce/Makefile  2008-04-10 08:52:38 UTC 
(rev 878)
+++ trunk/apps/examples/tutorial/ivr_announce/Makefile  2008-04-10 14:15:57 UTC 
(rev 879)
@@ -2,8 +2,6 @@
 NAME=ivr_announce
 VERSION=0.0.1
 
-PYTHON_VERSION=2.4
-
 LIBDIR=
 
 COREPATH=../../../../core

Modified: trunk/apps/ivr/Makefile
===================================================================
--- trunk/apps/ivr/Makefile     2008-04-10 08:52:38 UTC (rev 878)
+++ trunk/apps/ivr/Makefile     2008-04-10 14:15:57 UTC (rev 879)
@@ -11,10 +11,16 @@
 
 # put used Python modules from lib-dynload here, e.g. time, mysql, _cvs.so etc.
 PYTHON_module_cflags = -I$(PYTHON_DIR) -fno-strict-aliasing
-PYTHON_module_ldflags = -Xlinker --export-dynamic \
-                       -L$(PYTHON_LIBDIR)/config \
+
+PYTHON_module_ldflags = -L$(PYTHON_LIBDIR)/config \
                        -lpython$(PY_VER)
 
+#PYTHON_module_ldflags = -Xlinker --export-dynamic \
+#                      -L$(PYTHON_LIBDIR)/config \
+#                      -lpython$(PY_VER)
+
+
+
 ifeq ($(TTS), y)
 #
 #   flite text to speech
@@ -81,6 +87,10 @@
 
 include $(COREPATH)/plug-in/Makefile.app_module
 
+ifneq ($(OS),darwin)
+PYTHON_module_ldflags += -Xlinker --export-dynamic
+endif
+
 .PHONY: install_python_files
 install_python_files: $(modules-prefix)/$(modules-dir)
        echo "Installing Python object files..."

Modified: trunk/apps/ivr/Makefile.defs
===================================================================
--- trunk/apps/ivr/Makefile.defs        2008-04-10 08:52:38 UTC (rev 878)
+++ trunk/apps/ivr/Makefile.defs        2008-04-10 14:15:57 UTC (rev 879)
@@ -1,6 +1,6 @@
 # Python version: 2.5, 2.4 or 2.3
 #
-PYTHON_VERSION ?= `python -c 'import sys;print sys.version[0:3]';`
+PYTHON_VERSION ?= $(shell python -c 'import sys;print sys.version[0:3]')
 
 # For flite text-to-speech set TTS = y
 #

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to