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.
28 lines
608 B
Makefile
28 lines
608 B
Makefile
SUBDIRS = names
|
|
|
|
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 = $(BUILT_SOURCES)
|
|
|
|
libgtop_guile_la_LDFLAGS = $(LT_VERSION_INFO)
|
|
|
|
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
|
|
mv gnc-t guile.c
|
|
|
|
guile.x: guile.c
|
|
guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@
|
|
|
|
EXTRA_DIST = guile.awk
|
|
|
|
CLEANFILES = guile.c guile.x
|
|
|