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