Files
asterisk/formats/Makefile
Mark Spencer a34c3d3484 Version 0.1.1 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-12-12 08:49:19 +00:00

33 lines
660 B
Makefile
Executable File

#
# Asterisk -- A telephony toolkit for Linux.
#
# Makefile for file format modules
#
# Copyright (C) 1999, Mark Spencer
#
# Mark Spencer <markster@linux-support.net>
#
# 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 format_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
install: all
for x in $(FORMAT_LIBS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done