1 LOCAL_PATH := $(call my-dir) 2 3 ######################### 4 5 include $(CLEAR_VARS) 6 LOCAL_SRC_FILES := mDNSPosix/PosixDaemon.c \ 7 mDNSPosix/mDNSPosix.c \ 8 mDNSPosix/mDNSUNP.c \ 9 mDNSCore/mDNS.c \ 10 mDNSCore/DNSDigest.c \ 11 mDNSCore/uDNS.c \ 12 mDNSCore/DNSCommon.c \ 13 mDNSShared/uds_daemon.c \ 14 mDNSShared/mDNSDebug.c \ 15 mDNSShared/dnssd_ipc.c \ 16 mDNSShared/GenLinkedList.c \ 17 mDNSShared/PlatformCommon.c 18 19 LOCAL_MODULE := mdnsd 20 LOCAL_MODULE_TAGS := optional 21 22 LOCAL_C_INCLUDES := external/mdnsresponder/mDNSPosix \ 23 external/mdnsresponder/mDNSCore \ 24 external/mdnsresponder/mDNSShared 25 26 LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -D_GNU_SOURCE -DHAVE_IPV6 -DNOT_HAVE_SA_LEN -DUSES_NETLINK -DTARGET_OS_LINUX -fno-strict-aliasing -DHAVE_LINUX -DMDNS_DEBUGMSGS=0 -DMDNS_UDS_SERVERPATH=\"/dev/socket/mdnsd\" -DMDNS_USERNAME=\"mdnsr\" -DPLATFORM_NO_RLIMIT 27 LOCAL_SYSTEM_SHARED_LIBRARIES := libc libcutils 28 29 include $(BUILD_EXECUTABLE) 30 31 ########################## 32 33 include $(CLEAR_VARS) 34 LOCAL_SRC_FILES := mDNSShared/dnssd_clientlib.c \ 35 mDNSShared/dnssd_clientstub.c \ 36 mDNSShared/dnssd_ipc.c 37 38 LOCAL_MODULE := libmdnssd 39 LOCAL_MODULE_TAGS := optional 40 41 LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -D_GNU_SOURCE -DHAVE_IPV6 -DNOT_HAVE_SA_LEN -DUSES_NETLINK -DTARGET_OS_LINUX -fno-strict-aliasing -DHAVE_LINUX -DMDNS_UDS_SERVERPATH=\"/dev/socket/mdnsd\" -DMDNS_DEBUGMSGS=0 42 LOCAL_SYSTEM_SHARED_LIBRARIES := libc libcutils 43 44 include $(BUILD_SHARED_LIBRARY) 45 46 ############################ 47 48 include $(CLEAR_VARS) 49 LOCAL_SRC_FILES := Clients/dns-sd.c \ 50 Clients/ClientCommon.c 51 52 LOCAL_MODULE := dnssd 53 LOCAL_MODULE_TAGS := optional 54 55 LOCAL_C_INCLUDES := external/mdnsresponder/mDNSShared 56 57 LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -D_GNU_SOURCE -DHAVE_IPV6 -DNOT_HAVE_SA_LEN -DUSES_NETLINK -DTARGET_OS_LINUX -fno-strict-aliasing -DHAVE_LINUX -DMDNS_UDS_SERVERPATH=\"/dev/socket/mdnsd\" -DMDNS_DEBUGMSGS=0 58 59 LOCAL_SYSTEM_SHARED_LIBRARIES := libmdnssd libc libcutils 60 61 include $(BUILD_EXECUTABLE) 62