Files
libgtop/sysdeps/guile/names/Makefile.am
Martin Baulig 05eb7e1f76 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.
1998-10-11 23:01:15 +00:00

26 lines
672 B
Makefile

LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
CFLAGS = -Wall -W @CFLAGS@
lib_LTLIBRARIES = libgtop_guile_names.la
BUILT_SOURCES = guile-names.c guile-names.x
libgtop_guile_names_la_SOURCES = $(BUILT_SOURCES)
libgtop_guile_names_la_LDFLAGS = $(LT_VERSION_INFO)
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
mv gnc-t guile-names.c
guile-names.x: guile-names.c
guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@
EXTRA_DIST = guile-names.awk
CLEANFILES = guile-names.c guile-names.x