comparison Makefile @ 18015:86bf841af3e7

further fixes..
author rfelker
date Sun, 02 Apr 2006 07:30:40 +0000
parents 0d380174f01f
children cddd588f8d8a
comparison
equal deleted inserted replaced
18014:0d380174f01f 18015:86bf841af3e7
521 strip: 521 strip:
522 strip -s $(ALL_PRG) 522 strip -s $(ALL_PRG)
523 523
524 dep: depend 524 dep: depend
525 525
526 depend: help_mp.h 526 depend:
527 ./version.sh `$(CC) -dumpversion`
528 $(CC) -MM $(CFLAGS) -DCODECS2HTML mplayer.c mencoder.c $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend 527 $(CC) -MM $(CFLAGS) -DCODECS2HTML mplayer.c mencoder.c $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend
529 @for a in $(PARTS); do $(MAKE) -C $$a dep; done 528 @for a in $(PARTS); do $(MAKE) -C $$a dep; done
530 529
531 # ./configure must be run if it changed in CVS 530 # ./configure must be run if it changed in CVS
532 config.h: configure 531 config.h: configure
533 @echo "############################################################" 532 @echo "############################################################"
534 @echo "####### Please run ./configure again - it's changed! #######" 533 @echo "####### Please run ./configure again - it's changed! #######"
535 @echo "############################################################" 534 @echo "############################################################"
536
537 # do not rebuild after cvs commits if .developer file is present!
538 535
539 # rebuild at every config.h/config.mak change: 536 # rebuild at every config.h/config.mak change:
540 version.h: 537 version.h:
541 ./version.sh `$(CC) -dumpversion` 538 ./version.sh `$(CC) -dumpversion`
542 539
568 version.h: config.h config.mak Makefile 565 version.h: config.h config.mak Makefile
569 566
570 # explicit dependencies to force version.h to be built even if .depend is missing 567 # explicit dependencies to force version.h to be built even if .depend is missing
571 mplayer.o mencoder.o vobsub.o: version.h 568 mplayer.o mencoder.o vobsub.o: version.h
572 569
570 # temporary measure to make sure help_mp.h is built. we desperately need correct deps!
571 $(MPLAYER_DEP) $(MENCODER_DEP): help_mp.h
572
573 # 573 #
574 # the following lines provide _partial_ dependency information 574 # the following lines provide _partial_ dependency information
575 # for the 'library' directories under main dir, in order to cause 575 # for the 'library' directories under main dir, in order to cause
576 # the build process to recursively descend into them if something 576 # the build process to recursively descend into them if something
577 # has changed. ideally this will be replaced with a single 577 # has changed. ideally this will be replaced with a single