comparison Makefile @ 19283:f3866a8ed333

Change toplevel Makefile to invoke subdirectory Makefiles unconditionally by default. Ensures that dependencies outside the subdirectory (such as header dependencies recorded by "make depend") aren't ignored.
author uau
date Tue, 01 Aug 2006 14:44:07 +0000
parents 64d82a45a05d
children 20938447bb55
comparison
equal deleted inserted replaced
19282:5ff55ce59ab4 19283:f3866a8ed333
539 # for the 'library' directories under main dir, in order to cause 539 # for the 'library' directories under main dir, in order to cause
540 # the build process to recursively descend into them if something 540 # the build process to recursively descend into them if something
541 # has changed. ideally this will be replaced with a single 541 # has changed. ideally this will be replaced with a single
542 # nonrecursive makefile for the whole project. 542 # nonrecursive makefile for the whole project.
543 # 543 #
544 544 # Now all directories are recursed by default because these rules do not
545 libvo/libvo.a: $(wildcard libvo/*.[ch]) 545 # consider dependencies on files in other directories, while the recursively
546 libao2/libao2.a: $(wildcard libao2/*.[ch]) 546 # invoked Makefiles do. Conditional recursion only to the directories with
547 osdep/libosdep.a: $(wildcard osdep/*.[ch]) 547 # changed files can be enabled by creating a file named ".norecurse" and
548 input/libinput.a: $(wildcard input/*.[ch]) 548 # optionally giving it a timestamp in the past. Directories whose .a files
549 549 # are newer than the timestamp and newer than other files in the directory
550 libmenu/libmenu.a: $(wildcard libmenu/*.[ch]) 550 # will not be recursed.
551 libaf/libaf.a: $(wildcard libaf/*.[ch]) 551 .norecurse:
552 libmpdvdkit2/libmpdvdkit.a: $(wildcard libmpdvdkit2/*.[ch]) 552
553 553 libvo/libvo.a: .norecurse $(wildcard libvo/*.[ch])
554 libmpdemux/libmpdemux.a: $(wildcard libmpdemux/*.[ch] libmpdemux/*/*.[ch]) 554 libao2/libao2.a: .norecurse $(wildcard libao2/*.[ch])
555 stream/stream.a: $(wildcard stream/*.[ch] stream/*/*.[ch]) 555 osdep/libosdep.a: .norecurse $(wildcard osdep/*.[ch])
556 libmpcodecs/libmpcodecs.a: $(wildcard libmpcodecs/*.[ch]) $(wildcard libmpcodecs/native/*.[ch]) 556 input/libinput.a: .norecurse $(wildcard input/*.[ch])
557 libmpcodecs/libmpencoders.a: $(wildcard libmpcodecs/*.[ch]) 557
558 558 libmenu/libmenu.a: .norecurse $(wildcard libmenu/*.[ch])
559 libavutil/libavutil.a: $(wildcard libavutil/*.[ch]) 559 libaf/libaf.a: .norecurse $(wildcard libaf/*.[ch])
560 libavcodec/libavcodec.a: $(wildcard libavcodec/*.[ch] libavcodec/*/*.[chS]) 560 libmpdvdkit2/libmpdvdkit.a: .norecurse $(wildcard libmpdvdkit2/*.[ch])
561 libavformat/libavformat.a: $(wildcard libavformat/*.[ch]) 561
562 libswscale/libswscale.a: $(wildcard libswscale/*.[ch]) 562 libmpdemux/libmpdemux.a: .norecurse $(wildcard libmpdemux/*.[ch] libmpdemux/*/*.[ch])
563 563 stream/stream.a: .norecurse $(wildcard stream/*.[ch] stream/*/*.[ch])
564 libmpeg2/libmpeg2.a: $(wildcard libmpeg2/*.[ch]) 564 libmpcodecs/libmpcodecs.a: .norecurse $(wildcard libmpcodecs/*.[ch]) $(wildcard libmpcodecs/native/*.[ch])
565 liba52/liba52.a: $(wildcard liba52/*.[ch]) 565 libmpcodecs/libmpencoders.a: .norecurse $(wildcard libmpcodecs/*.[ch])
566 mp3lib/libMP3.a: $(wildcard mp3lib/*.[ch]) 566
567 libfaad2/libfaad2.a: $(wildcard libfaad2/*.[ch] libfaad2/*/*.[ch]) 567 libavutil/libavutil.a: .norecurse $(wildcard libavutil/*.[ch])
568 568 libavcodec/libavcodec.a: .norecurse $(wildcard libavcodec/*.[ch] libavcodec/*/*.[chS])
569 loader/libloader.a: $(wildcard loader/*.[chSs]) 569 libavformat/libavformat.a: .norecurse $(wildcard libavformat/*.[ch])
570 loader/dmo/libDMO_Filter.a: $(wildcard loader/dmo/*.[ch]) 570 libswscale/libswscale.a: .norecurse $(wildcard libswscale/*.[ch])
571 loader/dshow/libDS_Filter.a: $(wildcard loader/dshow/*.[ch]) 571
572 572 libmpeg2/libmpeg2.a: .norecurse $(wildcard libmpeg2/*.[ch])
573 libdha/libdha.so: $(wildcard libdha/*.[ch]) 573 liba52/liba52.a: .norecurse $(wildcard liba52/*.[ch])
574 vidix/libvidix.a: $(wildcard vidix/*.[ch]) 574 mp3lib/libMP3.a: .norecurse $(wildcard mp3lib/*.[ch])
575 Gui/libgui.a: $(wildcard Gui/*.[ch] Gui/*/*.[ch] Gui/*/*/*.[ch]) 575 libfaad2/libfaad2.a: .norecurse $(wildcard libfaad2/*.[ch] libfaad2/*/*.[ch])
576 576
577 libass/libass.a: $(wildcard libass/*.[ch]) 577 loader/libloader.a: .norecurse $(wildcard loader/*.[chSs])
578 loader/dmo/libDMO_Filter.a: .norecurse $(wildcard loader/dmo/*.[ch])
579 loader/dshow/libDS_Filter.a: .norecurse $(wildcard loader/dshow/*.[ch])
580
581 libdha/libdha.so: .norecurse $(wildcard libdha/*.[ch])
582 vidix/libvidix.a: .norecurse $(wildcard vidix/*.[ch])
583 Gui/libgui.a: .norecurse $(wildcard Gui/*.[ch] Gui/*/*.[ch] Gui/*/*/*.[ch])
584
585 libass/libass.a: .norecurse $(wildcard libass/*.[ch])
578 586
579 # 587 #
580 # include dependency files if they exist 588 # include dependency files if they exist
581 # 589 #
582 ifneq ($(wildcard .depend),) 590 ifneq ($(wildcard .depend),)