From 05eb7e1f765bd04b5223130c9df58b2d1447bdeb Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 11 Oct 1998 23:01:15 +0000 Subject: [PATCH] Let the `Makefile' depend upon $(BUILT_SOURCES). This is required to get 1998-10-12 Martin Baulig * Makefile.am: Let the `Makefile' depend upon $(BUILT_SOURCES). This is required to get dependencies correctly. * names/Makefile.am: Likewise. --- sysdeps/guile/ChangeLog | 6 ++++++ sysdeps/guile/Makefile.am | 6 ++++-- sysdeps/guile/names/Makefile.am | 6 ++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/sysdeps/guile/ChangeLog b/sysdeps/guile/ChangeLog index 08dd883e..307ddb0f 100644 --- a/sysdeps/guile/ChangeLog +++ b/sysdeps/guile/ChangeLog @@ -1,3 +1,9 @@ +1998-10-12 Martin Baulig + + * Makefile.am: Let the `Makefile' depend upon $(BUILT_SOURCES). + This is required to get dependencies correctly. + * names/Makefile.am: Likewise. + 1998-10-11 Martin Baulig * names/Makefile.am (BUILT_SOURCES, CLEANFILES): Added diff --git a/sysdeps/guile/Makefile.am b/sysdeps/guile/Makefile.am index 23b8c28c..389903cb 100644 --- a/sysdeps/guile/Makefile.am +++ b/sysdeps/guile/Makefile.am @@ -4,13 +4,15 @@ LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ CFLAGS = -Wall -W @CFLAGS@ +BUILT_SOURCES = guile.c guile.x + lib_LTLIBRARIES = libgtop_guile.la -libgtop_guile_la_SOURCES = guile.c +libgtop_guile_la_SOURCES = $(BUILT_SOURCES) libgtop_guile_la_LDFLAGS = $(LT_VERSION_INFO) -BUILT_SOURCES = guile.c guile.x +Makefile: $(BUILT_SOURCES) guile.c: guile.awk $(top_builddir)/config.h $(top_srcdir)/features.def $(AWK) -f $(srcdir)/guile.awk < $(top_srcdir)/features.def > gnc-t diff --git a/sysdeps/guile/names/Makefile.am b/sysdeps/guile/names/Makefile.am index 13321c9e..00b6870e 100644 --- a/sysdeps/guile/names/Makefile.am +++ b/sysdeps/guile/names/Makefile.am @@ -4,11 +4,13 @@ CFLAGS = -Wall -W @CFLAGS@ lib_LTLIBRARIES = libgtop_guile_names.la -libgtop_guile_names_la_SOURCES = guile-names.c +BUILT_SOURCES = guile-names.c guile-names.x + +libgtop_guile_names_la_SOURCES = $(BUILT_SOURCES) libgtop_guile_names_la_LDFLAGS = $(LT_VERSION_INFO) -BUILT_SOURCES = guile-names.c guile-names.x +Makefile: $(BUILT_SOURCES) guile-names.c: guile-names.awk $(top_builddir)/config.h $(top_srcdir)/features.def $(AWK) -f $(srcdir)/guile-names.awk < $(top_srcdir)/features.def > gnc-t