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