<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/make/make.h, branch releng/8.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2008-12-29T10:26:02Z</updated>
<entry>
<title>1. Add the ability to tweak the token output before targets in job mode.</title>
<updated>2008-12-29T10:26:02Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2008-12-29T10:26:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=78885448f1da75e35e9b78403f684c9bb7529b12'/>
<id>urn:sha1:78885448f1da75e35e9b78403f684c9bb7529b12</id>
<content type='text'>
   E.g.,  .MAKE.JOB.PREFIX=${.newline}---[${.MAKE.PID}]
   would produce

   ---[1234] target ---

2. Added ${.newline} as a simple means of being able to include '\n' in the
   assignment of .MAKE.JOB.PREFIX

Obtained from:	NetBSD
</content>
</entry>
<entry>
<title>Implement "Remaking Makefiles" feature:</title>
<updated>2007-03-08T09:16:11Z</updated>
<author>
<name>Max Khon</name>
<email>fjoe@FreeBSD.org</email>
</author>
<published>2007-03-08T09:16:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a81351403a1107416f6a021ee6cd5bb3d3b8076'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Move the Boolean and ReturnStatus stuff from sprite.h to util.h and</title>
<updated>2005-05-13T08:53:00Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-05-13T08:53:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=38147431602891e0d069d4f8bb9cb2690314cc20'/>
<id>urn:sha1:38147431602891e0d069d4f8bb9cb2690314cc20</id>
<content type='text'>
get rid of sprite.h.

Obtained from:	DragonFlyBSD
</content>
</entry>
<entry>
<title>Move the definitions of the OP_* constants from make.h into GNode.h</title>
<updated>2005-05-10T14:27:04Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-05-10T14:27:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4aa6beaf6030be0d763801191627ad39882e161e'/>
<id>urn:sha1:4aa6beaf6030be0d763801191627ad39882e161e</id>
<content type='text'>
where they actually belong to. Move the definitions of the strings
for special macros like "$*" from make.h to parse.h - they're used
only in the parser.

Submitted by:	Max Okumoto &lt;okumoto@ucsd.edu&gt; (7.211)
</content>
</entry>
<entry>
<title>Move the remaining two prototypes from nonints.h to make.h and</title>
<updated>2005-05-10T14:10:44Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-05-10T14:10:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a139b7bac17b8e73aa0bb5780c978ab7db12166c'/>
<id>urn:sha1:a139b7bac17b8e73aa0bb5780c978ab7db12166c</id>
<content type='text'>
remove nonints.h.

Patch:	7.204
Submitted by:	Max Okumoto &lt;okumoto@ucsd.edu&gt;
</content>
</entry>
<entry>
<title>Make shellPath and shellName static - they're used in job.c only.</title>
<updated>2005-05-10T14:06:19Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-05-10T14:06:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a910e11d167b41985e5be40680c6ce758b1acd9'/>
<id>urn:sha1:9a910e11d167b41985e5be40680c6ce758b1acd9</id>
<content type='text'>
Move definition of parsing error levels from make.h into parse.h.

Patches:	7.202,7.203
Submitted by:	Max Okumoto &lt;okumoto@ucsd.edu&gt;
</content>
</entry>
<entry>
<title>Introduce a flag to enable extended warnings (-x) and make them off</title>
<updated>2005-04-28T15:37:25Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-04-28T15:37:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=48c49ace005253a091fe279746a537feb9a7abad'/>
<id>urn:sha1:48c49ace005253a091fe279746a537feb9a7abad</id>
<content type='text'>
by default. This should fix the problem of getting lots of errors
when building with an up-to-date make and old *.mk files.
</content>
</entry>
<entry>
<title>Clean up include files and file including. Split nonints.h into pieces</title>
<updated>2005-02-01T10:50:37Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2005-02-01T10:50:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7a2029bac2130f8d12b0c3bfa5fca898e12e29a9'/>
<id>urn:sha1:7a2029bac2130f8d12b0c3bfa5fca898e12e29a9</id>
<content type='text'>
that get included just where they are needed. All headers include the
headers that they need to compile (just with an empty .c file). Sort
includes alphabetically where apropriate and fix some duplicate commenting
for struct Job, struct GNode and struct Shell by removing one version and
inlining the comments into the structure declaration (the comments have been
somewhat outdated).

This patch does not contain functional changes (checked with md5).

Submitted by:	Max Okumoto &lt;okumoto@ucsd.edu&gt;
</content>
</entry>
<entry>
<title>Instead of dynamically allocating list heads allocated them statically</title>
<updated>2004-12-16T16:14:16Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2004-12-16T16:14:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1d614caea7ecb5640fea14644156fe3dd7bec022'/>
<id>urn:sha1:1d614caea7ecb5640fea14644156fe3dd7bec022</id>
<content type='text'>
now that their size is only two pointers. This eliminates a lot of calls
to Lst_Init and from there to malloc together with many calls to
Lst_Destroy (in places where the list is obviously empty). This also
reduces the chance to leave a list uninitilized so we can remove more
NULL pointer checks and probably eliminates a couple of memory leaks.
</content>
</entry>
<entry>
<title>Get rid of the sequential access feature of the lists. This was used</title>
<updated>2004-12-08T16:22:01Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2004-12-08T16:22:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c76d7d5047d90b7777133dd0769abbfb5d58ddbf'/>
<id>urn:sha1:c76d7d5047d90b7777133dd0769abbfb5d58ddbf</id>
<content type='text'>
only in a couple of places and all of them except for one were easily
converted to use Lst_First/Lst_Succ. The one place is compatibility
mode in job.c where the it was used to advance to the next command on
each invocation of JobStart. For this case add a pointer to the node to
hold the currently executed command.
</content>
</entry>
</feed>
