[asterisk-commits] russell: branch 1.2 r51410 - in
/branches/1.2/codecs: Makefile codec_zap.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Jan 22 12:39:31 MST 2007
Author: russell
Date: Mon Jan 22 13:39:30 2007
New Revision: 51410
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51410
Log:
Merge codec_zap support for the transcoder card. This is a standalone codec
module so it will not affect anything else.
Added:
branches/1.2/codecs/codec_zap.c
- copied unchanged from r51409, team/mogorman/asterisk-transcoder-1.2/codecs/codec_zap.c
Modified:
branches/1.2/codecs/Makefile
Modified: branches/1.2/codecs/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.2/codecs/Makefile?view=diff&rev=51410&r1=51409&r2=51410
==============================================================================
--- branches/1.2/codecs/Makefile (original)
+++ branches/1.2/codecs/Makefile Mon Jan 22 13:39:30 2007
@@ -27,6 +27,19 @@
MODG723+=codec_g723_1b.so
LIBG723B=g723.1b/libg723b.a
endif
+
+ifndef WITHOUT_ZAPTEL
+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/zaptel.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/zaptel.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/pkg/include/zaptel.h),)
+ ifeq (${OSARCH},NetBSD)
+ SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/pkg/lib
+ endif
+ ifeq (${OSARCH},FreeBSD)
+ SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/local/lib
+ endif
+ CODECS+=codec_zap.so
+endif
+endif # WITHOUT_ZAPTEL
+
UI_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/speex.h)
UIS_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/speex/speex.h)
More information about the asterisk-commits
mailing list