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 \ |
Simon Kelley | 2d76586 | 2020-11-12 22:06:07 +0000 | [diff] [blame] | 14 | crypto.c dump.c ubus.c metrics.c hash_questions.c |
Simon Kelley | 572b41e | 2011-02-18 18:11:18 +0000 | [diff] [blame] | 15 | |
| 16 | LOCAL_MODULE := dnsmasq |
| 17 | |
| 18 | LOCAL_C_INCLUDES := external/dnsmasq/src |
| 19 | |
| 20 | LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -DNO_IPV6 -DNO_TFTP -DNO_SCRIPT |
| 21 | LOCAL_SYSTEM_SHARED_LIBRARIES := libc libcutils |
| 22 | |
Simon Kelley | 6b617c0 | 2012-06-29 21:15:42 +0100 | [diff] [blame] | 23 | LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog |
| 24 | |
Simon Kelley | 572b41e | 2011-02-18 18:11:18 +0000 | [diff] [blame] | 25 | include $(BUILD_EXECUTABLE) |