[gstreamer-bugs] [Bug 456154] Nonportable makefile constructs

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Aug 24 09:55:02 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=456154

  GStreamer | gstreamer (core) | Ver: 0.10.13




------- Comment #8 from Yeti  2007-08-24 16:55 UTC -------
(In reply to comment #7)
> This patch is not, in fact, correct - it breaks make dist. 

Do you mean distcheck, particularly VPATH builds?  If it also breaks `make
dist', please explain.

> $^ is the list of pre-requisites, *including* the directories they were found
> in.
> Using gst_headers makes it so that enum generation during the dist breaks
> because the sources are being pulled from ../../
> 
> common/glib-gen.mak also makes use of $^ for enum generation so however it is
> fixed here will also need to be applied there.
> 
> In the meantime, I'm going to revert the patch.

I see.  Unfortunately, for tools that do not have any concept of input file
search paths the only portable solution seems to be to add an explicite
$(srcdir)/ to every input file.  This results in minor visual clutter in
non-VPATH builds (each file is addressed as ./file instead of just file) and
medium clutter in the Makefiles.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=456154.




More information about the Gstreamer-bugs mailing list