Home | History | Annotate | Download | only in cs
      1 LOCAL_PATH:= $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 LOCAL_SRC_FILES:= \
      5 	csparse.c
      6 
      7 LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
      8 
      9 LOCAL_CFLAGS := -fPIC
     10 
     11 ifeq ($(HOST_JDK_IS_64BIT_VERSION),true)
     12 LOCAL_CFLAGS += -m64
     13 LOCAL_LDFLAGS += -m64
     14 endif
     15 # We use the host compilers because the Linux SDK build
     16 # uses a 32-bit toolchain that can't handle -m64
     17 LOCAL_CC := $(CC)
     18 LOCAL_CXX := $(CXX)
     19 
     20 LOCAL_NO_DEFAULT_COMPILER_FLAGS := true
     21 
     22 LOCAL_MODULE:= libneo_cs
     23 
     24 LOCAL_SHARED_LIBRARIES := libneo_util
     25 
     26 include $(BUILD_HOST_SHARED_LIBRARY)
     27