Android.mk
changeset 4964 6c645018741e
child 5003 3a95a2b93eb3
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Android.mk	Thu Jan 06 16:11:21 2011 -0800
     1.3 @@ -0,0 +1,41 @@
     1.4 +LOCAL_PATH := $(call my-dir)
     1.5 +
     1.6 +###########################
     1.7 +#
     1.8 +# SDL shared library
     1.9 +#
    1.10 +###########################
    1.11 +
    1.12 +include $(CLEAR_VARS)
    1.13 +
    1.14 +LOCAL_MODULE := SDL
    1.15 +
    1.16 +LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
    1.17 +
    1.18 +LOCAL_SRC_FILES := src/SDL_android.cpp \
    1.19 +	$(subst $(LOCAL_PATH)/,, \
    1.20 +	$(wildcard $(LOCAL_PATH)/src/*.c) \
    1.21 +	$(wildcard $(LOCAL_PATH)/src/audio/*.c) \
    1.22 +	$(wildcard $(LOCAL_PATH)/src/cpuinfo/*.c) \
    1.23 +	$(wildcard $(LOCAL_PATH)/src/events/*.c) \
    1.24 +	$(wildcard $(LOCAL_PATH)/src/file/*.c) \
    1.25 +	$(wildcard $(LOCAL_PATH)/src/joystick/*.c) \
    1.26 +	$(wildcard $(LOCAL_PATH)/src/haptic/*.c) \
    1.27 +	$(wildcard $(LOCAL_PATH)/src/stdlib/*.c) \
    1.28 +	$(wildcard $(LOCAL_PATH)/src/thread/*.c) \
    1.29 +	$(wildcard $(LOCAL_PATH)/src/timer/*.c) \
    1.30 +	$(wildcard $(LOCAL_PATH)/src/video/*.c) \
    1.31 +	$(wildcard $(LOCAL_PATH)/src/power/*.c) \
    1.32 +	$(wildcard $(LOCAL_PATH)/src/audio/android/*.c) \
    1.33 +	$(wildcard $(LOCAL_PATH)/src/audio/dummy/*.c) \
    1.34 +	$(wildcard $(LOCAL_PATH)/src/video/android/*.c) \
    1.35 +	$(wildcard $(LOCAL_PATH)/src/joystick/android/*.c) \
    1.36 +	$(wildcard $(LOCAL_PATH)/src/haptic/dummy/*.c) \
    1.37 +	$(wildcard $(LOCAL_PATH)/src/atomic/dummy/*.c) \
    1.38 +	$(wildcard $(LOCAL_PATH)/src/thread/pthread/*.c) \
    1.39 +	$(wildcard $(LOCAL_PATH)/src/timer/unix/*.c) \
    1.40 +	$(wildcard $(LOCAL_PATH)/src/loadso/dlopen/*.c))
    1.41 +
    1.42 +LOCAL_LDLIBS := -ldl -lGLESv1_CM -llog
    1.43 +
    1.44 +include $(BUILD_SHARED_LIBRARY)