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 28 LOCAL_SHARED_LIBRARIES := libcutils liblog 29 30 include $(BUILD_EXECUTABLE) 31 32 ########################## 33 34 include $(CLEAR_VARS) 35 LOCAL_SRC_FILES := mDNSShared/dnssd_clientlib.c \ 36 mDNSShared/dnssd_clientstub.c \ 37 mDNSShared/dnssd_ipc.c 38 39 LOCAL_MODULE := libmdnssd 40 LOCAL_MODULE_TAGS := optional 41 42 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 43 LOCAL_SYSTEM_SHARED_LIBRARIES := libc 44 LOCAL_SHARED_LIBRARIES := libcutils liblog 45 46 include $(BUILD_SHARED_LIBRARY) 47 48 ############################ 49 50 include $(CLEAR_VARS) 51 LOCAL_SRC_FILES := Clients/dns-sd.c \ 52 Clients/ClientCommon.c 53 54 LOCAL_MODULE := dnssd 55 LOCAL_MODULE_TAGS := optional 56 57 LOCAL_C_INCLUDES := external/mdnsresponder/mDNSShared 58 59 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 60 61 LOCAL_SYSTEM_SHARED_LIBRARIES := libc 62 LOCAL_SHARED_LIBRARIES := libmdnssd libcutils liblog 63 64 include $(BUILD_EXECUTABLE) 65