12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- ####
- #### Copyright (C) 2015 David Pirotte
- #### David Pirotte <david at altosw dot be>
- #### This file is part of Guile-Squee. A Guile-Squee of Really
- #### Important Procedures.
- #### Guile-Squee is free software: you can redistribute it and/or
- #### modify it under the terms of the GNU Lesser General Public
- #### License as published by the Free Software Foundation, either
- #### version 3 of the License, or (at your option) any later version.
- #### Guile-Squee 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 Guile-Squee. If not, see <http://www.gnu.org/licenses/>.
- ####
- gev=$(GUILE_EFFECTIVE_VERSION)
- ggsdir=$(GUILE_GLOBAL_SITE)
- gscdir=$(GUILE_SITE_CCACHE)
- GOBJECTS = $(SOURCES:%.scm=%.go)
- nobase_mod_DATA = $(SOURCES)
- # $(NOCOMP_SOURCES)
- nobase_go_DATA = $(GOBJECTS)
- # nobase_mod_SCRIPTS = $(GSCRIPTS)
- # Make sure source files are installed first, so that the mtime of
- # installed compiled files is greater than that of installed source
- # files. See
- # <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html>
- # for details.
- guile_install_go_files = install-nobase_goDATA
- $(guile_install_go_files): install-nobase_modDATA
- GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
- SUFFIXES = .scm .go
- .scm.go:
- $(AM_V_GEN)$(top_builddir)/env \
- guild compile $(GUILE_WARNINGS) -o "$@" "$<"
|