Android.mk
changeset 5090 327f181542f1
parent 5003 3a95a2b93eb3
child 5092 ed1d54f1290a
equal deleted inserted replaced
5089:79bd1e289005 5090:327f181542f1
    10 
    10 
    11 LOCAL_MODULE := SDL
    11 LOCAL_MODULE := SDL
    12 
    12 
    13 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
    13 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
    14 
    14 
    15 LOCAL_SRC_FILES := src/SDL_android.cpp \
    15 LOCAL_SRC_FILES := \
    16 	$(subst $(LOCAL_PATH)/,, \
    16 	$(subst $(LOCAL_PATH)/,, \
    17 	$(wildcard $(LOCAL_PATH)/src/*.c) \
    17 	$(wildcard $(LOCAL_PATH)/src/*.c) \
    18 	$(wildcard $(LOCAL_PATH)/src/audio/*.c) \
    18 	$(wildcard $(LOCAL_PATH)/src/audio/*.c) \
       
    19 	$(wildcard $(LOCAL_PATH)/src/audio/android/*.c) \
       
    20 	$(wildcard $(LOCAL_PATH)/src/audio/dummy/*.c) \
    19 	$(LOCAL_PATH)/src/atomic/SDL_atomic.c \
    21 	$(LOCAL_PATH)/src/atomic/SDL_atomic.c \
    20 	$(LOCAL_PATH)/src/atomic/SDL_spinlock.c.arm \
    22 	$(LOCAL_PATH)/src/atomic/SDL_spinlock.c.arm \
       
    23 	$(wildcard $(LOCAL_PATH)/src/core/android/*.cpp) \
    21 	$(wildcard $(LOCAL_PATH)/src/cpuinfo/*.c) \
    24 	$(wildcard $(LOCAL_PATH)/src/cpuinfo/*.c) \
    22 	$(wildcard $(LOCAL_PATH)/src/events/*.c) \
    25 	$(wildcard $(LOCAL_PATH)/src/events/*.c) \
    23 	$(wildcard $(LOCAL_PATH)/src/file/*.c) \
    26 	$(wildcard $(LOCAL_PATH)/src/file/*.c) \
       
    27 	$(wildcard $(LOCAL_PATH)/src/haptic/*.c) \
       
    28 	$(wildcard $(LOCAL_PATH)/src/haptic/dummy/*.c) \
    24 	$(wildcard $(LOCAL_PATH)/src/joystick/*.c) \
    29 	$(wildcard $(LOCAL_PATH)/src/joystick/*.c) \
    25 	$(wildcard $(LOCAL_PATH)/src/haptic/*.c) \
    30 	$(wildcard $(LOCAL_PATH)/src/joystick/android/*.c) \
       
    31 	$(wildcard $(LOCAL_PATH)/src/loadso/dlopen/*.c)) \
       
    32 	$(wildcard $(LOCAL_PATH)/src/power/*.c) \
    26 	$(wildcard $(LOCAL_PATH)/src/stdlib/*.c) \
    33 	$(wildcard $(LOCAL_PATH)/src/stdlib/*.c) \
    27 	$(wildcard $(LOCAL_PATH)/src/thread/*.c) \
    34 	$(wildcard $(LOCAL_PATH)/src/thread/*.c) \
       
    35 	$(wildcard $(LOCAL_PATH)/src/thread/pthread/*.c) \
    28 	$(wildcard $(LOCAL_PATH)/src/timer/*.c) \
    36 	$(wildcard $(LOCAL_PATH)/src/timer/*.c) \
       
    37 	$(wildcard $(LOCAL_PATH)/src/timer/unix/*.c) \
    29 	$(wildcard $(LOCAL_PATH)/src/video/*.c) \
    38 	$(wildcard $(LOCAL_PATH)/src/video/*.c) \
    30 	$(wildcard $(LOCAL_PATH)/src/power/*.c) \
    39 	$(wildcard $(LOCAL_PATH)/src/video/android/*.c)
    31 	$(wildcard $(LOCAL_PATH)/src/audio/android/*.c) \
       
    32 	$(wildcard $(LOCAL_PATH)/src/audio/dummy/*.c) \
       
    33 	$(wildcard $(LOCAL_PATH)/src/video/android/*.c) \
       
    34 	$(wildcard $(LOCAL_PATH)/src/joystick/android/*.c) \
       
    35 	$(wildcard $(LOCAL_PATH)/src/haptic/dummy/*.c) \
       
    36 	$(wildcard $(LOCAL_PATH)/src/thread/pthread/*.c) \
       
    37 	$(wildcard $(LOCAL_PATH)/src/timer/unix/*.c) \
       
    38 	$(wildcard $(LOCAL_PATH)/src/loadso/dlopen/*.c))
       
    39 
    40 
    40 LOCAL_LDLIBS := -ldl -lGLESv1_CM -llog
    41 LOCAL_LDLIBS := -ldl -lGLESv1_CM -llog
    41 
    42 
    42 include $(BUILD_SHARED_LIBRARY)
    43 include $(BUILD_SHARED_LIBRARY)