1LOCAL_PATH:= $(call my-dir) 2 3libpcre_src_files := \ 4 pcre_chartables.c \ 5 dist/pcre_byte_order.c \ 6 dist/pcre_compile.c \ 7 dist/pcre_config.c \ 8 dist/pcre_dfa_exec.c \ 9 dist/pcre_exec.c \ 10 dist/pcre_fullinfo.c \ 11 dist/pcre_get.c \ 12 dist/pcre_globals.c \ 13 dist/pcre_jit_compile.c \ 14 dist/pcre_maketables.c \ 15 dist/pcre_newline.c \ 16 dist/pcre_ord2utf8.c \ 17 dist/pcre_refcount.c \ 18 dist/pcre_string_utils.c \ 19 dist/pcre_study.c \ 20 dist/pcre_tables.c \ 21 dist/pcre_ucd.c \ 22 dist/pcre_valid_utf8.c \ 23 dist/pcre_version.c \ 24 dist/pcre_xclass.c 25 26include $(CLEAR_VARS) 27LOCAL_MODULE := libpcre 28LOCAL_CFLAGS += -DHAVE_CONFIG_H 29LOCAL_C_INCLUDES += $(LOCAL_PATH)/dist 30LOCAL_SRC_FILES := $(libpcre_src_files) 31include $(BUILD_HOST_STATIC_LIBRARY) 32 33include $(CLEAR_VARS) 34LOCAL_MODULE := libpcre 35LOCAL_CFLAGS += -DHAVE_CONFIG_H 36LOCAL_C_INCLUDES += $(LOCAL_PATH)/dist 37LOCAL_SRC_FILES := $(libpcre_src_files) 38include $(BUILD_STATIC_LIBRARY) 39 40include $(CLEAR_VARS) 41LOCAL_MODULE := libpcre 42LOCAL_CFLAGS += -DHAVE_CONFIG_H 43LOCAL_C_INCLUDES += $(LOCAL_PATH)/dist 44LOCAL_SRC_FILES := $(libpcre_src_files) 45include $(BUILD_SHARED_LIBRARY) 46 47