aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make
Commit message (Collapse)AuthorAgeFilesLines
* MFC: add .error directive.Steve Price1998-06-042-21/+60
| | | | Notes: svn path=/stable/2.2/; revision=36656
* Merge from version 1.7 of current. Cleanup.James Raynard1998-01-051-16/+16
| | | | Notes: svn path=/stable/2.2/; revision=32262
* MFC: Lots of cosmetics (plus one gripe from bde about a comment in tail'sJordan K. Hubbard1997-09-153-14/+21
| | | | | | | sources, of all places). Notes: svn path=/stable/2.2/; revision=29467
* MFC: getopt returns -1 not EOFWarner Losh1997-08-291-2/+2
| | | | Notes: svn path=/stable/2.2/; revision=28881
* MFC: rel 1.22 fix for Makefile in ${OBJDIR} from gibbsJordan K. Hubbard1997-08-271-4/+3
| | | | Notes: svn path=/stable/2.2/; revision=28829
* MFC: Use err(3).Philippe Charnier1997-07-283-33/+27
| | | | Notes: svn path=/stable/2.2/; revision=27730
* YAMFC:Mike Pritchard1997-03-061-1/+2
| | | | | | | | | - typo fixes - sort xrefs - some other minor cleanup. Notes: svn path=/stable/2.2/; revision=23433
* Merge from -currentPoul-Henning Kamp1996-11-061-1/+12
| | | | Notes: svn path=/stable/2.2/; revision=19444
* 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
* Remove trailing whitespace.Rodney W. Grimes1995-05-3038-465/+465
| | | | Notes: svn path=/head/; revision=8874
* Bring in a number of changes from NetBSD's make, fixing quite a fewJordan K. Hubbard1995-01-2333-749/+1489
| | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=5814
* Use gnumalloc.David Greenman1994-08-291-0/+3
| | | | Notes: svn path=/head/; revision=2390
* Fix a problem with passing quoted strings down to commands.Sean Eric Fagan1994-08-241-3/+6
| | | | | | | Reviewed by: Sean Eric Fagan Notes: svn path=/head/; revision=2266
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-2759-0/+26280
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590