[Mplayer-cvslog] CVS: main/libac3 Makefile,1.10,1.11

Nick Kurshev nick at mplayerhq.banki.hu
Tue Jul 3 09:50:55 CEST 2001


Update of /cvsroot/mplayer/main/libac3
In directory mplayerhq:/var/tmp.root/cvs-serv13910/main/libac3

Modified Files:
	Makefile 
Log Message:
Portability and old binutils support

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Makefile	26 Jun 2001 23:15:57 -0000	1.10
+++ Makefile	3 Jul 2001 07:50:53 -0000	1.11
@@ -1,13 +1,35 @@
 
 LIBNAME = libac3.a
 
-include config.mak
+include ../config.mak
 
-SRCS    = bit_allocate.c bitstream.c coeff.c crc.c debug.c decode.c dither.c exponent.c imdct.c parse.c rematrix.c sanity_check.c srfft.c stats.c $(OPTIONAL_SRCS)
-OBJS    = bit_allocate.o bitstream.o coeff.o crc.o debug.o decode.o dither.o exponent.o imdct.o parse.o rematrix.o sanity_check.o srfft.o stats.o $(OPTIONAL_OBJS)
+SRCS    = bit_allocate.c bitstream.c coeff.c crc.c debug.c decode.c dither.c exponent.c imdct.c parse.c rematrix.c sanity_check.c srfft.c stats.c
+OBJS    = bit_allocate.o bitstream.o coeff.o crc.o debug.o decode.o dither.o exponent.o imdct.o parse.o rematrix.o sanity_check.o srfft.o stats.o
 # OBJS	= $(SRCS:.c=.o)
 CFLAGS  = $(OPTFLAGS) -I. -I.. $(EXTRA_INC) -DHAVE_CONFIG_H
 
+ifeq ($(TARGET_ARCH_X86), yes)
+ifeq ($(TARGET_SSE),yes)
+SRCS += downmix/downmix_kni.S
+OBJS += downmix/downmix_kni.o
+else
+ifeq ($(TARGET_3DNOW),yes)
+SRCS += downmix/downmix_3dnow.S
+OBJS += downmix/downmix_3dnow.o
+else
+ifeq ($(BINUTILS),yes)
+SRCS +=downmix/downmix_i386.S
+OBJS +=downmix/downmix_i386.o
+else
+SRCS +=downmix/downmix.c
+OBJS +=downmix/downmix.o
+endif
+endif
+endif
+else
+SRCS +=downmix/downmix.c
+OBJS +=downmix/downmix.o
+endif
 .SUFFIXES: .c .o
 
 # .PHONY: all clean


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list