aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary cast to pid_t.Kevin Lo2013-07-041-2/+2
| | | | Notes: svn path=/head/; revision=252679
* Reverse the sense of the test wrt bmake, and guard againstSimon J. Gerraty2013-05-161-1/+1
| | | | | | | MK_BMAKE not being defined. Notes: svn path=/head/; revision=250719
* Build bmake by default.Simon J. Gerraty2013-05-161-0/+7
| | | | | | | | | | If someone explicitly builds usr.bin/make while MK_BMAKE==yes, install it as 'fmake'. Reviewed by: brooks Notes: svn path=/head/; revision=250699
* Remove fictitious support for 80386-class CPUs from bsd.cpu.mk and make(1).Jung-uk Kim2012-12-031-1/+1
| | | | | | | | | It was removed from head more than 8 years ago (see r137784 and r137785). Reviewed by: imp, delphij, dim Notes: svn path=/head/; revision=243831
* make: report :M or :N pattern in debug modeAndriy Gapon2012-10-061-0/+1
| | | | | | | MFC after: 12 days Notes: svn path=/head/; revision=241280
* In usr.bin/make/var.c, function ParseModifier(), initialize the 'error'Dimitry Andric2012-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | variable to NULL, to avoid using it uninitialized in certain cases. This fixes the following clang 3.2 warning: usr.bin/make/var.c:1770:10: error: variable 'error' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] if (vp->execute) { ^~~~~~~~~~~ usr.bin/make/var.c:1777:10: note: uninitialized use occurs here if (error) ^~~~~ usr.bin/make/var.c:1770:6: note: remove the 'if' if its condition is always true if (vp->execute) { ^~~~~~~~~~~~~~~~~ usr.bin/make/var.c:1768:23: note: initialize the variable 'error' to silence this warning const char *error; ^ = NULL MFC after: 1 week Notes: svn path=/head/; revision=239071
* Correct typo in version.David E. O'Brien2012-06-201-1/+1
| | | | Notes: svn path=/head/; revision=237282
* Update date for r236338 & r236346.David E. O'Brien2012-05-311-1/+1
| | | | Notes: svn path=/head/; revision=236365
* Add "-V '${VAR}'" variable expansion from Portable Berkeley Make.David E. O'Brien2012-05-312-5/+14
| | | | | | | Submitted by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/head/; revision=236346
* Deprecate the FreeBSD make's ":U" (to-upper case) and ":L" (to-lower case)David E. O'Brien2012-05-303-1/+35
| | | | | | | | | | modifiers for ":tu" and ":tl" from OSF's ODE, which made its way into NetBSD's make, which is the source for the Portable Berkeley Make. Submitted by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/head/; revision=236338
* Minor mdoc nits.Joel Dahl2012-05-131-1/+1
| | | | Notes: svn path=/head/; revision=235400
* Make is part of the bootstrap path, so we need to guard against thisWarner Losh2012-05-091-1/+1
| | | | | | | | not being defined. Otherwise we don't make a new make when the old make is incompatible. Notes: svn path=/head/; revision=235152
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building theKonstantin Belousov2012-04-291-0/+4
| | | | | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks Notes: svn path=/head/; revision=234782
* Include target names in diagnostic output.Max Khon2012-02-121-8/+15
| | | | | | | Submitted by: Garrett Cooper Notes: svn path=/head/; revision=231544
* Map foreign architecture names to FreeBSD naming convention.Robert Millan2012-01-201-0/+17
| | | | | | | Approved by: kib (mentor) Notes: svn path=/head/; revision=230392
* Spelling fixes for usr.bin/Ulrich Spörlein2011-12-308-18/+18
| | | | Notes: svn path=/head/; revision=228992
* Revert r228521: sometimes job output is lostMax Khon2011-12-152-10/+2
| | | | | | | | | | | (see tools/regression/usr.bin/make/execution/joberr test). openpty(fd + 0, fd + 1,...) version does not have this problem but it sometimes enters an infinite sleep in "ttywait" state in tty_drain() when make(1) closes slave pty. Notes: svn path=/head/; revision=228525
* job make: if stdout is a tty create a pty when running a command.Max Khon2011-12-152-2/+10
| | | | Notes: svn path=/head/; revision=228521
* - Fix segmentation fault when running "+command" when run with -jX -n dueMax Khon2011-11-302-58/+51
| | | | | | | | | | | | | | to Compat_RunCommand() being called with `cmd' that is not on the node->commands list - Make ellipsis ("..." command) handling consistent: check for "..." command in job make after variables expansion to match compat make behavior - Fix empty command handling (after variables expansion and @+- modifiers are processed): now empty commands are ignored in compat make and are not printed in job make case - Bump MAKE_VERSION to 5-2011-11-30-0 Notes: svn path=/head/; revision=228157
* Add missing static keywords to make(1)Ed Schouten2011-11-061-0/+1
| | | | Notes: svn path=/head/; revision=227172
* make(1): obj dirs are physical paths so write `pwd -P` rather than `pwd`.Jilles Tjoelker2011-11-051-3/+3
| | | | | | | | Regular pwd may return a pathname containing symlinks, but make does not use such pathnames. Notes: svn path=/head/; revision=227121
* Fix typos - remove duplicate "the".Rebecca Cran2011-02-211-1/+1
| | | | | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days Notes: svn path=/head/; revision=218909
* Move most of the remaining USD/PSD/SMM papers into share/docUlrich Spörlein2010-12-042-3756/+0
| | | | Notes: svn path=/head/; revision=216178
* Remove hack needed by 6.x machines and older machines to run newerWarner Losh2010-10-061-22/+1
| | | | | | | | | makes on FreeBSD/pc98. The need for this hack has passed. If you are one of the rare people that may need this, then you should setenv MACHINE=pc98 as a workaround. Notes: svn path=/head/; revision=213494
* Use more portable errx instead of errc. The latter doesn't buy usWarner Losh2010-10-061-4/+2
| | | | | | | | anyting anyway, since the error EAGAIN's error message doesn't add anything to the error strings that are there now. Notes: svn path=/head/; revision=213493
* Remove extraneous ;Ed Maste2010-07-121-1/+1
| | | | Notes: svn path=/head/; revision=209951
* - Missing full stopsChristian Brueffer2010-05-121-6/+6
| | | | | | | | | | | | | | - Upper case the first character of an description - Section headings do not need to be quoted. From OpenBSD's make.1, revision 1.81 - Plural of suffix is suffixes. From OpenBSD's make.1, revision 1.61 - s/seperating/separating/ PR: 135165 Submitted by: Alan R. S. Bueno <alan.bsd@gmail.com> MFC after: 1 week Notes: svn path=/head/; revision=207948
* Remove yet another vestage of alpha support.Warner Losh2010-04-061-2/+0
| | | | Notes: svn path=/head/; revision=206241
* Eliminated nits from last commit.Ruslan Ermilov2010-01-271-15/+15
| | | | | | | OK'ed by: rodrigc Notes: svn path=/head/; revision=203098
* Partial merge of man page cleanups from NetBSD:Craig Rodrigues2010-01-271-16/+16
| | | | | | | | | | | | | | | | | revision 1.91 Fri Nov 7 01:01:46 2003 UTC by lukem Add some subsections in the VARIABLE ASSIGNMENTS section. In the "modifier description" list, show each modifier with the leading `:'. Rationale: it's hard to search for modifiers without it, and we already do the same thing in the -options and .makecommands lists. I now find it much easier to find the description for a modifier in the man page. Obtained from: NetBSD Notes: svn path=/head/; revision=203055
* Fix the previous commit (still not used to svn vs. cvs). Use theHartmut Brandt2010-01-111-4/+2
| | | | | | | | define from paths.h for the default temporary directory and remove and unneccessary getenv call. Notes: svn path=/head/; revision=202070
* Make make respect the TMPDIR environment variable.Hartmut Brandt2010-01-101-5/+14
| | | | | | | | PR: bin/115447 Submitted by: Eugene Grosbein Notes: svn path=/head/; revision=202045
* Add ability to search up the directory hierarchy for the system directory.David E. O'Brien2010-01-044-11/+158
| | | | | | | | | | Do by specifying ".../" with '-m' or MAKESYSPATH (new) environment variable. Reviewed by: <sjg@NetBSD.org> Obtained from: NetBSD (+ embellishment by me, sent back to NetBSD) Notes: svn path=/head/; revision=201526
* Report lines that ought to contain a ':' operator but start with a '.'David E. O'Brien2010-01-041-2/+5
| | | | | | | | | | as "Unknown directive" sinze they are more likely to be .elseif (etc). (NetBSD PR 37222). Obtained from: NetBSD Notes: svn path=/head/; revision=201456
* Add check for subversion "original" marker.David E. O'Brien2010-01-041-0/+1
| | | | Notes: svn path=/head/; revision=201455
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-1/+0
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* Add missing `void' keyword.Ed Schouten2009-12-291-1/+1
| | | | Notes: svn path=/head/; revision=201225
* - Partially revert r200417. config.h brings several definitions,Stanislav Sedov2009-12-172-0/+2
| | | | | | | | that appears to be actually used. Without config.h included cross-build of world failed (at least for ARM). Notes: svn path=/head/; revision=200630
* Remove unnecessary includes.Xin LI2009-12-1110-20/+0
| | | | | | | Reviewed by: rodrigc Notes: svn path=/head/; revision=200417
* Add a missing space to the error message when execvp() failed.Stefan Farfeleder2009-12-051-1/+1
| | | | Notes: svn path=/head/; revision=200120
* Catch up with r144020's /Dir_FindFile/Path_FindFile/David E. O'Brien2009-11-172-2/+2
| | | | Notes: svn path=/head/; revision=199419
* Garbage collect some old #ifdef'ed code from 1994 that causes vi's '%'David E. O'Brien2009-11-172-27/+0
| | | | | | | to be unable to find a match in Path_FindFile(). Notes: svn path=/head/; revision=199404
* Reset UPTODATE gnodes after remaking makefiles when makeMax Khon2009-10-181-15/+21
| | | | | | | | is not going to be restarted: such nodes could be marked UPTODATE without doing rebuild due to remakingMakefiles being TRUE. Notes: svn path=/head/; revision=198199
* Exit with non-zero error code in case of errorsMax Khon2009-10-181-0/+2
| | | | | | | when make is run with -k and not parallel (compat) make is run. Notes: svn path=/head/; revision=198197
* Use strlcpy() instead of manually setting the last byte of the array to \0.Xin LI2009-06-231-8/+4
| | | | Notes: svn path=/head/; revision=194797
* Add volatile to sig_atomic_t where it was missing.Dag-Erling Smørgrav2009-06-141-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=194217
* Avoid infinite loops when remaking makefiles not onlyMax Khon2009-04-074-41/+26
| | | | | | | for Makefile targets but also for targets they depend on. Notes: svn path=/head/; revision=190821
* Partially revert r186559.David E. O'Brien2009-02-031-1/+1
| | | | Notes: svn path=/head/; revision=188075
* Remove duplicate OPTFLAGS definition.Max Khon2009-02-021-1/+0
| | | | Notes: svn path=/head/; revision=188001
* Sort the options, per style(9).Warner Losh2009-02-021-24/+25
| | | | | | | Reviewed by: obrien@ Notes: svn path=/head/; revision=187995