Commit Graph
123 Commits
Author SHA1 Message Date
David E. O'Brien ff0b8b5d08 MFC: rev 1.45 (note sys.mk is read before any other files) 2001-05-23 18:23:53 +00:00
Thomas Moestl db428241d9 MFC of rev 1.17: fix two bugs that could make insertion and rebuilding
of null-suffix rules fail after the suffix list had been cleared.

Approved by:	jkh, rwatson
2001-03-09 01:13:24 +00:00
Ruslan Ermilov 260fa1380b MFC: recent mdoc(7) fixes. 2001-03-06 12:53:06 +00:00
Kris Kennaway 7965184842 MFC: CPUTYPE infrastructure, modulo IA64 support 2001-03-04 09:40:33 +00:00
David Malone 0ff77a8425 MFC: 1.41 uname is in section 3 of the man pages. 2001-02-28 11:48:58 +00:00
Will Andrews 60b0893a9b MFC: 8 months of bugfixes by myself, des, kris, wsanchez, and a few PR
submissions.  Style changes were purposefully avoided.
2001-02-13 03:13:58 +00:00
Ruslan Ermilov fdf2756069 MFC: Prepare for mdoc(7)NG. 2001-01-16 10:42:38 +00:00
Ruslan Ermilov e5e23f00c5 MFC: Prepare for mdoc(7)NG. 2000-12-19 16:22:38 +00:00
Ruslan Ermilov 5f668f21b4 MFC: recent mdoc(7) fixes. 2000-12-08 15:14:24 +00:00
Ruslan Ermilov 28e0b88963 MFC: Reimplement the groff(1) warnings elimination fixes. 2000-11-24 10:08:45 +00:00
cvs2svn 242b892baf This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-11-24 10:05:31 +00:00
Ruslan Ermilov d4918a37d8 MFC: Eliminate groff(1) warnings. 2000-11-23 15:26:32 +00:00
cvs2svn e2b9a4cb9f This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-11-23 15:21:31 +00:00
Will Andrews 5562f172b6 MFC: :C, :L, and :U variable modifiers. 2000-10-19 04:23:49 +00:00
Peter Wemm 8ccd0ab51f MFC: -X flag 2000-09-25 18:47:12 +00:00
Sheldon Hearn 63d5d13fdf MFC rev 1.31: pwd instead of cwd 2000-07-17 17:33:48 +00:00
Paul Saab 74b36d1cb2 MFC: #include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
2000-07-01 12:24:23 +00:00
Will Andrews 4c3d2121b1 MFC: loud debugging facility documentation (-dl).
Approved by:	jkh
2000-05-20 20:18:49 +00:00
Will Andrews f021a6ac4d MFC: loud debugging facility (-dl).
Better patch submitted by:	steve
Reviewed by:			phk, steve, chuckr, obrien
				Lyndon Nerenberg <[email protected]>
