blob: a4bc6109356234bd7280d23cddc46dfcf9139dea [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 \
11 radv.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
20include $(BUILD_EXECUTABLE)