project_files/Android-build/SDL-android-project/jni/SDL_mixer/Android.mk
author Xeli
Sun, 22 Jan 2012 23:36:36 +0100
changeset 6589 2fa0a274a1e3
parent 6234 1323a3681327
child 7855 ddcdedd3330b
permissions -rw-r--r--
some tweaks to the build process, cmake now generates some vital files, fpc only compiles those files which have been changed since the last time, SDL still does not work
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 := \
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
     8
	$(LOCAL_PATH)/../../../../../misc/libtremor \
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)/.. \
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)/../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
    11
	$(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
    12
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
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
    14
6234
1323a3681327 these files must not be compiled because they cause compiler errors and noone likes those ;p
Xeli
parents: 6045
diff changeset
    15
LOCAL_SRC_FILES := $(notdir $(filter-out %/playmus.c %/playwave.c %/fluidsynth.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
    16
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
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
    18
LOCAL_STATIC_LIBRARIES := tremor
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
    19
9a7cc0f29430 Using misc/libtremor/tremor rather than misc/tremor, plus added the include in the android.mk of SDL_mixer
Xeli
parents:
diff changeset
    20
include $(BUILD_SHARED_LIBRARY)