1 LOCAL_PATH := $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_SRC_FILES = \ 5 Tremolo/bitwise.c \ 6 Tremolo/codebook.c \ 7 Tremolo/dsp.c \ 8 Tremolo/floor0.c \ 9 Tremolo/floor1.c \ 10 Tremolo/floor_lookup.c \ 11 Tremolo/framing.c \ 12 Tremolo/mapping0.c \ 13 Tremolo/mdct.c \ 14 Tremolo/misc.c \ 15 Tremolo/res012.c \ 16 Tremolo/treminfo.c \ 17 Tremolo/vorbisfile.c 18 19 ifeq ($(TARGET_ARCH),arm) 20 LOCAL_SRC_FILES += \ 21 Tremolo/bitwiseARM.s \ 22 Tremolo/dpen.s \ 23 Tremolo/floor1ARM.s \ 24 Tremolo/mdctARM.s 25 LOCAL_CFLAGS += \ 26 -D_ARM_ASSEM_ 27 else 28 LOCAL_CFLAGS += \ 29 -DONLY_C 30 endif 31 LOCAL_CFLAGS+= -O2 32 33 LOCAL_C_INCLUDES:= \ 34 $(LOCAL_PATH)/Tremolo 35 36 LOCAL_ARM_MODE := arm 37 38 LOCAL_MODULE := libvorbisidec 39 40 include $(BUILD_SHARED_LIBRARY) 41