From 509765aef52f3ce306a114832ab885ad85522d2e Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 16 Dec 1999 13:44:30 +0000 Subject: Version 0.1.1 from FTP git-svn-id: http://svn.digium.com/svn/asterisk/trunk@139 f38db490-d61c-443f-a65b-d21fe96a405b --- codecs/mp3/Makefile | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 codecs/mp3/Makefile (limited to 'codecs/mp3') diff --git a/codecs/mp3/Makefile b/codecs/mp3/Makefile new file mode 100755 index 000000000..44ebc39d1 --- /dev/null +++ b/codecs/mp3/Makefile @@ -0,0 +1,37 @@ +# +# LMC section + +CFLAGS+= -I../include -Iinclude -O6 -funroll-loops -finline-functions -Wall -Wno-missing-prototypes -Wno-missing-declarations -g +RANLIB=ranlib + +# the XING decoder objs and dependencies: +# This is kinda nasty, since there's C, C++, and asm, oh my! +# of course, each needs different compilation methods. grr. +XINGOBJX86 = src/x86gas.o + +XINGOBJS = src/cdct.o src/cupl3.o \ + src/hwin.o src/iup.o src/l3init.o \ + src/msis.o src/wavep.o src/csbt.o \ + src/cwinm.o src/icdct.o src/mdct.o \ + src/uph.o src/cup.o src/dec8.o \ + src/isbt.o src/l3dq.o src/mhead.o \ + src/upsf.o src/iwinm.o + +LIBMP3=libmp3.a +ARFLAGS=cr + +XINGLMCOBJC += $(shell if uname -m | grep -q i.86; then echo src/x86gas.o; fi) + +#assembly lang code, if we need it + +XINGLMCOBJ = $(XINGOBJS) + +all: $(LIBMP3) + +$(LIBMP3): $(XINGOBJS) + $(AR) $(ARFLAGS) $(LIBMP3) $(XINGLMCOBJ) + $(RANLIB) $(LIBMP3) + +clean: + rm -f $(XINGOBJS) + rm -f $(LIBMP3) -- cgit v1.2.3