summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* Print an error message on illegal numerical arguments.hoek1999-07-311-5/+20
| | | | Submitted by: bin/9349 (slightly modified) Assar Westerlund <assar@sics.se>
* When printing an error message after command execution fails, don't assumehoek1999-07-311-2/+4
| | | | | the only possible error is "command not found". This makes debugging of messages such as "/bin/sh: not found" less common...
* Per requests from the community, commit rudimentary cross compilationimp1999-07-071-2/+2
| | | | | | | | | | | | support. I've been building world with these changes for months w/o ill effect. I've also managed to build the cross tool chain for MIPS with these patches. Please note that the extent to which these patches work is largely dictated by how well our tool chains support the cross compilation. Building alpha binaries on i386 doesn't work. Supposedly building i386 binaries on alpha does work, but I've not verified it with these patches, however.
* Handle ".if ${T} > 1 || ${T} < 3" and friends correctly.hoek1999-05-251-13/+14
| | | | Reported-by: asami
* Add :Q to quote variable expansion to all proper expansion ofimp1999-04-192-2/+49
| | | | | | | variables for recursive makes. This makes it less painful to cross build recent NetBSD kernels on FreeBSD. Obtained from: NetBSD
* Make MACHINE_ARCH sensitive to the environment, as well as using theimp1999-03-011-4/+11
| | | | | | | | compiled in default in case it isn't defined. This is needed to make cross compilation work in some edge cases. It also makes cross compiling on FreeBSD other BSD's easier as well. Obtained from: NetBSD, OpenBSD (predates the split)
* Remove couple of 'extern int errno'. (They turned to something funny whendt1999-02-141-4/+1
| | | | <errno.h> included).
* Don't allow pointer underrun in loop.jkh1999-01-081-2/+4
| | | | Spotted by: John W. DeBoskey <jwd@unx.sas.com>
* Described the search path Make uses to find makefiles.pds1998-11-291-4/+37
|
* Fixed missing 'v' in usage message.bde1998-11-151-2/+2
|
* Fixed bugs in previous commit:bde1998-11-151-4/+5
| | | | | | - missing `v' in synopsis. - 'v' disordered relative to 'V' in description of options. - line too long in description of 'v'.
* Added a -v (verbose) option and hid multi-job file banner generationdg1998-11-144-7/+15
| | | | behind it.
* Only process the ``PWD'' environmental var if built with "WANT_ENV_PWD"obrien1998-10-182-5/+14
| | | | | defined. Bash v2 sets PWD and it creates major problems for those of us with /usr/src being a symlink. See the lists for examples of the problems.
* Fix make world breakage from last commit.jdp1998-10-151-2/+2
|
OpenPOWER on IntegriCloud