Merge "Implementation of connectivity abstraction feature Release v0.5" into connecti...
[platform/upstream/iotivity.git] / resource / csdk / connectivity / lib / android / glib-master / glib / pcre / Android.mk
1 LOCAL_PATH:= $(call my-dir)
2
3 include $(CLEAR_VARS)
4
5 LOCAL_SRC_FILES:= \
6         pcre_compile.c \
7         pcre_chartables.c \
8         pcre_config.c \
9         pcre_dfa_exec.c \
10         pcre_exec.c \
11         pcre_fullinfo.c \
12         pcre_get.c \
13         pcre_globals.c \
14         pcre_newline.c \
15         pcre_ord2utf8.c \
16         pcre_study.c \
17         pcre_tables.c \
18         pcre_try_flipped.c \
19         pcre_ucp_searchfuncs.c \
20         pcre_xclass.c
21
22 LOCAL_MODULE:= libpcre
23
24 LOCAL_C_INCLUDES :=                             \
25         $(GLIB_TOP)/android-internal            \
26         $(GLIB_TOP)/glib/android-internal       \
27         $(GLIB_C_INCLUDES)
28
29 LOCAL_CFLAGS := \
30     -DG_LOG_DOMAIN=\"GLib-GRegex\" \
31     -DSUPPORT_UCP \
32     -DSUPPORT_UTF8 \
33     -DNEWLINE=-1 \
34     -DMATCH_LIMIT=10000000 \
35     -DMATCH_LIMIT_RECURSION=10000000 \
36     -DMAX_NAME_SIZE=32 \
37     -DMAX_NAME_COUNT=10000 \
38     -DMAX_DUPLENGTH=30000 \
39     -DLINK_SIZE=2 \
40     -DPCRE_STATIC \
41     -DPOSIX_MALLOC_THRESHOLD=10
42
43 include $(BUILD_STATIC_LIBRARY)