blob: 0435c6afbf33468cef1ac7532cd49fde3fe66518 [file] [log] [blame]
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -08001LOCAL_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
Stephen Smalley779701d2012-02-09 14:13:23 -050014
15ifeq ($(HAVE_SELINUX),true)
16LOCAL_C_INCLUDES += external/libselinux/include
17LOCAL_STATIC_LIBRARIES += libselinux
18LOCAL_CFLAGS += -DHAVE_SELINUX
19endif
20
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080021LOCAL_MODULE := libminzip
22
23LOCAL_CFLAGS += -Wall
Dees_Troy2673cec2013-04-02 20:22:16 +000024LOCAL_SHARED_LIBRARIES := libz
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080025
Dees_Troy2673cec2013-04-02 20:22:16 +000026include $(BUILD_SHARED_LIBRARY)
Dees_Troyf6b15d12013-04-11 15:29:54 +000027
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)