blob: eb26e488fc03bf5838a8e60f339b8921b2f8f0f0 [file] [log] [blame]
LOCAL_PATH:=$(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE:=libavahi-glib
LOCAL_SRC_FILES := \
glib-watch.c \
glib-malloc.c
LOCAL_SHARED_LIBRARIES:=\
libavahi-common \
libglib
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 \
/usr/include/glib
LOCAL_PRELINK_MODULE := false
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/..
include $(BUILD_SHARED_LIBRARY)