1 # guile-irrlicht --- GNU Guile bindings for Irrlicht Engine
3 # Copyright (C) 2020 Javier Sancho <jsf@jsancho.org>
5 # This file is part of guile-irrlicht.
7 # guile-irrlicht is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU Lesser General Public License as
9 # published by the Free Software Foundation; either version 3 of the
10 # License, or (at your option) any later version.
12 # guile-irrlicht is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
17 # You should have received a copy of the GNU Lesser General Public
18 # License along with guile-irrlicht. If not, see
19 # <http://www.gnu.org/licenses/>.
23 ACLOCAL_AMFLAGS = -I m4
24 lib_LTLIBRARIES = libguile-irrlicht.la
25 libguile_irrlicht_la_SOURCES = \
27 src/animated-mesh.cpp \
28 src/animated-mesh-md2.cpp \
29 src/animated-mesh-scene-node.cpp \
30 src/camera-scene-node.cpp \
32 src/cursor-control.cpp \
35 src/driver-types.cpp \
36 src/file-archive.cpp \
39 src/gui-environment.cpp \
40 src/gui-static-text.cpp \
41 src/guile-irrlicht.cpp \
43 src/material-flags.cpp \
45 src/mesh-scene-node.cpp \
49 src/reference-counted.cpp \
50 src/scene-manager.cpp \
54 src/video-driver.cpp \
56 libguile_irrlicht_la_CPPFLAGS = @GUILE_CFLAGS@
57 libguile_irrlicht_la_LDFLAGS = \
63 GOBJECTS = $(SOURCES:%.scm=%.go)
65 nobase_mod_DATA = $(SOURCES)
66 nobase_go_DATA = $(GOBJECTS)
68 guile_install_go_files = install-nobase_goDATA
69 $(guile_install_go_files): install-nobase_modDATA
71 CLEANFILES = $(GOBJECTS)
72 EXTRA_DIST = $(SOURCES)
73 GUILE_COMPILE_FLAGS = -L .
74 GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
77 $(GUILE_TOOLS) compile $(GUILE_WARNINGS) $(GUILE_COMPILE_FLAGS) -o "$@" "$<"
80 godir = @GUILE_SITE_CCACHE@
82 SOURCES = irrlicht.scm