guile.am 689 B

1234567891011121314151617181920
  1. GOBJECTS = $(SOURCES:%.scm=%.go)
  2. nobase_mod_DATA = $(SOURCES) $(NOCOMP_SOURCES)
  3. nobase_go_DATA = $(GOBJECTS)
  4. # Make sure source files are installed first, so that the mtime of
  5. # installed compiled files is greater than that of installed source
  6. # files. See
  7. # <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html>
  8. # for details.
  9. guile_install_go_files = install-nobase_goDATA
  10. $(guile_install_go_files): install-nobase_modDATA
  11. CLEANFILES = $(GOBJECTS)
  12. EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES)
  13. GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
  14. SUFFIXES = .scm .go
  15. .scm.go:
  16. $(AM_V_GEN)$(top_builddir)/env $(GUILE_TOOLS) compile $(GUILE_WARNINGS) -o "$@" "$<"