aboutsummaryrefslogtreecommitdiff
path: root/avahi-common/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-common/Android.mk')
-rw-r--r--avahi-common/Android.mk57
1 files changed, 57 insertions, 0 deletions
diff --git a/avahi-common/Android.mk b/avahi-common/Android.mk
new file mode 100644
index 0000000..788e350
--- /dev/null
+++ b/avahi-common/Android.mk
@@ -0,0 +1,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_STATIC_LIBRARY)