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 = \
26 src/animated-mesh.cpp \
27 src/animated-mesh-md2.cpp \
28 src/animated-mesh-scene-node.cpp \
31 src/cursor-control.cpp \
34 src/driver-types.cpp \
35 src/event-receiver.cpp \
36 src/file-archive.cpp \
39 src/gui-environment.cpp \
40 src/gui-file-open-dialog.cpp \
41 src/gui-in-out-fader.cpp \
43 src/gui-scrollbar.cpp \
45 src/gui-static-text.cpp \
47 src/guile-irrlicht.cpp \
50 src/material-flags.cpp \
51 src/material-types.cpp \
54 src/primitive-types.cpp \
56 src/reference-counted.cpp \
57 src/scene-manager.cpp \
63 src/video-driver.cpp \
65 libguile_irrlicht_la_CPPFLAGS = @GUILE_CFLAGS@
66 libguile_irrlicht_la_LDFLAGS = \
72 GOBJECTS = $(SOURCES:%.scm=%.go)
74 nobase_mod_DATA = $(SOURCES)
75 nobase_go_DATA = $(GOBJECTS)
77 guile_install_go_files = install-nobase_goDATA
78 $(guile_install_go_files): install-nobase_modDATA
80 CLEANFILES = $(GOBJECTS)
81 EXTRA_DIST = $(SOURCES)
82 GUILE_COMPILE_FLAGS = -L .
83 GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
86 $(GUILE_TOOLS) compile $(GUILE_WARNINGS) $(GUILE_COMPILE_FLAGS) -o "$@" "$<"
89 godir = @GUILE_SITE_CCACHE@
96 irrlicht/foreign.scm \