Home | History | Annotate | Download | only in blas
      1 # Copyright (C) 2015 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 
     15 LOCAL_PATH:=$(call my-dir)
     16 
     17 include $(CLEAR_VARS)
     18 eigen_SRC_FILES:= \
     19 	single.cpp \
     20 	double.cpp \
     21 	complex_single.cpp \
     22 	complex_double.cpp \
     23 	xerbla.cpp \
     24 	f2c/complexdots.c\
     25 	f2c/srotm.c \
     26 	f2c/srotmg.c \
     27 	f2c/drotm.c \
     28 	f2c/drotmg.c \
     29 	f2c/lsame.c  \
     30 	f2c/dspmv.c \
     31 	f2c/ssbmv.c \
     32 	f2c/chbmv.c  \
     33 	f2c/sspmv.c \
     34 	f2c/zhbmv.c  \
     35 	f2c/chpmv.c \
     36 	f2c/dsbmv.c \
     37 	f2c/zhpmv.c \
     38 	f2c/dtbmv.c \
     39 	f2c/stbmv.c \
     40 	f2c/ctbmv.c \
     41 	f2c/ztbmv.c \
     42 	f2c/d_cnjg.c \
     43 	f2c/r_cnjg.c
     44 
     45 LOCAL_CLANG := true
     46 LOCAL_CFLAGS += -Wno-unused-parameter
     47 LOCAL_MODULE := libF77blas
     48 
     49 LOCAL_SRC_FILES := $(eigen_SRC_FILES)
     50 LOCAL_C_INCLUDES += external/eigen/
     51 
     52 include $(BUILD_STATIC_LIBRARY)
     53 
     54 
     55 # Build Eigen using API 9 toolchain for RS Support lib.
     56 include $(CLEAR_VARS)
     57 LOCAL_CLANG := true
     58 LOCAL_MODULE := libF77blasV8
     59 LOCAL_SDK_VERSION := 9
     60 LOCAL_NDK_STL_VARIANT := c++_static
     61 
     62 LOCAL_SRC_FILES := $(eigen_SRC_FILES)
     63 LOCAL_C_INCLUDES += external/eigen/
     64 
     65 include $(BUILD_STATIC_LIBRARY)
     66