diff options
author | Tavian Barnes <tavianator@gmail.com> | 2012-08-21 23:08:30 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2012-08-21 23:09:51 -0400 |
commit | c150be9eb7e0d69def245d877bd66f6df87f58a1 (patch) | |
tree | 4aa5c7cbd4fe2826538a0785dfa2dde61dd4d9f7 /jni/Android.mk | |
parent | b2c3b538298f650e4d1dfb522d52de31de9be645 (diff) | |
download | dimension-android.tar.xz |
Get Dimension working on Android.android
Diffstat (limited to 'jni/Android.mk')
-rw-r--r-- | jni/Android.mk | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/jni/Android.mk b/jni/Android.mk new file mode 100644 index 0000000..1adf510 --- /dev/null +++ b/jni/Android.mk @@ -0,0 +1,80 @@ +########################################################################### +## Copyright (C) 2009-2011 Tavian Barnes <tavianator@tavianator.com> ## +## ## +## This file is part of The Dimension Build Suite. ## +## ## +## The Dimension Build Suite is free software; you can redistribute it ## +## and/or modify it under the terms of the GNU General Public License as ## +## published by the Free Software Foundation; either version 3 of the ## +## License, or (at your option) any later version. ## +## ## +## The Dimension Build Suite 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 General Public License ## +## along with this program. If not, see <http://www.gnu.org/licenses/>. ## +########################################################################### + +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := dimension +LOCAL_SRC_FILES := \ + jni.c \ + ../libdimension/camera.c \ + ../libdimension/canvas.c \ + ../libdimension/canvas_pigment.c \ + ../libdimension/checker.c \ + ../libdimension/cone.c \ + ../libdimension/cube.c \ + ../libdimension/csg.c \ + ../libdimension/dictionary.c \ + ../libdimension/error.c \ + ../libdimension/finish.c \ + ../libdimension/future.c \ + ../libdimension/geometry.c \ + ../libdimension/gradient.c \ + ../libdimension/inline.c \ + ../libdimension/interior.c \ + ../libdimension/lambertian.c \ + ../libdimension/leopard.c \ + ../libdimension/light.c \ + ../libdimension/malloc.c \ + ../libdimension/map.c \ + ../libdimension/object.c \ + ../libdimension/pattern.c \ + ../libdimension/perspective.c \ + ../libdimension/phong.c \ + ../libdimension/pigment.c \ + ../libdimension/pigment_map.c \ + ../libdimension/plane.c \ + ../libdimension/platform.c \ + ../libdimension/point_light.c \ + ../libdimension/polynomial.c \ + ../libdimension/prtree.c \ + ../libdimension/ray_trace.c \ + ../libdimension/reflection.c \ + ../libdimension/rgba16.c \ + ../libdimension/scene.c \ + ../libdimension/solid_pigment.c \ + ../libdimension/sphere.c \ + ../libdimension/texture.c \ + ../libdimension/threads.c \ + ../libdimension/timer.c \ + ../libdimension/torus.c \ + ../libdimension/triangle.c \ + ../libdimension/png-stubs.c \ + ../libdimension/gl-stubs.c +LOCAL_CFLAGS := \ + -Ilibdimension/ \ + -std=gnu99 \ + -DHAVE_UNISTD_H=1 \ + -DDMNSN_GETTID_DIRECT=1 \ + -DDMNSN_SC_NPROCESSORS_ONLN=1 \ + -DDMNSN_GETRUSAGE=1 +LOCAL_LDLIBS := -llog + +include $(BUILD_SHARED_LIBRARY) |