On Thu, Jul 1, 2010 at 6:15 AM, Tiago Vignatti <[email protected]> wrote: > Create a dependency in ddx whenever libmain.la and libdix.la change. > > Signed-off-by: Tiago Vignatti <[email protected]> > --- > hw/xfree86/Makefile.am | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am > index 116113b..295fb47 100644 > --- a/hw/xfree86/Makefile.am > +++ b/hw/xfree86/Makefile.am > @@ -71,7 +71,10 @@ libxorg.c xorg.c: > > DISTCLEANFILES = libxorg.c xorg.c > > -Xorg_DEPENDENCIES = libxorg.la > +Xorg_DEPENDENCIES = libxorg.la \ > + $(top_builddir)/dix/libmain.la \ > + $(top_builddir)/dix/libdix.la > + > Xorg_LDADD = $(MAIN_LIB) libxorg.la $(XORG_SYS_LIBS) $(XSERVER_SYS_LIBS)
Since libxorg.la already depends on libdix.la (and friends) and libmain.la == $(MAIN_LIB), I think more appropriate would be: Xorg_DEPENDENCIES = libxorg.la $(MAIN_LIB) Updating libdix.la should have already been triggering an update of Xorg. Or was it not? -- Dan _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
