• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_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_fmsndlib.c \
10	lib_src/eas_fmsynth.c \
11	lib_src/eas_fmtables.c \
12	lib_src/eas_ima_tables.c \
13	lib_src/eas_imaadpcm.c \
14	lib_src/eas_imelody.c \
15	lib_src/eas_imelodydata.c \
16	lib_src/eas_math.c \
17	lib_src/eas_midi.c \
18	lib_src/eas_mididata.c \
19	lib_src/eas_mixbuf.c \
20	lib_src/eas_mixer.c \
21	lib_src/eas_ota.c \
22	lib_src/eas_otadata.c \
23	lib_src/eas_pan.c \
24	lib_src/eas_pcm.c \
25	lib_src/eas_pcmdata.c \
26	lib_src/eas_public.c \
27	lib_src/eas_reverb.c \
28	lib_src/eas_reverbdata.c \
29	lib_src/eas_rtttl.c \
30	lib_src/eas_rtttldata.c \
31	lib_src/eas_smf.c \
32	lib_src/eas_smfdata.c \
33	lib_src/eas_voicemgt.c \
34	lib_src/eas_wavefile.c \
35	lib_src/eas_wavefiledata.c \
36	host_src/eas_config.c \
37	host_src/eas_hostmm.c \
38	host_src/eas_main.c \
39	host_src/eas_report.c \
40	host_src/eas_wave.c
41
42LOCAL_CFLAGS+= -O2 -D NUM_OUTPUT_CHANNELS=2 \
43	-D _SAMPLE_RATE_22050 -D EAS_FM_SYNTH \
44	-D MAX_SYNTH_VOICES=16 -D _IMELODY_PARSER \
45	-D _RTTTL_PARSER -D _OTA_PARSER \
46	-D _WAVE_PARSER -D _REVERB_ENABLED \
47	-D _CHORUS_ENABLED -D _IMA_DECODER \
48	-D UNIFIED_DEBUG_MESSAGES
49
50LOCAL_C_INCLUDES:= \
51	$(LOCAL_PATH)/host_src/ \
52	$(LOCAL_PATH)/lib_src/
53
54LOCAL_ARM_MODE := arm
55
56LOCAL_MODULE := libsonivox
57
58LOCAL_COPY_HEADERS_TO := libsonivox
59LOCAL_COPY_HEADERS := \
60	host_src/eas.h \
61	host_src/eas_types.h
62
63include $(BUILD_SHARED_LIBRARY)
64