1LOCAL_PATH:=$(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_MODULE:=avahi-browse 5 6LOCAL_SRC_FILES := \ 7 avahi-browse.c \ 8 sigint.c 9 10LOCAL_SHARED_LIBRARIES:=\ 11 libavahi-client \ 12 libavahi-common \ 13 libdbus 14 15LOCAL_CFLAGS := \ 16 -DHAVE_CONFIG_H \ 17 -g \ 18 -O2 \ 19 -fstack-protector \ 20 -std=c99 \ 21 -Wall \ 22 -W \ 23 -Wextra \ 24 -pedantic \ 25 -pipe \ 26 -Wformat \ 27 -Wold-style-definition \ 28 -Wdeclaration-after-statement \ 29 -Wfloat-equal \ 30 -Wmissing-declarations \ 31 -Wmissing-prototypes \ 32 -Wstrict-prototypes \ 33 -Wredundant-decls \ 34 -Wmissing-noreturn \ 35 -Wshadow \ 36 -Wendif-labels \ 37 -Wpointer-arith \ 38 -Wbad-function-cast \ 39 -Wcast-qual \ 40 -Wcast-align \ 41 -Wwrite-strings \ 42 -fdiagnostics-show-option \ 43 -Wno-cast-qual \ 44 -fno-strict-aliasing \ 45 -DDEBUG_TRAP=__asm__\(\"int\ $3\"\) 46 47LOCAL_C_INCLUDES := \ 48 $(LOCAL_PATH) \ 49 external/avahi 50 51include $(BUILD_EXECUTABLE) 52