[MPlayer-dev-eng] [PATCH]Fix Makefile dependencies for version.h

Carl Eugen Hoyos cehoyos at rainbow.studorg.tuwien.ac.at
Sat Apr 4 23:17:29 CEST 2009


Hi!

Attached is the ugly alternative to "Reduce version.h dependencies" (and 
the necessary followups).
Please don't just ignore this issue, I think fixing it makes our lives 
much easier.

Any alternatives?

Carl Eugen
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 29137)
+++ Makefile	(working copy)
@@ -862,7 +862,8 @@
 ###### dependency declarations / specific CFLAGS ######
 
 # Make sure all generated header files are created.
-$(DEPS) $(MENCODER_DEPS) $(MPLAYER_DEPS): codecs.conf.h help_mp.h version.h
+$(DEPS) $(MENCODER_DEPS) $(MPLAYER_DEPS): codecs.conf.h help_mp.h
+mpcommon.d mpcommon.o vobsub.d vobsub.o stream/stream_cddb.d stream/stream_cddb.o stream/network.d stream/network.o libmpdemux/muxer_avi.d libmpdemux/muxer_avi.o gui/win32/gui.d gui/win32/gui.o: version.h
 
 libdvdcss/%: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS)
 libdvdnav/%: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H -DVERSION=\"MPlayer-custom\"


More information about the MPlayer-dev-eng mailing list