Magisk/jni/magiskboot/Android.mk

31 lines
695 B
Makefile
Raw Normal View History

2016-12-30 18:44:24 +00:00
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
2017-02-27 21:43:49 +00:00
LOCAL_MODULE := magiskboot
LOCAL_STATIC_LIBRARIES := libz liblzma liblz4 libbz2
2017-03-01 20:12:47 +00:00
LOCAL_C_INCLUDES := \
2017-04-27 19:15:48 +00:00
jni/utils \
2017-03-04 13:16:59 +00:00
jni/ndk-compression/zlib/ \
2017-03-01 20:12:47 +00:00
jni/ndk-compression/xz/src/liblzma/api/ \
2017-03-01 21:23:31 +00:00
jni/ndk-compression/lz4/lib/ \
2017-03-04 13:16:59 +00:00
jni/ndk-compression/bzip2/
2017-03-01 20:12:47 +00:00
2017-04-27 19:15:48 +00:00
LOCAL_SRC_FILES := \
main.c \
unpack.c \
repack.c \
hexpatch.c \
parseimg.c \
compress.c \
utils.c \
cpio.c \
sha1.c \
../utils/vector.c
LOCAL_CFLAGS += -DZLIB_CONST
2016-12-30 18:44:24 +00:00
include $(BUILD_EXECUTABLE)
2017-03-01 20:12:47 +00:00
2017-03-04 13:16:59 +00:00
include jni/ndk-compression/zlib/Android.mk
2017-03-01 20:12:47 +00:00
include jni/ndk-compression/xz/src/liblzma/Android.mk
include jni/ndk-compression/lz4/lib/Android.mk
2017-03-01 21:23:31 +00:00
include jni/ndk-compression/bzip2/Android.mk