<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/make/main.c, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix -jX when makefiles are remade.</title>
<updated>2007-11-29T04:20:19+00:00</updated>
<author>
<name>Max Khon</name>
<email>fjoe@FreeBSD.org</email>
</author>
<published>2007-11-29T04:20:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=190aa7c4ceb697ddde05cca2a2384ad84b4c9846'/>
<id>190aa7c4ceb697ddde05cca2a2384ad84b4c9846</id>
<content type='text'>
Approved by:	re (kensmith)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	re (kensmith)
</pre>
</div>
</content>
</entry>
<entry>
<title>Change directory back to ${.CURDIR} when remaking Makefiles.</title>
<updated>2007-06-01T04:20:19+00:00</updated>
<author>
<name>Max Khon</name>
<email>fjoe@FreeBSD.org</email>
</author>
<published>2007-06-01T04:20:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6d000893b459c182b5fe5728ec1b39369363af08'/>
<id>6d000893b459c182b5fe5728ec1b39369363af08</id>
<content type='text'>
Pointed out by:	ru
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pointed out by:	ru
</pre>
</div>
</content>
</entry>
<entry>
<title>When remaking makefiles check that mtime has actually changed.</title>
<updated>2007-04-20T06:25:45+00:00</updated>
<author>
<name>Max Khon</name>
<email>fjoe@FreeBSD.org</email>
</author>
<published>2007-04-20T06:25:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bc5748e31f269cfeebe1686718fc4c03a5de277e'/>
<id>bc5748e31f269cfeebe1686718fc4c03a5de277e</id>
<content type='text'>
This fixes infinite restart in the following case:

Makefile: foo

foo: bar
	do-something

Unlike GNU make, BSD make considers "Makefile" node as remade even
if "foo" is up-to-date and was not actually rebuilt.
GNU make does not consider nodes without commands as remade if child nodes
were not actually rebuilt.

Most probably, more proper fix would be to bring BSD make behaviour in-line
with GNU make but this would be more intrusive change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes infinite restart in the following case:

Makefile: foo

foo: bar
	do-something

Unlike GNU make, BSD make considers "Makefile" node as remade even
if "foo" is up-to-date and was not actually rebuilt.
GNU make does not consider nodes without commands as remade if child nodes
were not actually rebuilt.

Most probably, more proper fix would be to bring BSD make behaviour in-line
with GNU make but this would be more intrusive change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement "Remaking Makefiles" feature:</title>
<updated>2007-03-08T09:16:11+00:00</updated>
<author>
<name>Max Khon</name>
<email>fjoe@FreeBSD.org</email>
</author>
<published>2007-03-08T09:16:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9a81351403a1107416f6a021ee6cd5bb3d3b8076'/>
<id>9a81351403a1107416f6a021ee6cd5bb3d3b8076</id>
<content type='text'>
After reading Makefile and all the files that are included using .include
or .sinclude directives (source Makefiles) make considers each source
Makefile as a target and tries to rebuild it.  Both explicit and implicit
rules are checked and all source Makefiles are updated if necessary. If
any of the source Makefiles were rebuilt, make restarts from clean state.

To prevent infinite loops the following source Makefile targets are
ignored:
- :: targets that have no prerequisites but have commands
- ! targets
- targets that have .PHONY or .EXEC attributes
- targets without prerequisites and without commands

When remaking a source Makefile options -t (touch target), -q (query
mode), and -n (no exec) do not take effect, unless source Makefile is
specified explicitly as a target in make command line.
Additionally, system makefiles and .depend are not considered as a
Makefiles that can be rebuilt.

Reviewed by:	harti
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After reading Makefile and all the files that are included using .include
or .sinclude directives (source Makefiles) make considers each source
Makefile as a target and tries to rebuild it.  Both explicit and implicit
rules are checked and all source Makefiles are updated if necessary. If
any of the source Makefiles were rebuilt, make restarts from clean state.

To prevent infinite loops the following source Makefile targets are
ignored:
- :: targets that have no prerequisites but have commands
- ! targets
- targets that have .PHONY or .EXEC attributes
- targets without prerequisites and without commands

When remaking a source Makefile options -t (touch target), -q (query
mode), and -n (no exec) do not take effect, unless source Makefile is
specified explicitly as a target in make command line.
Additionally, system makefiles and .depend are not considered as a
Makefiles that can be rebuilt.

Reviewed by:	harti
</pre>
</div>
</content>
</entry>
<entry>
<title>whitespace fixing</title>
<updated>2006-07-17T19:16:12+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2006-07-17T19:16:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=99f08b7740ea3847953a3c9b2ecdfa7907d46978'/>
<id>99f08b7740ea3847953a3c9b2ecdfa7907d46978</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98.</title>
<updated>2005-12-05T14:22:12+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-12-05T14:22:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8c7a62275a61304c16a51877eb730e3508f2fe9b'/>
<id>8c7a62275a61304c16a51877eb730e3508f2fe9b</id>
<content type='text'>
Reviewed by:	nyan
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	nyan
</pre>
</div>
</content>
</entry>
<entry>
<title>Quickly fix brokeness in revision 1.157, that change was</title>
<updated>2005-12-01T05:59:45+00:00</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2005-12-01T05:59:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0f2755724b12f6229c437705a137aa1325cb60f7'/>
<id>0f2755724b12f6229c437705a137aa1325cb60f7</id>
<content type='text'>
free()ing stack memory which causes the program to abort,
and I can no longer make buildworld.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
free()ing stack memory which causes the program to abort,
and I can no longer make buildworld.
</pre>
</div>
</content>
</entry>
<entry>
<title>- match_var: do not address memory at invalid address (`len' can be greater</title>
<updated>2005-11-30T20:38:03+00:00</updated>
<author>
<name>Max Khon</name>
<email>fjoe@FreeBSD.org</email>
</author>
<published>2005-11-30T20:38:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7d81571413ca100305b778a1e6c6a1992dfe7515'/>
<id>7d81571413ca100305b778a1e6c6a1992dfe7515</id>
<content type='text'>
than strlen(var) + 1)
- ReadMakeFile: prevent `fname' memory leak
- ReadMakeFile: prevent double free (caused by double fclose) --
ParsePopInput() closes input file

Reviewed by:	harti
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
than strlen(var) + 1)
- ReadMakeFile: prevent `fname' memory leak
- ReadMakeFile: prevent double free (caused by double fclose) --
ParsePopInput() closes input file

Reviewed by:	harti
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the type of the variable 'debug'. It is used as a bitmap, so the</title>
<updated>2005-09-07T07:34:24+00:00</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-09-07T07:34:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=724b6284e3f2f30129f7c524919bf90d9d6aa8b0'/>
<id>724b6284e3f2f30129f7c524919bf90d9d6aa8b0</id>
<content type='text'>
type should be int rather than Boolean.

PR:		bin/84528
Submitted by:	Max Okumoto &lt;okumoto@ucsd.edu&gt;
MFC after:	3 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
type should be int rather than Boolean.

PR:		bin/84528
Submitted by:	Max Okumoto &lt;okumoto@ucsd.edu&gt;
MFC after:	3 weeks
</pre>
</div>
</content>
</entry>
</feed>
