summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
Commit message (Collapse)AuthorAgeFilesLines
* Note that sys.mk is read before any other file (even Makefile)obrien2001-05-231-1/+4
|
* By default build make(1) as a static binary. It costs only 100k of additionalsobomax2001-05-181-0/+2
| | | | | | | disk space, buf provides measureable speed increase for make-intensive operations, such as pkg_version(1), `make world' and so on. MFC after: 1 week
* mdoc(7) police: remove hard sentence breaks.dd2001-04-301-16/+32
|
* Remove GCC-ism (-Wall).will2001-04-261-1/+1
| | | | Submitted by: bde
* Add -Wall.ru2001-04-251-1/+1
|
* -Wall cleanup.ru2001-04-251-1/+2
|
* unifdef -UWANT_ENV_PWD.ru2001-04-252-42/+13
| | | | No one ever going to use this bugfeature.
* Make ${.OBJDIR} canonical.ru2001-04-251-10/+2
| | | | Reviewed by: bde
* with my mentor hat on...billf2001-03-151-2/+0
| | | | | | remove the concept of a 'maintainer' of our make. there really isn't a need for any one committer to hold an exclusive lock or serve as a filter for this code.
* Revert previous change -- apparently it's not quite right. It brokewill2001-03-151-15/+9
| | | | | | | | | | src/sys/modules/if_ef and possibly other things. I tested the build with a make based on rev. 1.26, and it worked fine. Since I'm not particularly inclined to figure out what's going on with this, it's probably prudent just to back it out for now. Found by: jkh Suggested by: jhay
* Fix make(1) bug: nested comments may be placed in .if, .else .if, andwill2001-03-151-9/+15
| | | | | | | | | | | | | .endif statements but can't be placed in .elif. Basically, the problem was that ParseSkipLine() didn't handle comments the same way that ParseReadLine() did, and thus you had errors with comments that are on a conditional line (i.e. "^.") rather than a non-conditional line. MFC candidate for 4.3-STABLE and 3.5-STABLE. PR: 25627 Bug found by: jhs Fix submitted by: Seth Kingsley <sethk@osd.bsdi.com> (thanks!!)
* Fix two bugs in null suffix handling. Both occured only after the suffixtmm2001-03-081-6/+19
| | | | | | | | | | | | list was cleared. Rules with null suffixes would not be rebuilt when the suffixes were added again. Adding null suffix rules would fail when a rule for the same source was declared before the suffix list was cleared. PR: 23328, 24102 Reviewed by: will Approved by: rwatson
* Include -DDEFSHELL=1 in Makefile.dist so people boostrapping willimp2001-03-011-1/+2
| | | | | | | | have a sane default. Also add $FreeBSD$ while I'm here. Pointed out by: bde
* MAXPATHLEN includes the trailing NUL.imp2001-03-012-6/+6
| | | | | | | Correct array sizes to reflect this. Correct NUL termination after strncpy. # Didn't to strncpy -> strlcpy change.
* Introduce support for using OpenSSL ASM optimizations. This is donekris2001-02-191-0/+15
| | | | | | | | | | | | | | | | | | | | | | | through the use of a new build directive, MACHINE_CPU, which contains a list of the CPU generations/features for which optimizations are desired. This feature will be extended to cover the ports tree in the future. Currently OpenSSL provides optimizations for i386, i586 and i686-class CPUs. Currently it has not been tested on an i386 or i486. Teach make(1) to provide sensible defaults for MACHINE_CPU if it is not defined (namely, the lowest common denominator CPU we support for each architecture). Currently this is i386 for the i386 architecture and ev4 for the alpha. sys.mk also sets the variable as a last resort for consistency with MACHINE_ARCH and bootstrapping from very old versions of make. Benchmarks show a significant speed increase even in the i386 case, with additional improvements for i586 and i686 systems. For maximum performance define MACHINE_CPU=i686 i586 i386 in /etc/make.conf. Based on a patch submitted by: Mike Silbersack <silby@silby.com> Reviewed by: current
* Preceed/preceeding are not english words. Use precede and preceding.asmodai2001-02-186-7/+7
|
* Uname is in section 3 of the manual pages.dwmalone2001-02-111-1/+1
| | | | | PR: 25008 Submitted by: fullermd@over-yonder.net
* Fix nasty bug where make(1) assumed that you could read the directory itwill2001-02-101-0/+2
| | | | | | | | | was in. This shall be MFC'd in about three days (probably not a good idea to MFC the stylistic changes though - see below). PR: 19978 Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> Patch by: roam (slightly modified by me to use NULL not NIL)
* 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
OpenPOWER on IntegriCloud