1# 2# Copyright (C) 2016 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17LOCAL_PATH := $(call my-dir) 18 19include $(CLEAR_NANO_VARS) 20 21LOCAL_MODULE := libnanolibm 22LOCAL_MODULE_TAGS := optional 23 24LOCAL_SRC_FILES := \ 25 ef_asin.c \ 26 ef_atan2.c \ 27 ef_exp.c \ 28 ef_fmod.c \ 29 ef_pow.c \ 30 ef_rem_pio2.c \ 31 ef_sqrt.c \ 32 kf_cos.c \ 33 kf_rem_pio2.c \ 34 kf_sin.c \ 35 sf_atan.c \ 36 sf_cos.c \ 37 sf_floor.c \ 38 sf_fpclassify.c \ 39 sf_round.c \ 40 sf_scalbn.c \ 41 sf_sin.c \ 42 wf_asin.c \ 43 wf_atan2.c \ 44 wf_exp.c \ 45 wf_fmod.c \ 46 wf_pow.c \ 47 48LOCAL_CFLAGS := \ 49 -DARM_MATH_CM4 \ 50 -D__FPU_PRESENT \ 51 -D_IEEE_LIBM \ 52 53include $(BUILD_NANOHUB_APP_STATIC_LIBRARY) 54