Dees Troy | b7ae098 | 2013-09-10 20:47:35 +0000 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES := \ |
| 5 | Hash.c \ |
| 6 | SysUtil.c \ |
| 7 | DirUtil.c \ |
| 8 | Inlines.c \ |
| 9 | Zip.c |
| 10 | |
| 11 | LOCAL_C_INCLUDES += \ |
| 12 | external/zlib \ |
| 13 | external/safe-iop/include |
| 14 | |
| 15 | ifeq ($(HAVE_SELINUX),true) |
| 16 | LOCAL_C_INCLUDES += external/libselinux/include |
| 17 | LOCAL_STATIC_LIBRARIES += libselinux |
| 18 | LOCAL_CFLAGS += -DHAVE_SELINUX |
| 19 | endif |
| 20 | |
| 21 | LOCAL_MODULE := libminzip |
| 22 | |
| 23 | LOCAL_CFLAGS += -Wall |
| 24 | LOCAL_SHARED_LIBRARIES := libz |
| 25 | |
| 26 | include $(BUILD_SHARED_LIBRARY) |
| 27 | |
| 28 | |
| 29 | include $(CLEAR_VARS) |
| 30 | |
| 31 | LOCAL_SRC_FILES := \ |
| 32 | Hash.c \ |
| 33 | SysUtil.c \ |
| 34 | DirUtil.c \ |
| 35 | Inlines.c \ |
| 36 | Zip.c |
| 37 | |
| 38 | LOCAL_C_INCLUDES += \ |
| 39 | external/zlib \ |
| 40 | external/safe-iop/include |
| 41 | |
| 42 | ifeq ($(HAVE_SELINUX),true) |
| 43 | LOCAL_C_INCLUDES += external/libselinux/include |
| 44 | LOCAL_STATIC_LIBRARIES += libselinux |
| 45 | LOCAL_CFLAGS += -DHAVE_SELINUX |
| 46 | endif |
| 47 | |
| 48 | LOCAL_MODULE := libminzip |
| 49 | |
| 50 | LOCAL_CFLAGS += -Wall |
| 51 | LOCAL_STATIC_LIBRARIES := libz |
| 52 | |
| 53 | include $(BUILD_STATIC_LIBRARY) |