Lines Matching defs:switches
128 in command switches of a type that takes string arguments. */
138 /* The recognized command switches. */
213 /* List of makefiles given with -f switches. */
246 /* List of directories given with -C switches. */
250 /* List of include directories given with -I switches. */
254 /* List of files given with -o switches. */
258 /* List of files given with -W switches. */
362 /* The table of command switches. */
364 static const struct command_switch switches[] =
1231 /* Decode the switches. */
1237 and we set the -p, -i and -e switches. Doesn't seem quite right. */
1634 /* Decode switches again, in case the variables were set by the makefile. */
2241 /* Parsing of arguments, decoding of switches. */
2243 static char options[1 + sizeof (switches) / sizeof (switches[0]) * 3];
2244 static struct option long_options[(sizeof (switches) / sizeof (switches[0])) +
2266 for (i = 0; switches[i].c != '\0'; ++i)
2268 long_options[i].name = (switches[i].long_name == 0 ? "" :
2269 switches[i].long_name);
2271 long_options[i].val = switches[i].c;
2272 if (short_option (switches[i].c))
2273 *p++ = switches[i].c;
2274 switch (switches[i].type)
2285 if (short_option (switches[i].c))
2287 if (switches[i].noarg_value != 0)
2289 if (short_option (switches[i].c))
2406 /* Decode switches from ARGC and ARGV.
2444 for (cs = switches; cs->c != '\0'; ++cs)
2574 /* Decode switches from environment variable ENVAR (which is LEN chars long).
2667 command switches. Include options with args if ALL is nonzero.
2710 for (cs = switches; cs->c != '\0'; ++cs)
2781 matters for some switches (like -I). */
2874 /* Separate the variables from the switches with a "--" arg. */
2910 /* If there are switches, omit the leading dash
2918 MAKEFLAGS to add switches, but we still want
2920 switches. Of course, an override or command