bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_MODULE := libtar |
| 6 | LOCAL_MODULE_TAGS := eng |
| 7 | LOCAL_MODULES_TAGS = optional |
| 8 | LOCAL_CFLAGS = |
| 9 | LOCAL_SRC_FILES = append.c block.c decode.c encode.c extract.c handle.c output.c util.c wrapper.c basename.c strmode.c libtar_hash.c libtar_list.c dirname.c |
| 10 | LOCAL_C_INCLUDES += $(LOCAL_PATH) \ |
| 11 | external/zlib |
| 12 | LOCAL_SHARED_LIBRARIES += libz libc |
| 13 | |
Dees Troy | 4bf3b0d | 2013-09-11 19:12:49 +0000 | [diff] [blame] | 14 | ifeq ($(TWHAVE_SELINUX), true) |
Vojtech Bocek | 25fd68d | 2013-08-27 03:10:10 +0200 | [diff] [blame] | 15 | LOCAL_C_INCLUDES += external/libselinux/include |
| 16 | LOCAL_SHARED_LIBRARIES += libselinux |
| 17 | LOCAL_CFLAGS += -DHAVE_SELINUX |
| 18 | endif |
| 19 | |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 20 | include $(BUILD_SHARED_LIBRARY) |
| 21 | |