1# Copyright (C) 2009 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15LOCAL_PATH := $(call my-dir)
16
17POWDERROOT := ../../../..
18
19include $(CLEAR_VARS)
20
21LOCAL_MODULE    := powder-jni
22
23LOCAL_C_INCLUDES := $(POWDERROOT)/port/sdl
24
25LOCAL_CPPFLAGS := -DLINUX -DANDROID
26
27LOCAL_SRC_FILES := powder-jni.cpp \
28	 $(POWDERROOT)/main.cpp \
29	 $(POWDERROOT)/thread.cpp \
30	 $(POWDERROOT)/thread_linux.cpp \
31	 $(POWDERROOT)/port/sdl/hamfake.cpp \
32	 $(POWDERROOT)/action.cpp \
33	 $(POWDERROOT)/assert.cpp \
34	 $(POWDERROOT)/ai.cpp \
35	 $(POWDERROOT)/artifact.cpp \
36	 $(POWDERROOT)/bmp.cpp \
37	 $(POWDERROOT)/build.cpp \
38	 $(POWDERROOT)/buf.cpp \
39	 $(POWDERROOT)/control.cpp \
40	 $(POWDERROOT)/creature.cpp \
41	 $(POWDERROOT)/dpdf_table.cpp \
42	 $(POWDERROOT)/encyc_support.cpp \
43	 $(POWDERROOT)/gfxengine.cpp \
44	 $(POWDERROOT)/grammar.cpp \
45	 $(POWDERROOT)/hiscore.cpp \
46	 $(POWDERROOT)/input.cpp \
47	 $(POWDERROOT)/intrinsic.cpp \
48	 $(POWDERROOT)/item.cpp \
49	 $(POWDERROOT)/map.cpp \
50	 $(POWDERROOT)/mobref.cpp \
51	 $(POWDERROOT)/msg.cpp \
52	 $(POWDERROOT)/name.cpp \
53	 $(POWDERROOT)/piety.cpp \
54	 $(POWDERROOT)/rand.cpp \
55	 $(POWDERROOT)/signpost.cpp \
56	 $(POWDERROOT)/smokestack.cpp \
57	 $(POWDERROOT)/speed.cpp \
58	 $(POWDERROOT)/sramstream.cpp \
59	 $(POWDERROOT)/stylus.cpp \
60	 $(POWDERROOT)/victory.cpp \
61	 $(POWDERROOT)/encyclopedia.cpp \
62	 $(POWDERROOT)/glbdef.cpp \
63	 $(POWDERROOT)/credits.cpp \
64	 $(POWDERROOT)/license.cpp \
65	 $(POWDERROOT)/gfx/all_bitmaps.cpp \
66	 $(POWDERROOT)/rooms/allrooms.cpp
67
68include $(BUILD_SHARED_LIBRARY)
69