blob: 46e4d037ceac562a0a2865106e070701c1572855 [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 Kelley2bb73af2013-04-24 17:38:19 +010011 radv.c slaac.c auth.c ipset.c domain.c
Simon Kelley572b41e2011-02-18 18:11:18 +000012
13LOCAL_MODULE := dnsmasq
14
15LOCAL_C_INCLUDES := external/dnsmasq/src
16
17LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -DNO_IPV6 -DNO_TFTP -DNO_SCRIPT
18LOCAL_SYSTEM_SHARED_LIBRARIES := libc libcutils
19
Simon Kelley6b617c02012-06-29 21:15:42 +010020LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog
21
Simon Kelley572b41e2011-02-18 18:11:18 +000022include $(BUILD_EXECUTABLE)