project_files/Android-build/SDL-android-project/jni/SDL_mixer/Android.mk
changeset 6592 cf12f07d6f24
child 7855 ddcdedd3330b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project_files/Android-build/SDL-android-project/jni/SDL_mixer/Android.mk	Tue Jan 24 02:47:51 2012 +0100
@@ -0,0 +1,20 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := SDL_mixer
+
+LOCAL_C_INCLUDES := \
+        $(LOCAL_PATH)/../../../../../misc/libtremor \
+	$(LOCAL_PATH)/.. \
+	$(LOCAL_PATH)/../SDL/include \
+	$(LOCAL_PATH)/../mikmod/include \
+
+LOCAL_CFLAGS := -DWAV_MUSIC -DOGG_MUSIC -DOGG_USE_TREMOR -DMOD_MUSIC
+
+LOCAL_SRC_FILES := $(notdir $(filter-out %/playmus.c %/playwave.c, $(wildcard $(LOCAL_PATH)/*.c)))
+
+LOCAL_SHARED_LIBRARIES := SDL mikmod
+LOCAL_STATIC_LIBRARIES := tremor
+
+include $(BUILD_SHARED_LIBRARY)