summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: fix a few typos, fit ASCII output onto an 80-column terminaljraynard1997-11-231-16/+16
| | | | and use a fixed font which actually exists.
* Add #include <stdlib.h> to pick up prototypes for getenv and friends.imp1997-09-292-2/+4
|
* 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-243-33/+27
|
* In these XXX MHz days, waiting 500ms for a process to do something isphk1997-04-211-2/+2
| | | | | | really far too long. Let us try 100ms instead, if you have a PP200, maybe that's even too long. This should speed up make -j# builds. I wonder why SIGCHLD isn't used...
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Add reference to `PMake - A Tutorial'wosch1997-03-091-2/+7
|
* Add enviroment variable MAKEOBJDIRPREFIX, still undocumented exceptwosch1997-03-031-1/+2
| | | | in bsd.obj.mk.
* Revert $FreeBSD$ to $Id$peter1997-02-2258-58/+58
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1458-58/+58
| | | | | | | | 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.
* Add a .POSIX directive. When the first non-commentsteve1996-11-031-1/+12
| | | | | | | line of a Makefile contains this directive, make(1) will enter a POSIX 1003.2 compliant mode. Submitted by: Joerg Wunsch <joerg@freebsd.org>
* 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>
* Removed extra $Id$ string.steve1996-10-111-3/+1
|
* 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-0857-101/+99
| | | | | | of Christos' version of make(1) and add Id's. Set straight by: Bruce Evans and Peter Wemm :)
* This commit was generated by cvs2svn to compensate for changes in r18764,steve1996-10-0611-8/+103
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Christos Zoulas' version of NetBSD's make onto thesteve1996-10-0660-1629/+2914
| | | | | | | | | | | | vendor branch for reference. Obtained from: Christos Zoulas <christos@netbsd.org>
* | Clarify the rule used to determine the objectsteve1996-10-061-5/+9
| | | | | | | | directory location.
* | This commit was generated by cvs2svn to compensate for changes in r18756,peter1996-10-068-8/+8
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import the 4.4BSD-Lite2 version of make onto the vendor branchpeter1996-10-0656-779/+1604
| | | | | | | | | | "for reference". This doesn't change anything since all files have been touched.
| * This commit was manufactured by cvs2svn to create branch 'CHRISTOS'.cvs2svn1996-10-061-0/+349
| |
* | Correct problem with traversing into PSD.doc directory,steve1996-10-061-5/+1
| | | | | | | | | | | | | | these files are actually installed/built as part of src/share/doc/psd/12.make. Oops. :) Pointed out by: Peter Wemm and Bruce Evans
* | Correct merge bogon: You want to descend into PSD.doc for both `all' andjkh1996-10-061-2/+2
| | | | | | | | | | `install' cases or there's never anything made to install, and you blow up in the install. :-)
* | Merge in NetBSD's changes to make(1). Changes include:steve1996-10-0631-1042/+2230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | delete doubled words, e.g.: "the the" -> "the"wosch1996-10-051-1/+2
| |
* | Fix for PR# 1231, make(1) execution of ``.BEGIN'' doessteve1996-09-252-2/+4
| | | | | | | | | | | | | | | | | | not halt on error. Thanks to Wolfram for reminding me. ;) Also remove a unnecessary test for c == '\n', since the loop (in ParseSkipLine) will not terminate unless c == '\n' || c == EOF, and the EOF case is already explicted handled by a return statement.
* | Be sure to remove any newlines encountered whensteve1996-09-231-1/+2
| | | | | | | | parsing the input file in ParseSkipLine(...).
* | Fix for PR# 1095, make's continuation line handling buggysteve1996-09-223-45/+61
| | | | | | | | | | | | | | when used with .elif. Additional fixes include: - fix continuation line handling when using .for - plug up a memory leak
* | Fix for PR#1230, make ``.for'' loops iterate backwards.steve1996-09-211-1/+1
| |
* | Restore previous compatibility of ${.CURDIR}/obj.`uname -m` andswallace1996-09-182-30/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $(.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 handling of `!=' assignment. Don't warn if the shell's output isbde1996-09-121-6/+7
| | | | | | | | null, but warn if there was an error reading it.
* | Fixed a missing colon in `notyet' code.bde1996-08-311-1/+1
| |
* | Listed all the environment variables (MACHINE and PWD were missing).bde1996-08-311-4/+27
| | | | | | | | | | | | | | | | Documented PWD. MACHINE and MAKEOBJDIR are are still undocumented except in main.c. I will be changing MAKEOBJDIR back to its old behaviour so that the comment in main.c actually applies. Removed irrelevant misformatted text about make's name being argv[0].
* | 'make' prints an extra leading `make: ' and extra trailing newline ifnate1996-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there is no target to make. % make make: make: no target to make. % Beause the function Punt() in main.c takes care of leading 'make:' and trailing newline, so, there is no need to pass explicitly. Submitted by: enami@ba2.so-net.or.jp Obtained from: NetBSD GNATS
* | Added a -V option to print make's idea of the value of a variable.bde1996-07-172-8/+47
| | | | | | | | | | | | Submitted by: mark@linus.demon.co.uk (Mark Valentine) Fixed bugs and inconsistencies in synopsis and usage message.
* | General -Wall warning cleanup, part I.jkh1996-07-121-1/+1
| | | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* | 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-242-28/+9
| | | | | | | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* | Fix a typo.joerg1996-04-071-1/+1
| | | | | | | | Submitted by: tgm@netcom.com (Thomas G. McWilliams)
* | Fix the :S modifier to substitute in each word of the variable, accordingadam1995-11-011-16/+6
| | | | | | | | | | | | | | to the description in the manpage. g flag means "replace every occurence in each word", and its absence means "replace first occurence in each word". Previously, absence of the g flag was implemented to mean "replace first occurence found in all words, and then stop replacing", which was incorrect.
* | Stop using gnumalloc.phk1995-09-221-4/+1
| |
* | Back out prev. NetBSD fix, it cause skipping some error constructions,ache1995-06-241-5/+3
| | | | | | | | don't delete initial space from line instead
* | Don't make error on ^<spaces>\nache1995-06-241-1/+1
| | | | | | | | Obtained from: NetBSD
* | Fix parsing SYSV/GNU "include"ache1995-06-181-0/+1
| |
* | NetBSD fixes: declare more prototypes, move .OPTIONAL in alphabetache1995-06-185-5/+26
| | | | | | | | | | | | | | | | order, prevent suffix rule, if direct or children dependances exists, forget to free v->name in var.c My fixes: fix famous ^\t\n bug, correct free order in str_end Reviewed by: bde Obtained from: NetBSD, me
* | Allow additional parsing of SYSV/GNU make "include" directive, it coversache1995-06-161-2/+2
| | | | | | | | 90% of problems in ports Makefiles
OpenPOWER on IntegriCloud