Add debug statements in rpc-stream-map-sum example
[guile-orca] / Makefile.am
1 #   Copyright (C) 2020  Ahmet Artu Yildirim
2 #
3 #   orca is free software: you can redistribute it and/or modify
4 #   it under the terms of the GNU Lesser General Public License as
5 #   published by the Free Software Foundation, either version 3 of
6 #   the License, or (at your option) any later version.
7 #
8 #   orca is distributed in the hope that it will be useful,
9 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
10 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 #   GNU Lesser General Public License for more details.
12 #
13 #   You should have received a copy of the GNU Lesser General Public License
14 #   along with orca. If not, see <https://www.gnu.org/licenses/>.
15
16 moddir=$(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION)
17 godir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache
18
19 GOBJECTS = $(SOURCES:%.scm=%.go)
20
21 nobase_mod_DATA = $(SOURCES) $(NOCOMP_SOURCES)
22 nobase_go_DATA = $(GOBJECTS)
23
24 guile_install_go_files = install-nobase_goDATA
25 $(guile_install_go_files): install-nobase_modDATA
26
27 CLEANFILES = $(GOBJECTS)
28 EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES)
29 GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
30 SUFFIXES = .scm .go
31 .scm.go:
32         $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILD) compile $(GUILE_WARNINGS) -o "$@" "$<"
33
34 SOURCES =                 \
35         orca/config.scm   \
36         orca/internal.scm \
37   orca.scm