diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2016-07-03 15:20:52 +0400 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2016-07-03 15:20:52 +0400 |
| commit | a879487cd27d1fe815971865cca76b146cda2a17 (patch) | |
| tree | b655fbb291cf3f8925d6e206c66f49ee0b55cbfe /modules | |
| parent | tests/Makefile.am: Compile 'common.scm' (diff) | |
| download | guile-ssh-a879487cd27d1fe815971865cca76b146cda2a17.tar.gz | |
modules/srfi: Compile SRFI-64 module
* modules/srfi/Makefile.am: Add to the repository.
* modules/Makefile.am (SUBDIRS): Add 'srfi'
* configure.ac: Update.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/Makefile.am | 2 | ||||
| -rw-r--r-- | modules/srfi/Makefile.am | 46 |
2 files changed, 47 insertions, 1 deletions
diff --git a/modules/Makefile.am b/modules/Makefile.am index e8f42ba..5865907 100644 --- a/modules/Makefile.am +++ b/modules/Makefile.am @@ -15,7 +15,7 @@ ## You should have received a copy of the GNU General Public License ## along with Guile-SSH. If not, see <http://www.gnu.org/licenses/>. -SUBDIRS = ssh +SUBDIRS = ssh srfi EXTRA_DIST = \ srfi/srfi-64.scm \ diff --git a/modules/srfi/Makefile.am b/modules/srfi/Makefile.am new file mode 100644 index 0000000..a7038be --- /dev/null +++ b/modules/srfi/Makefile.am @@ -0,0 +1,46 @@ +## Config file for GNU Automake. +## +## Copyright (C) 2016 Artyom V. Poptsov <poptsov.artyom@gmail.com> +## +## This file is part of Guile-SSH. +## +## Guile-SSH is free software: you can redistribute it and/or +## modify it under the terms of the GNU General Public License as +## published by the Free Software Foundation, either version 3 of the +## License, or (at your option) any later version. +## +## Guile-SSH 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-SSH. If not, see <http://www.gnu.org/licenses/>. + +include $(top_srcdir)/am/guilec + +GOBJECTS = srfi-64.upstream.go srfi-64.go + +ccachedir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache/ssh +nobase_dist_ccache_DATA = $(GOBJECTS) + +guilec_warnings = \ + -Wunbound-variable -Warity-mismatch \ + -Wunused-variable -Wunused-toplevel + +guilec_opts = \ + $(guilec_warnings) + +# TODO: Move environment setup to a separate file. +guilec_env = \ + GUILE_AUTO_COMPILE=0 \ + LD_LIBRARY_PATH="$(abs_top_builddir)/libguile-ssh/.libs/:${LD_LIBRARY_PATH}" \ + GUILE_LOAD_PATH="$(abs_top_srcdir)/modules" \ + GUILE_LOAD_COMPILED_PATH="$(builddir)/ssh:$$GUILE_LOAD_COMPILED_PATH" + +.scm.go: + $(AM_V_GUILEC)$(guilec_env) $(GUILEC) $(guilec_opts) \ + --output=$@ $< + +CLEANFILES = \ + $(GOBJECTS) |
