blob: 55e102ec8edeebfc065e1d80108feb96b3d272a2 [file] [log] [blame]
Simon Kelley572b41e2011-02-18 18:11:18 +00001LOCAL_PATH := external/dnsmasq/src
2
3#########################
4
5include $(CLEAR_VARS)
6LOCAL_SRC_FILES := bpf.c cache.c dbus.c dhcp.c dnsmasq.c \
7 forward.c helper.c lease.c log.c \
8 netlink.c network.c option.c rfc1035.c \
Simon Kelley4cb1b322012-02-06 14:30:41 +00009 rfc2131.c tftp.c util.c conntrack.c \
Simon Kelleyc5ad4e72012-02-24 16:06:20 +000010 dhcp6.c rfc3315.c dhcp-common.c outpacket.c \
Simon Kelley687bac22013-05-29 14:17:15 +010011 radv.c slaac.c auth.c ipset.c domain.c \
Simon Kelleyb5ea1cc2014-07-29 16:34:14 +010012 dnssec.c dnssec-openssl.c blockdata.c tables.c \
Simon Kelley6b173352018-05-08 18:32:14 +010013 loop.c inotify.c poll.c rrfilter.c edns0.c arp.c \
14 crypto.c dump.c
Simon Kelley572b41e2011-02-18 18:11:18 +000015
16LOCAL_MODULE := dnsmasq
17
18LOCAL_C_INCLUDES := external/dnsmasq/src
19
20LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -DNO_IPV6 -DNO_TFTP -DNO_SCRIPT
21LOCAL_SYSTEM_SHARED_LIBRARIES := libc libcutils
22
Simon Kelley6b617c02012-06-29 21:15:42 +010023LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog
24
Simon Kelley572b41e2011-02-18 18:11:18 +000025include $(BUILD_EXECUTABLE)