diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-20 00:25:54 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-20 00:25:54 +0000 |
commit | c8ececdd93db8f3e8c94f86e63e8bc78d59cb5ee (patch) | |
tree | afb1124fc4c4860c4b1c941988dd09de3458cd18 /formats/Makefile | |
parent | d028de8bf96690ef82dfdac418049d3f052e5bd3 (diff) |
add OGG/Vorbis file format support (bug #4296)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6173 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats/Makefile')
-rwxr-xr-x | formats/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/formats/Makefile b/formats/Makefile index cbf43f899..ea0efee80 100755 --- a/formats/Makefile +++ b/formats/Makefile @@ -21,6 +21,11 @@ FORMAT_LIBS+=format_jpeg.so # FORMAT_LIBS+=format_g723.so +# +# OGG/Vorbis format +# +FORMAT_LIBS+=$(shell if [ -f $(CROSS_COMPILE_TARGET)/usr/include/vorbis/codec.h ]; then echo "format_ogg_vorbis.so" ; fi) + GSMLIB=../codecs/gsm/lib/libgsm.a CFLAGS+=-fPIC @@ -40,6 +45,9 @@ endif format_mp3.so : format_mp3.o $(CC) $(SOLINK) -o $@ $< -lm +format_ogg_vorbis.so : format_ogg_vorbis.o + $(CC) $(SOLINK) -o $@ $< -logg -lvorbis -lvorbisenc -lm + install: all for x in $(FORMAT_LIBS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done |