aboutsummaryrefslogtreecommitdiff
path: root/avahi-utils/Android.mk
blob: e85a943d59410f9a3f0fad6eb155ab88ad7c3692 (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
LOCAL_PATH:=$(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE:=avahi-browse

LOCAL_MODULE_TAGS:=eng debug

LOCAL_SRC_FILES := \
    avahi-browse.c \
    sigint.c

LOCAL_SHARED_LIBRARIES:=\
    libavahi-client \
    libavahi-common \
    libdbus

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\"\)

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

include $(BUILD_EXECUTABLE)