summaryrefslogtreecommitdiff
path: root/jni/libmspack.mk
blob: f7e53f84a848daae833d3489acf4ee07e9222b68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
include $(CLEAR_VARS)
LOCAL_C_INCLUDES := jni/libmspack/libmspack/mspack
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
LOCAL_MODULE := mspack
LOCAL_SRC_FILES := $(filter-out %/debug.c, $(wildcard jni/libmspack/libmspack/mspack/*.c))
include $(BUILD_STATIC_LIBRARY)

include $(CLEAR_VARS)
LOCAL_CFLAGS := -DVERSION=\"1.9.1\" -DHAVE_MKDIR -DHAVE_ICONV -DHAVE_UMASK -DICONV_CONST= -pie
LOCAL_C_INCLUDES := jni/libmspack/cabextract
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
LOCAL_MODULE := cabextract
LOCAL_SRC_FILES := jni/libmspack/cabextract/src/cabextract.c jni/libmspack/cabextract/md5.c
LOCAL_STATIC_LIBRARIES := mspack iconv
include $(BUILD_SHARED_LIBRARY)