[MPlayer-cvslog] r33345 - trunk/Makefile

reimar subversion at mplayerhq.hu
Sun May 1 19:10:03 CEST 2011


Author: reimar
Date: Sun May  1 19:10:02 2011
New Revision: 33345

Log:
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).

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Sun May  1 18:44:58 2011	(r33344)
+++ trunk/Makefile	Sun May  1 19:10:02 2011	(r33345)
@@ -820,6 +820,12 @@ codec-cfg$(EXESUF): codec-cfg.c codec-cf
 codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf
 	./$^ > $@
 
+checksums: $(MPLAYER_DEPS) $(MENCODER_DEPS) mplayer$(EXESUF) mencoder$(EXESUF)
+	md5sum $^ > checksums
+
+check_checksums: $(MPLAYER_DEPS) $(MENCODER_DEPS) mplayer$(EXESUF) mencoder$(EXESUF)
+	md5sum -c checksums
+
 # ./configure must be rerun if it changed
 config.mak: configure
 	@echo "############################################################"
@@ -1112,7 +1118,7 @@ dhahelperclean:
 -include $(DEP_FILES) $(DRIVER_DEP_FILES) $(TESTS_DEP_FILES) $(TOOLS_DEP_FILES) $(DHAHELPER_DEPS_FILES)
 
 .PHONY: all doxygen *install* *tools drivers dhahelper*
-.PHONY: checkheaders *clean tests
+.PHONY: checkheaders *clean tests check_checksums
 
 # Disable suffix rules.  Most of the builtin rules are suffix rules,
 # so this saves some time on slow systems.


More information about the MPlayer-cvslog mailing list