| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
really need it can find it in the devel/fmake port or pkg install fmake.
Note: This commit is orthogonal to the question 'can we fmake buildworld'.
Differential Revision: https://reviews.freebsd.org/D2840
Notes:
svn path=/head/; revision=284464
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=186559
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=167330
|
| |
|
|
|
|
|
|
|
| |
get rid of sprite.h.
Obtained from: DragonFlyBSD
Notes:
svn path=/head/; revision=146177
|
| |
|
|
|
|
|
|
|
|
|
| |
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 <okumoto@ucsd.edu> (7.211)
Notes:
svn path=/head/; revision=146066
|
| |
|
|
|
|
|
|
|
|
| |
remove nonints.h.
Patch: 7.204
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=146060
|
| |
|
|
|
|
|
|
|
|
| |
Move definition of parsing error levels from make.h into parse.h.
Patches: 7.202,7.203
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=146059
|
| |
|
|
|
|
|
|
| |
by default. This should fix the problem of getting lots of errors
when building with an up-to-date make and old *.mk files.
Notes:
svn path=/head/; revision=145627
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=141104
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=138916
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=138564
|
| |
|
|
|
|
|
|
|
|
| |
purpose and explicitely free the input string in the one place that was
calling str_concat with that flag.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes:
svn path=/head/; revision=138547
|
| |
|
|
|
|
|
|
|
| |
the structs itself not of pointers to them. This will simplify constification.
Checked by: diff on the object files
Notes:
svn path=/head/; revision=138512
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
slightly different from the patch in the PR. The problem is, that
make handles .if clauses inside false .if clauses simply by
counting them - it doesn't put them onto the conditional stack, nor even
parses them so we need an extra line number stack for these ifs.
PR: bin/61257
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Notes:
svn path=/head/; revision=132439
|
| |
|
|
|
|
|
|
|
| |
compatability-geared util.c. These are things like message printers
and the PrintAddr function for traversing lists. Other general-purpose
utilities inside make(1) can go here, in time.
Notes:
svn path=/head/; revision=104818
|
| |
|
|
|
|
|
| |
happily fit into headers.
Notes:
svn path=/head/; revision=104693
|
| |
|
|
|
|
|
|
| |
is merely printf() but to stderr. This takes care of the caveat which lead
to the use of a vararg macro -- getting everything to stderr.
Notes:
svn path=/head/; revision=103545
|
| |
|
|
|
|
|
|
|
|
|
|
| |
variable length arguments to a macro. Bump version as this makes DEBUG
statements *always* go to stderr rather than sometimes stdout. There are
a few stragglers, which I will take care of as soon as I can. Mostly these
relate to the need-for-death-of some of the remote job code.
Nearby stylistic nits and XXX added/fixed where appropriate.
Notes:
svn path=/head/; revision=103508
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103503
|
| |
|
|
| |
Notes:
svn path=/head/; revision=96704
|
| |
|
|
| |
Notes:
svn path=/head/; revision=94589
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92921
|
| |
|
|
|
|
|
|
|
|
| |
it to make.h so both dir.c and util.c can use it, although bde didn't
particularly like this part of the idea, IMO it's cleaner than it was.
Submitted by: bde
Notes:
svn path=/head/; revision=71325
|
| |
|
|
|
|
|
|
|
| |
of NIL, NILLST, NILLGNODE, etc. with NULL.
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=69527
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to override @-prefixed commands in Makefiles. It is especially useful for
debugging ports and/or complex Makefiles in such a manner that is basically
a last resort, but is quite effective if the output is well-handled.
I'll update the manpage after dinner. ;-)
Better patch submitted by: steve
Reviewed by: phk, steve, chuckr, obrien,
Lyndon Nerenberg <lyndon@orthanc.ab.ca>
Notes:
svn path=/head/; revision=60569
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=51151
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD, sometimes indirected from NetBSD; myself
Notes:
svn path=/head/; revision=49938
|
| |
|
|
|
|
|
|
|
|
|
| |
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).
Notes:
svn path=/head/; revision=49332
|
| |
|
|
|
|
|
| |
behind it.
Notes:
svn path=/head/; revision=41151
|
| |
|
|
| |
Notes:
svn path=/head/; revision=23006
|
| |
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|
| |
|
|
|
|
|
|
|
| |
of Christos' version of make(1) and add Id's.
Set straight by: Bruce Evans and Peter Wemm :)
Notes:
svn path=/head/; revision=18804
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add the .PHONY, .PARALLEL, and .WAIT directives
- Added the -B and -m commandline flags
- misc. man page cleanups
- numerous job-related enhancements
- removed unused header file (bit.h)
- add util.c for functions not found in other envs.
- and a few coordinated whitespace changes
Special thanks to Christos Zoulas <christos@netbsd.org>
for help in the merge. A 'diff -ur' between Net and
FreeBSD now only contains sccsid-related diffs. :)
Obtained from: NetBSD, christos@netbsd.org, and me
Notes:
svn path=/head/; revision=18730
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8874
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
problems in the process:
1. Quoting should work properly now. In particular, Chet's reported bash
make problem has gone away.
2. A lot of memory that just wasn't being free'd after use is now freed.
This should cause make to take up a LOT less memory when dealing with
archive targets.
3. Give proper credit to Adam de Boor in a number of files.
Obtained from: NetBSD (and Adam de Boor)
Notes:
svn path=/head/; revision=5814
|
|
|
Notes:
svn path=/cvs2svn/branches/CHRISTOS/; revision=1590
|