Home | History | Annotate | Download | only in avahi-common
      1 LOCAL_PATH:=$(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 LOCAL_MODULE:=libavahi-common
      5 
      6 LOCAL_SRC_FILES := \
      7     avahi-malloc.c \
      8     address.c \
      9     alternative.c \
     10     error.c \
     11     strlst.c \
     12     domain.c \
     13     timeval.c \
     14     simple-watch.c \
     15     thread-watch.c \
     16     rlist.c \
     17     utf8.c \
     18     i18n.c
     19 
     20 LOCAL_CFLAGS := \
     21     -DHAVE_CONFIG_H \
     22     -g \
     23     -O2 \
     24     -fstack-protector \
     25     -std=c99 \
     26     -Wall \
     27     -W \
     28     -Wextra \
     29     -pedantic \
     30     -pipe \
     31     -Wformat \
     32     -Wold-style-definition \
     33     -Wdeclaration-after-statement \
     34     -Wfloat-equal \
     35     -Wmissing-declarations \
     36     -Wmissing-prototypes \
     37     -Wstrict-prototypes \
     38     -Wredundant-decls \
     39     -Wmissing-noreturn \
     40     -Wshadow \
     41     -Wendif-labels \
     42     -Wpointer-arith \
     43     -Wbad-function-cast \
     44     -Wcast-qual \
     45     -Wcast-align \
     46     -Wwrite-strings \
     47     -fdiagnostics-show-option \
     48     -Wno-cast-qual \
     49     -fno-strict-aliasing \
     50     -DDEBUG_TRAP=__asm__\(\"int\ $3\"\) \
     51     -DAVAHI_LOCALEDIR=\"/usr/local/share/locale\"
     52 
     53 LOCAL_C_INCLUDES := \
     54     $(LOCAL_PATH) \
     55     external/avahi
     56 
     57 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/..
     58 
     59 include $(BUILD_SHARED_LIBRARY)
     60