Magisk/jni/magiskboot/Android.mk

20 lines
613 B
Makefile
Raw Normal View History

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