summaryrefslogtreecommitdiff
path: root/Android/jni/Android.mk
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-04 19:06:39 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-04 19:06:39 +0000
commiteb1abad3ca43963f7826f067e70bc3a20db352da (patch)
tree57396bb4e8ca6ba4af025ed2ab52a9a8fecc1a22 /Android/jni/Android.mk
parentd32b291a7262698cb4767660466d42fda44f1033 (diff)
Adding some basic Android native setup
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'Android/jni/Android.mk')
-rw-r--r--Android/jni/Android.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/Android/jni/Android.mk b/Android/jni/Android.mk
new file mode 100644
index 000000000..9e64d8042
--- /dev/null
+++ b/Android/jni/Android.mk
@@ -0,0 +1,26 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := native-activity
+LOCAL_SRC_FILES := main.c
+LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv1_CM
+LOCAL_STATIC_LIBRARIES := android_native_app_glue
+
+include $(BUILD_SHARED_LIBRARY)
+
+$(call import-module,android/native_app_glue)