Android.mk
changeset 4964 6c645018741e
child 5003 3a95a2b93eb3
equal deleted inserted replaced
4963:604077962776 4964:6c645018741e
       
     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)