summaryrefslogtreecommitdiff
path: root/bld/Android.mk
diff options
context:
space:
mode:
authorSeungyoun Ju <sy39.ju@samsung.com>2012-08-21 18:23:32 +0900
committerSeungyoun Ju <sy39.ju@samsung.com>2012-08-21 18:23:32 +0900
commit94186e188aad231cd6cf81e06a84d2b9eab05ccc (patch)
treea5813abb98e201a3cac4f3b5eba5069bfd2cb397 /bld/Android.mk
parente5a7e6adba9219ecf8bb5668382fab628f63bf6e (diff)
downloaddnsmasq-94186e188aad231cd6cf81e06a84d2b9eab05ccc.tar.gz
dnsmasq-94186e188aad231cd6cf81e06a84d2b9eab05ccc.tar.bz2
dnsmasq-94186e188aad231cd6cf81e06a84d2b9eab05ccc.zip
Diffstat (limited to 'bld/Android.mk')
-rw-r--r--bld/Android.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/bld/Android.mk b/bld/Android.mk
new file mode 100644
index 0000000..373a783
--- /dev/null
+++ b/bld/Android.mk
@@ -0,0 +1,18 @@
+LOCAL_PATH := external/dnsmasq/src
+
+#########################
+
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := bpf.c cache.c dbus.c dhcp.c dnsmasq.c \
+ forward.c helper.c lease.c log.c \
+ netlink.c network.c option.c rfc1035.c \
+ rfc2131.c tftp.c util.c
+
+LOCAL_MODULE := dnsmasq
+
+LOCAL_C_INCLUDES := external/dnsmasq/src
+
+LOCAL_CFLAGS := -O2 -g -W -Wall -D__ANDROID__ -DNO_IPV6 -DNO_TFTP -DNO_SCRIPT
+LOCAL_SYSTEM_SHARED_LIBRARIES := libc libcutils
+
+include $(BUILD_EXECUTABLE)