summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
Commit message (Collapse)AuthorAgeFilesLines
* MFC various moves of tools/regressions/ tests to the new infrastructure.jmmv2014-04-27321-0/+2778
| | | | | | | | | | | | | | | | - r263220 Migrate tools/regression/sbin/ to the new tests layout. - r263222 Add Makefile missed in r263220. - r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. - r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout. - r263345 Expand tabs that sneaked in into spaces. - r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout. - r263348 Add Makefiles missed in r263346. - r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout. - r263388 Mark multi_test as requiring /usr/share/dict/words. - r263814 Fix path to the run.pl script to let these tests run. - r264742 Prevent building tests when bootstrapping make. This is 'make tinderbox' clean.
* Remove unnecessary cast to pid_t.kevlo2013-07-041-2/+2
|
* Reverse the sense of the test wrt bmake, and guard againstsjg2013-05-161-1/+1
| | | | MK_BMAKE not being defined.
* Build bmake by default.sjg2013-05-161-0/+7
| | | | | | | If someone explicitly builds usr.bin/make while MK_BMAKE==yes, install it as 'fmake'. Reviewed by: brooks
* Remove fictitious support for 80386-class CPUs from bsd.cpu.mk and make(1).jkim2012-12-031-1/+1
| | | | | | It was removed from head more than 8 years ago (see r137784 and r137785). Reviewed by: imp, delphij, dim
* make: report :M or :N pattern in debug modeavg2012-10-061-0/+1
| | | | MFC after: 12 days
* In usr.bin/make/var.c, function ParseModifier(), initialize the 'error'dim2012-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
* Correct typo in version.obrien2012-06-201-1/+1
|
* Update date for r236338 & r236346.obrien2012-05-311-1/+1
|
* Add "-V '${VAR}'" variable expansion from Portable Berkeley Make.obrien2012-05-312-5/+14
| | | | Submitted by: Simon Gerraty <sjg@juniper.net>
* Deprecate the FreeBSD make's ":U" (to-upper case) and ":L" (to-lower case)obrien2012-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>
* Minor mdoc nits.joel2012-05-131-1/+1
|
* Make is part of the bootstrap path, so we need to guard against thisimp2012-05-091-1/+1
| | | | | not being defined. Otherwise we don't make a new make when the old make is incompatible.
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building thekib2012-04-291-0/+4
| | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks
* Include target names in diagnostic output.fjoe2012-02-121-8/+15
| | | | Submitted by: Garrett Cooper
* Map foreign architecture names to FreeBSD naming convention.rmh2012-01-201-0/+17
| | | | Approved by: kib (mentor)
* Spelling fixes for usr.bin/uqs2011-12-308-18/+18
|
* Revert r228521: sometimes job output is lostfjoe2011-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.
* job make: if stdout is a tty create a pty when running a command.fjoe2011-12-152-2/+10
|
* - Fix segmentation fault when running "+command" when run with -jX -n duefjoe2011-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
* Add missing static keywords to make(1)ed2011-11-061-0/+1
|
* make(1): obj dirs are physical paths so write `pwd -P` rather than `pwd`.jilles2011-11-051-3/+3
| | | | | Regular pwd may return a pathname containing symlinks, but make does not use such pathnames.
* Fix typos - remove duplicate "the".brucec2011-02-211-1/+1
| | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
* Move most of the remaining USD/PSD/SMM papers into share/docuqs2010-12-042-3756/+0
|
* Remove hack needed by 6.x machines and older machines to run newerimp2010-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.
* Use more portable errx instead of errc. The latter doesn't buy usimp2010-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.
* Remove extraneous ;emaste2010-07-121-1/+1
|
* - Missing full stopsbrueffer2010-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
* Remove yet another vestage of alpha support.imp2010-04-061-2/+0
|
* Eliminated nits from last commit.ru2010-01-271-15/+15
| | | | OK'ed by: rodrigc
* Partial merge of man page cleanups from NetBSD:rodrigc2010-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
* Fix the previous commit (still not used to svn vs. cvs). Use theharti2010-01-111-4/+2
| | | | | define from paths.h for the default temporary directory and remove and unneccessary getenv call.
* Make make respect the TMPDIR environment variable.harti2010-01-101-5/+14
| | | | | PR: bin/115447 Submitted by: Eugene Grosbein
* Add ability to search up the directory hierarchy for the system directory.obrien2010-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)
* Report lines that ought to contain a ':' operator but start with a '.'obrien2010-01-041-2/+5
| | | | | | | as "Unknown directive" sinze they are more likely to be .elseif (etc). (NetBSD PR 37222). Obtained from: NetBSD
* Add check for subversion "original" marker.obrien2010-01-041-0/+1
|
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-1/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Add missing `void' keyword.ed2009-12-291-1/+1
|
* - Partially revert r200417. config.h brings several definitions,stas2009-12-172-0/+2
| | | | | that appears to be actually used. Without config.h included cross-build of world failed (at least for ARM).
* Remove unnecessary includes.delphij2009-12-1110-20/+0
| | | | Reviewed by: rodrigc
* Add a missing space to the error message when execvp() failed.stefanf2009-12-051-1/+1
|
* Catch up with r144020's /Dir_FindFile/Path_FindFile/obrien2009-11-172-2/+2
|
* Garbage collect some old #ifdef'ed code from 1994 that causes vi's '%'obrien2009-11-172-27/+0
| | | | to be unable to find a match in Path_FindFile().
* Reset UPTODATE gnodes after remaking makefiles when makefjoe2009-10-181-15/+21
| | | | | is not going to be restarted: such nodes could be marked UPTODATE without doing rebuild due to remakingMakefiles being TRUE.
* Exit with non-zero error code in case of errorsfjoe2009-10-181-0/+2
| | | | when make is run with -k and not parallel (compat) make is run.
* Use strlcpy() instead of manually setting the last byte of the array to \0.delphij2009-06-231-8/+4
|
* Add volatile to sig_atomic_t where it was missing.des2009-06-141-1/+1
| | | | MFC after: 1 week
* Avoid infinite loops when remaking makefiles not onlyfjoe2009-04-074-41/+26
| | | | for Makefile targets but also for targets they depend on.
* Partially revert r186559.obrien2009-02-031-1/+1
|
* Remove duplicate OPTFLAGS definition.fjoe2009-02-021-1/+0
|
OpenPOWER on IntegriCloud