Improved port of ifconfig... smaller and with more features.
[oweals/busybox.git] / applets.h
index eaa818df7a9e7a9b9962eaa3da8999b7c84a1321..36817fef73c9dd4b8d438f9e4381b1a1d094cb87 100644 (file)
--- a/applets.h
+++ b/applets.h
     #define APPLET_NOUSAGE(a,b,c) "\0"
     #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\n\n" d##_full_usage "\0"
   #endif
+#elif defined(MAKE_LINKS)
+#  define APPLET(a,b,c) LINK c a
+#  define APPLET_NOUSAGE(a,b,c) LINK c a
+#  define APPLET_ODDNAME(a,b,c,d) LINK c a
 #else
   const struct BB_applet applets[] = {
   #define APPLET(a,b,c) {#a,b,c},
 #ifdef BB_TEST
        APPLET(test, test_main, _BB_DIR_USR_BIN)
 #endif
+#ifdef BB_TFTP
+       APPLET(tftp, tftp_main, _BB_DIR_USR_BIN)
+#endif
 #ifdef BB_TOUCH
        APPLET(touch, touch_main, _BB_DIR_BIN)
 #endif