X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Makefile.am;h=2cd0772ad77d035fc696be3f567189d83da125d2;hb=a07c344063e6dca568add5f022c7aab495061d11;hp=485bc3704efea2391ec32cc375bed1fc9af73d7e;hpb=56de371557044d3b7acc14cb94cc46641be906d9;p=guile-irrlicht.git diff --git a/Makefile.am b/Makefile.am index 485bc37..2cd0772 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,18 +1,89 @@ +# guile-irrlicht --- GNU Guile bindings for Irrlicht Engine +# +# Copyright (C) 2020 Javier Sancho +# +# This file is part of guile-irrlicht. +# +# guile-irrlicht is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 3 of the +# License, or (at your option) any later version. +# +# guile-irrlicht is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with guile-irrlicht. If not, see +# . + + +# C++ code ACLOCAL_AMFLAGS = -I m4 lib_LTLIBRARIES = libguile-irrlicht.la libguile_irrlicht_la_SOURCES = \ + src/animated-mesh.cpp \ + src/animated-mesh-md2.cpp \ + src/animated-mesh-scene-node.cpp \ + src/box3d.cpp \ + src/camera-scene-node.cpp \ + src/color.cpp \ + src/cursor-control.cpp \ + src/device.cpp \ src/dimension2d.cpp \ - src/EDriverTypes.cpp \ - src/GuileIrrlicht.cpp \ - src/IGUIElement.cpp \ - src/IGUIEnvironment.cpp \ - src/IGUIStaticText.cpp \ - src/IrrlichtDevice.cpp \ - src/ISceneManager.cpp \ - src/IVideoDriver.cpp \ + src/driver-types.cpp \ + src/event-receiver.cpp \ + src/file-archive.cpp \ + src/file-system.cpp \ + src/gui-element.cpp \ + src/gui-environment.cpp \ + src/gui-static-text.cpp \ + src/guile-irrlicht.cpp \ + src/keymap.cpp \ + src/material.cpp \ + src/material-flags.cpp \ + src/material-types.cpp \ + src/matrix4.cpp \ + src/mesh.cpp \ + src/mesh-scene-node.cpp \ + src/position2d.cpp \ + src/primitive-types.cpp \ src/rect.cpp \ - src/util.cpp + src/reference-counted.cpp \ + src/scene-manager.cpp \ + src/scene-node.cpp \ + src/scene-node-animator.cpp \ + src/texture.cpp \ + src/vector2d.cpp \ + src/vector3d.cpp \ + src/vertex3d.cpp \ + src/video-driver.cpp \ + src/wchar.cpp libguile_irrlicht_la_CPPFLAGS = @GUILE_CFLAGS@ libguile_irrlicht_la_LDFLAGS = \ -version-info 0:1 \ @GUILE_LIBS@ + + +# Guile code +GOBJECTS = $(SOURCES:%.scm=%.go) + +nobase_mod_DATA = $(SOURCES) +nobase_go_DATA = $(GOBJECTS) + +guile_install_go_files = install-nobase_goDATA +$(guile_install_go_files): install-nobase_modDATA + +CLEANFILES = $(GOBJECTS) +EXTRA_DIST = $(SOURCES) +GUILE_COMPILE_FLAGS = -L . +GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat +SUFFIXES = .scm .go +.scm.go: + $(GUILE_TOOLS) compile $(GUILE_WARNINGS) $(GUILE_COMPILE_FLAGS) -o "$@" "$<" + +moddir = @GUILE_SITE@ +godir = @GUILE_SITE_CCACHE@ + +SOURCES = irrlicht.scm