]> git.jsancho.org Git - guile-irrlicht.git/blob - Makefile.am
add-camera-scene-node!
[guile-irrlicht.git] / Makefile.am
1 # guile-irrlicht --- GNU Guile bindings for Irrlicht Engine
2 #
3 # Copyright (C) 2020 Javier Sancho <jsf@jsancho.org>
4 #
5 # This file is part of guile-irrlicht.
6 #
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.
11 #
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.
16 #
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/>.
20
21
22 # C++ code
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 \
29   src/camera-scene-node.cpp \
30   src/device.cpp \
31   src/dimension2d.cpp \
32   src/driver-types.cpp \
33   src/gui-element.cpp \
34   src/gui-environment.cpp \
35   src/gui-static-text.cpp \
36   src/guile-irrlicht.cpp \
37   src/material-flags.cpp \
38   src/rect.cpp \
39   src/reference-counted.cpp \
40   src/scene-manager.cpp \
41   src/scene-node.cpp \
42   src/texture.cpp \
43   src/vector3d.cpp \
44   src/video-driver.cpp \
45   src/wchar.cpp
46 libguile_irrlicht_la_CPPFLAGS = @GUILE_CFLAGS@
47 libguile_irrlicht_la_LDFLAGS = \
48   -version-info 0:1 \
49   @GUILE_LIBS@
50
51
52 # Guile code
53 GOBJECTS = $(SOURCES:%.scm=%.go)
54
55 nobase_mod_DATA = $(SOURCES)
56 nobase_go_DATA = $(GOBJECTS)
57
58 guile_install_go_files = install-nobase_goDATA
59 $(guile_install_go_files): install-nobase_modDATA
60
61 CLEANFILES = $(GOBJECTS)
62 EXTRA_DIST = $(SOURCES)
63 GUILE_COMPILE_FLAGS = -L .
64 GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
65 SUFFIXES = .scm .go
66 .scm.go:
67         $(GUILE_TOOLS) compile $(GUILE_WARNINGS) $(GUILE_COMPILE_FLAGS) -o "$@" "$<"
68
69 moddir = @GUILE_SITE@
70 godir = @GUILE_SITE_CCACHE@
71
72 SOURCES = \
73   irrlicht.scm \
74   irrlicht/device.scm \
75   irrlicht/gui.scm \
76   irrlicht/irr.scm \
77   irrlicht/scene.scm \
78   irrlicht/video.scm