File: Android.mk

package info (click to toggle)
sdl-image1.2 1.2.12-12
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 6,936 kB
  • sloc: sh: 10,169; ansic: 9,638; objc: 248; csh: 219; makefile: 87
file content (20 lines) | stat: -rw-r--r-- 513 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := SDL_image

LOCAL_CFLAGS := -I$(LOCAL_PATH)/../jpeg -I$(LOCAL_PATH)/../png -I$(LOCAL_PATH)/../SDL/include \
	-DLOAD_JPG -DLOAD_PNG -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM \
	-DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM \
	-DLOAD_XV

LOCAL_SRC_FILES := $(notdir $(filter-out %/showimage.c, $(wildcard $(LOCAL_PATH)/*.c)))

LOCAL_SHARED_LIBRARIES := SDL

LOCAL_STATIC_LIBRARIES := png jpeg

LOCAL_LDLIBS := -lz

include $(BUILD_SHARED_LIBRARY)