From f237713cabd6242e469f8e06f5289c706361fbaf Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sun, 5 Dec 1999 07:28:29 +0000 Subject: Version 0.1.0 from FTP git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- formats/Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 formats/Makefile (limited to 'formats/Makefile') diff --git a/formats/Makefile b/formats/Makefile new file mode 100755 index 000000000..e9872c613 --- /dev/null +++ b/formats/Makefile @@ -0,0 +1,35 @@ +# +# Asterisk -- A telephony toolkit for Linux. +# +# Makefile for file format modules +# +# Copyright (C) 1999, Adtran Inc. and Linux Support Services, LLC +# +# Mark Spencer +# +# This program is free software, distributed under the terms of +# the GNU General Public License +# + +FORMAT_LIBS=format_g723.so format_wav.so format_mp3.so # format_wav_gsm.so + +GSMLIB=../codecs/gsm/lib/libgsm.a + +CFLAGS+= + +all: $(FORMAT_LIBS) + +clean: + rm -f *.so *.o + +%.so : %.o + $(CC) -shared -Xlinker -x -o $@ $< + +format_wav.so : format_wav.o + $(CC) -shared -Xlinker -x -o $@ $< -laudiofile + +format_wav_gsm.so : format_wav_gsm.o + $(CC) -shared -Xlinker -x -o $@ $< $(LIBGSM) + +install: all + for x in $(FORMAT_LIBS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done -- cgit v1.2.3