aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make
Commit message (Collapse)AuthorAgeFilesLines
* MFC of the new variable `.MAKEFILE_LIST'. Add the followingOliver Eikemeier2004-07-102-3/+29
| | | | | | | | | | | | | | | | | | | | | | to make.conf(5) to have a `deptree' target in all makefiles: .NOTMAIN: deptree deptree: @echo 'Dependency tree for ${MAKE} in ${.CURDIR}:' @l=1; \ for d in ${.MAKEFILE_LIST}; do \ case "$$d" in \ ..) l=$$(($$l-2));; \ /*) printf '%-*s%s\n' $$l '' "`realpath \"$$d\"`"; \ l=$$(($$l+2));; \ *) printf '%-*s%s\n' $$l '' \ "`realpath \"${.OBJDIR}/$$d\"`"; \ l=$$(($$l+2));; \ esac \ done Notes: svn path=/stable/4/; revision=131892
* MFC: 1.29: Avoid a null pointer dereference if the .DEFAULT targetRuslan Ermilov2004-06-101-1/+6
| | | | | | | has no commands. Notes: svn path=/stable/4/; revision=130300
* MFC: Fixed parsing of double quotes.Ruslan Ermilov2004-02-231-14/+7
| | | | Notes: svn path=/stable/4/; revision=126162
* MFC (rev. 1.86): install a SIGCHLD handler.Dag-Erling Smørgrav2003-12-161-0/+20
| | | | Notes: svn path=/stable/4/; revision=123562
* Avoid segfaulting if current working directory is unreadable.Ruslan Ermilov2003-10-081-1/+1
| | | | | | | | | | | (HEAD is not subject to this bug.) PR: bin/56087 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> Approved by: murray@re Notes: svn path=/stable/4/; revision=120908
* MFC: 1.26: Fixed broken arithmetic expression parser.Ruslan Ermilov2003-07-221-5/+2
| | | | | | | PR: bin/44750 Notes: svn path=/stable/4/; revision=117869
* Finish the MFC of the -C option, as it is currently in HEAD.Ruslan Ermilov2003-04-151-5/+5
| | | | | | | | | | | The -C option's behavior still has an issue of not affecting the value of .CURDIR and .OBJDIR variables, as it should be. This will be addressed later. PR: bin/47149, bin/50981 Notes: svn path=/stable/4/; revision=113513
* Remove the unused doc Makefiles from RELENG_4.Tom Rhodes2003-02-051-8/+0
| | | | Notes: svn path=/stable/4/; revision=110355
* MFC: 1.39 1.43 1.50: Allow embedded `:' and `!' in target names.Ruslan Ermilov2002-12-261-2/+28
| | | | Notes: svn path=/stable/4/; revision=108289
* MFC the -C option for make(1): chdir()'s into directory before running.Sean Chittenden2002-12-172-0/+9
| | | | | | | Reviewed by: alfred && jmallet Notes: svn path=/stable/4/; revision=107980
* MFC 1.68: back out the realpath stuff, it breaks things.Warner Losh2002-11-131-0/+28
| | | | | | | # I botched this MFC. It should have been done before 4.7 :-( Notes: svn path=/stable/4/; revision=106841
* MFC: (rev. 1.58) Say that ":C" expects an extended regular expression.Archie Cobbs2002-09-091-2/+2
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=103147
* MFC: 1.57: Do not reset ${MAKEFILE} when reading ".depend".Ruslan Ermilov2002-07-241-1/+6
| | | | Notes: svn path=/stable/4/; revision=100620
* The .Nm utilityPhilippe Charnier2002-06-211-6/+11
| | | | Notes: svn path=/stable/4/; revision=98564
* MFC revision 1.21:Juli Mallett2002-06-171-0/+6
| | | | | | | | | | | Fix make(1) behaviour regarding SysV-style substitution when given a nil left-hand-side. PR: bin/5297 Submitted by: "Matthew Emmerton" <matt@gsicomp.on.ca> Notes: svn path=/stable/4/; revision=98322
* MFC revisions 1.58 and 1.61:Juli Mallett2002-06-171-5/+12
| | | | | | | | Use the actual path as per realpath(3) when referring to the Makefile internal to make(1), but export the path name as handed to us in ${MAKEFILE} Notes: svn path=/stable/4/; revision=98318
* MFC 1.23: make(1) claims to ignore the remainder of a conditional onceCrist J. Clark2002-02-271-1/+1
| | | | | | | | | | | its value has been determined in a manner similar to C. However, this was not the case. This patch should fix the problem. PR: bin/34032 Submitted by: Alan Eldridge <alane@geeksrus.net> Notes: svn path=/stable/4/; revision=91375
* MFC rev. 1.22Jens Schweikhardt2002-02-171-1/+1
| | | | | | | | Make substitutions in internal macros like $(@F:.o=.c) work. PR: bin/24377 Notes: svn path=/stable/4/; revision=90758
* MFC: markup and misc fixes.Ruslan Ermilov2001-08-161-19/+41
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=81777
* MFC: remove whitespace at EOL.Dima Dorfman2001-07-221-2/+2
| | | | Notes: svn path=/stable/4/; revision=80147
* MFC: by default link make(1) statically.Maxim Sobolev2001-05-251-0/+2
| | | | Notes: svn path=/stable/4/; revision=77163
* MFC: rev 1.45 (note sys.mk is read before any other files)David E. O'Brien2001-05-231-1/+4
| | | | Notes: svn path=/stable/4/; revision=77055
* MFC of rev 1.17: fix two bugs that could make insertion and rebuildingThomas Moestl2001-03-091-6/+19
| | | | | | | | | of null-suffix rules fail after the suffix list had been cleared. Approved by: jkh, rwatson Notes: svn path=/stable/4/; revision=74006
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2001-03-061-14/+9
| | | | Notes: svn path=/stable/4/; revision=73879
* MFC: CPUTYPE infrastructure, modulo IA64 supportKris Kennaway2001-03-041-0/+15
| | | | Notes: svn path=/stable/4/; revision=73502
* MFC: 1.41 uname is in section 3 of the man pages.David Malone2001-02-281-1/+1
| | | | Notes: svn path=/stable/4/; revision=73220
* MFC: 8 months of bugfixes by myself, des, kris, wsanchez, and a few PRWill Andrews2001-02-136-43/+60
| | | | | | | submissions. Style changes were purposefully avoided. Notes: svn path=/stable/4/; revision=72423
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-2/+2
| | | | Notes: svn path=/stable/4/; revision=71105
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-191-10/+11
| | | | Notes: svn path=/stable/4/; revision=70198
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2000-12-081-13/+13
| | | | Notes: svn path=/stable/4/; revision=69768
* MFC: Reimplement the groff(1) warnings elimination fixes.Ruslan Ermilov2000-11-242-18/+4
| | | | Notes: svn path=/stable/4/; revision=69109
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-11-241-0/+9
| | | | Notes: svn path=/stable/4/; revision=69108
* MFC: Eliminate groff(1) warnings.Ruslan Ermilov2000-11-231-2/+12
| | | | Notes: svn path=/stable/4/; revision=69097
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-11-231-0/+8
| | | | Notes: svn path=/stable/4/; revision=69096
* MFC: :C, :L, and :U variable modifiers.Will Andrews2000-10-192-0/+452
| | | | Notes: svn path=/stable/4/; revision=67304
* MFC: -X flagPeter Wemm2000-09-252-12/+28
| | | | Notes: svn path=/stable/4/; revision=66367
* MFC rev 1.31: pwd instead of cwdSheldon Hearn2000-07-171-2/+2
| | | | Notes: svn path=/stable/4/; revision=63318
* MFC: #include <errno.h> where needed. Kill extern int errno;.Paul Saab2000-07-012-5/+1
| | | | | | | Minor warnings in tip corrected. Notes: svn path=/stable/4/; revision=62348
* MFC: loud debugging facility documentation (-dl).Will Andrews2000-05-201-0/+3
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=60740
* MFC: loud debugging facility (-dl).Will Andrews2000-05-204-2/+6
| | | | | | | | | | Better patch submitted by: steve Reviewed by: phk, steve, chuckr, obrien Lyndon Nerenberg <lyndon@orthanc.ab.ca> Approved by: jkh Notes: svn path=/stable/4/; revision=60738
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-10/+20
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* Fix errors in .Xr usage.Nik Clayton2000-03-011-1/+1
| | | | | | | | PR: docs/17057 Submitted by: Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de> Notes: svn path=/head/; revision=57666
* ${.MAKE} -> ${MAKE}Ruslan Ermilov2000-01-191-1/+1
| | | | | | | Reviewed by: hoek Notes: svn path=/head/; revision=56280
* Create tempfiles securely.Kris Kennaway2000-01-172-23/+16
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=56151
* Make '||' visible.Martin Cracauer1999-12-051-1/+1
| | | | | | | | PR: docs/15265 Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp> Notes: svn path=/head/; revision=54147
* Improve backward compatibility.Marcel Moolenaar1999-11-231-1/+5
| | | | | | | | | | | | | | make(1) uses sysctlbyname() to find out if it is running on a PC98 machine. This check has been added on 1998/9/9. The MIB variable was added on 1998/8/31. At that time __FreeBSD_version was 300003. So, only perform the check *if* __FreeBSD_version is defined and if it's greater than 300003. For the record: sysctlbyname was added on 1997/5/30 so this change automaticly handles that... Notes: svn path=/head/; revision=53631
* Remove CROSS_MAKE_FLAGS.Marcel Moolenaar1999-11-151-1/+1
| | | | Notes: svn path=/head/; revision=53186
* Fix the following:Julian Elischer1999-10-101-1/+1
| | | | | | | | | | | | | | It appears that make fails to read the global symbol table of the archive file, making it think that the library needs to be rebuilt. fix supplied in PR: PR: bin/14167 Submitted by: Sebastian Lederer <lederer@bonn-online.com> Reviewed by: gallatin@FreeBSD.ORG Notes: svn path=/head/; revision=52109
* s/with historical makefils//. Also, relocate and change the descriptionTim Vanderhoek1999-09-111-7/+15
| | | | | | | | | | | | | of VPATH to be a little sexier. I'd say it looks a bit like Claudia Schiffer now, which I consider a definate improvement. We're also a little more subtle about saying that VPATH is for backward(s) compatibility. Submitted-by: chris, bde, and myself [although none of their descriptions were as sexy M(|is|r)s Schiffer, of course]. Notes: svn path=/head/; revision=51155
* Remove the #include of sys/param.h. It was meant to improve portabilityTim Vanderhoek1999-09-111-1/+0
| | | | | | | | | | | | for BSD less than 4.4 where sys/cdefs.h DNE but can be simulated with param.h. Unfortunately, the additional include did little to actually improve portability since we've lost portability in several other chunks of make code (err(), sysctlbyname(), probable more). Partly submitted by: bde Notes: svn path=/head/; revision=51151