=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/main.c,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- src/usr.bin/make/main.c 2001/11/11 12:35:02 1.56 +++ src/usr.bin/make/main.c 2002/03/02 00:23:14 1.57 @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: main.c,v 1.56 2001/11/11 12:35:02 espie Exp $ */ +/* $OpenBSD: main.c,v 1.57 2002/03/02 00:23:14 espie Exp $ */ /* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */ /* @@ -200,11 +200,7 @@ int forceJobs = 0; optind = 1; /* since we're called more than once */ -#ifdef REMOTE -# define OPTFLAGS "BD:I:L:PSV:d:ef:ij:km:nqrst" -#else # define OPTFLAGS "BD:I:PSV:d:ef:ij:km:nqrst" -#endif # define OPTLETTERS "BPSiknqrst" rearg: while ((c = getopt(argc, argv, OPTFLAGS)) != -1) { switch (c) { @@ -220,21 +216,6 @@ Lst_AtEnd(&varstoprint, optarg); record_option(c, optarg); break; -#ifdef REMOTE - case 'L': { - char *endptr; - - maxLocal = strtol(optarg, &endptr, 0); - if (endptr == optarg) { - fprintf(stderr, - "make: illegal argument to -L option -- %s -- not a number\n", - optarg); - usage(); - } - record_option(c, optend); - break; - } -#endif case 'd': { char *modules = optarg; @@ -307,9 +288,7 @@ usage(); } maxJobs = atoi(optarg); -#ifndef REMOTE maxLocal = maxJobs; -#endif record_option(c, optarg); break; } @@ -604,11 +583,7 @@ debug = 0; /* No debug verbosity, please. */ maxLocal = DEFMAXLOCAL; /* Set default local max concurrency */ -#ifdef REMOTE - maxJobs = DEFMAXJOBS; /* Set default max concurrency */ -#else maxJobs = maxLocal; -#endif compatMake = false; /* No compat mode */