blob: 917f8dc4e7f28cb8c6edb8da54ff6f250a9ebd13 [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 \
Tarun Kundu12e3b2e2024-08-15 16:16:53 -070014 crypto.c dump.c ubus.c metrics.c hash-questions.c \
15 domain-match.c
Simon Kelley572b41e2011-02-18 18:11:18 +000016
17LOCAL_MODULE := dnsmasq
18
19LOCAL_C_INCLUDES := external/dnsmasq/src
20
21LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -DNO_IPV6 -DNO_TFTP -DNO_SCRIPT
22LOCAL_SYSTEM_SHARED_LIBRARIES := libc libcutils
23
Simon Kelley6b617c02012-06-29 21:15:42 +010024LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog
25
Simon Kelley572b41e2011-02-18 18:11:18 +000026include $(BUILD_EXECUTABLE)