[MPlayer-dev-eng] [PATCH] ar vs $(AR)

Björn Sandell biorn at dce.chalmers.se
Fri May 10 00:06:24 CEST 2002


Some Makefiles uses ar instead of $(AR), let them all be equal.

Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se
-------------- next part --------------
Index: Gui/bitmap/Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/bitmap/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Gui/bitmap/Makefile 25 Aug 2001 21:04:27 -0000      1.1
+++ Gui/bitmap/Makefile 9 May 2002 22:12:41 -0000
@@ -16,7 +16,7 @@
           make -C jpeg/jpeg-6b libjpeg.a )
 #       ( make -C jpeg/jpeg-6b libjpeg.a && mv jpeg/jpeg-6b/libjpeg.a "$(JPEGLIB)" ) )
        $(MAKE) $(OBJS)
-       ar rc libbitmap.a $(OBJS) jpeg/jpeg-6b/*.o
+       $(AR) rc libbitmap.a $(OBJS) jpeg/jpeg-6b/*.o
        ranlib libbitmap.a
        mv libbitmap.a ../libs
 
Index: Gui/Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Gui/Makefile        6 Oct 2001 16:20:12 -0000       1.6
+++ Gui/Makefile        9 May 2002 22:12:41 -0000
@@ -28,7 +28,7 @@
 $(LIB):        .depend $(OBJS)
        $(MAKE) -C mplayer
        rm -f $(LIB)
-       ar rc $(LIB) $(OBJS) $(MPLAYEROBJS)
+       $(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS)
 
 all:   $(LIB)
 
Index: libmpdvdkit/Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdvdkit/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- libmpdvdkit/Makefile        1 May 2002 23:44:17 -0000       1.5
+++ libmpdvdkit/Makefile        9 May 2002 22:12:42 -0000
@@ -30,7 +30,7 @@
 default: $(LIB).a
 
 $(LIB).a: $(OBJS)
-       ar rc $(LIB).a $(OBJS)
+       $(AR) rc $(LIB).a $(OBJS)
 
 $(LIB).so: $(OBJS)
        $(CC) -o $(LIB).so -shared -rdynamic $(OBJS)


More information about the MPlayer-dev-eng mailing list