comparison Makefile @ 22949:6613c5397aba

Remove the .norecurse hack. It bloats the Makefile, adds maintenance burden, likely has no users and most of all does not work correctly anyway.
author diego
date Wed, 11 Apr 2007 07:16:04 +0000
parents 23e746c5c15c
children f9a5e58f9f40
comparison
equal deleted inserted replaced
22948:0f9bd35f971a 22949:6613c5397aba
357 mplayer.o mencoder.o vobsub.o: version.h 357 mplayer.o mencoder.o vobsub.o: version.h
358 358
359 # temporary measure to make sure help_mp.h is built. we desperately need correct deps! 359 # temporary measure to make sure help_mp.h is built. we desperately need correct deps!
360 $(MPLAYER_DEPS) $(MENCODER_DEPS): help_mp.h 360 $(MPLAYER_DEPS) $(MENCODER_DEPS): help_mp.h
361 361
362 #
363 # the following lines provide _partial_ dependency information
364 # for the 'library' directories under main dir, in order to cause
365 # the build process to recursively descend into them if something
366 # has changed. ideally this will be replaced with a single
367 # nonrecursive makefile for the whole project.
368 #
369 # Now all directories are recursed by default because these rules do not
370 # consider dependencies on files in other directories, while the recursively
371 # invoked Makefiles do. Conditional recursion only to the directories with
372 # changed files can be enabled by creating a file named ".norecurse" and
373 # optionally giving it a timestamp in the past. Directories whose .a files
374 # are newer than the timestamp and newer than other files in the directory
375 # will not be recursed.
376 .norecurse:
377
378 libvo/libvo.a: .norecurse $(wildcard libvo/*.[ch])
379 libvo/libosd.a: .norecurse $(wildcard libvo/*.[ch])
380 libao2/libao2.a: .norecurse $(wildcard libao2/*.[ch])
381 osdep/libosdep.a: .norecurse $(wildcard osdep/*.[ch])
382 input/libinput.a: .norecurse $(wildcard input/*.[ch])
383
384 libmenu/libmenu.a: .norecurse $(wildcard libmenu/*.[ch])
385 libaf/libaf.a: .norecurse $(wildcard libaf/*.[ch])
386 dvdread/libdvdread.a: .norecurse $(wildcard dvdread/*.[ch])
387 libdvdcss/libdvdcss.a: .norecurse $(wildcard libdvdcss/*.[ch])
388
389 libmpdemux/libmpdemux.a: .norecurse $(wildcard libmpdemux/*.[ch])
390 libmpdemux/libmpmux.a: .norecurse $(wildcard libmpdemux/*.[ch])
391 stream/stream.a: .norecurse $(wildcard stream/*.[ch] stream/*/*.[ch])
392 libmpcodecs/libmpcodecs.a: .norecurse $(wildcard libmpcodecs/*.[ch]) $(wildcard libmpcodecs/native/*.[ch])
393 libmpcodecs/libmpencoders.a: .norecurse $(wildcard libmpcodecs/*.[ch])
394
395 libavutil/libavutil.a: .norecurse $(wildcard libavutil/*.[ch])
396 libavcodec/libavcodec.a: .norecurse $(wildcard libavcodec/*.[ch] libavcodec/*/*.[chS])
397 libavformat/libavformat.a: .norecurse $(wildcard libavformat/*.[ch])
398 libswscale/libswscale.a: .norecurse $(wildcard libswscale/*.[ch])
399
400 libmpeg2/libmpeg2.a: .norecurse $(wildcard libmpeg2/*.[ch])
401 liba52/liba52.a: .norecurse $(wildcard liba52/*.[ch])
402 mp3lib/libmp3.a: .norecurse $(wildcard mp3lib/*.[ch])
403 libfaad2/libfaad2.a: .norecurse $(wildcard libfaad2/*.[ch] libfaad2/*/*.[ch])
404
405 loader/libloader.a: .norecurse $(wildcard loader/*.[chSs])
406 vidix/libvidix.a: .norecurse $(wildcard vidix/*.[ch])
407 Gui/libgui.a: .norecurse $(wildcard Gui/*.[ch] Gui/*/*.[ch] Gui/*/*/*.[ch])
408
409 libass/libass.a: .norecurse $(wildcard libass/*.[ch])
410
411 -include .depend 362 -include .depend
412 363
413 .PHONY: all install* uninstall clean distclean strip dep depend 364 .PHONY: all install* uninstall clean distclean strip dep depend
414 .PHONY: doxygen doxygen_clean 365 .PHONY: doxygen doxygen_clean