aboutsummaryrefslogtreecommitdiff
path: root/avahi-core/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/Android.mk')
-rw-r--r--avahi-core/Android.mk83
1 files changed, 83 insertions, 0 deletions
diff --git a/avahi-core/Android.mk b/avahi-core/Android.mk
new file mode 100644
index 0000000..3d74496
--- /dev/null
+++ b/avahi-core/Android.mk
@@ -0,0 +1,83 @@
+LOCAL_PATH:=$(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE:=libavahi-core
+
+LOCAL_SRC_FILES := \
+ timeeventq.c \
+ iface.c \
+ server.c \
+ entry.c \
+ prioq.c \
+ cache.c \
+ socket.c \
+ response-sched.c \
+ query-sched.c \
+ probe-sched.c \
+ announce.c \
+ browse.c \
+ rrlist.c \
+ resolve-host-name.c \
+ resolve-address.c \
+ browse-domain.c \
+ browse-service-type.c \
+ browse-service.c \
+ resolve-service.c \
+ dns.c \
+ rr.c \
+ log.c \
+ browse-dns-server.c \
+ fdutil.c \
+ util.c \
+ hashmap.c \
+ wide-area.c \
+ multicast-lookup.c \
+ querier.c \
+ addr-util.c \
+ domain-util.c \
+ iface-linux.c \
+ netlink.c
+
+LOCAL_SHARED_LIBRARIES:=\
+ libavahi-common \
+ liblog
+
+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
+
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/..
+
+include $(BUILD_STATIC_LIBRARY)