################################################################################ # Makefile.am # Copyright (C) 2025 Cor Legemaat # # This file is part of scheme-dql: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published by the # Free Software Foundation, version 3 of the License. # scheme-dql is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # scheme-dql. If not, see . ################################################################################ moddir=$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)/dql objdir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache/dql SOURCES = dql.scm GOBJECTS = $(SOURCES:%.scm=%.go) nobase_mod_DATA = $(SOURCES) $(NOCOMP_SOURCES) nobase_obj_DATA = $(GOBJECTS) # Make sure source files are installed first, so that the mtime of # installed compiled files is greater than that of installed source # files. See # # for details. guile_install_obj_files = install-nobase_obj_DATA $(guile_install_obj_files): install-nobase_mod_DATA EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES) CLEANFILES = $(GOBJECTS) GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat GUILE_OPTS = -L $(abs_top_builddir)/src SUFFIXES = .scm .go .scm.go: $(GUILD) compile $(GUILE_TARGET) $(GUILE_OPTS) $(GUILE_WARNINGS) -o "$@" "$<"