Convert all networking/* applets to "new style" applet definitions
[oweals/busybox.git] / networking / nslookup.c
index dd4b1ffedd29532813cf3827f983d40e6bcffdc2..8e3c8fed9af02f79755c789001c2d285ef9a0f0f 100644 (file)
  *
  * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
+//config:config NSLOOKUP
+//config:      bool "nslookup"
+//config:      default y
+//config:      help
+//config:        nslookup is a tool to query Internet name servers.
+
+//applet:IF_NSLOOKUP(APPLET(nslookup, BB_DIR_USR_BIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_NSLOOKUP) += nslookup.o
 
 //usage:#define nslookup_trivial_usage
 //usage:       "[HOST] [SERVER]"