aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: fix a few typos, fit ASCII output onto an 80-column terminalJames Raynard1997-11-231-16/+16
| | | | | | | and use a fixed font which actually exists. Notes: svn path=/head/; revision=31358
* Add #include <stdlib.h> to pick up prototypes for getenv and friends.Warner Losh1997-09-292-2/+4
| | | | Notes: svn path=/head/; revision=29957
* Don't preferentially execute Makefiles in ${OBJDIR} - it just causesJordan K. Hubbard1997-08-271-4/+3
| | | | | | | | confusion and suffering. Tested by "make world". Submitted by: gibbs Notes: svn path=/head/; revision=28828
* Make explicit '-B' option propigate to submakes.Steve Passe1997-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 Notes: svn path=/head/; revision=28746
* Better fix, as originally submitted by reporter.Steve Passe1997-08-141-9/+10
| | | | | | | Submitted by: N.Dudorov <nnd@itfs.nsk.su> Notes: svn path=/head/; revision=28228
* Fix PR bin/4291: /usr/bin/make - inconsistent -j<n> flag parsing.Steve Passe1997-08-141-8/+8
| | | | | | | Submitted by: N.Dudorov <nnd@itfs.nsk.su> Notes: svn path=/head/; revision=28191
* Use err(3). Cosmetic in usage string.Philippe Charnier1997-07-243-33/+27
| | | | Notes: svn path=/head/; revision=27644
* In these XXX MHz days, waiting 500ms for a process to do something isPoul-Henning Kamp1997-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... Notes: svn path=/head/; revision=25080
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* Add reference to `PMake - A Tutorial'Wolfram Schneider1997-03-091-2/+7
| | | | Notes: svn path=/head/; revision=23578
* Add enviroment variable MAKEOBJDIRPREFIX, still undocumented exceptWolfram Schneider1997-03-031-1/+2
| | | | | | | in bsd.obj.mk. Notes: svn path=/head/; revision=23305
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-2258-58/+58
| | | | Notes: svn path=/head/; revision=23006
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Add a .POSIX directive. When the first non-commentSteve Price1996-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> Notes: svn path=/head/; revision=19344
* Remove extraneous comment, fix second-level tabs (oneSteve Price1996-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> Notes: svn path=/head/; revision=18877
* Removed extra $Id$ string.Steve Price1996-10-111-3/+1
| | | | Notes: svn path=/head/; revision=18865
* Reinstate '!=' fix by Bruce Evans. The original commit message fromSteve Price1996-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> Notes: svn path=/head/; revision=18864
* O' to be bitten by CVS. Cleanup after importSteve Price1996-10-0857-101/+99
| | | | | | | | | of Christos' version of make(1) and add Id's. Set straight by: Bruce Evans and Peter Wemm :) Notes: svn path=/head/; revision=18804
* This commit was generated by cvs2svn to compensate for changes in r18764,Steve Price1996-10-0611-8/+103
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=18765
| * Import Christos Zoulas' version of NetBSD's make onto theSteve Price1996-10-0660-1629/+2921
| | | | | | | | | | | | | | | | | | vendor branch for reference. Obtained from: Christos Zoulas <christos@netbsd.org> Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=18764
* | Clarify the rule used to determine the objectSteve Price1996-10-061-5/+9
| | | | | | | | | | | | | | directory location. Notes: svn path=/head/; revision=18759
* | This commit was generated by cvs2svn to compensate for changes in r18756,Peter Wemm1996-10-068-8/+8
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=18757
| * Import the 4.4BSD-Lite2 version of make onto the vendor branchPeter Wemm1996-10-0657-0/+27091
| | | | | | | | | | | | | | | | "for reference". This doesn't change anything since all files have been touched. Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=18756
| * This commit was manufactured by cvs2svn to create branch 'CHRISTOS'.cvs2svn1996-10-061-0/+349
| | | | Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=18731
* Correct problem with traversing into PSD.doc directory,Steve Price1996-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 Notes: svn path=/head/; revision=18751
* Correct merge bogon: You want to descend into PSD.doc for both `all' andJordan K. Hubbard1996-10-061-2/+2
| | | | | | | | `install' cases or there's never anything made to install, and you blow up in the install. :-) Notes: svn path=/head/; revision=18749
* Merge in NetBSD's changes to make(1). Changes include:Steve Price1996-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 Notes: svn path=/head/; revision=18730
* delete doubled words, e.g.: "the the" -> "the"Wolfram Schneider1996-10-051-1/+2
| | | | Notes: svn path=/head/; revision=18718
* Fix for PR# 1231, make(1) execution of ``.BEGIN'' doesSteve Price1996-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. Notes: svn path=/head/; revision=18492
* Be sure to remove any newlines encountered whenSteve Price1996-09-231-1/+2
| | | | | | | parsing the input file in ParseSkipLine(...). Notes: svn path=/head/; revision=18478
* Fix for PR# 1095, make's continuation line handling buggySteve Price1996-09-223-45/+61
| | | | | | | | | | when used with .elif. Additional fixes include: - fix continuation line handling when using .for - plug up a memory leak Notes: svn path=/head/; revision=18456
* Fix for PR#1230, make ``.for'' loops iterate backwards.Steve Price1996-09-211-1/+1
| | | | Notes: svn path=/head/; revision=18433
* Restore previous compatibility of ${.CURDIR}/obj.`uname -m` andSteven Wallace1996-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 Notes: svn path=/head/; revision=18339
* Fixed handling of `!=' assignment. Don't warn if the shell's output isBruce Evans1996-09-121-6/+7
| | | | | | | null, but warn if there was an error reading it. Notes: svn path=/head/; revision=18255
* Fixed a missing colon in `notyet' code.Bruce Evans1996-08-311-1/+1
| | | | Notes: svn path=/head/; revision=17970
* Listed all the environment variables (MACHINE and PWD were missing).Bruce Evans1996-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]. Notes: svn path=/head/; revision=17969
* 'make' prints an extra leading `make: ' and extra trailing newline ifNate Williams1996-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 Notes: svn path=/head/; revision=17259
* Added a -V option to print make's idea of the value of a variable.Bruce Evans1996-07-172-8/+47
| | | | | | | | | Submitted by: mark@linus.demon.co.uk (Mark Valentine) Fixed bugs and inconsistencies in synopsis and usage message. Notes: svn path=/head/; revision=17193
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-1/+1
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17142
* Put back the $PWD override behavior of revision 1.4. The concensusJordan K. Hubbard1996-07-011-0/+6
| | | | | | | *seems* to be that it was the right thing to do. Notes: svn path=/head/; revision=16885
* Remove code which overrode the opinion of getcwd() with an often bogusJordan K. Hubbard1996-06-271-6/+0
| | | | | | | value for $PWD. Notes: svn path=/head/; revision=16809
* Bring in my changes for removing the pestilent obj links (unless youJordan K. Hubbard1996-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. Notes: svn path=/head/; revision=16663
* Fix a typo.Joerg Wunsch1996-04-071-1/+1
| | | | | | | Submitted by: tgm@netcom.com (Thomas G. McWilliams) Notes: svn path=/head/; revision=15086
* Fix the :S modifier to substitute in each word of the variable, accordingAdam David1995-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. Notes: svn path=/head/; revision=11997
* Stop using gnumalloc.Poul-Henning Kamp1995-09-221-4/+1
| | | | Notes: svn path=/head/; revision=10953
* Back out prev. NetBSD fix, it cause skipping some error constructions,Andrey A. Chernov1995-06-241-5/+3
| | | | | | | don't delete initial space from line instead Notes: svn path=/head/; revision=9298
* Don't make error on ^<spaces>\nAndrey A. Chernov1995-06-241-1/+1
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=9297
* Fix parsing SYSV/GNU "include"Andrey A. Chernov1995-06-181-0/+1
| | | | Notes: svn path=/head/; revision=9255
* NetBSD fixes: declare more prototypes, move .OPTIONAL in alphabetAndrey A. Chernov1995-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 Notes: svn path=/head/; revision=9254
* Allow additional parsing of SYSV/GNU make "include" directive, it coversAndrey A. Chernov1995-06-161-2/+2
| | | | | | | 90% of problems in ports Makefiles Notes: svn path=/head/; revision=9242