Android.mk
author Sam Lantinga <slouken@libsdl.org>
Tue, 11 Jan 2011 01:27:42 -0800
changeset 261 7190c696a035
parent 260 62c6e6caa9ad
child 329 e4417618b1a6
permissions -rw-r--r--
Don't compile the showimage test program into the shared library.
     1 LOCAL_PATH := $(call my-dir)
     2 
     3 include $(CLEAR_VARS)
     4 
     5 LOCAL_MODULE := SDL_image
     6 
     7 LOCAL_CFLAGS := -I$(LOCAL_PATH)/../jpeg -I$(LOCAL_PATH)/../png -I$(LOCAL_PATH)/../SDL/include \
     8 	-DLOAD_JPG -DLOAD_PNG -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM \
     9 	-DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM \
    10 	-DLOAD_XV
    11 
    12 LOCAL_SRC_FILES := $(notdir $(filter-out %/showimage.c, $(wildcard $(LOCAL_PATH)/*.c)))
    13 
    14 LOCAL_SHARED_LIBRARIES := SDL
    15 
    16 LOCAL_STATIC_LIBRARIES := png jpeg
    17 
    18 LOCAL_LDLIBS := -lz
    19 
    20 include $(BUILD_SHARED_LIBRARY)