summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-13/+6
|
* Fix style(9) bug; use ISDOT[DOT,]() macro available in util.c by movingwill2001-01-213-11/+9
| | | | | | | it to make.h so both dir.c and util.c can use it, although bde didn't particularly like this part of the idea, IMO it's cleaner than it was. Submitted by: bde
* Prepare for mdoc(7)NG.ru2001-01-161-2/+2
|
* Fix for the case where the first two entries returned by readdir() arewill2000-12-261-6/+12
| | | | | | | | | | | | actually NOT '.' and '..'. Apparently this isn't the case when accessing a directory via XFS over NFS on SGI systems. Since I don't have access to an environment like that, this will sit out in -current for at least six weeks. However, the patch proposed by the submitter seems acceptable, so I've decided to commit it to the tree, in the hope that it will solve some problems without bringing up others. PR: 23300 Submitted by: Jim Pirzyk <Jim.Pirzyk@disney.com>
* Prepare for mdoc(7)NG.ru2000-12-191-10/+11
|
* Fix a bug introduced in rev. 1.17: initialize variables before use, not after.des2000-12-161-1/+1
| | | | | Rev. 1.17 was "Obtained from NetBSD", but is significantly different from the equivalent NetBSD revision (rev. 1.30), which does not have this bug.
* There's also no point in #typedef'ing void/char pointers. Accordingly,will2000-12-0236-512/+472
| | | | | | rip out ClientData/Address pointers and use standard types. Obtained from: OpenBSD
* There's no reason to use fancy forms of NULL. Replace all instanceswill2000-12-0238-238/+224
| | | | | | of NIL, NILLST, NILLGNODE, etc. with NULL. Obtained from: OpenBSD
* Format string paranoia. This should avoid potential buffer overflows fromwill2000-11-303-13/+29
| | | | | | user input (in its ever-broadening definition). Obtained from: NetBSD
* Xref make.conf(5), and point to /usr/share/doc/psd/12.make for thenik2000-11-291-1/+4
| | | | tutorial paper.
* Reimplement the groff(1) warnings elimination fixes in a better way.ru2000-11-242-10/+5
|
* Eliminate groff(1) warnings.ru2000-11-232-2/+20
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-13/+13
|
* Unlink the temporary file immediately so it is removed on exit.kris2000-11-191-19/+15
| | | | Obtained from: OpenBSD
* Add :L and :U variable modifiers. These convert the variable's value towill2000-10-092-0/+38
| | | | | | | | | all-lower or all-upper case characters, respectively. These were added to further reduce differences between NetBSD/OpenBSD and FreeBSD make(1) to propagate OpenPackages. PR: 19959 Submitted by: Gaspar Chilingarav <nm@web.am>
* Add :C/// variable modifier, which is similar to :S/// in functionalitywill2000-10-092-0/+414
| | | | | | | | | | | | | | but allows for regex. I removed NO_REGEX since no one could give a reason to have it, and since we don't use make in bootstrap tools, it's not needed. This is mostly added to synch up with NetBSD/OpenBSD so as to eliminate roadblocks in the OpenPackages project (see http://www.openpackages.org/). It's also quite useful, and costs us only about 3 kilobytes of space. PR: 21605 Submitted by: Hubert Feyrer <hubertf@NetBSD.org> Reviewed by: silence on -arch Obtained from: NetBSD
* Assume MAINTAINER. I will be taking the job of merging NetBSD/OpenBSDwill2000-09-291-0/+2
| | | | | | | improvements (including :C & :L, among others). After that, I'll be coming up with other ways to improve make(1). Discussed in spirit with: peter
* *** empty log message ***peter2000-09-252-12/+28
|
* Remove gratuitous free() call when we use special .SHELL target.ru2000-08-181-5/+0
|
* Allow use of the ${MAKE_SHELL} variable to specify alternate shells forgreen2000-08-164-2/+39
| | | | | make(1) to use. Setting it to "sh" and "ksh" are the only values which work right ATM; I wouldn't expect "csh" to get you far ;)
* Do include <unistd.h> for getopt interface.imp2000-07-281-2/+1
| | | | Don't extern it.
* Use pwd instead of cwd in backticks. cwd in backticks doesn't dosheldonh2000-07-171-2/+2
| | | | | | | anything useful in a Bourne shell. PR: 19980 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
* Fix assembler error messages - there is no \n allowed in __COPYRIGHT macroache2000-07-091-2/+1
|
* Use __RCSID()wsanchez2000-07-0916-100/+67
|
* Use __RCSID()wsanchez2000-07-0927-56/+82
|
* Initialize variablewsanchez2000-07-091-1/+1
|
* Update make(1) manpage to include information about the new loudwill2000-05-141-0/+3
| | | | debugging facility I introduced earlier today.
* Add loud debugging facility (-dl option) which allows programmers/developerswill2000-05-144-2/+6
| | | | | | | | | | | | to override @-prefixed commands in Makefiles. It is especially useful for debugging ports and/or complex Makefiles in such a manner that is basically a last resort, but is quite effective if the output is well-handled. I'll update the manpage after dinner. ;-) Better patch submitted by: steve Reviewed by: phk, steve, chuckr, obrien, Lyndon Nerenberg <lyndon@orthanc.ab.ca>
* #include <errno.h> where needed. Kill extern int errno;.imp2000-04-142-5/+1
| | | | Minor warnings in tip corrected.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-10/+20
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Fix errors in .Xr usage.nik2000-03-011-1/+1
| | | | | PR: docs/17057 Submitted by: Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
* ${.MAKE} -> ${MAKE}ru2000-01-191-1/+1
| | | | Reviewed by: hoek
* Create tempfiles securely.kris2000-01-172-23/+16
| | | | Reviewed by: imp
* Make '||' visible.cracauer1999-12-051-1/+1
| | | | | PR: docs/15265 Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
* Improve backward compatibility.marcel1999-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...
* Remove CROSS_MAKE_FLAGS.marcel1999-11-151-1/+1
|
* Fix the following:julian1999-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
* s/with historical makefils//. Also, relocate and change the descriptionhoek1999-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].
* Remove the #include of sys/param.h. It was meant to improve portabilityhoek1999-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
* Unduplicate IDs from comments, do $Id -> $FreeBSD$ (submitted-by: bde)hoek1999-09-1113-36/+10
|
* Allow 'make' to check out elements within archive libraries.julian1999-09-102-2/+6
| | | | | | | | | | | "Make no longer properly parses archive files, so using archive members as make targets, as described in PSD:12 section 4.2, does not work." Really should be merged into 3.3 before we ship if we can.. it's a trivial fix. PR: bin/13039, bin/10274 Submitted by: Mikko Tyolajarvi mikko@dynas.se
* $Id$ -> $FreeBSD$peter1999-08-2858-61/+61
|
* Fix a temp file race occurring only when -j is used.hoek1999-08-222-15/+17
| | | | | Noticed by: ru Obtained from: OpenBSD
* Merge style- and trivial- only changes from OpenBSD (dated 1999/07/29-19:55+1).hoek1999-08-1723-290/+535
| | | | Obtained from: OpenBSD, sometimes indirected from NetBSD; myself
* Bad reference of getcwd(2) changed to getcwd(3).chris1999-08-141-2/+2
|
* Make VPATH explanation more concise. I apparently was not thinkingchris1999-08-121-11/+4
| | | | on the previous commit.
* Move ${VPATH} explanation under the .PATH rule section.chris1999-08-121-16/+13
| | | | | Clarify my vague explanation of how ${VPATH} works and why it shouldn't be used.
* Bugfix to last commit: Correctly intuit when an lhs is a string vs. number.hoek1999-08-121-2/+3
|
* Document ${VPATH} and that it _should_not_ be used in any new Makefiles.chris1999-08-111-1/+16
| | | | | PR: 10556 Submitted by: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
* Add a -E flag, similar to -e (overide variables from environment) excepthoek1999-07-314-14/+47
| | | | | | | | that -E only operates for a specified variable. Useful since the -e option will often pull-in many unwanted variable overrides (esp. in a make world situation). Uses include overriding BINOWN (which cannot be done by normal methods or through abuses of MAKEFLAGS) or likely for ports to honour CFLAGS (provided they're running on a system whose make(1) has this option).
OpenPOWER on IntegriCloud