[FFmpeg-cvslog] r19493 - in trunk: common.mak configure

mru subversion
Thu Jul 23 00:30:20 CEST 2009


Author: mru
Date: Thu Jul 23 00:30:20 2009
New Revision: 19493

Log:
Move output redirection of deps generation from make rule to DEPEND_CMD

Modified:
   trunk/common.mak
   trunk/configure

Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak	Thu Jul 23 00:27:10 2009	(r19492)
+++ trunk/common.mak	Thu Jul 23 00:30:20 2009	(r19493)
@@ -30,13 +30,13 @@ CPPFLAGS := -DHAVE_AV_CONFIG_H -I$(BUILD
 	$(CC) $(CPPFLAGS) $(CFLAGS) $(LIBOBJFLAGS) -Wno-unused -c -o $@ -x c $<
 
 %.d: %.c
-	$(DEPEND_CMD) > $@
+	$(DEPEND_CMD)
 
 %.d: %.S
-	$(DEPEND_CMD) > $@
+	$(DEPEND_CMD)
 
 %.d: %.cpp
-	$(DEPEND_CMD) > $@
+	$(DEPEND_CMD)
 
 %.o: %.d
 

Modified: trunk/configure
==============================================================================
--- trunk/configure	Thu Jul 23 00:27:10 2009	(r19492)
+++ trunk/configure	Thu Jul 23 00:30:20 2009	(r19493)
@@ -1296,7 +1296,7 @@ target_path='.'
 
 # gcc stupidly only outputs the basename of targets with -MM, but we need the
 # full relative path for objects in subdirectories for non-recursive Make.
-DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o,"'
+DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o," > $@'
 DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -MM'
 
 # find source path



More information about the ffmpeg-cvslog mailing list