Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 561 Bytes
# don't include LOCAL_PATH for submodules
include $(CLEAR_VARS)
LOCAL_MODULE := texgz
LOCAL_CFLAGS := -Wall
LOCAL_SRC_FILES := texgz/texgz_tex.c texgz/texgz_log.c
LOCAL_LDLIBS := -Llibs/armeabi \
-llog -lz
ifeq ($(TEXGZ_USE_JPEG),TRUE)
LOCAL_SRC_FILES := $(LOCAL_SRC_FILES) texgz/texgz_jpeg.c
LOCAL_SHARED_LIBRARIES := libmyjpeg
endif
ifeq ($(TEXGZ_USE_PNG),TRUE)
LOCAL_SRC_FILES := $(LOCAL_SRC_FILES) texgz/texgz_lodepng.c
LOCAL_SRC_FILES := $(LOCAL_SRC_FILES) lodepng/lodepng.c
endif
include $(BUILD_SHARED_LIBRARY)