PageRenderTime 17ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/project/jni/sdl_image/Android.mk

https://github.com/aichunyu/FFPlayer
Makefile | 24 lines | 14 code | 10 blank | 0 comment | 0 complexity | 067fa4e33d4ff6ee4422c70e3fdb12a4 MD5 | raw file
 1LOCAL_PATH := $(call my-dir)
 2
 3include $(CLEAR_VARS)
 4
 5LOCAL_MODULE := sdl_image
 6
 7LOCAL_C_INCLUDES := $(LOCAL_PATH) $(LOCAL_PATH)/../jpeg/include $(LOCAL_PATH)/../png/include $(LOCAL_PATH)/../sdl-$(SDL_VERSION)/include $(LOCAL_PATH)/include
 8LOCAL_CFLAGS := -O3 \
 9       -DLOAD_JPG -DLOAD_PNG -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM \
10       -DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM \
11       -DLOAD_XV
12
13LOCAL_CPP_EXTENSION := .cpp
14
15LOCAL_SRC_FILES := $(notdir $(wildcard $(LOCAL_PATH)/*.c))
16
17LOCAL_STATIC_LIBRARIES := png jpeg
18
19LOCAL_SHARED_LIBRARIES := sdl-$(SDL_VERSION)
20
21LOCAL_LDLIBS := -lz
22
23include $(BUILD_SHARED_LIBRARY)
24