| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Reviewed by: rodrigc
|
|
|
|
| |
for Makefile targets but also for targets they depend on.
|
|
|
|
|
| |
- Enable -Q by default for the moment - there is something weird
going on in the rescue build.
|
| |
|
|
|
|
|
| |
"remaking makefiles" feature. Otherwise, follow traditional Pmake behavior.
(hash table will be regenerated and committed follow this commit)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
get rid of sprite.h.
Obtained from: DragonFlyBSD
|
|
|
|
|
|
|
|
|
|
| |
been two maxJobs variables: one static in job.c and one global used in
main.c and parse.c. Makeing one global out of these was the wrong way
to fix the problem. Instead rename the global one to jobLimit and keep
maxJobs static in job.c.
Suggested by: rwatson
PR: bin/72510
|
|
|
|
| |
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.232)
|
|
|
|
|
|
| |
from globals.h into var.h.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.209)
|
|
|
|
|
| |
Patch: 7.196
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
| |
for the current make. This does not override flags specified on the
command line and these settings are not passed to sub-makes.
|
|
|
|
|
| |
by default. This should fix the problem of getting lots of errors
when building with an up-to-date make and old *.mk files.
|
|
|
|
|
|
|
|
|
|
|
| |
module. The only module accessing it (the current line number) was the
condition module, so pass the current line number as a function argument.
Centralize the pushing of new input sources into one function
ParsePushInput() and rename the function handling the popping from ParseEOF()
to ParsePopInput(). Make the entire thing a little bit clearer, by holding
the current input source in the top element of the stack instead of
using extra variables for this. Use a type-safe intrusive list for the
input stack.
|
|
|
|
|
|
| |
A Path is now a TAILQ of PathElements each of which just points to
a reference counted directory. Rename all functions dealing with Paths
from the Dir_ prefix to a Path_ prefix.
|
|
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 <okumoto@ucsd.edu>
|