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 | 4f7b304 | 2012-11-28 21:27:02 +0000 | [diff] [blame] | 11 | radv.c slaac.c auth.c |
Simon Kelley | 572b41e | 2011-02-18 18:11:18 +0000 | [diff] [blame] | 12 | |
| 13 | LOCAL_MODULE := dnsmasq |
| 14 | |
| 15 | LOCAL_C_INCLUDES := external/dnsmasq/src |
| 16 | |
| 17 | LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -DNO_IPV6 -DNO_TFTP -DNO_SCRIPT |
| 18 | LOCAL_SYSTEM_SHARED_LIBRARIES := libc libcutils |
| 19 | |
Simon Kelley | 6b617c0 | 2012-06-29 21:15:42 +0100 | [diff] [blame] | 20 | LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog |
| 21 | |
Simon Kelley | 572b41e | 2011-02-18 18:11:18 +0000 | [diff] [blame] | 22 | include $(BUILD_EXECUTABLE) |