2012-03-03 11:39:38 +01:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
ifeq ($(OSMAND_GIF_LOC),)
|
|
|
|
OSMAND_GIF_LOC := ./gif_library
|
|
|
|
endif
|
|
|
|
ifeq ($(OSMAND_GIF_ABS),)
|
|
|
|
OSMAND_GIF_ABS := $(LOCAL_PATH)/gif_library
|
|
|
|
endif
|
|
|
|
|
2012-03-23 08:00:12 +01:00
|
|
|
ifneq ($(OSMAND_BUILDING_NEON_LIBRARY),true)
|
|
|
|
LOCAL_MODULE := gif
|
|
|
|
else
|
|
|
|
LOCAL_MODULE := gif_neon
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(OSMAND_USE_PREBUILT),true)
|
|
|
|
|
2012-03-03 11:39:38 +01:00
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
$(OSMAND_GIF_LOC)/dgif_lib.c \
|
|
|
|
$(OSMAND_GIF_LOC)/gifalloc.c \
|
|
|
|
$(OSMAND_GIF_LOC)/gif_err.c
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
|
|
$(OSMAND_GIF_ABS)
|
|
|
|
|
|
|
|
LOCAL_CFLAGS += -Wno-format -DHAVE_CONFIG_H
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
2012-03-23 08:00:12 +01:00
|
|
|
|
|
|
|
else
|
|
|
|
LOCAL_SRC_FILES := \
|
2012-05-31 21:01:27 +02:00
|
|
|
../lib/$(TARGET_ARCH_ABI)/lib$(LOCAL_MODULE).a
|
2012-03-23 08:00:12 +01:00
|
|
|
include $(PREBUILT_STATIC_LIBRARY)
|
2012-04-30 01:51:51 +02:00
|
|
|
endif
|