• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH := $(call my-dir)
2
3#########################
4
5include $(CLEAR_VARS)
6LOCAL_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
19LOCAL_MODULE := mdnsd
20LOCAL_MODULE_TAGS := optional
21
22LOCAL_C_INCLUDES := external/mdnsresponder/mDNSPosix \
23                    external/mdnsresponder/mDNSCore  \
24                    external/mdnsresponder/mDNSShared
25
26LOCAL_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
27LOCAL_SYSTEM_SHARED_LIBRARIES := libc
28LOCAL_SHARED_LIBRARIES := libcutils liblog
29
30include $(BUILD_EXECUTABLE)
31
32##########################
33
34include $(CLEAR_VARS)
35LOCAL_SRC_FILES :=  mDNSShared/dnssd_clientlib.c  \
36                    mDNSShared/dnssd_clientstub.c \
37                    mDNSShared/dnssd_ipc.c
38
39LOCAL_MODULE := libmdnssd
40LOCAL_MODULE_TAGS := optional
41
42LOCAL_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
43LOCAL_SYSTEM_SHARED_LIBRARIES := libc
44LOCAL_SHARED_LIBRARIES := libcutils liblog
45
46include $(BUILD_SHARED_LIBRARY)
47
48############################
49
50include $(CLEAR_VARS)
51LOCAL_SRC_FILES :=  Clients/dns-sd.c \
52                    Clients/ClientCommon.c
53
54LOCAL_MODULE := dnssd
55LOCAL_MODULE_TAGS := optional
56
57LOCAL_C_INCLUDES := external/mdnsresponder/mDNSShared
58
59LOCAL_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
61LOCAL_SYSTEM_SHARED_LIBRARIES := libc
62LOCAL_SHARED_LIBRARIES := libmdnssd libcutils liblog
63
64include $(BUILD_EXECUTABLE)
65