blob: 93f24c97bb2bf62a35b2b6cb40dc89f4d77ba41d [file] [log] [blame]
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
neo_err.c \
neo_files.c \
neo_misc.c \
neo_rand.c \
ulist.c \
neo_hdf.c \
neo_str.c \
neo_date.c \
wildmat.c \
ulocks.c \
neo_hash.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
LOCAL_CFLAGS := -fPIC
# This forces a 64-bit build for Java6
LOCAL_CFLAGS += -m64
LOCAL_LDFLAGS += -m64
# We use the host compilers because the Linux SDK build
# uses a 32-bit toolchain that can't handle -m64
LOCAL_CC := $(CC)
LOCAL_CXX := $(CXX)
LOCAL_NO_DEFAULT_COMPILER_FLAGS := true
LOCAL_MODULE:= libneo_util
include $(BUILD_HOST_SHARED_LIBRARY)