Let the `Makefile' depend upon $(BUILT_SOURCES). This is required to get

1998-10-12  Martin Baulig  <martin@home-of-linux.org>

	* Makefile.am: Let the `Makefile' depend upon $(BUILT_SOURCES).
	This is required to get dependencies correctly.
	* names/Makefile.am: Likewise.
This commit is contained in:
Martin Baulig
1998-10-11 23:01:15 +00:00
committed by Martin Baulig
parent 6407e9cdbf
commit 05eb7e1f76
3 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
1998-10-12 Martin Baulig <martin@home-of-linux.org>
* 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 <martin@home-of-linux.org> 1998-10-11 Martin Baulig <martin@home-of-linux.org>
* names/Makefile.am (BUILT_SOURCES, CLEANFILES): Added * names/Makefile.am (BUILT_SOURCES, CLEANFILES): Added

View File

@@ -4,13 +4,15 @@ LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
CFLAGS = -Wall -W @CFLAGS@ CFLAGS = -Wall -W @CFLAGS@
BUILT_SOURCES = guile.c guile.x
lib_LTLIBRARIES = libgtop_guile.la lib_LTLIBRARIES = libgtop_guile.la
libgtop_guile_la_SOURCES = guile.c libgtop_guile_la_SOURCES = $(BUILT_SOURCES)
libgtop_guile_la_LDFLAGS = $(LT_VERSION_INFO) 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 guile.c: guile.awk $(top_builddir)/config.h $(top_srcdir)/features.def
$(AWK) -f $(srcdir)/guile.awk < $(top_srcdir)/features.def > gnc-t $(AWK) -f $(srcdir)/guile.awk < $(top_srcdir)/features.def > gnc-t

View File

@@ -4,11 +4,13 @@ CFLAGS = -Wall -W @CFLAGS@
lib_LTLIBRARIES = libgtop_guile_names.la 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) 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 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 $(AWK) -f $(srcdir)/guile-names.awk < $(top_srcdir)/features.def > gnc-t