summaryrefslogtreecommitdiffstats
path: root/jni/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'jni/Android.mk')
-rw-r--r--jni/Android.mk80
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)