2 # Asterisk -- A telephony toolkit for Linux.
4 # Makefile for file format modules
6 # Copyright (C) 1999, Adtran Inc. and Linux Support Services, LLC
8 # Mark Spencer <markster@linux-support.net>
10 # This program is free software, distributed under the terms of
11 # the GNU General Public License
14 FORMAT_LIBS=format_g723.so format_wav.so format_mp3.so # format_wav_gsm.so
16 GSMLIB=../codecs/gsm/lib/libgsm.a
26 $(CC) -shared -Xlinker -x -o $@ $<
28 format_wav.so : format_wav.o
29 $(CC) -shared -Xlinker -x -o $@ $< -laudiofile
31 format_wav_gsm.so : format_wav_gsm.o
32 $(CC) -shared -Xlinker -x -o $@ $< $(LIBGSM)
35 for x in $(FORMAT_LIBS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done