summaryrefslogtreecommitdiff
path: root/am
diff options
context:
space:
mode:
authorArtyom Poptsov <poptsov.artyom@gmail.com>2014-02-15 12:21:44 +0400
committerArtyom Poptsov <poptsov.artyom@gmail.com>2014-02-15 12:21:44 +0400
commit25e35b34b853b2829c0288f76bcd8716e5784f4c (patch)
tree3d2e83610180eb992cf56be34de74d69e4301ad0 /am
parentexamples/README: Update. (diff)
downloadguile-ssh-25e35b34b853b2829c0288f76bcd8716e5784f4c.tar.gz
ssh/Makefile.am [HAVE_GUILE_VM]: Compile Guile modules.
* configure.ac: Add check for Guile VM's compiler. (AC_CONFIG_FILES): Add `am/Makefile'. * Makefile.am (SUBDIRS): Add `am' directory. * ssh/Makefile.am [HAVE_GUILE_VM]: Compile Guile modules and install produced *.go files. * am/guilec: New file. * am/snarf (AM_V_SNARF_0): Improve formatting. * ssh/.gitignore: New file. * NEWS: Update.
Diffstat (limited to 'am')
-rw-r--r--am/Makefile.am26
-rw-r--r--am/guilec7
-rw-r--r--am/snarf2
3 files changed, 34 insertions, 1 deletions
diff --git a/am/Makefile.am b/am/Makefile.am
new file mode 100644
index 0000000..b7c6525
--- /dev/null
+++ b/am/Makefile.am
@@ -0,0 +1,26 @@
+## Config file for GNU Automake.
+##
+## Copyright (C) 2014 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+##
+## This file is part of libguile-ssh.
+##
+## libguile-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.
+##
+## libguile-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 libguile-ssh. If not, see <http://www.gnu.org/licenses/>.
+
+AUTOMAKE_OPTIONS = gnu
+
+am_frags = guilec
+
+EXTRA_DIST = $(am_frags)
+
+## Makefile.am ends here
diff --git a/am/guilec b/am/guilec
new file mode 100644
index 0000000..a196f5d
--- /dev/null
+++ b/am/guilec
@@ -0,0 +1,7 @@
+# -*- makefile -*-
+
+GUILEC = `which guild` compile
+
+AM_V_GUILEC = $(AM_V_GUILEC_$(V))
+AM_V_GUILEC_ = $(AM_V_GUILEC_$(AM_DEFAULT_VERBOSITY))
+AM_V_GUILEC_0 = @echo " GUILEC " $@;
diff --git a/am/snarf b/am/snarf
index 96ed9e7..ef22364 100644
--- a/am/snarf
+++ b/am/snarf
@@ -4,4 +4,4 @@ GUILE_SNARF = `which guile-snarf`
AM_V_SNARF = $(AM_V_SNARF_$(V))
AM_V_SNARF_ = $(AM_V_SNARF_$(AM_DEFAULT_VERBOSITY))
-AM_V_SNARF_0 = @echo " SNARF " $@;
+AM_V_SNARF_0 = @echo " SNARF " $@;