build: fix compiling of local GstVideoDecoder and codecparsers.
authorXiang, Haihao <haihao.xiang@intel.com>
Sun, 17 Feb 2013 08:28:47 +0000 (16:28 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 25 Feb 2013 09:46:08 +0000 (10:46 +0100)
Generated source files were missing a dependency on the complete set of
generated header files. e.g. gstvideodecoder.c requires gstvideoutils.h
to build and almost every codec parser source depends on parserutils.h.

https://bugs.freedesktop.org/show_bug.cgi?id=59575

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/codecparsers/Makefile.am
gst-libs/gst/video/Makefile.am

index 8df6533..a09a8fd 100644 (file)
@@ -68,7 +68,7 @@ all-local: .timestamp.symlinks
 .timestamp.symlinks: $(GENFILES)
        touch $@
 
-$(gen_source_c): %.c: $(local_codecparsers_srcdir)/%.c %.h
+$(gen_source_c): %.c: $(local_codecparsers_srcdir)/%.c $(gen_source_h)
        $(LN_S) -f $< $@
 $(gen_source_h): %.h: $(local_codecparsers_srcdir)/%.h
        $(LN_S) -f $< $@
index f6504f7..a790e87 100644 (file)
@@ -54,7 +54,7 @@ all-local: .timestamp.symlinks
 .timestamp.symlinks: $(GENFILES)
        touch $@
 
-$(gen_source_c): %.c: $(local_videoutils_srcdir)/%.c %.h
+$(gen_source_c): %.c: $(local_videoutils_srcdir)/%.c $(gen_source_h) 
        $(LN_S) -f $< $@
 $(gen_source_h): %.h: $(local_videoutils_srcdir)/%.h
        $(LN_S) -f $< $@