comparison Makefile @ 33258:6170442680ac

Add code to generate and compare all object files MPlayer uses. Useful to verify that cosmetic changes really are only cosmetic (note that there will be false positives, e.g. due to debug symbols or line numbers from asserts and similar).
author reimar
date Sun, 01 May 2011 17:10:02 +0000
parents 881d0b46bc62
children 2672587086ad
comparison
equal deleted inserted replaced
33257:40b298f9dc77 33258:6170442680ac
818 $(HOST_CC) -O -DCODECS2HTML -I. -Iffmpeg -o $@ $< 818 $(HOST_CC) -O -DCODECS2HTML -I. -Iffmpeg -o $@ $<
819 819
820 codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf 820 codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf
821 ./$^ > $@ 821 ./$^ > $@
822 822
823 checksums: $(MPLAYER_DEPS) $(MENCODER_DEPS) mplayer$(EXESUF) mencoder$(EXESUF)
824 md5sum $^ > checksums
825
826 check_checksums: $(MPLAYER_DEPS) $(MENCODER_DEPS) mplayer$(EXESUF) mencoder$(EXESUF)
827 md5sum -c checksums
828
823 # ./configure must be rerun if it changed 829 # ./configure must be rerun if it changed
824 config.mak: configure 830 config.mak: configure
825 @echo "############################################################" 831 @echo "############################################################"
826 @echo "####### Please run ./configure again - it's changed! #######" 832 @echo "####### Please run ./configure again - it's changed! #######"
827 @echo "############################################################" 833 @echo "############################################################"
1110 1116
1111 1117
1112 -include $(DEP_FILES) $(DRIVER_DEP_FILES) $(TESTS_DEP_FILES) $(TOOLS_DEP_FILES) $(DHAHELPER_DEPS_FILES) 1118 -include $(DEP_FILES) $(DRIVER_DEP_FILES) $(TESTS_DEP_FILES) $(TOOLS_DEP_FILES) $(DHAHELPER_DEPS_FILES)
1113 1119
1114 .PHONY: all doxygen *install* *tools drivers dhahelper* 1120 .PHONY: all doxygen *install* *tools drivers dhahelper*
1115 .PHONY: checkheaders *clean tests 1121 .PHONY: checkheaders *clean tests check_checksums
1116 1122
1117 # Disable suffix rules. Most of the builtin rules are suffix rules, 1123 # Disable suffix rules. Most of the builtin rules are suffix rules,
1118 # so this saves some time on slow systems. 1124 # so this saves some time on slow systems.
1119 .SUFFIXES: 1125 .SUFFIXES: