1 LOCAL_PATH := $(call my-dir)
5 ifeq ($(NEON_BUILD)$(TARGET_ARCH_ABI),1armeabi-v7a)
6 LOCAL_MODULE := retro_picodrive-neon
8 LOCAL_MODULE := retro_picodrive
12 FR := $(LOCAL_PATH)/$(R)
31 ifeq ($(TARGET_ARCH),arm)
33 ifeq ($(NEON_BUILD),1)
34 LOCAL_ARM_NEON := true
58 ARCH := $(TARGET_ARCH)
59 include $(R)platform/common/common.mak
61 LOCAL_SRC_FILES += $(SRCS_COMMON)
62 LOCAL_SRC_FILES += $(R)platform/libretro.c
63 LOCAL_SRC_FILES += $(R)platform/common/mp3.c
64 LOCAL_SRC_FILES += $(R)platform/common/mp3_dummy.c
67 LOCAL_SRC_FILES += $(R)zlib/gzio.c $(R)zlib/inffast.c $(R)zlib/inflate.c \
68 $(R)zlib/inftrees.c $(R)zlib/trees.c $(R)zlib/deflate.c \
69 $(R)zlib/crc32.c $(R)zlib/adler32.c $(R)zlib/zutil.c \
70 $(R)zlib/compress.c $(R)zlib/uncompr.c
72 LOCAL_SRC_FILES += $(R)unzip/unzip.c $(R)unzip/unzip_stream.c
74 LOCAL_C_INCLUDES += $(R)
76 LOCAL_CFLAGS += $(addprefix -D,$(DEFINES))
77 LOCAL_CFLAGS += -Wall -O3 -ffast-math -DNDEBUG
80 include $(BUILD_SHARED_LIBRARY)