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