Android.mk
author Thomas Bernard <miniupnp@free.fr>
Fri, 30 Nov 2018 11:04:15 +0100
branchSDL-1.2
changeset 634 68f958f43339
parent 261 7190c696a035
child 329 e4417618b1a6
permissions -rw-r--r--
IMG_xcf.c: Avoid infinite loop in read_xcf_header()
slouken@257
     1
LOCAL_PATH := $(call my-dir)
slouken@257
     2
slouken@257
     3
include $(CLEAR_VARS)
slouken@257
     4
slouken@257
     5
LOCAL_MODULE := SDL_image
slouken@257
     6
slouken@258
     7
LOCAL_CFLAGS := -I$(LOCAL_PATH)/../jpeg -I$(LOCAL_PATH)/../png -I$(LOCAL_PATH)/../SDL/include \
slouken@260
     8
	-DLOAD_JPG -DLOAD_PNG -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM \
slouken@260
     9
	-DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM \
slouken@260
    10
	-DLOAD_XV
slouken@257
    11
slouken@261
    12
LOCAL_SRC_FILES := $(notdir $(filter-out %/showimage.c, $(wildcard $(LOCAL_PATH)/*.c)))
slouken@257
    13
slouken@257
    14
LOCAL_SHARED_LIBRARIES := SDL
slouken@257
    15
slouken@257
    16
LOCAL_STATIC_LIBRARIES := png jpeg
slouken@257
    17
slouken@257
    18
LOCAL_LDLIBS := -lz
slouken@257
    19
slouken@257
    20
include $(BUILD_SHARED_LIBRARY)