Home | History | Annotate | Download | only in netcat
      1 LOCAL_PATH:= $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 LOCAL_SRC_FILES:=\
      5 	netcat.c \
      6 	atomicio.c
      7 
      8 
      9 LOCAL_CFLAGS:= \
     10     -O2 -g \
     11     -Wall -Werror \
     12     -Wno-deprecated-declarations \
     13     -Wno-sign-compare \
     14     -Wno-unused-variable \
     15 
     16 #LOCAL_CFLAGS+=-DLINUX
     17 
     18 LOCAL_MODULE_TAGS := eng
     19 
     20 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
     21 
     22 LOCAL_MODULE:=nc
     23 
     24 # gold in binutils 2.22 will warn about the usage of mktemp
     25 LOCAL_LDFLAGS += -Wl,--no-fatal-warnings
     26 
     27 include $(BUILD_EXECUTABLE)
     28