blob: 309d1789bfeb6fb386018ae64a16624b44f4fdf4 [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 Kelley98c098b2014-01-08 17:31:16 +000012 dnssec.c dnssec-openssl.c blockdata.c
Simon Kelley572b41e2011-02-18 18:11:18 +000013
14LOCAL_MODULE := dnsmasq
15
16LOCAL_C_INCLUDES := external/dnsmasq/src
17
18LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -DNO_IPV6 -DNO_TFTP -DNO_SCRIPT
19LOCAL_SYSTEM_SHARED_LIBRARIES := libc libcutils
20
Simon Kelley6b617c02012-06-29 21:15:42 +010021LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog
22
Simon Kelley572b41e2011-02-18 18:11:18 +000023include $(BUILD_EXECUTABLE)