# # Android NDK makefile # # build - /ndk-build ICONV_SRC= # clean - /ndk-build clean # MY_LOCAL_PATH := $(call my-dir) # libiconv include $(CLEAR_VARS) LOCAL_PATH := $(ICONV_SRC) LOCAL_MODULE := libiconv LOCAL_CFLAGS := \ -Wno-multichar \ -D_ANDROID \ -DLIBDIR="c" \ -DBUILDING_LIBICONV \ -DBUILDING_LIBCHARSET \ -DIN_LIBRARY LOCAL_SRC_FILES := \ lib/iconv.c \ libcharset/lib/localcharset.c \ lib/relocatable.c LOCAL_C_INCLUDES := \ $(ICONV_SRC)/include \ $(ICONV_SRC)/libcharset \ $(ICONV_SRC)/libcharset/include include $(BUILD_SHARED_LIBRARY) LOCAL_LDLIBS := -llog -lcharset # libzbarjni include $(CLEAR_VARS) LOCAL_PATH := $(MY_LOCAL_PATH) LOCAL_MODULE := zbarjni LOCAL_SRC_FILES := ../../java/zbarjni.c \ ../../zbar/img_scanner.c \ ../../zbar/decoder.c \ ../../zbar/image.c \ ../../zbar/symbol.c \ ../../zbar/convert.c \ ../../zbar/config.c \ ../../zbar/scanner.c \ ../../zbar/error.c \ ../../zbar/refcnt.c \ ../../zbar/video.c \ ../../zbar/video/null.c \ ../../zbar/decoder/code128.c \ ../../zbar/decoder/code39.c \ ../../zbar/decoder/code93.c \ ../../zbar/decoder/codabar.c \ ../../zbar/decoder/databar.c \ ../../zbar/decoder/ean.c \ ../../zbar/decoder/i25.c \ ../../zbar/decoder/qr_finder.c \ ../../zbar/qrcode/bch15_5.c \ ../../zbar/qrcode/binarize.c \ ../../zbar/qrcode/isaac.c \ ../../zbar/qrcode/qrdec.c \ ../../zbar/qrcode/qrdectxt.c \ ../../zbar/qrcode/rs.c \ ../../zbar/qrcode/util.c LOCAL_C_INCLUDES := ../include \ ../zbar \ $(ICONV_SRC)/include LOCAL_SHARED_LIBRARIES := libiconv include $(BUILD_SHARED_LIBRARY)