tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.bin
/
make
/
at
jcs
2 folders
76 files
PSD.doc
make searches for makefile before Makefile; from raf czlonka
4 years ago
lst.lib
current code no longer uses Lst_Replace not Lst_Requeue so don't bother compiling them.
2 years ago
Makefile
tweak make "magic variables" handling
4 months ago
arch.c
Fix warning: 'snprintf' will always be truncated
6 months ago
arch.h
remove TIMESTAMP abstraction layer, prodded by theo. while there, clean up includes. use strtoll for ar timestamps (pretty much unused in reality, more standard conforming than anything)
13 years ago
buf.c
Quiet compiler warnings when built with WARNINGS=Yes Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2 years ago
buf.h
introduce a "Buf_Reinit" function for handling static buffers that can be reused throughout running make. Instead of recreating buffers of dubious appropriate size, have one single buffer for various stages of parsing.
6 years ago
cmd_exec.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
cmd_exec.h
reuse the code to exec command for VAR != cmd *and* normal target processing
2 years ago
compat.c
Quiet compiler warnings when built with WARNINGS=Yes Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2 years ago
compat.h
make the choice of engine explicit
6 years ago
cond.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
cond.h
Correct $OpenBSD$ stuff
15 years ago
cond_int.h
Correct $OpenBSD$ stuff
15 years ago
defines.h
unifdef HAS_INLINES inline is part of gnu89 and c99 ok kn@ espie@
2 years ago
dir.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
dir.h
remove TIMESTAMP abstraction layer, prodded by theo. while there, clean up includes. use strtoll for ar timestamps (pretty much unused in reality, more standard conforming than anything)
13 years ago
direxpand.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
direxpand.h
two small changes: - allow variables in SysV modifiers, as requested by matthieu@ (since recursive variables are an extension, this just extends the extension) - variation on :Q called :QL (quote list), which does quote every character EXCEPT for whitespace. e.g.,
15 years ago
dump.c
remove OP_* for deprecated keywords (document that :: still uses OP_INVISIBLE)
6 years ago
dump.h
a wee little bit more cleanup (more const and remove noise from CDIAGFLAGS... -pedantic kind of requires -std=c99 here to avoid LL warnings) okay miod@, millert@
11 years ago
engine.c
make(1): inline set_times() into Job_Touch()
2 years ago
engine.h
introduce a JOB_KEEPERROR flag so that the logic for moving jobs to availableJobs/errorJobs happens just once
6 years ago
enginechoice.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
enginechoice.h
somehow I forgot to add copyright and to include the right prototypes. No actual code change (checked with cmp)
5 years ago
error.c
Quiet compiler warnings when built with WARNINGS=Yes Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2 years ago
error.h
remove prototypes with no matching function and externs with no var partly checked by millert@
2 years ago
expandchildren.c
correct indentation; no functional change ok tb@
2 years ago
expandchildren.h
move a large chunk of suff.c into its own file (independent functions which are not really directly related to suffix handling), so that I can eventually understand how this whole thing works.
6 years ago
extern.h
simplify the way we account for different jobs: - have a simple variable "sequential" that counts whether we are running more than one job (for the expensive heuristics) - don't expose various things globally, just have a set_noparallel() for the parser - preallocate exactly enough job structures and record them in availableJobs - keep one job on the side for .INTERRUPT
6 years ago
for.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
for.h
Correct $OpenBSD$ stuff
15 years ago
garray.h
- give a specific value to OP_ERROR that doesn't occur in nature - define OP_ZERO as zero, to make some function calls obvious - split ParseDoOp into two functions: ParseDoOp that only deals with : :: ! and ParseDoSpecial that only deals with special nodes. This simplifies both functions accordingly - always initialize special_op
6 years ago
generate.c
tweak make "magic variables" handling
4 months ago
gnode.h
remove OP_* for deprecated keywords (document that :: still uses OP_INVISIBLE)
6 years ago
init.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
init.h
remove prototypes with no matching function and externs with no var partly checked by millert@
2 years ago
job.c
Quiet compiler warnings when built with WARNINGS=Yes Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2 years ago
job.h
remove prototypes with no matching function and externs with no var partly checked by millert@
2 years ago
location.h
minor cleanup: error messages include lineno and fileno together, so recognize that and create a struct Location_ for it.
14 years ago
lowparse.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
lowparse.h
more changes, discussed and tested by various people. - put back some job control, turns out it's necessary when we don't run a shell. - zap old #ifdef CLEANUP code... probably doesn't even compile. - kill most of the OP_LIB code. Just keep a wee little bit for compatibility (deprecated .LIBS and .INCLUDES, warns for weird dependencies instead of erroring out). - much improved debugging and -p output: sort variables, targets, rules, output stuff in a nicer format mimicing input. - better error message when no command is found, explain where the target comes from. - sort final error list by file. - show system files in errors as <bsd.prog.mk> - reincorporate random delay, that was dropped - optimize siginfo output by not regenerating the whole string each time. - finish zapping old LocationInfo field that's no longer used.
13 years ago
lst.h
unifdef HAS_INLINES inline is part of gnu89 and c99 ok kn@ espie@
2 years ago
lst_t.h
Correct $OpenBSD$ stuff
15 years ago
main.c
Quiet compiler warnings when built with WARNINGS=Yes Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2 years ago
main.h
Due to the way make is designed, not being able to read a makefile is basically silent.
2 years ago
make.1
tweak make "magic variables" handling
4 months ago
make.c
Quiet compiler warnings when built with WARNINGS=Yes Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2 years ago
make.h
make the choice of engine explicit
6 years ago
memory.c
a bit more reallocarray (and kill ecalloc, which isn't used) okay chl@
12 years ago
memory.h
GC old cruft. noticed and patch Michael W. Bombardieri
8 years ago
node_int.h
- SPECIAL_DEPRECATED -> SPECIAL_NOTHING - nodes for .POSIX and .SCCS_GET (which don't do anything) - zap remaining suffix crud.
13 years ago
parse.c
Quiet compiler warnings when built with WARNINGS=Yes Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2 years ago
parse.h
fix duplicate targets in target list for good: split previous groupling fix in two. Catch 22: we have to dedup targets very early so that commands get attached correctly, but we can't figure out the grouplings heuristics until we have all commands...
10 years ago
parsevar.c
Quiet compiler warnings when built with WARNINGS=Yes Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2 years ago
parsevar.h
Correct $OpenBSD$ stuff
15 years ago
pathnames.h
GC some old stuff okay millert@
6 years ago
regress.c
exit needs stdlib, switch to "return 0" to fix.
10 years ago
stats.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
stats.h
Correct $OpenBSD$ stuff
15 years ago
str.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
str.h
Correct $OpenBSD$ stuff
15 years ago
suff.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
suff.h
move a large chunk of suff.c into its own file (independent functions which are not really directly related to suffix handling), so that I can eventually understand how this whole thing works.
6 years ago
symtable.h
yet another mostly cosmetic diff - rename context into localvars, which is more meaningful and less generic - instantiate the random rumbling at the start of gnode.h with actual variable names - explain and group gnode.h variables better - make some comments terser/more meaningful
6 years ago
targ.c
Quiet compiler warnings when built with WARNINGS=Yes Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2 years ago
targ.h
remove prototypes with no matching function and externs with no var partly checked by millert@
2 years ago
targequiv.c
Quiet compiler warnings when built with WARNINGS=Yes Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2 years ago
targequiv.h
Correct $OpenBSD$ stuff
15 years ago
timestamp.c
Replace sys/time.h with proper includes for using localtime
2 years ago
timestamp.h
make(1): inline set_times() into Job_Touch()
2 years ago
var.c
tweak make "magic variables" handling
4 months ago
var.h
remove prototypes with no matching function and externs with no var partly checked by millert@
2 years ago
var_int.h
tweak make "magic variables" handling
4 months ago
varmodifiers.c
Quiet compiler warnings when built with WARNINGS=Yes Most are from functions that take no args but used the old K&R style foo() instead of foo(void). From espie@
2 years ago
varmodifiers.h
Correct $OpenBSD$ stuff
15 years ago
varname.c
GC old code that was originally implemented to facilitate adoption by other BSDs, which never happened, so make things simpler for further development.
2 years ago
varname.h
two small changes: - allow variables in SysV modifiers, as requested by matthieu@ (since recursive variables are an extension, this just extends the extension) - variation on :Q called :QL (quote list), which does quote every character EXCEPT for whitespace. e.g.,
15 years ago