Android.mk
author Sam Lantinga <slouken@libsdl.org>
Sun, 09 Jan 2011 08:35:18 -0800
changeset 4968 379361d5e425
parent 4964 6c645018741e
child 5003 3a95a2b93eb3
permissions -rwxr-xr-x
Jcw87 to Sam

The project files for VS 2005 are still outdated/messed up. I have a patch that will bring the VS 2005 project files up to date with the VS 2008 project files, add the x64 platform to the VS 2005 project files, fix a few issues with x64 in VS 2008, and a few other misc changes that don't really change the output at all.
     1 LOCAL_PATH := $(call my-dir)
     2 
     3 ###########################
     4 #
     5 # SDL shared library
     6 #
     7 ###########################
     8 
     9 include $(CLEAR_VARS)
    10 
    11 LOCAL_MODULE := SDL
    12 
    13 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
    14 
    15 LOCAL_SRC_FILES := src/SDL_android.cpp \
    16 	$(subst $(LOCAL_PATH)/,, \
    17 	$(wildcard $(LOCAL_PATH)/src/*.c) \
    18 	$(wildcard $(LOCAL_PATH)/src/audio/*.c) \
    19 	$(wildcard $(LOCAL_PATH)/src/cpuinfo/*.c) \
    20 	$(wildcard $(LOCAL_PATH)/src/events/*.c) \
    21 	$(wildcard $(LOCAL_PATH)/src/file/*.c) \
    22 	$(wildcard $(LOCAL_PATH)/src/joystick/*.c) \
    23 	$(wildcard $(LOCAL_PATH)/src/haptic/*.c) \
    24 	$(wildcard $(LOCAL_PATH)/src/stdlib/*.c) \
    25 	$(wildcard $(LOCAL_PATH)/src/thread/*.c) \
    26 	$(wildcard $(LOCAL_PATH)/src/timer/*.c) \
    27 	$(wildcard $(LOCAL_PATH)/src/video/*.c) \
    28 	$(wildcard $(LOCAL_PATH)/src/power/*.c) \
    29 	$(wildcard $(LOCAL_PATH)/src/audio/android/*.c) \
    30 	$(wildcard $(LOCAL_PATH)/src/audio/dummy/*.c) \
    31 	$(wildcard $(LOCAL_PATH)/src/video/android/*.c) \
    32 	$(wildcard $(LOCAL_PATH)/src/joystick/android/*.c) \
    33 	$(wildcard $(LOCAL_PATH)/src/haptic/dummy/*.c) \
    34 	$(wildcard $(LOCAL_PATH)/src/atomic/dummy/*.c) \
    35 	$(wildcard $(LOCAL_PATH)/src/thread/pthread/*.c) \
    36 	$(wildcard $(LOCAL_PATH)/src/timer/unix/*.c) \
    37 	$(wildcard $(LOCAL_PATH)/src/loadso/dlopen/*.c))
    38 
    39 LOCAL_LDLIBS := -ldl -lGLESv1_CM -llog
    40 
    41 include $(BUILD_SHARED_LIBRARY)