[Freeswitch-svn] [commit] r2934 - in freeswitch/trunk/src/mod/codecs: mod_g723_1 mod_g729
Freeswitch SVN
mikej at freeswitch.org
Sun Oct 1 23:00:37 EDT 2006
Author: mikej
Date: Sun Oct 1 23:00:37 2006
New Revision: 2934
Modified:
freeswitch/trunk/src/mod/codecs/mod_g723_1/Makefile
freeswitch/trunk/src/mod/codecs/mod_g729/Makefile
Log:
enable passthrough build of g732_1 and g729 codecs
Modified: freeswitch/trunk/src/mod/codecs/mod_g723_1/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_g723_1/Makefile (original)
+++ freeswitch/trunk/src/mod/codecs/mod_g723_1/Makefile Sun Oct 1 23:00:37 2006
@@ -1,5 +1,12 @@
+ifeq ($(shell ls $(BASE)/libs/libg723_1),$(BASE)/libs/libg723_1)
+
CFLAGS += -I$(PREFIX)/include/g723
LDFLAGS +=-lg723
+
+else
+
+CFLAGS += -DG723_PASSTHROUGH
+endif
all: $(MODNAME).$(DYNAMIC_LIB_EXTEN)
Modified: freeswitch/trunk/src/mod/codecs/mod_g729/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_g729/Makefile (original)
+++ freeswitch/trunk/src/mod/codecs/mod_g729/Makefile Sun Oct 1 23:00:37 2006
@@ -1,5 +1,13 @@
+ifeq ($(shell ls $(BASE)/libs/libg729),$(BASE)/libs/libg729)
+
CFLAGS += -I$(PREFIX)/include/g729
LDFLAGS +=-lg729
+
+else
+
+CFLAGS += -DG729_PASSTHROUGH
+
+endif
all: $(MODNAME).$(DYNAMIC_LIB_EXTEN)
More information about the Freeswitch-svn
mailing list