summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:07 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:07 -0800
commit5e0936b99e2d50769c5432b47c4d07c3dcdd37c6 (patch)
tree7ed686be807c3cce93be58daaf49169a94a21b04 /Android.mk
parent39c3e9d45c422c33aaf85c552a96434f2b9371e2 (diff)
downloadnetcat-5e0936b99e2d50769c5432b47c4d07c3dcdd37c6.tar.gz
auto import from //depot/cupcake/@135843
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..5756432
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,20 @@
+ifneq ($(TARGET_SIMULATOR),true)
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:=\
+ netcat.c
+
+LOCAL_CFLAGS:=-O2 -g
+#LOCAL_CFLAGS+=-DLINUX
+
+LOCAL_MODULE_TAGS:=tests eng
+
+LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+
+LOCAL_MODULE:=nc
+
+include $(BUILD_EXECUTABLE)
+
+endif # TARGET_SIMULATOR != true