summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Add #include <stdlib.h> to pick up prototypes for getenv and friends.imp1997-09-291-1/+2
|
* Don't preferentially execute Makefiles in ${OBJDIR} - it just causesjkh1997-08-271-4/+3
| | | | | confusion and suffering. Tested by "make world". Submitted by: gibbs
* Make explicit '-B' option propigate to submakes.fsmp1997-08-251-1/+2
| | | | | | | | | No one has said this would be a bad thing, so given the dearth of comments I decided to add it, as its an important step towards getting "make world" 'parallel-ized'. Reviewed by: silence Submitted by: nnd@itfs.nsk.su
* Better fix, as originally submitted by reporter.fsmp1997-08-141-9/+10
| | | | Submitted by: N.Dudorov <nnd@itfs.nsk.su>
* Fix PR bin/4291: /usr/bin/make - inconsistent -j<n> flag parsing.fsmp1997-08-141-8/+8
| | | | Submitted by: N.Dudorov <nnd@itfs.nsk.su>
* Use err(3). Cosmetic in usage string.charnier1997-07-241-23/+17
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Remove extraneous comment, fix second-level tabs (onesteve1996-10-121-9/+3
| | | | | | | tab and four spaces), and return error message in *err instead of calling Parse_Error. Suggested by: Bruce Evans <bde@zeta.org.au>
* Reinstate '!=' fix by Bruce Evans. The original commit message fromsteve1996-10-111-5/+11
| | | | | | | | | | | parse.c(1.9) was: revision 1.9 date: 1996/09/12 03:03:25; author: bde; state: Exp; lines: +7 -6 Fixed handling of `!=' assignment. Don't warn if the shell's output is null, but warn if there was an error reading it. Suggested by: Bruce Evans <bde@zeta.org.au>
* O' to be bitten by CVS. Cleanup after importsteve1996-10-081-0/+2
| | | | | | of Christos' version of make(1) and add Id's. Set straight by: Bruce Evans and Peter Wemm :)
* Clarify the rule used to determine the objectsteve1996-10-061-5/+9
| | | | directory location.
* Merge in NetBSD's changes to make(1). Changes include:steve1996-10-061-35/+286
| | | | | | | | | | | | | | | | - Add the .PHONY, .PARALLEL, and .WAIT directives - Added the -B and -m commandline flags - misc. man page cleanups - numerous job-related enhancements - removed unused header file (bit.h) - add util.c for functions not found in other envs. - and a few coordinated whitespace changes Special thanks to Christos Zoulas <christos@netbsd.org> for help in the merge. A 'diff -ur' between Net and FreeBSD now only contains sccsid-related diffs. :) Obtained from: NetBSD, christos@netbsd.org, and me
* Restore previous compatibility of ${.CURDIR}/obj.`uname -m` andswallace1996-09-181-28/+64
| | | | | | | | | | | | | | | | | | | | | | | | | $(.CURDIR}/obj search while retaining compatability of new prefix with cwd for the current source tree builds. .TARGETOBJDIR has been removed from make and CANONICALOBJDIR set in bsd.obj.mk The builtin object directory searching is defined specifically as: If MAKEOBJDIRPREFIX is defined, the search order is ${MAKEOBJDIRPREFIX}${.CURDIR} ${.CURDIR} Else if MAKEOBJDIR is defined, the search order is ${MAKEOBJDIR} ${.CURDIR} Otherwise, default to the search order ${.CURDIR}/obj.`uname -m` $(.CURDIR}/obj /usr/obj${.CURDIR} ${.CURDIR} Reviewed by: bde
* Fixed a missing colon in `notyet' code.bde1996-08-311-1/+1
|
* Added a -V option to print make's idea of the value of a variable.bde1996-07-171-6/+33
| | | | | | Submitted by: mark@linus.demon.co.uk (Mark Valentine) Fixed bugs and inconsistencies in synopsis and usage message.
* Put back the $PWD override behavior of revision 1.4. The concensusjkh1996-07-011-0/+6
| | | | *seems* to be that it was the right thing to do.
* Remove code which overrode the opinion of getcwd() with an often bogusjkh1996-06-271-6/+0
| | | | value for $PWD.
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-241-26/+7
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* Remove trailing whitespace.rgrimes1995-05-301-8/+8
|
* Bring in a number of changes from NetBSD's make, fixing quite a fewjkh1995-01-231-18/+61
| | | | | | | | | | | | problems in the process: 1. Quoting should work properly now. In particular, Chet's reported bash make problem has gone away. 2. A lot of memory that just wasn't being free'd after use is now freed. This should cause make to take up a LOT less memory when dealing with archive targets. 3. Give proper credit to Adam de Boor in a number of files. Obtained from: NetBSD (and Adam de Boor)
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+911
OpenPOWER on IntegriCloud