[Mplayer-cvslog] CVS: main Makefile,1.12,1.13

GEREOFFY arpi_esp at users.sourceforge.net
Sun Apr 15 00:27:52 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv11346

Modified Files:
	Makefile 
Log Message:
timestamping - automatic rebuild after CVS updates or config changes

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** Makefile	2001/04/07 21:27:57	1.12
--- Makefile	2001/04/14 22:27:49	1.13
***************
*** 65,81 ****
  	$(MAKE) -C encore
  
! $(PRG):	.depend mplayer.o $(OBJS) loader/libloader.a loader/DirectShow/libDS_Filter.a libmpeg2/libmpeg2.a opendivx/libdecore.a $(COMMONLIBS) encore/libencore.a
  	$(CC) $(CFLAGS) -o $(PRG) mplayer.o $(OBJS) $(XMM_LIBS) $(LIRC_LIBS) $(A_LIBS) -lm $(TERMCAP_LIB) -Lloader -lloader -Lloader/DirectShow -lDS_Filter -ldl -Llibmpeg2 -lmpeg2 -Lopendivx -ldecore $(VO_LIBS) -Lencore -lencore -lpthread -lstdc++
  
! $(PRG_HQ):	.depend mplayerHQ.o $(OBJS) loader/libloader.a libmpeg2/libmpeg2.a opendivx/libdecore.a $(COMMONLIBS) encore/libencore.a
  	$(CC) $(CFLAGS) -o $(PRG_HQ) mplayerHQ.o $(OBJS) $(XMM_LIBS) $(LIRC_LIBS) $(A_LIBS) -lm $(TERMCAP_LIB) -Lloader -lloader -ldl -Llibmpeg2 -lmpeg2 -Lopendivx -ldecore $(VO_LIBS) -Lencore -lencore -lpthread
  
! $(PRG_AVIP):	.depend aviparse.o $(OBJS) loader/libloader.a $(COMMONLIBS)
  	$(CC) $(CFLAGS) -o $(PRG_AVIP) aviparse.o $(OBJS) $(A_LIBS) -lm $(TERMCAP_LIB) -Lloader -lloader -ldl $(VO_LIBS) -lpthread
  
! $(PRG_TV):	.depend tvision.o $(OBJS) $(COMMONLIBS)
  	$(CC) $(CFLAGS) -o $(PRG_TV) tvision.o $(OBJS) -lm $(TERMCAP_LIB) $(VO_LIBS)
  
! $(PRG_CFG):        codec-cfg.c codec-cfg.h
  	$(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DTESTING
  
--- 65,81 ----
  	$(MAKE) -C encore
  
! $(PRG):	version.h .depend mplayer.o $(OBJS) loader/libloader.a loader/DirectShow/libDS_Filter.a libmpeg2/libmpeg2.a opendivx/libdecore.a $(COMMONLIBS) encore/libencore.a
  	$(CC) $(CFLAGS) -o $(PRG) mplayer.o $(OBJS) $(XMM_LIBS) $(LIRC_LIBS) $(A_LIBS) -lm $(TERMCAP_LIB) -Lloader -lloader -Lloader/DirectShow -lDS_Filter -ldl -Llibmpeg2 -lmpeg2 -Lopendivx -ldecore $(VO_LIBS) -Lencore -lencore -lpthread -lstdc++
  
! $(PRG_HQ):	version.h .depend mplayerHQ.o $(OBJS) loader/libloader.a libmpeg2/libmpeg2.a opendivx/libdecore.a $(COMMONLIBS) encore/libencore.a
  	$(CC) $(CFLAGS) -o $(PRG_HQ) mplayerHQ.o $(OBJS) $(XMM_LIBS) $(LIRC_LIBS) $(A_LIBS) -lm $(TERMCAP_LIB) -Lloader -lloader -ldl -Llibmpeg2 -lmpeg2 -Lopendivx -ldecore $(VO_LIBS) -Lencore -lencore -lpthread
  
! $(PRG_AVIP):	version.h .depend aviparse.o $(OBJS) loader/libloader.a $(COMMONLIBS)
  	$(CC) $(CFLAGS) -o $(PRG_AVIP) aviparse.o $(OBJS) $(A_LIBS) -lm $(TERMCAP_LIB) -Lloader -lloader -ldl $(VO_LIBS) -lpthread
  
! $(PRG_TV):	version.h .depend tvision.o $(OBJS) $(COMMONLIBS)
  	$(CC) $(CFLAGS) -o $(PRG_TV) tvision.o $(OBJS) -lm $(TERMCAP_LIB) $(VO_LIBS)
  
! $(PRG_CFG):        version.h codec-cfg.c codec-cfg.h
  	$(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DTESTING
  
***************
*** 99,102 ****
--- 99,112 ----
  	makedepend -f- -- $(CFLAGS) -- mplayer.c mplayerHQ.c aviparse.c tvision.c $(SRCS) 1>.depend 2>/dev/null
  
+ # rebuild at every config.h/config.mak change:
+ version.h: config.h config.mak Makefile
+ 	$(MAKE) distclean
+ 	./version.sh
+ 
+ # rebuild at every CVS update:
+ ifneq ($(wildcard CVS/Entries),)
+ version.h: CVS/Entries
+ endif
+ 
  #
  # include dependency files if they exist
***************
*** 105,106 ****
--- 115,117 ----
  include .depend
  endif
+ 


_______________________________________________
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