Simon Kelley | 572b41e | 2011-02-18 18:11:18 +0000 | [diff] [blame] | 1 | LOCAL_PATH := external/dnsmasq/src |
| 2 | |
| 3 | ######################### |
| 4 | |
| 5 | include $(CLEAR_VARS) |
| 6 | LOCAL_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 Kelley | 4cb1b32 | 2012-02-06 14:30:41 +0000 | [diff] [blame] | 9 | rfc2131.c tftp.c util.c conntrack.c \ |
Simon Kelley | c5ad4e7 | 2012-02-24 16:06:20 +0000 | [diff] [blame] | 10 | dhcp6.c rfc3315.c dhcp-common.c outpacket.c \ |
Simon Kelley | 687bac2 | 2013-05-29 14:17:15 +0100 | [diff] [blame] | 11 | radv.c slaac.c auth.c ipset.c domain.c \ |
Simon Kelley | b5ea1cc | 2014-07-29 16:34:14 +0100 | [diff] [blame] | 12 | dnssec.c dnssec-openssl.c blockdata.c tables.c \ |
Simon Kelley | 6b17335 | 2018-05-08 18:32:14 +0100 | [diff] [blame] | 13 | loop.c inotify.c poll.c rrfilter.c edns0.c arp.c \ |
Tarun Kundu | 12e3b2e | 2024-08-15 16:16:53 -0700 | [diff] [blame] | 14 | crypto.c dump.c ubus.c metrics.c hash-questions.c \ |
| 15 | domain-match.c |
Simon Kelley | 572b41e | 2011-02-18 18:11:18 +0000 | [diff] [blame] | 16 | |
| 17 | LOCAL_MODULE := dnsmasq |
| 18 | |
| 19 | LOCAL_C_INCLUDES := external/dnsmasq/src |
| 20 | |
| 21 | LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -DNO_IPV6 -DNO_TFTP -DNO_SCRIPT |
| 22 | LOCAL_SYSTEM_SHARED_LIBRARIES := libc libcutils |
| 23 | |
Simon Kelley | 6b617c0 | 2012-06-29 21:15:42 +0100 | [diff] [blame] | 24 | LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog |
| 25 | |
Simon Kelley | 572b41e | 2011-02-18 18:11:18 +0000 | [diff] [blame] | 26 | include $(BUILD_EXECUTABLE) |