2 # Asterisk -- A telephony toolkit for Linux.
4 # Makefile for file format modules
6 # Copyright (C) 1999, Mark Spencer
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 format_gsm.so format_vox.so format_pcm.so
15 FORMAT_LIBS+=format_jpeg.so
17 GSMLIB=../codecs/gsm/lib/libgsm.a
27 $(CC) -shared -Xlinker -x -o $@ $<
29 format_mp3.so : format_mp3.o
30 $(CC) -shared -Xlinker -x -o $@ $< -lm
33 for x in $(FORMAT_LIBS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done