summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/globals.h
Commit message (Collapse)AuthorAgeFilesLines
* Add missing static keywords to make(1)ed2011-11-061-0/+1
|
* Remove unnecessary includes.delphij2009-12-111-3/+0
| | | | Reviewed by: rodrigc
* Avoid infinite loops when remaking makefiles not onlyfjoe2009-04-071-0/+1
| | | | for Makefile targets but also for targets they depend on.
* + Add the -Q be-quiet flag for parallel jobs.obrien2009-01-031-0/+1
| | | | | - Enable -Q by default for the moment - there is something weird going on in the rescue build.
* Exit with error code 2 when run with -k (continue if errors) and build failed.fjoe2008-12-181-0/+1
|
* If the special target .MAKEFILEDEPS exists, then enable theobrien2008-03-121-0/+1
| | | | | "remaking makefiles" feature. Otherwise, follow traditional Pmake behavior. (hash table will be regenerated and committed follow this commit)
* Implement "Remaking Makefiles" feature:fjoe2007-03-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | 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
* Move the Boolean and ReturnStatus stuff from sprite.h to util.h andharti2005-05-131-1/+1
| | | | | | get rid of sprite.h. Obtained from: DragonFlyBSD
* Fix the fix for bin/72510 applied in job.c:1.70. Actually there haveharti2005-05-121-0/+1
| | | | | | | | | | 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
* Move some global variables to the correct files.harti2005-05-121-4/+0
| | | | Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.232)
* Move declarations of variables belonging to the variable moduleharti2005-05-101-6/+0
| | | | | | from globals.h into var.h. Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.209)
* Move the declaration of VAR_CMD and VAR_GLOBAL from globals.h to var.hharti2005-05-101-6/+0
| | | | | Patch: 7.196 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Implement a pseudo-target .WARN that allows toggeling the warning flagsharti2005-04-291-1/+3
| | | | | for the current make. This does not override flags specified on the command line and these settings are not passed to sub-makes.
* Introduce a flag to enable extended warnings (-x) and make them offharti2005-04-281-0/+4
| | | | | by default. This should fix the problem of getting lots of errors when building with an up-to-date make and old *.mk files.
* Make the structure for handling the input stack local to the parseharti2005-03-301-3/+0
| | | | | | | | | | | 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.
* Make paths an explicite datatype instead of using the generic Lst.harti2005-03-231-5/+6
| | | | | | 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.
* Clean up include files and file including. Split nonints.h into piecesharti2005-02-011-0/+124
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>
OpenPOWER on IntegriCloud