1 LOCAL_PATH := $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_SRC_FILES = \ 5 lib_src/eas_chorus.c \ 6 lib_src/eas_chorusdata.c \ 7 lib_src/eas_data.c \ 8 lib_src/eas_fmengine.c \ 9 lib_src/eas_fmsynth.c \ 10 lib_src/eas_fmtables.c \ 11 lib_src/eas_ima_tables.c \ 12 lib_src/eas_imaadpcm.c \ 13 lib_src/eas_imelody.c \ 14 lib_src/eas_imelodydata.c \ 15 lib_src/eas_math.c \ 16 lib_src/eas_midi.c \ 17 lib_src/eas_mididata.c \ 18 lib_src/eas_mixbuf.c \ 19 lib_src/eas_mixer.c \ 20 lib_src/eas_ota.c \ 21 lib_src/eas_otadata.c \ 22 lib_src/eas_pan.c \ 23 lib_src/eas_pcm.c \ 24 lib_src/eas_pcmdata.c \ 25 lib_src/eas_public.c \ 26 lib_src/eas_reverb.c \ 27 lib_src/eas_reverbdata.c \ 28 lib_src/eas_rtttl.c \ 29 lib_src/eas_rtttldata.c \ 30 lib_src/eas_smf.c \ 31 lib_src/eas_smfdata.c \ 32 lib_src/eas_voicemgt.c \ 33 lib_src/eas_wavefile.c \ 34 lib_src/eas_wavefiledata.c \ 35 lib_src/eas_wtengine.c \ 36 lib_src/eas_wtsynth.c \ 37 lib_src/hybrid_22khz_mcu.c \ 38 host_src/eas_config.c \ 39 host_src/eas_hostmm.c \ 40 host_src/eas_main.c \ 41 host_src/eas_report.c \ 42 host_src/eas_wave.c 43 44 LOCAL_CFLAGS+= -O2 -D UNIFIED_DEBUG_MESSAGES -D EAS_HYBRID_SYNTH \ 45 -D _IMELODY_PARSER -D _RTTTL_PARSER -D _OTA_PARSER \ 46 -D _WAVE_PARSER -D _REVERB_ENABLED \ 47 -D _CHORUS_ENABLED -D NUM_OUTPUT_CHANNELS=2 \ 48 -D _SAMPLE_RATE_22050 -D MAX_SYNTH_VOICES=32 \ 49 -D NUM_PRIMARY_VOICES=8 \ 50 -D _8_BIT_SAMPLES -D _FILTER_ENABLED -D _IMELODY_PARSER \ 51 -D _IMA_DECODER 52 53 LOCAL_C_INCLUDES:= \ 54 $(LOCAL_PATH)/host_src/ \ 55 $(LOCAL_PATH)/lib_src/ 56 57 LOCAL_ARM_MODE := arm 58 59 LOCAL_MODULE := libsonivox 60 61 LOCAL_COPY_HEADERS_TO := libsonivox 62 LOCAL_COPY_HEADERS := \ 63 host_src/eas.h \ 64 host_src/eas_types.h 65 66 include $(BUILD_SHARED_LIBRARY) 67