Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 1 | /* |
| 2 | * applets.h - a listing of all busybox applets. |
| 3 | * |
| 4 | * If you write a new applet, you need to add an entry to this list to make |
| 5 | * busybox aware of it. |
| 6 | * |
| 7 | * It is CRUCIAL that this listing be kept in ascii order, otherwise the binary |
| 8 | * search lookup contributed by Gaute B Strokkenes stops working. If you value |
| 9 | * your kneecaps, you'll be sure to *make sure* that any changes made to this |
| 10 | * file result in the listing remaining in ascii order. You have been warned. |
| 11 | */ |
| 12 | |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 13 | #undef APPLET |
| 14 | #undef APPLET_ODDNAME |
| 15 | #undef APPLET_NOUSAGE |
| 16 | |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 17 | |
Eric Andersen | 868c057 | 2000-12-02 00:44:48 +0000 | [diff] [blame] | 18 | #if defined(PROTOTYPES) |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 19 | #define APPLET(a,b,c) extern int b(int argc, char **argv); |
| 20 | #define APPLET_NOUSAGE(a,b,c) extern int b(int argc, char **argv); |
| 21 | #define APPLET_ODDNAME(a,b,c,d) extern int b(int argc, char **argv); |
| 22 | extern const char usage_messages[]; |
| 23 | #elif defined(MAKE_USAGE) |
| 24 | #ifdef BB_FEATURE_TRIVIAL_HELP |
| 25 | #define APPLET(a,b,c) a##_trivial_usage "\0" |
| 26 | #define APPLET_NOUSAGE(a,b,c) "\0" |
| 27 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\0" |
| 28 | #else |
| 29 | #define APPLET(a,b,c) a##_trivial_usage "\n\n" a##_full_usage "\0" |
| 30 | #define APPLET_NOUSAGE(a,b,c) "\0" |
| 31 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\n\n" d##_full_usage "\0" |
| 32 | #endif |
Eric Andersen | 3574b70 | 2001-02-23 02:16:29 +0000 | [diff] [blame] | 33 | #elif defined(MAKE_LINKS) |
| 34 | # define APPLET(a,b,c) LINK c a |
| 35 | # define APPLET_NOUSAGE(a,b,c) LINK c a |
| 36 | # define APPLET_ODDNAME(a,b,c,d) LINK c a |
Eric Andersen | 868c057 | 2000-12-02 00:44:48 +0000 | [diff] [blame] | 37 | #else |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 38 | const struct BB_applet applets[] = { |
| 39 | #define APPLET(a,b,c) {#a,b,c}, |
| 40 | #define APPLET_NOUSAGE(a,b,c) {a,b,c}, |
| 41 | #define APPLET_ODDNAME(a,b,c,d) {a,b,c}, |
Eric Andersen | 8c725e6 | 2000-11-30 00:27:06 +0000 | [diff] [blame] | 42 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 43 | |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 44 | |
| 45 | |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 46 | #ifdef BB_TEST |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 47 | APPLET_NOUSAGE("[", test_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 48 | #endif |
| 49 | #ifdef BB_AR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 50 | APPLET(ar, ar_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 51 | #endif |
| 52 | #ifdef BB_BASENAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 53 | APPLET(basename, basename_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 54 | #endif |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 55 | APPLET_NOUSAGE("busybox", busybox_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 56 | #ifdef BB_CAT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 57 | APPLET(cat, cat_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 58 | #endif |
| 59 | #ifdef BB_CHMOD_CHOWN_CHGRP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 60 | APPLET(chgrp, chmod_chown_chgrp_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 61 | #endif |
| 62 | #ifdef BB_CHMOD_CHOWN_CHGRP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 63 | APPLET(chmod, chmod_chown_chgrp_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 64 | #endif |
| 65 | #ifdef BB_CHMOD_CHOWN_CHGRP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 66 | APPLET(chown, chmod_chown_chgrp_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 67 | #endif |
| 68 | #ifdef BB_CHROOT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 69 | APPLET(chroot, chroot_main, _BB_DIR_USR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 70 | #endif |
| 71 | #ifdef BB_CHVT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 72 | APPLET(chvt, chvt_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 73 | #endif |
| 74 | #ifdef BB_CLEAR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 75 | APPLET(clear, clear_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 76 | #endif |
| 77 | #ifdef BB_CMP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 78 | APPLET(cmp, cmp_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 79 | #endif |
| 80 | #ifdef BB_CP_MV |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 81 | APPLET(cp, cp_mv_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 82 | #endif |
| 83 | #ifdef BB_CUT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 84 | APPLET(cut, cut_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 85 | #endif |
| 86 | #ifdef BB_DATE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 87 | APPLET(date, date_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 88 | #endif |
| 89 | #ifdef BB_DC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 90 | APPLET(dc, dc_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 91 | #endif |
| 92 | #ifdef BB_DD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 93 | APPLET(dd, dd_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 94 | #endif |
| 95 | #ifdef BB_DEALLOCVT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 96 | APPLET(deallocvt, deallocvt_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 97 | #endif |
| 98 | #ifdef BB_DF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 99 | APPLET(df, df_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 100 | #endif |
| 101 | #ifdef BB_DIRNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 102 | APPLET(dirname, dirname_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 103 | #endif |
| 104 | #ifdef BB_DMESG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 105 | APPLET(dmesg, dmesg_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 106 | #endif |
| 107 | #ifdef BB_DOS2UNIX |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 108 | APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 109 | #endif |
Glenn L McGrath | c30ab0f | 2001-02-10 02:04:40 +0000 | [diff] [blame] | 110 | #ifdef BB_DPKG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 111 | APPLET(dpkg, dpkg_main, _BB_DIR_USR_BIN) |
Glenn L McGrath | c30ab0f | 2001-02-10 02:04:40 +0000 | [diff] [blame] | 112 | #endif |
Glenn L McGrath | 7541e3a | 2001-01-02 23:41:50 +0000 | [diff] [blame] | 113 | #ifdef BB_DPKG_DEB |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 114 | APPLET_ODDNAME("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb) |
Glenn L McGrath | 7541e3a | 2001-01-02 23:41:50 +0000 | [diff] [blame] | 115 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 116 | #ifdef BB_DU |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 117 | APPLET(du, du_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 118 | #endif |
| 119 | #ifdef BB_DUMPKMAP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 120 | APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 121 | #endif |
| 122 | #ifdef BB_DUTMP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 123 | APPLET(dutmp, dutmp_main, _BB_DIR_USR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 124 | #endif |
| 125 | #ifdef BB_ECHO |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 126 | APPLET(echo, echo_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 127 | #endif |
Mark Whitley | 40e5e7c | 2001-03-14 17:45:45 +0000 | [diff] [blame] | 128 | #if defined(BB_FEATURE_GREP_EGREP_ALIAS) && defined(BB_GREP) |
Eric Andersen | 3a0057e | 2001-03-15 21:33:33 +0000 | [diff] [blame] | 129 | APPLET_NOUSAGE("egrep", init_main, _BB_DIR_BIN) |
Mark Whitley | 40e5e7c | 2001-03-14 17:45:45 +0000 | [diff] [blame] | 130 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 131 | #ifdef BB_EXPR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 132 | APPLET(expr, expr_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 133 | #endif |
| 134 | #ifdef BB_TRUE_FALSE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 135 | APPLET(false, false_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 136 | #endif |
| 137 | #ifdef BB_FBSET |
Eric Andersen | 0d3a02e | 2001-03-15 18:14:25 +0000 | [diff] [blame] | 138 | APPLET(fbset, fbset_main, _BB_DIR_USR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 139 | #endif |
| 140 | #ifdef BB_FDFLUSH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 141 | APPLET(fdflush, fdflush_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 142 | #endif |
| 143 | #ifdef BB_FIND |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 144 | APPLET(find, find_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 145 | #endif |
| 146 | #ifdef BB_FREE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 147 | APPLET(free, free_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 148 | #endif |
| 149 | #ifdef BB_FREERAMDISK |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 150 | APPLET(freeramdisk, freeramdisk_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 151 | #endif |
| 152 | #ifdef BB_FSCK_MINIX |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 153 | APPLET_ODDNAME("fsck.minix", fsck_minix_main, _BB_DIR_SBIN, fsck_minix) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 154 | #endif |
| 155 | #ifdef BB_GETOPT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 156 | APPLET(getopt, getopt_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 157 | #endif |
| 158 | #ifdef BB_GREP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 159 | APPLET(grep, grep_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 160 | #endif |
| 161 | #ifdef BB_GUNZIP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 162 | APPLET(gunzip, gunzip_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 163 | #endif |
| 164 | #ifdef BB_GZIP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 165 | APPLET(gzip, gzip_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 166 | #endif |
| 167 | #ifdef BB_HALT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 168 | APPLET(halt, halt_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 169 | #endif |
| 170 | #ifdef BB_HEAD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 171 | APPLET(head, head_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 172 | #endif |
| 173 | #ifdef BB_HOSTID |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 174 | APPLET(hostid, hostid_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 175 | #endif |
| 176 | #ifdef BB_HOSTNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 177 | APPLET(hostname, hostname_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 178 | #endif |
| 179 | #ifdef BB_ID |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 180 | APPLET(id, id_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 181 | #endif |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 182 | #ifdef BB_IFCONFIG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 183 | APPLET(ifconfig, ifconfig_main, _BB_DIR_SBIN) |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 184 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 185 | #ifdef BB_INIT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 186 | APPLET(init, init_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 187 | #endif |
| 188 | #ifdef BB_INSMOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 189 | APPLET(insmod, insmod_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 190 | #endif |
| 191 | #ifdef BB_KILL |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 192 | APPLET(kill, kill_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 193 | #endif |
| 194 | #ifdef BB_KILLALL |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 195 | APPLET(killall, kill_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 196 | #endif |
Mark Whitley | 6317c4b | 2001-03-12 22:51:50 +0000 | [diff] [blame] | 197 | #ifdef BB_KLOGD |
| 198 | APPLET(klogd, klogd_main, _BB_DIR_SBIN) |
| 199 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 200 | #ifdef BB_LENGTH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 201 | APPLET(length, length_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 202 | #endif |
Eric Andersen | 2825ee8 | 2001-03-15 18:58:06 +0000 | [diff] [blame] | 203 | #ifdef BB_FEATURE_LINUXRC |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 204 | APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 205 | #endif |
| 206 | #ifdef BB_LN |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 207 | APPLET(ln, ln_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 208 | #endif |
| 209 | #ifdef BB_LOADACM |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 210 | APPLET(loadacm, loadacm_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 211 | #endif |
| 212 | #ifdef BB_LOADFONT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 213 | APPLET(loadfont, loadfont_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 214 | #endif |
| 215 | #ifdef BB_LOADKMAP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 216 | APPLET(loadkmap, loadkmap_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 217 | #endif |
| 218 | #ifdef BB_LOGGER |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 219 | APPLET(logger, logger_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 220 | #endif |
| 221 | #ifdef BB_LOGNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 222 | APPLET(logname, logname_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 223 | #endif |
Mark Whitley | 6317c4b | 2001-03-12 22:51:50 +0000 | [diff] [blame] | 224 | #ifdef BB_LOGREAD |
| 225 | APPLET(logread, logread_main, _BB_DIR_SBIN) |
| 226 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 227 | #ifdef BB_LS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 228 | APPLET(ls, ls_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 229 | #endif |
| 230 | #ifdef BB_LSMOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 231 | APPLET(lsmod, lsmod_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 232 | #endif |
| 233 | #ifdef BB_MAKEDEVS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 234 | APPLET(makedevs, makedevs_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 235 | #endif |
| 236 | #ifdef BB_MD5SUM |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 237 | APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 238 | #endif |
| 239 | #ifdef BB_MKDIR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 240 | APPLET(mkdir, mkdir_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 241 | #endif |
| 242 | #ifdef BB_MKFIFO |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 243 | APPLET(mkfifo, mkfifo_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 244 | #endif |
| 245 | #ifdef BB_MKFS_MINIX |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 246 | APPLET_ODDNAME("mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN, mkfs_minix) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 247 | #endif |
| 248 | #ifdef BB_MKNOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 249 | APPLET(mknod, mknod_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 250 | #endif |
| 251 | #ifdef BB_MKSWAP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 252 | APPLET(mkswap, mkswap_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 253 | #endif |
| 254 | #ifdef BB_MKTEMP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 255 | APPLET(mktemp, mktemp_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 256 | #endif |
| 257 | #ifdef BB_MORE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 258 | APPLET(more, more_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 259 | #endif |
| 260 | #ifdef BB_MOUNT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 261 | APPLET(mount, mount_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 262 | #endif |
| 263 | #ifdef BB_MT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 264 | APPLET(mt, mt_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 265 | #endif |
| 266 | #ifdef BB_CP_MV |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 267 | APPLET(mv, cp_mv_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 268 | #endif |
| 269 | #ifdef BB_NC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 270 | APPLET(nc, nc_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 271 | #endif |
| 272 | #ifdef BB_NSLOOKUP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 273 | APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 274 | #endif |
| 275 | #ifdef BB_PING |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 276 | APPLET(ping, ping_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 277 | #endif |
Eric Andersen | 6fd8c66 | 2001-02-13 20:04:30 +0000 | [diff] [blame] | 278 | #ifdef BB_PIVOT_ROOT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 279 | APPLET(pivot_root, pivot_root_main, _BB_DIR_SBIN) |
Eric Andersen | 6fd8c66 | 2001-02-13 20:04:30 +0000 | [diff] [blame] | 280 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 281 | #ifdef BB_POWEROFF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 282 | APPLET(poweroff, poweroff_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 283 | #endif |
| 284 | #ifdef BB_PRINTF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 285 | APPLET(printf, printf_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 286 | #endif |
| 287 | #ifdef BB_PS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 288 | APPLET(ps, ps_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 289 | #endif |
| 290 | #ifdef BB_PWD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 291 | APPLET(pwd, pwd_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 292 | #endif |
| 293 | #ifdef BB_RDATE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 294 | APPLET(rdate, rdate_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 295 | #endif |
| 296 | #ifdef BB_READLINK |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 297 | APPLET(readlink, readlink_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 298 | #endif |
| 299 | #ifdef BB_REBOOT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 300 | APPLET(reboot, reboot_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 301 | #endif |
| 302 | #ifdef BB_RENICE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 303 | APPLET(renice, renice_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 304 | #endif |
| 305 | #ifdef BB_RESET |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 306 | APPLET(reset, reset_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 307 | #endif |
| 308 | #ifdef BB_RM |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 309 | APPLET(rm, rm_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 310 | #endif |
| 311 | #ifdef BB_RMDIR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 312 | APPLET(rmdir, rmdir_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 313 | #endif |
| 314 | #ifdef BB_RMMOD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 315 | APPLET(rmmod, rmmod_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 316 | #endif |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 317 | #ifdef BB_ROUTE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 318 | APPLET(route, route_main, _BB_DIR_USR_BIN) |
Eric Andersen | ec45595 | 2001-02-14 08:11:27 +0000 | [diff] [blame] | 319 | #endif |
Eric Andersen | e500d20 | 2000-11-29 21:38:11 +0000 | [diff] [blame] | 320 | #ifdef BB_RPMUNPACK |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 321 | APPLET(rpmunpack, rpmunpack_main, _BB_DIR_USR_BIN) |
Eric Andersen | e500d20 | 2000-11-29 21:38:11 +0000 | [diff] [blame] | 322 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 323 | #ifdef BB_SED |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 324 | APPLET(sed, sed_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 325 | #endif |
| 326 | #ifdef BB_SETKEYCODES |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 327 | APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 328 | #endif |
| 329 | #ifdef BB_SH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 330 | APPLET(sh, shell_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 331 | #endif |
| 332 | #ifdef BB_SLEEP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 333 | APPLET(sleep, sleep_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 334 | #endif |
| 335 | #ifdef BB_SORT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 336 | APPLET(sort, sort_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 337 | #endif |
Eric Andersen | 98e599c | 2001-02-14 18:47:33 +0000 | [diff] [blame] | 338 | #ifdef BB_STTY |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 339 | APPLET(stty, stty_main, _BB_DIR_BIN) |
Eric Andersen | 98e599c | 2001-02-14 18:47:33 +0000 | [diff] [blame] | 340 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 341 | #ifdef BB_SWAPONOFF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 342 | APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 343 | #endif |
| 344 | #ifdef BB_SWAPONOFF |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 345 | APPLET(swapon, swap_on_off_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 346 | #endif |
| 347 | #ifdef BB_SYNC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 348 | APPLET(sync, sync_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 349 | #endif |
| 350 | #ifdef BB_SYSLOGD |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 351 | APPLET(syslogd, syslogd_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 352 | #endif |
| 353 | #ifdef BB_TAIL |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 354 | APPLET(tail, tail_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 355 | #endif |
| 356 | #ifdef BB_TAR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 357 | APPLET(tar, tar_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 358 | #endif |
| 359 | #ifdef BB_TEE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 360 | APPLET(tee, tee_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 361 | #endif |
| 362 | #ifdef BB_TELNET |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 363 | APPLET(telnet, telnet_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 364 | #endif |
| 365 | #ifdef BB_TEST |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 366 | APPLET(test, test_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 367 | #endif |
Mark Whitley | 450736c | 2001-03-02 19:08:50 +0000 | [diff] [blame] | 368 | #ifdef BB_TFTP |
| 369 | APPLET(tftp, tftp_main, _BB_DIR_USR_BIN) |
| 370 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 371 | #ifdef BB_TOUCH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 372 | APPLET(touch, touch_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 373 | #endif |
| 374 | #ifdef BB_TR |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 375 | APPLET(tr, tr_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 376 | #endif |
| 377 | #ifdef BB_TRUE_FALSE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 378 | APPLET(true, true_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 379 | #endif |
| 380 | #ifdef BB_TTY |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 381 | APPLET(tty, tty_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 382 | #endif |
| 383 | #ifdef BB_UMOUNT |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 384 | APPLET(umount, umount_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 385 | #endif |
| 386 | #ifdef BB_UNAME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 387 | APPLET(uname, uname_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 388 | #endif |
| 389 | #ifdef BB_UNIQ |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 390 | APPLET(uniq, uniq_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 391 | #endif |
| 392 | #ifdef BB_UNIX2DOS |
Eric Andersen | 544891d | 2001-02-22 23:37:30 +0000 | [diff] [blame] | 393 | APPLET(unix2dos, dos2unix_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 394 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 395 | #ifdef BB_UPDATE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 396 | APPLET(update, update_main, _BB_DIR_SBIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 397 | #endif |
| 398 | #ifdef BB_UPTIME |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 399 | APPLET(uptime, uptime_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 400 | #endif |
| 401 | #ifdef BB_USLEEP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 402 | APPLET(usleep, usleep_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 403 | #endif |
| 404 | #ifdef BB_UUDECODE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 405 | APPLET(uudecode, uudecode_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 406 | #endif |
| 407 | #ifdef BB_UUENCODE |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 408 | APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 409 | #endif |
Eric Andersen | ffde867 | 2001-01-25 23:40:32 +0000 | [diff] [blame] | 410 | #ifdef BB_WATCHDOG |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 411 | APPLET(watchdog, watchdog_main, _BB_DIR_SBIN) |
Eric Andersen | ffde867 | 2001-01-25 23:40:32 +0000 | [diff] [blame] | 412 | #endif |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 413 | #ifdef BB_WC |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 414 | APPLET(wc, wc_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 415 | #endif |
| 416 | #ifdef BB_WGET |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 417 | APPLET(wget, wget_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 418 | #endif |
| 419 | #ifdef BB_WHICH |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 420 | APPLET(which, which_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 421 | #endif |
| 422 | #ifdef BB_WHOAMI |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 423 | APPLET(whoami, whoami_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 424 | #endif |
| 425 | #ifdef BB_XARGS |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 426 | APPLET(xargs, xargs_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 427 | #endif |
| 428 | #ifdef BB_YES |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 429 | APPLET(yes, yes_main, _BB_DIR_USR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 430 | #endif |
| 431 | #ifdef BB_GUNZIP |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 432 | APPLET(zcat, gunzip_main, _BB_DIR_BIN) |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 433 | #endif |
Eric Andersen | 8c725e6 | 2000-11-30 00:27:06 +0000 | [diff] [blame] | 434 | |
Eric Andersen | 7e9276b | 2001-02-22 01:15:47 +0000 | [diff] [blame] | 435 | #if !defined(PROTOTYPES) && !defined(MAKE_USAGE) |
| 436 | { 0,NULL,0 } |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 437 | }; |
| 438 | |
Eric Andersen | 67991cf | 2001-02-14 21:23:06 +0000 | [diff] [blame] | 439 | /* The -1 arises because of the {0,NULL,0,-1} entry above. */ |
Eric Andersen | a683ee8 | 2000-11-17 18:51:45 +0000 | [diff] [blame] | 440 | size_t NUM_APPLETS = (sizeof (applets) / sizeof (struct BB_applet) - 1); |
Mark Whitley | 130005c | 2000-10-25 00:28:27 +0000 | [diff] [blame] | 441 | |
Eric Andersen | 8c725e6 | 2000-11-30 00:27:06 +0000 | [diff] [blame] | 442 | #endif |