Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
auto import from //depot/cupcake/@135843
Browse files Browse the repository at this point in the history
  • Loading branch information
The Android Open Source Project committed Mar 4, 2009
1 parent 1b52a76 commit 7df3010
Show file tree
Hide file tree
Showing 297 changed files with 119,733 additions and 0 deletions.
1 change: 1 addition & 0 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include $(all-subdir-makefiles)
Empty file added MODULE_LICENSE_APACHE2
Empty file.
63 changes: 63 additions & 0 deletions arm-fm-22k/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES = \
lib_src/eas_chorus.c \
lib_src/eas_chorusdata.c \
lib_src/eas_data.c \
lib_src/eas_fmengine.c \
lib_src/eas_fmsndlib.c \
lib_src/eas_fmsynth.c \
lib_src/eas_fmtables.c \
lib_src/eas_ima_tables.c \
lib_src/eas_imaadpcm.c \
lib_src/eas_imelody.c \
lib_src/eas_imelodydata.c \
lib_src/eas_math.c \
lib_src/eas_midi.c \
lib_src/eas_mididata.c \
lib_src/eas_mixbuf.c \
lib_src/eas_mixer.c \
lib_src/eas_ota.c \
lib_src/eas_otadata.c \
lib_src/eas_pan.c \
lib_src/eas_pcm.c \
lib_src/eas_pcmdata.c \
lib_src/eas_public.c \
lib_src/eas_reverb.c \
lib_src/eas_reverbdata.c \
lib_src/eas_rtttl.c \
lib_src/eas_rtttldata.c \
lib_src/eas_smf.c \
lib_src/eas_smfdata.c \
lib_src/eas_voicemgt.c \
lib_src/eas_wavefile.c \
lib_src/eas_wavefiledata.c \
host_src/eas_config.c \
host_src/eas_hostmm.c \
host_src/eas_main.c \
host_src/eas_report.c \
host_src/eas_wave.c

LOCAL_CFLAGS+= -O2 -D NUM_OUTPUT_CHANNELS=2 \
-D _SAMPLE_RATE_22050 -D EAS_FM_SYNTH \
-D MAX_SYNTH_VOICES=16 -D _IMELODY_PARSER \
-D _RTTTL_PARSER -D _OTA_PARSER \
-D _WAVE_PARSER -D _REVERB_ENABLED \
-D _CHORUS_ENABLED -D _IMA_DECODER \
-D UNIFIED_DEBUG_MESSAGES

LOCAL_C_INCLUDES:= \
$(LOCAL_PATH)/host_src/ \
$(LOCAL_PATH)/lib_src/

LOCAL_ARM_MODE := arm

LOCAL_MODULE := libsonivox

LOCAL_COPY_HEADERS_TO := libsonivox
LOCAL_COPY_HEADERS := \
host_src/eas.h \
host_src/eas_types.h

include $(BUILD_SHARED_LIBRARY)
Binary file added arm-fm-22k/bin/arm-fm-22k
Binary file not shown.
25 changes: 25 additions & 0 deletions arm-fm-22k/host_src/arm-fm-22k.mak
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# Auto-generated sample makefile
#
# This makefile is intended for use with GNU make.
# Set the paths to the tools (CC, AR, LD, etc.)
#

vpath %.c host_src

CC = C:\Program Files\GNUARM\bin\arm-elf-gcc.exe
AS = C:\Program Files\GNUARM\bin\arm-elf-as.exe
LD = C:\Program Files\GNUARM\bin\arm-elf-gcc.exe
AR = C:\Program Files\GNUARM\bin\arm-elf-ar.exe

%.o: %.c
$(CC) -c -O2 -o $@ -I host_src -D UNIFIED_DEBUG_MESSAGES -D EAS_FM_SYNTH -D _IMELODY_PARSER -D _RTTTL_PARSER -D _OTA_PARSER -D _WAVE_PARSER -D _REVERB_ENABLED -D _CHORUS_ENABLED $<

%.o: %.s
$(AS) -o $@ -EL -mcpu=arm946e-s -mfpu=softfpa $<

OBJS = eas_main.o eas_report.o eas_wave.o eas_hostmm.o eas_config.o

arm-fm-22k: $(OBJS)
$(LD) -o $@ $(OBJS) libarm-fm-22k.a -lm

Loading

0 comments on commit 7df3010

Please sign in to comment.