summaryrefslogtreecommitdiffstats
path: root/jni/Android.mk
blob: 1adf51019f8ab13b00c2d3c10e4b3c474ce86ae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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)