[Mplayer-cvslog] CVS: main/libavcodec Makefile,1.4,1.5

Jürgen Keil jkeil at mplayer.dev.hu
Thu Jul 12 18:20:21 CEST 2001


Update of /cvsroot/mplayer/main/libavcodec
In directory mplayer:/var/tmp.root/cvs-serv24081

Modified Files:
	Makefile 
Log Message:
Fix problem for dependacny generation for asm files.


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libavcodec/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Makefile	12 Jul 2001 15:11:34 -0000	1.4
+++ Makefile	12 Jul 2001 16:20:19 -0000	1.5
@@ -11,26 +11,28 @@
       mpegaudio.o ac3enc.o mjpegenc.o resample.o dsputil.o \
       motion_est.o imgconvert.o imgresample.o msmpeg4.o \
       mpeg12.o h263dec.o mpegaudiodec.o
+ASM_OBJS=
 
 # i386 specific stuff
 ifeq ($(TARGET_MMX),yes)
-OBJS += i386/fdct_mmx.o i386/fdctdata.o i386/sad_mmx.o
+OBJS += i386/fdctdata.o 
+ASM_OBJS += i386/fdct_mmx.o i386/sad_mmx.o
 endif
 
 ifeq ($(TARGET_MMX2),yes)
-OBJS += i386/sad_mmx2.o
+ASM_OBJS += i386/sad_mmx2.o
 endif
 
-SRCS = $(OBJS:.o=.c)
+SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
 
 LIB= libavcodec.a
 TESTS= imgresample-test dct-test
 
 all: $(LIB) # apiexample
 
-$(LIB): $(OBJS)
+$(LIB): $(OBJS) $(ASM_OBJS)
 	rm -f $@
-	ar rcs $@ $(OBJS)
+	ar rcs $@ $(OBJS) $(ASM_OBJS)
 
 dsputil.o: dsputil.c dsputil.h
 




More information about the MPlayer-cvslog mailing list