From eb1abad3ca43963f7826f067e70bc3a20db352da Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 4 Jan 2016 19:06:39 +0000 Subject: Adding some basic Android native setup git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- Android/jni/Android.mk | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Android/jni/Android.mk (limited to 'Android/jni/Android.mk') 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) -- cgit v1.2.3