Added Android Makefile to create an SDL_mixer shared library
authorSam Lantinga <slouken@libsdl.org>
Tue, 11 Jan 2011 01:29:19 -0800
changeset 4910f6c89f20c76
parent 490 6ed75d34edc9
child 492 e9ae8f659fea
Added Android Makefile to create an SDL_mixer shared library
Android.mk
Makefile.in
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Android.mk	Tue Jan 11 01:29:19 2011 -0800
     1.3 @@ -0,0 +1,15 @@
     1.4 +LOCAL_PATH := $(call my-dir)
     1.5 +
     1.6 +include $(CLEAR_VARS)
     1.7 +
     1.8 +LOCAL_MODULE := SDL_mixer
     1.9 +
    1.10 +LOCAL_CFLAGS := -I$(LOCAL_PATH)/.. -I$(LOCAL_PATH)/../SDL/include \
    1.11 +	-DWAV_MUSIC -DOGG_MUSIC -DOGG_USE_TREMOR #-DMOD_MUSIC
    1.12 +
    1.13 +LOCAL_SRC_FILES := $(notdir $(filter-out %/playmus.c %/playwave.c, $(wildcard $(LOCAL_PATH)/*.c)))
    1.14 +
    1.15 +LOCAL_SHARED_LIBRARIES := SDL
    1.16 +LOCAL_STATIC_LIBRARIES := tremor
    1.17 +
    1.18 +include $(BUILD_SHARED_LIBRARY)
     2.1 --- a/Makefile.in	Sat Jun 26 08:01:15 2010 -0700
     2.2 +++ b/Makefile.in	Tue Jan 11 01:29:19 2011 -0800
     2.3 @@ -38,7 +38,7 @@
     2.4  PLAYWAVE_OBJECTS = @PLAYWAVE_OBJECTS@
     2.5  PLAYMUS_OBJECTS = @PLAYMUS_OBJECTS@
     2.6  
     2.7 -DIST = CHANGES COPYING CWProjects.sea.bin MPWmake.sea.bin Makefile.in SDL_mixer.pc.in README SDL_mixer.h SDL_mixer.qpg.in SDL_mixer.spec SDL_mixer.spec.in VisualC.zip Watcom-OS2.zip Xcode.tar.gz acinclude autogen.sh build-scripts configure configure.in dynamic_flac.c dynamic_flac.h dynamic_mod.c dynamic_mod.h dynamic_mp3.c dynamic_mp3.h dynamic_ogg.c dynamic_ogg.h effect_position.c effect_stereoreverse.c effects_internal.c effects_internal.h gcc-fat.sh libmikmod-3.1.12.zip load_aiff.c load_aiff.h load_flac.c load_flac.h load_ogg.c load_ogg.h load_voc.c load_voc.h mixer.c music.c music_cmd.c music_cmd.h music_flac.c music_flac.h music_mad.c music_mad.h music_mod.c music_mod.h music_modplug.c music_modplug.h music_ogg.c music_ogg.h native_midi native_midi_gpl playmus.c playwave.c timidity wavestream.c wavestream.h version.rc
     2.8 +DIST = Android.mk CHANGES COPYING CWProjects.sea.bin MPWmake.sea.bin Makefile.in SDL_mixer.pc.in README SDL_mixer.h SDL_mixer.qpg.in SDL_mixer.spec SDL_mixer.spec.in VisualC.zip Watcom-OS2.zip Xcode.tar.gz acinclude autogen.sh build-scripts configure configure.in dynamic_flac.c dynamic_flac.h dynamic_mod.c dynamic_mod.h dynamic_mp3.c dynamic_mp3.h dynamic_ogg.c dynamic_ogg.h effect_position.c effect_stereoreverse.c effects_internal.c effects_internal.h gcc-fat.sh libmikmod-3.1.12.zip load_aiff.c load_aiff.h load_flac.c load_flac.h load_ogg.c load_ogg.h load_voc.c load_voc.h mixer.c music.c music_cmd.c music_cmd.h music_flac.c music_flac.h music_mad.c music_mad.h music_mod.c music_mod.h music_modplug.c music_modplug.h music_ogg.c music_ogg.h native_midi native_midi_gpl playmus.c playwave.c timidity wavestream.c wavestream.h version.rc
     2.9  
    2.10  LT_AGE      = @LT_AGE@
    2.11  LT_CURRENT  = @LT_CURRENT@