aboutsummaryrefslogtreecommitdiff
path: root/avahi-common/Android.mk
blob: 0b15717d55a9dacf0b0ba7efe6677425d55c3ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
LOCAL_PATH:=$(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE:=libavahi-common

LOCAL_SRC_FILES := \
    avahi-malloc.c \
    address.c \
    alternative.c \
    error.c \
    strlst.c \
    domain.c \
    timeval.c \
    simple-watch.c \
    thread-watch.c \
    rlist.c \
    utf8.c \
    i18n.c

LOCAL_CFLAGS := \
    -DHAVE_CONFIG_H \
    -g \
    -O2 \
    -fstack-protector \
    -std=c99 \
    -Wall \
    -W \
    -Wextra \
    -pedantic \
    -pipe \
    -Wformat \
    -Wold-style-definition \
    -Wdeclaration-after-statement \
    -Wfloat-equal \
    -Wmissing-declarations \
    -Wmissing-prototypes \
    -Wstrict-prototypes \
    -Wredundant-decls \
    -Wmissing-noreturn \
    -Wshadow \
    -Wendif-labels \
    -Wpointer-arith \
    -Wbad-function-cast \
    -Wcast-qual \
    -Wcast-align \
    -Wwrite-strings \
    -fdiagnostics-show-option \
    -Wno-cast-qual \
    -fno-strict-aliasing \
    -DDEBUG_TRAP=__asm__\(\"int\ $3\"\) \
    -DAVAHI_LOCALEDIR=\"/usr/local/share/locale\"

LOCAL_C_INCLUDES := \
    $(LOCAL_PATH) \
    external/avahi

include $(BUILD_SHARED_LIBRARY)