project_files/Android-build/SDL-android-project/jni/SDL_mixer/Android.mk
author koda
Thu, 25 Jul 2013 23:16:06 +0200
changeset 9371 f3840de881bd
parent 7855 ddcdedd3330b
child 10017 de822cd3df3a
permissions -rw-r--r--
strip out our copy of libtremor SDL2_mixer comes with a more updated, better integrated version
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6045
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
     1
LOCAL_PATH := $(call my-dir)
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
     2
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
     3
include $(CLEAR_VARS)
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
     4
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
     5
LOCAL_MODULE := SDL_mixer
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
     6
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
     7
LOCAL_C_INCLUDES := \
6592
cf12f07d6f24 update the core/android/SDL_android.cpp fix some includes in Android.mks, use a different host to download some libs, sdl doesn't have up to date tarballs..
Xeli
parents:
diff changeset
     8
	$(LOCAL_PATH)/.. \
6045
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
     9
	$(LOCAL_PATH)/../SDL/include \
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
    10
	$(LOCAL_PATH)/../mikmod/include \
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
    11
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
    12
LOCAL_CFLAGS := -DWAV_MUSIC -DOGG_MUSIC -DOGG_USE_TREMOR -DMOD_MUSIC
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
    13
6592
cf12f07d6f24 update the core/android/SDL_android.cpp fix some includes in Android.mks, use a different host to download some libs, sdl doesn't have up to date tarballs..
Xeli
parents:
diff changeset
    14
LOCAL_SRC_FILES := $(notdir $(filter-out %/playmus.c %/playwave.c, $(wildcard $(LOCAL_PATH)/*.c)))
6045
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
    15
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
    16
LOCAL_SHARED_LIBRARIES := SDL mikmod
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
    17
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
    18
include $(BUILD_SHARED_LIBRARY)