- fixed some other stuff for Darwin.

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@879 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Raphael Coeffic 18 years ago
parent b0e2eed667
commit e213936e03

@ -115,8 +115,7 @@ ifeq ($(OS), darwin)
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

@ -2,8 +2,6 @@
NAME=ivr_announce
VERSION=0.0.1
PYTHON_VERSION=2.4
LIBDIR=
COREPATH=../../../../core

@ -11,10 +11,16 @@ PYTHON_LIBDIR = $(shell $(PY_EXE) ./python_lib.py)
# 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 @@ endif
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..."

@ -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
#

Loading…
Cancel
Save