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/>.
22 ACLOCAL_AMFLAGS = -I m4
26 lib_LTLIBRARIES = libguile-irrlicht.la
28 libguile_irrlicht_la_SOURCES = \
29 src/animated-mesh.cpp \
30 src/animated-mesh-md2.cpp \
31 src/animated-mesh-scene-node.cpp \
34 src/cursor-control.cpp \
37 src/driver-types.cpp \
38 src/event-receiver.cpp \
39 src/file-archive.cpp \
42 src/gui-environment.cpp \
43 src/gui-file-open-dialog.cpp \
44 src/gui-in-out-fader.cpp \
46 src/gui-scrollbar.cpp \
48 src/gui-static-text.cpp \
50 src/guile-irrlicht.cpp \
53 src/material-flags.cpp \
54 src/material-types.cpp \
57 src/primitive-types.cpp \
59 src/reference-counted.cpp \
60 src/scene-manager.cpp \
66 src/video-driver.cpp \
69 libguile_irrlicht_la_CPPFLAGS = @GUILE_CFLAGS@
70 libguile_irrlicht_la_LDFLAGS = -version-info 0:1 @GUILE_LIBS@
72 nobase_include_HEADERS = \
74 src/animated-mesh-md2.h \
75 src/animated-mesh-scene-node.h \
78 src/cursor-control.h \
82 src/event-receiver.h \
87 src/gui-environment.h \
88 src/gui-file-open-dialog.h \
89 src/gui-in-out-fader.h \
90 src/guile-irrlicht.h \
94 src/gui-static-text.h \
97 src/material-flags.h \
99 src/material-types.h \
102 src/primitive-types.h \
104 src/reference-counted.h \
105 src/scene-manager.h \
114 nodist_noinst_SCRIPTS = pre-inst-env
118 GOBJECTS = $(SOURCES:%.scm=%.go)
120 nobase_mod_DATA = $(SOURCES)
121 nobase_go_DATA = $(GOBJECTS)
123 guile_install_go_files = install-nobase_goDATA
124 $(guile_install_go_files): install-nobase_modDATA
126 CLEANFILES = $(GOBJECTS)
127 EXTRA_DIST = $(SOURCES)
128 GUILE_COMPILE_FLAGS = -L .
129 GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
132 $(GUILE_TOOLS) compile $(GUILE_WARNINGS) $(GUILE_COMPILE_FLAGS) -o "$@" "$<"
134 moddir = @GUILE_SITE@
135 godir = @GUILE_SITE_CCACHE@
141 irrlicht/device.scm \
142 irrlicht/foreign.scm \
151 info_TEXINFOS = doc/irrlicht.texi
153 doc_guile_irrlicht_TEXINFOS = \