Approved by:			jkh
2000-05-20 20:04:02 +00:00
Sheldon Hearn 87faa07bec Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
Nik Clayton 3615c24e18 Fix errors in .Xr usage.
PR:             docs/17057
Submitted by:   Submitted by:   Udo Erdelhoff <[email protected]>
2000-03-01 10:48:35 +00:00
Ruslan Ermilov 810ce16d54 ${.MAKE} -> ${MAKE}
Reviewed by:	hoek
2000-01-19 10:44:28 +00:00
Kris Kennaway 6470ba8b28 Create tempfiles securely.
Reviewed by:	imp
2000-01-17 06:43:41 +00:00
Martin Cracauer 65831093e9 Make '||' visible.
PR:		docs/15265
Submitted by:	Kazu TAKAMUNE <[email protected]>
1999-12-05 12:23:03 +00:00
Marcel Moolenaar 494b6f4cba Improve backward compatibility.
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...
1999-11-23 10:35:24 +00:00
Marcel Moolenaar f5c0c6abaa Remove CROSS_MAKE_FLAGS. 1999-11-15 17:07:45 +00:00
Julian Elischer 110acfcd2b Fix the following:
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 <[email protected]>
Reviewed by:	[email protected]
1999-10-10 20:39:36 +00:00
Tim Vanderhoek 5335af7e73 s/with historical makefils//. Also, relocate and change the description
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].
1999-09-11 15:11:56 +00:00
Tim Vanderhoek c947a6678b Remove the #include of sys/param.h. It was meant to improve portability
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
1999-09-11 13:17:35 +00:00
Tim Vanderhoek 06b1dcf182 Unduplicate IDs from comments, do $Id -> $FreeBSD$ (submitted-by: bde) 1999-09-11 13:08:02 +00:00
Julian Elischer 4aaa4f952a Allow 'make' to check out elements within archive libraries.
"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 [email protected]
1999-09-10 20:51:59 +00:00
Peter Wemm c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Tim Vanderhoek a6ad7c7f78 Fix a temp file race occurring only when -j is used.
Noticed by:	ru
Obtained from:	OpenBSD
1999-08-22 05:28:13 +00:00
Tim Vanderhoek 9bd2d6eee4 Merge style- and trivial- only changes from OpenBSD (dated 1999/07/29-19:55+1).
Obtained from:	OpenBSD, sometimes indirected from NetBSD; myself
1999-08-17 00:39:26 +00:00
Chris Costello e0fd2ce68f Bad reference of getcwd(2) changed to getcwd(3). 1999-08-14 06:47:13 +00:00
Chris Costello 444449266c Make VPATH explanation more concise. I apparently was not thinking
on the previous commit.
1999-08-12 20:49:20 +00:00
Chris Costello a5813d5e80 Move ${VPATH} explanation under the .PATH rule section.
Clarify my vague explanation of how ${VPATH} works and why it shouldn't
be used.
1999-08-12 20:28:54 +00:00
Tim Vanderhoek 5af2ec36b0 Bugfix to last commit: Correctly intuit when an lhs is a string vs. number. 1999-08-12 13:30:08 +00:00
Chris Costello edad54782b Document ${VPATH} and that it _should_not_ be used in any new Makefiles.
PR:		10556
Submitted by:	Dominic Mitchell <[email protected]>
1999-08-11 17:52:55 +00:00
Tim Vanderhoek b97af31bdb Add a -E flag, similar to -e (overide variables from environment) except
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).
1999-07-31 20:53:02 +00:00
Tim Vanderhoek 97f8cf3b7f Print an error message on illegal numerical arguments.
Submitted by: bin/9349 (slightly modified) Assar Westerlund <[email protected]>
1999-07-31 20:40:23 +00:00
Tim Vanderhoek 3a1c425259 When printing an error message after command execution fails, don't assume
the only possible error is "command not found".  This makes debugging of
messages such as "/bin/sh: not found" less common...
1999-07-31 20:38:22 +00:00
Warner Losh 1713906692 Per requests from the community, commit rudimentary cross compilation
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.
1999-07-07 04:46:46 +00:00
Tim Vanderhoek 168de44296 Handle ".if ${T} > 1 || ${T} < 3" and friends correctly.
Reported-by:	asami
1999-05-25 13:45:08 +00:00
Warner Losh ab898e2ec9 Add :Q to quote variable expansion to all proper expansion of
variables for recursive makes.  This makes it less painful to cross
build recent NetBSD kernels on FreeBSD.

Obtained from: NetBSD
1999-04-19 07:30:04 +00:00
Warner Losh ac3efb6afc Make MACHINE_ARCH sensitive to the environment, as well as using the
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)
1999-03-01 06:01:05 +00:00
Dmitrij Tejblum 69a6a9961e Remove couple of 'extern int errno'. (They turned to something funny when
<errno.h> included).
1999-02-14 22:22:54 +00:00
Jordan K. Hubbard f93b86166a Don't allow pointer underrun in loop.
Spotted by:	John W. DeBoskey <[email protected]>
1999-01-08 18:37:34 +00:00
Peter da Silva 95cf97aa04 Described the search path Make uses to find makefiles. 1998-11-29 13:46:39 +00:00
Bruce Evans 50f292a2b5 Fixed missing 'v' in usage message. 1998-11-15 05:55:58 +00:00