summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/parse.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Use err(3). Cosmetic in usage string.charnier1997-07-241-8/+8
|
* 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.
* 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>
* 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 :)
* Merge in NetBSD's changes to make(1). Changes include:steve1996-10-061-215/+190
| | | | | | | | | | | | | | | | - 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
* Fix for PR# 1231, make(1) execution of ``.BEGIN'' doessteve1996-09-251-2/+0
| | | | | | | | | 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-221-45/+35
| | | | | | | when used with .elif. Additional fixes include: - fix continuation line handling when using .for - plug up a memory leak
* 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.
* '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
* 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-181-1/+3
| | | | | | | | 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
* Remove trailing whitespace.rgrimes1995-05-301-68/+68
|
* Bring in a number of changes from NetBSD's make, fixing quite a fewjkh1995-01-231-76/+127
| | | | | | | | | | | | 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/+2566
OpenPOWER on IntegriCloud