diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-22 19:39:30 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-22 19:39:30 +0000 |
commit | 20c61e2de731f3d945ad34626c11a38a394accf7 (patch) | |
tree | b4a88148e80200f8c8a0e976bc7cb3f6676aaa41 /codecs/Makefile | |
parent | 2e0d713af224e4a4f9ee23fe5a2211a2c5135e76 (diff) |
Merge codec_zap support for the transcoder card. This is a standalone codec
module so it will not affect anything else.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@51410 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/Makefile')
-rw-r--r-- | codecs/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/codecs/Makefile b/codecs/Makefile index d1feb8a54..8fa454109 100644 --- a/codecs/Makefile +++ b/codecs/Makefile @@ -28,6 +28,19 @@ ifneq ($(wildcard g723.1b/coder2.c),) 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) ULI_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/speex.h) |