build: fix compiling of local GstVideoDecoder and codecparsers.

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>
This commit is contained in:
Xiang, Haihao 2013-02-17 16:28:47 +08:00 committed by Gwenole Beauchesne
parent ddaaa42020
commit bd3aa01de5
2 changed files with 2 additions and 2 deletions

View 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 $< $@

View 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 $< $@