[commit] r4563 - in freeswitch/trunk/src/mod: asr_tts/mod_cepstral endpoints/mod_portaudio
Author: brian Date: Mon Mar 12 01:13:43 2007 New Revision: 4563 Modified: freeswitch/trunk/src/mod/asr_tts/mod_cepstral/Makefile freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile Log: OSARCH isn't set right but this will build now. Modified: freeswitch/trunk/src/mod/asr_tts/mod_cepstral/Makefile ============================================================================== --- freeswitch/trunk/src/mod/asr_tts/mod_cepstral/Makefile (original) +++ freeswitch/trunk/src/mod/asr_tts/mod_cepstral/Makefile Mon Mar 12 01:13:43 2007 @@ -1,10 +1,9 @@ # define these targets in your makefile if you wish # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean: - +OSARCH=$(shell uname -s) # and define these variables to imapact your build ifeq ($(OSARCH),Darwin) -LOCAL_CFLAGS += -I/Library/Frameworks/swift.framework/Versions/4/Headers LOCAL_LDFLAGS += -framework swift else LOCAL_LDFLAGS += -L/opt/swift/lib -lswift -lceplex_us -lceplang_en -lm Modified: freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c ============================================================================== --- freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c (original) +++ freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c Mon Mar 12 01:13:43 2007 @@ -38,8 +38,11 @@ #ifdef __ICC #pragma warning (disable:188) #endif - +#ifdef MACOSX +#include <swift/swift.h> +#else #include <swift.h> +#endif #include <switch.h> #define MY_BUF_LEN 1024 * 32 Modified: freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile (original) +++ freeswitch/trunk/src/mod/endpoints/mod_portaudio/Makefile Mon Mar 12 01:13:43 2007 @@ -1,6 +1,6 @@ # define these targets in your makefile if you wish # local_all local_depend local_clean depend_install local_install local_distclean local_extraclean: - +OSARCH=$(shell uname -s) # and define these variables to imapact your build LOCAL_CFLAGS=-I. -I$(BASE)/libs/portaudio/include LOCAL_LDFLAGS=$(BASE)/libs/portaudio/lib/libportaudio.la
participants (1)
-
Freeswitch SVN