blob: d2d758cc2c83f0641e534fae9f7a0a3ee9e5a081 [file] [log] [blame]
The Android Open Source Projectdd7bc332009-03-03 19:32:55 -08001LOCAL_PATH:= $(call my-dir)
2
3# build host static library
4include $(CLEAR_VARS)
5
6LOCAL_SRC_FILES:= \
7 centraldir.c \
8 zipfile.c
9
10LOCAL_STATIC_LIBRARIES := \
11 libunz
12
13LOCAL_MODULE:= libzipfile
14
15LOCAL_C_INCLUDES += external/zlib
16
17include $(BUILD_HOST_STATIC_LIBRARY)
18
19# build device static library
20include $(CLEAR_VARS)
21
22LOCAL_SRC_FILES:= \
23 centraldir.c \
24 zipfile.c
25
26LOCAL_STATIC_LIBRARIES := \
27 libunz
28
29LOCAL_MODULE:= libzipfile
30
31LOCAL_C_INCLUDES += external/zlib
32
33include $(BUILD_STATIC_LIBRARY)
34
35
36# build test_zipfile
37include $(CLEAR_VARS)
38
39LOCAL_SRC_FILES:= \
40 test_zipfile.c
41
42LOCAL_STATIC_LIBRARIES := libzipfile libunz
43
44LOCAL_MODULE := test_zipfile
45
46LOCAL_C_INCLUDES += external/zlib
47
48include $(BUILD_HOST_EXECUTABLE)