--- apps/py_sems/Makefile~ 2008-04-23 22:15:21.000000000 +0400
+++ apps/py_sems/Makefile 2009-04-07 23:48:00.725992047 +0400
@@ -21,15 +21,12 @@
# flite text to speech
#
# uncomment the next lines if you want to have flite text-to-speech (ivr.say("Hello there"); )
-FLITE_DIR = /usr/src/flite-1.2-release
ALT_FLITE_DIR = /usr/include/flite
-PY_SEMS_TTS_module_ldflags = -L$(FLITE_DIR)/lib -lm -lflite_cmu_us_kal -lflite_usenglish \
+PY_SEMS_TTS_module_ldflags = -lm -lflite_cmu_us_kal -lflite_usenglish \
-lflite_cmulex -lflite
-PY_SEMS_TTS_module_cflags = -I$(FLITE_DIR)/include -I$(ALT_FLITE_DIR) -DPY_SEMS_WITH_TTS
+PY_SEMS_TTS_module_cflags = -I$(ALT_FLITE_DIR) -DPY_SEMS_WITH_TTS
endif
-LOCAL_INCLUDES = -I$(FLITE_DIR)/lang/usenglish
-
# On FreeBSD, remove the following flags: -ldl -lpthread
module_ldflags = -ldl -lpthread -lutil -lm \
$(PYTHON_module_ldflags) \
--- apps/ivr/Makefile~ 2008-04-13 15:51:02.000000000 +0400
+++ apps/ivr/Makefile 2009-04-07 23:50:55.087991178 +0400
@@ -25,16 +25,14 @@
#
# flite text to speech
#
-IVR_TTS_module_ldflags = -L$(FLITE_DIR)/lib -lm -lflite_cmu_us_kal -lflite_usenglish \
+IVR_TTS_module_ldflags = -lm -lflite_cmu_us_kal -lflite_usenglish \
-lflite_cmulex -lflite
-IVR_TTS_module_cflags = -I$(FLITE_DIR)/include -I$(ALT_FLITE_DIR) -DIVR_WITH_TTS
+IVR_TTS_module_cflags = -I$(ALT_FLITE_DIR) -DIVR_WITH_TTS
else
FLITE_DIR =
ALT_FLITE_DIR =
endif
-LOCAL_INCLUDES = -I$(FLITE_DIR)/lang/usenglish
-
module_ldflags = -lutil \
$(PYTHON_module_ldflags) \
$(IVR_TTS_module_ldflags)