diff options
author | gjb <gjb@FreeBSD.org> | 2016-03-10 21:16:01 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-03-10 21:16:01 +0000 |
commit | 1c7e318a9a31cae130bd5b2de01d93e7800f66ff (patch) | |
tree | 5abb86d0e160314526bb716fff070a6708d61844 /usr.bin | |
parent | 8c3e466633f443f8af1bf868eb74c53b39b63fb8 (diff) | |
parent | 03f8f8e39672316bbe0cad522f381fab54de0b6e (diff) | |
download | FreeBSD-src-1c7e318a9a31cae130bd5b2de01d93e7800f66ff.zip FreeBSD-src-1c7e318a9a31cae130bd5b2de01d93e7800f66ff.tar.gz |
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin')
111 files changed, 1240 insertions, 166 deletions
diff --git a/usr.bin/apply/tests/Makefile.depend b/usr.bin/apply/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/apply/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/basename/tests/Makefile.depend b/usr.bin/basename/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/basename/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/Makefile.depend b/usr.bin/bmake/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/archives/Makefile.depend b/usr.bin/bmake/tests/archives/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/archives/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/archives/fmt_44bsd/Makefile.depend b/usr.bin/bmake/tests/archives/fmt_44bsd/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/archives/fmt_44bsd/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/archives/fmt_44bsd_mod/Makefile.depend b/usr.bin/bmake/tests/archives/fmt_44bsd_mod/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/archives/fmt_44bsd_mod/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/archives/fmt_oldbsd/Makefile.depend b/usr.bin/bmake/tests/archives/fmt_oldbsd/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/archives/fmt_oldbsd/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/basic/Makefile.depend b/usr.bin/bmake/tests/basic/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/basic/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/basic/t0/Makefile.depend b/usr.bin/bmake/tests/basic/t0/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/basic/t0/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/basic/t1/Makefile.depend b/usr.bin/bmake/tests/basic/t1/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/basic/t1/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/basic/t2/Makefile.depend b/usr.bin/bmake/tests/basic/t2/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/basic/t2/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/basic/t3/Makefile.depend b/usr.bin/bmake/tests/basic/t3/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/basic/t3/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/execution/Makefile.depend b/usr.bin/bmake/tests/execution/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/execution/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/execution/ellipsis/Makefile.depend b/usr.bin/bmake/tests/execution/ellipsis/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/execution/ellipsis/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/execution/empty/Makefile.depend b/usr.bin/bmake/tests/execution/empty/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/execution/empty/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/execution/joberr/Makefile.depend b/usr.bin/bmake/tests/execution/joberr/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/execution/joberr/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/execution/plus/Makefile.depend b/usr.bin/bmake/tests/execution/plus/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/execution/plus/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/shell/Makefile.depend b/usr.bin/bmake/tests/shell/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/shell/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/shell/builtin/Makefile.depend b/usr.bin/bmake/tests/shell/builtin/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/shell/builtin/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/shell/meta/Makefile.depend b/usr.bin/bmake/tests/shell/meta/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/shell/meta/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/shell/path/Makefile.depend b/usr.bin/bmake/tests/shell/path/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/shell/path/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/shell/path_select/Makefile.depend b/usr.bin/bmake/tests/shell/path_select/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/shell/path_select/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/shell/replace/Makefile.depend b/usr.bin/bmake/tests/shell/replace/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/shell/replace/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/shell/select/Makefile.depend b/usr.bin/bmake/tests/shell/select/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/shell/select/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/suffixes/Makefile.depend b/usr.bin/bmake/tests/suffixes/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/suffixes/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/suffixes/basic/Makefile.depend b/usr.bin/bmake/tests/suffixes/basic/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/suffixes/basic/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/suffixes/src_wild1/Makefile.depend b/usr.bin/bmake/tests/suffixes/src_wild1/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/suffixes/src_wild1/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/suffixes/src_wild2/Makefile.depend b/usr.bin/bmake/tests/suffixes/src_wild2/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/suffixes/src_wild2/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/syntax/Makefile.depend b/usr.bin/bmake/tests/syntax/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/syntax/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/syntax/directive-t0/Makefile.depend b/usr.bin/bmake/tests/syntax/directive-t0/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/syntax/directive-t0/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/syntax/enl/Makefile.depend b/usr.bin/bmake/tests/syntax/enl/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/syntax/enl/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/syntax/funny-targets/Makefile.depend b/usr.bin/bmake/tests/syntax/funny-targets/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/syntax/funny-targets/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/syntax/semi/Makefile.depend b/usr.bin/bmake/tests/syntax/semi/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/syntax/semi/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/Makefile.depend b/usr.bin/bmake/tests/sysmk/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t0/2/1/Makefile.depend b/usr.bin/bmake/tests/sysmk/t0/2/1/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t0/2/1/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t0/2/Makefile.depend b/usr.bin/bmake/tests/sysmk/t0/2/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t0/2/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t0/Makefile.depend b/usr.bin/bmake/tests/sysmk/t0/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t0/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t0/mk/Makefile.depend b/usr.bin/bmake/tests/sysmk/t0/mk/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t0/mk/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t1/2/1/Makefile.depend b/usr.bin/bmake/tests/sysmk/t1/2/1/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t1/2/1/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t1/2/Makefile.depend b/usr.bin/bmake/tests/sysmk/t1/2/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t1/2/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t1/Makefile.depend b/usr.bin/bmake/tests/sysmk/t1/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t1/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t1/mk/Makefile.depend b/usr.bin/bmake/tests/sysmk/t1/mk/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t1/mk/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t2/2/1/Makefile.depend b/usr.bin/bmake/tests/sysmk/t2/2/1/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t2/2/1/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t2/2/Makefile.depend b/usr.bin/bmake/tests/sysmk/t2/2/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t2/2/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t2/Makefile.depend b/usr.bin/bmake/tests/sysmk/t2/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t2/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/sysmk/t2/mk/Makefile.depend b/usr.bin/bmake/tests/sysmk/t2/mk/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/sysmk/t2/mk/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/variables/Makefile.depend b/usr.bin/bmake/tests/variables/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/variables/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/variables/modifier_M/Makefile.depend b/usr.bin/bmake/tests/variables/modifier_M/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/variables/modifier_M/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/variables/modifier_t/Makefile.depend b/usr.bin/bmake/tests/variables/modifier_t/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/variables/modifier_t/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/variables/opt_V/Makefile.depend b/usr.bin/bmake/tests/variables/opt_V/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/variables/opt_V/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/bmake/tests/variables/t0/Makefile.depend b/usr.bin/bmake/tests/variables/t0/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/bmake/tests/variables/t0/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/calendar/tests/Makefile.depend b/usr.bin/calendar/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/calendar/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/clang/bugpoint/Makefile.depend b/usr.bin/clang/bugpoint/Makefile.depend index 4540509..00803ce 100644 --- a/usr.bin/clang/bugpoint/Makefile.depend +++ b/usr.bin/clang/bugpoint/Makefile.depend @@ -15,7 +15,6 @@ DIRDEPS = \ lib/clang/libllvmcore \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmipo \ lib/clang/libllvmirreader \ lib/clang/libllvmlinker \ @@ -33,9 +32,10 @@ DIRDEPS = \ lib/libc++ \ lib/libcompiler_rt \ lib/libthr \ + lib/libz \ lib/msun \ lib/ncurses/ncursesw \ - usr.bin/clang/tblgen.host \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/clang/Makefile.depend b/usr.bin/clang/clang/Makefile.depend index 24611b4..eea6f09 100644 --- a/usr.bin/clang/clang/Makefile.depend +++ b/usr.bin/clang/clang/Makefile.depend @@ -26,18 +26,17 @@ DIRDEPS = \ lib/clang/libclangstaticanalyzercore \ lib/clang/libclangstaticanalyzerfrontend \ lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64asmprinter \ lib/clang/libllvmaarch64codegen \ lib/clang/libllvmaarch64desc \ lib/clang/libllvmaarch64info \ - lib/clang/libllvmaarch64instprinter \ lib/clang/libllvmaarch64utils \ lib/clang/libllvmanalysis \ lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmasmprinter \ lib/clang/libllvmarmcodegen \ lib/clang/libllvmarmdesc \ - lib/clang/libllvmarmdisassembler \ lib/clang/libllvmarminfo \ - lib/clang/libllvmarminstprinter \ lib/clang/libllvmasmparser \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ @@ -46,7 +45,6 @@ DIRDEPS = \ lib/clang/libllvmcore \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmipo \ lib/clang/libllvmirreader \ lib/clang/libllvmlinker \ @@ -54,36 +52,35 @@ DIRDEPS = \ lib/clang/libllvmmcdisassembler \ lib/clang/libllvmmcparser \ lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipsasmprinter \ lib/clang/libllvmmipscodegen \ lib/clang/libllvmmipsdesc \ lib/clang/libllvmmipsinfo \ - lib/clang/libllvmmipsinstprinter \ lib/clang/libllvmobjcarcopts \ lib/clang/libllvmobject \ lib/clang/libllvmoption \ lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpcasmprinter \ lib/clang/libllvmpowerpccodegen \ lib/clang/libllvmpowerpcdesc \ - lib/clang/libllvmpowerpcdisassembler \ lib/clang/libllvmpowerpcinfo \ - lib/clang/libllvmpowerpcinstprinter \ lib/clang/libllvmprofiledata \ lib/clang/libllvmscalaropts \ lib/clang/libllvmselectiondag \ lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparcasmprinter \ lib/clang/libllvmsparccodegen \ lib/clang/libllvmsparcdesc \ lib/clang/libllvmsparcinfo \ - lib/clang/libllvmsparcinstprinter \ lib/clang/libllvmsupport \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmvectorize \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ @@ -93,7 +90,7 @@ DIRDEPS = \ lib/msun \ lib/ncurses/ncursesw \ usr.bin/clang/clang-tblgen.host \ - usr.bin/clang/tblgen.host \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llc/Makefile.depend b/usr.bin/clang/llc/Makefile.depend index 89b7ace..374f871 100644 --- a/usr.bin/clang/llc/Makefile.depend +++ b/usr.bin/clang/llc/Makefile.depend @@ -8,63 +8,63 @@ DIRDEPS = \ include/xlocale \ lib/${CSU_DIR} \ lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64asmprinter \ lib/clang/libllvmaarch64codegen \ lib/clang/libllvmaarch64desc \ lib/clang/libllvmaarch64disassembler \ lib/clang/libllvmaarch64info \ - lib/clang/libllvmaarch64instprinter \ lib/clang/libllvmaarch64utils \ lib/clang/libllvmanalysis \ lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmasmprinter \ lib/clang/libllvmarmcodegen \ lib/clang/libllvmarmdesc \ lib/clang/libllvmarmdisassembler \ lib/clang/libllvmarminfo \ - lib/clang/libllvmarminstprinter \ lib/clang/libllvmasmparser \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ + lib/clang/libllvmbitwriter \ lib/clang/libllvmcodegen \ lib/clang/libllvmcore \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmirreader \ lib/clang/libllvmmc \ lib/clang/libllvmmcdisassembler \ lib/clang/libllvmmcparser \ lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipsasmprinter \ lib/clang/libllvmmipscodegen \ lib/clang/libllvmmipsdesc \ lib/clang/libllvmmipsdisassembler \ lib/clang/libllvmmipsinfo \ - lib/clang/libllvmmipsinstprinter \ lib/clang/libllvmmirparser \ lib/clang/libllvmobject \ lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpcasmprinter \ lib/clang/libllvmpowerpccodegen \ lib/clang/libllvmpowerpcdesc \ lib/clang/libllvmpowerpcdisassembler \ lib/clang/libllvmpowerpcinfo \ - lib/clang/libllvmpowerpcinstprinter \ lib/clang/libllvmprofiledata \ lib/clang/libllvmscalaropts \ lib/clang/libllvmselectiondag \ lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparcasmprinter \ lib/clang/libllvmsparccodegen \ lib/clang/libllvmsparcdesc \ lib/clang/libllvmsparcdisassembler \ lib/clang/libllvmsparcinfo \ - lib/clang/libllvmsparcinstprinter \ lib/clang/libllvmsupport \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86disassembler \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ @@ -73,7 +73,7 @@ DIRDEPS = \ lib/libz \ lib/msun \ lib/ncurses/ncursesw \ - usr.bin/clang/tblgen.host \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/lldb/Makefile.depend b/usr.bin/clang/lldb/Makefile.depend index ce522d3..acf1b8c 100644 --- a/usr.bin/clang/lldb/Makefile.depend +++ b/usr.bin/clang/lldb/Makefile.depend @@ -42,12 +42,16 @@ DIRDEPS = \ lib/clang/liblldbPluginDisassemblerLLVM \ lib/clang/liblldbPluginDynamicLoaderPosixDYLD \ lib/clang/liblldbPluginDynamicLoaderStatic \ + lib/clang/liblldbPluginExpressionParserClang \ + lib/clang/liblldbPluginExpressionParserGo \ lib/clang/liblldbPluginInstructionARM \ lib/clang/liblldbPluginInstructionARM64 \ lib/clang/liblldbPluginInstructionMIPS \ lib/clang/liblldbPluginInstructionMIPS64 \ lib/clang/liblldbPluginInstrumentationRuntimeAddressSanitizer \ lib/clang/liblldbPluginJITLoaderGDB \ + lib/clang/liblldbPluginLanguageCPlusPlus \ + lib/clang/liblldbPluginLanguageObjC \ lib/clang/liblldbPluginMemoryHistoryASan \ lib/clang/liblldbPluginObjectContainerBSDArchive \ lib/clang/liblldbPluginObjectFileELF \ @@ -59,6 +63,7 @@ DIRDEPS = \ lib/clang/liblldbPluginProcessGDBRemote \ lib/clang/liblldbPluginProcessPOSIX \ lib/clang/liblldbPluginProcessUtility \ + lib/clang/liblldbPluginScriptInterpreterNone \ lib/clang/liblldbPluginSymbolFileDWARF \ lib/clang/liblldbPluginSymbolFileSymtab \ lib/clang/liblldbPluginSymbolVendorELF \ @@ -68,19 +73,19 @@ DIRDEPS = \ lib/clang/liblldbTarget \ lib/clang/liblldbUtility \ lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64asmprinter \ lib/clang/libllvmaarch64codegen \ lib/clang/libllvmaarch64desc \ lib/clang/libllvmaarch64disassembler \ lib/clang/libllvmaarch64info \ - lib/clang/libllvmaarch64instprinter \ lib/clang/libllvmaarch64utils \ lib/clang/libllvmanalysis \ lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmasmprinter \ lib/clang/libllvmarmcodegen \ lib/clang/libllvmarmdesc \ lib/clang/libllvmarmdisassembler \ lib/clang/libllvmarminfo \ - lib/clang/libllvmarminstprinter \ lib/clang/libllvmasmparser \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ @@ -90,7 +95,6 @@ DIRDEPS = \ lib/clang/libllvmexecutionengine \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmipo \ lib/clang/libllvmirreader \ lib/clang/libllvmlinker \ @@ -99,40 +103,40 @@ DIRDEPS = \ lib/clang/libllvmmcjit \ lib/clang/libllvmmcparser \ lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipsasmprinter \ lib/clang/libllvmmipscodegen \ lib/clang/libllvmmipsdesc \ lib/clang/libllvmmipsdisassembler \ lib/clang/libllvmmipsinfo \ - lib/clang/libllvmmipsinstprinter \ lib/clang/libllvmobjcarcopts \ lib/clang/libllvmobject \ lib/clang/libllvmoption \ lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpcasmprinter \ lib/clang/libllvmpowerpccodegen \ lib/clang/libllvmpowerpcdesc \ lib/clang/libllvmpowerpcdisassembler \ lib/clang/libllvmpowerpcinfo \ - lib/clang/libllvmpowerpcinstprinter \ lib/clang/libllvmprofiledata \ lib/clang/libllvmruntimedyld \ lib/clang/libllvmscalaropts \ lib/clang/libllvmselectiondag \ lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparcasmprinter \ lib/clang/libllvmsparccodegen \ lib/clang/libllvmsparcdesc \ lib/clang/libllvmsparcdisassembler \ lib/clang/libllvmsparcinfo \ - lib/clang/libllvmsparcinstprinter \ lib/clang/libllvmsupport \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmvectorize \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86disassembler \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ diff --git a/usr.bin/clang/lli/Makefile.depend b/usr.bin/clang/lli/Makefile.depend index 7a56dc3..7ceb1a7 100644 --- a/usr.bin/clang/lli/Makefile.depend +++ b/usr.bin/clang/lli/Makefile.depend @@ -11,13 +11,13 @@ DIRDEPS = \ lib/clang/libllvmasmparser \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ + lib/clang/libllvmbitwriter \ lib/clang/libllvmcodegen \ lib/clang/libllvmcore \ lib/clang/libllvmexecutionengine \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ lib/clang/libllvminterpreter \ - lib/clang/libllvmipa \ lib/clang/libllvmirreader \ lib/clang/libllvmmc \ lib/clang/libllvmmcdisassembler \ @@ -33,11 +33,11 @@ DIRDEPS = \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86disassembler \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ @@ -46,6 +46,7 @@ DIRDEPS = \ lib/libz \ lib/msun \ lib/ncurses/ncursesw \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llvm-ar/Makefile.depend b/usr.bin/clang/llvm-ar/Makefile.depend index e8ffd79..6c076d8 100644 --- a/usr.bin/clang/llvm-ar/Makefile.depend +++ b/usr.bin/clang/llvm-ar/Makefile.depend @@ -8,62 +8,62 @@ DIRDEPS = \ include/xlocale \ lib/${CSU_DIR} \ lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64asmprinter \ lib/clang/libllvmaarch64codegen \ lib/clang/libllvmaarch64desc \ lib/clang/libllvmaarch64disassembler \ lib/clang/libllvmaarch64info \ - lib/clang/libllvmaarch64instprinter \ lib/clang/libllvmaarch64utils \ lib/clang/libllvmanalysis \ lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmasmprinter \ lib/clang/libllvmarmcodegen \ lib/clang/libllvmarmdesc \ lib/clang/libllvmarmdisassembler \ lib/clang/libllvmarminfo \ - lib/clang/libllvmarminstprinter \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ + lib/clang/libllvmbitwriter \ lib/clang/libllvmcodegen \ lib/clang/libllvmcore \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmlibdriver \ lib/clang/libllvmmc \ lib/clang/libllvmmcdisassembler \ lib/clang/libllvmmcparser \ lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipsasmprinter \ lib/clang/libllvmmipscodegen \ lib/clang/libllvmmipsdesc \ lib/clang/libllvmmipsdisassembler \ lib/clang/libllvmmipsinfo \ - lib/clang/libllvmmipsinstprinter \ lib/clang/libllvmobject \ lib/clang/libllvmoption \ lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpcasmprinter \ lib/clang/libllvmpowerpccodegen \ lib/clang/libllvmpowerpcdesc \ lib/clang/libllvmpowerpcdisassembler \ lib/clang/libllvmpowerpcinfo \ - lib/clang/libllvmpowerpcinstprinter \ lib/clang/libllvmprofiledata \ lib/clang/libllvmscalaropts \ lib/clang/libllvmselectiondag \ lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparcasmprinter \ lib/clang/libllvmsparccodegen \ lib/clang/libllvmsparcdesc \ lib/clang/libllvmsparcdisassembler \ lib/clang/libllvmsparcinfo \ - lib/clang/libllvmsparcinstprinter \ lib/clang/libllvmsupport \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86disassembler \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ @@ -72,6 +72,7 @@ DIRDEPS = \ lib/libz \ lib/msun \ lib/ncurses/ncursesw \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llvm-as/Makefile.depend b/usr.bin/clang/llvm-as/Makefile.depend index d978dfa..a41464d 100644 --- a/usr.bin/clang/llvm-as/Makefile.depend +++ b/usr.bin/clang/llvm-as/Makefile.depend @@ -17,6 +17,7 @@ DIRDEPS = \ lib/libthr \ lib/msun \ lib/ncurses/ncursesw \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llvm-bcanalyzer/Makefile.depend b/usr.bin/clang/llvm-bcanalyzer/Makefile.depend index a85bf50..d5ac336 100644 --- a/usr.bin/clang/llvm-bcanalyzer/Makefile.depend +++ b/usr.bin/clang/llvm-bcanalyzer/Makefile.depend @@ -16,6 +16,7 @@ DIRDEPS = \ lib/libthr \ lib/msun \ lib/ncurses/ncursesw \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llvm-cov/Makefile.depend b/usr.bin/clang/llvm-cov/Makefile.depend index e930acc..652277f 100644 --- a/usr.bin/clang/llvm-cov/Makefile.depend +++ b/usr.bin/clang/llvm-cov/Makefile.depend @@ -18,6 +18,7 @@ DIRDEPS = \ lib/libc++ \ lib/libcompiler_rt \ lib/libthr \ + lib/libz \ lib/msun \ lib/ncurses/ncursesw \ diff --git a/usr.bin/clang/llvm-cxxdump/Makefile.depend b/usr.bin/clang/llvm-cxxdump/Makefile.depend index b0fffb4..e1873fe 100644 --- a/usr.bin/clang/llvm-cxxdump/Makefile.depend +++ b/usr.bin/clang/llvm-cxxdump/Makefile.depend @@ -8,60 +8,60 @@ DIRDEPS = \ include/xlocale \ lib/${CSU_DIR} \ lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64asmprinter \ lib/clang/libllvmaarch64codegen \ lib/clang/libllvmaarch64desc \ lib/clang/libllvmaarch64disassembler \ lib/clang/libllvmaarch64info \ - lib/clang/libllvmaarch64instprinter \ lib/clang/libllvmaarch64utils \ lib/clang/libllvmanalysis \ lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmasmprinter \ lib/clang/libllvmarmcodegen \ lib/clang/libllvmarmdesc \ lib/clang/libllvmarmdisassembler \ lib/clang/libllvmarminfo \ - lib/clang/libllvmarminstprinter \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ + lib/clang/libllvmbitwriter \ lib/clang/libllvmcodegen \ lib/clang/libllvmcore \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmmc \ lib/clang/libllvmmcdisassembler \ lib/clang/libllvmmcparser \ lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipsasmprinter \ lib/clang/libllvmmipscodegen \ lib/clang/libllvmmipsdesc \ lib/clang/libllvmmipsdisassembler \ lib/clang/libllvmmipsinfo \ - lib/clang/libllvmmipsinstprinter \ lib/clang/libllvmobject \ lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpcasmprinter \ lib/clang/libllvmpowerpccodegen \ lib/clang/libllvmpowerpcdesc \ lib/clang/libllvmpowerpcdisassembler \ lib/clang/libllvmpowerpcinfo \ - lib/clang/libllvmpowerpcinstprinter \ lib/clang/libllvmprofiledata \ lib/clang/libllvmscalaropts \ lib/clang/libllvmselectiondag \ lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparcasmprinter \ lib/clang/libllvmsparccodegen \ lib/clang/libllvmsparcdesc \ lib/clang/libllvmsparcdisassembler \ lib/clang/libllvmsparcinfo \ - lib/clang/libllvmsparcinstprinter \ lib/clang/libllvmsupport \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86disassembler \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ diff --git a/usr.bin/clang/llvm-diff/Makefile.depend b/usr.bin/clang/llvm-diff/Makefile.depend index 609342a..0406d2f 100644 --- a/usr.bin/clang/llvm-diff/Makefile.depend +++ b/usr.bin/clang/llvm-diff/Makefile.depend @@ -18,6 +18,7 @@ DIRDEPS = \ lib/libthr \ lib/msun \ lib/ncurses/ncursesw \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llvm-dis/Makefile.depend b/usr.bin/clang/llvm-dis/Makefile.depend index 9ff2a96..bf56a27 100644 --- a/usr.bin/clang/llvm-dis/Makefile.depend +++ b/usr.bin/clang/llvm-dis/Makefile.depend @@ -17,7 +17,7 @@ DIRDEPS = \ lib/libthr \ lib/msun \ lib/ncurses/ncursesw \ - usr.bin/clang/tblgen.host \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llvm-extract/Makefile.depend b/usr.bin/clang/llvm-extract/Makefile.depend index 83ab34e..35cf93b 100644 --- a/usr.bin/clang/llvm-extract/Makefile.depend +++ b/usr.bin/clang/llvm-extract/Makefile.depend @@ -13,9 +13,9 @@ DIRDEPS = \ lib/clang/libllvmbitwriter \ lib/clang/libllvmcore \ lib/clang/libllvminstcombine \ - lib/clang/libllvmipa \ lib/clang/libllvmipo \ lib/clang/libllvmirreader \ + lib/clang/libllvmlinker \ lib/clang/libllvmmc \ lib/clang/libllvmmcparser \ lib/clang/libllvmobject \ @@ -30,6 +30,7 @@ DIRDEPS = \ lib/libthr \ lib/msun \ lib/ncurses/ncursesw \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llvm-link/Makefile.depend b/usr.bin/clang/llvm-link/Makefile.depend index bd34ef2..0195115 100644 --- a/usr.bin/clang/llvm-link/Makefile.depend +++ b/usr.bin/clang/llvm-link/Makefile.depend @@ -12,9 +12,11 @@ DIRDEPS = \ lib/clang/libllvmbitreader \ lib/clang/libllvmbitwriter \ lib/clang/libllvmcore \ - lib/clang/libllvmipa \ lib/clang/libllvmirreader \ lib/clang/libllvmlinker \ + lib/clang/libllvmmc \ + lib/clang/libllvmmcparser \ + lib/clang/libllvmobject \ lib/clang/libllvmsupport \ lib/clang/libllvmtransformutils \ lib/libc \ @@ -23,6 +25,7 @@ DIRDEPS = \ lib/libthr \ lib/msun \ lib/ncurses/ncursesw \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llvm-lto/Makefile.depend b/usr.bin/clang/llvm-lto/Makefile.depend index 65a810f..6915918 100644 --- a/usr.bin/clang/llvm-lto/Makefile.depend +++ b/usr.bin/clang/llvm-lto/Makefile.depend @@ -8,19 +8,20 @@ DIRDEPS = \ include/xlocale \ lib/${CSU_DIR} \ lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64asmprinter \ lib/clang/libllvmaarch64codegen \ lib/clang/libllvmaarch64desc \ lib/clang/libllvmaarch64disassembler \ lib/clang/libllvmaarch64info \ - lib/clang/libllvmaarch64instprinter \ lib/clang/libllvmaarch64utils \ lib/clang/libllvmanalysis \ lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmasmprinter \ lib/clang/libllvmarmcodegen \ lib/clang/libllvmarmdesc \ lib/clang/libllvmarmdisassembler \ lib/clang/libllvmarminfo \ - lib/clang/libllvmarminstprinter \ + lib/clang/libllvmasmparser \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ lib/clang/libllvmbitwriter \ @@ -28,46 +29,46 @@ DIRDEPS = \ lib/clang/libllvmcore \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmipo \ + lib/clang/libllvmirreader \ lib/clang/libllvmlinker \ lib/clang/libllvmlto \ lib/clang/libllvmmc \ lib/clang/libllvmmcdisassembler \ lib/clang/libllvmmcparser \ lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipsasmprinter \ lib/clang/libllvmmipscodegen \ lib/clang/libllvmmipsdesc \ lib/clang/libllvmmipsdisassembler \ lib/clang/libllvmmipsinfo \ - lib/clang/libllvmmipsinstprinter \ lib/clang/libllvmobjcarcopts \ lib/clang/libllvmobject \ lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpcasmprinter \ lib/clang/libllvmpowerpccodegen \ lib/clang/libllvmpowerpcdesc \ lib/clang/libllvmpowerpcdisassembler \ lib/clang/libllvmpowerpcinfo \ - lib/clang/libllvmpowerpcinstprinter \ lib/clang/libllvmprofiledata \ lib/clang/libllvmscalaropts \ lib/clang/libllvmselectiondag \ lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparcasmprinter \ lib/clang/libllvmsparccodegen \ lib/clang/libllvmsparcdesc \ lib/clang/libllvmsparcdisassembler \ lib/clang/libllvmsparcinfo \ - lib/clang/libllvmsparcinstprinter \ lib/clang/libllvmsupport \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmvectorize \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86disassembler \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ @@ -76,7 +77,7 @@ DIRDEPS = \ lib/libz \ lib/msun \ lib/ncurses/ncursesw \ - usr.bin/clang/tblgen.host \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llvm-mc/Makefile.depend b/usr.bin/clang/llvm-mc/Makefile.depend index b0fffb4..e1873fe 100644 --- a/usr.bin/clang/llvm-mc/Makefile.depend +++ b/usr.bin/clang/llvm-mc/Makefile.depend @@ -8,60 +8,60 @@ DIRDEPS = \ include/xlocale \ lib/${CSU_DIR} \ lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64asmprinter \ lib/clang/libllvmaarch64codegen \ lib/clang/libllvmaarch64desc \ lib/clang/libllvmaarch64disassembler \ lib/clang/libllvmaarch64info \ - lib/clang/libllvmaarch64instprinter \ lib/clang/libllvmaarch64utils \ lib/clang/libllvmanalysis \ lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmasmprinter \ lib/clang/libllvmarmcodegen \ lib/clang/libllvmarmdesc \ lib/clang/libllvmarmdisassembler \ lib/clang/libllvmarminfo \ - lib/clang/libllvmarminstprinter \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ + lib/clang/libllvmbitwriter \ lib/clang/libllvmcodegen \ lib/clang/libllvmcore \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmmc \ lib/clang/libllvmmcdisassembler \ lib/clang/libllvmmcparser \ lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipsasmprinter \ lib/clang/libllvmmipscodegen \ lib/clang/libllvmmipsdesc \ lib/clang/libllvmmipsdisassembler \ lib/clang/libllvmmipsinfo \ - lib/clang/libllvmmipsinstprinter \ lib/clang/libllvmobject \ lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpcasmprinter \ lib/clang/libllvmpowerpccodegen \ lib/clang/libllvmpowerpcdesc \ lib/clang/libllvmpowerpcdisassembler \ lib/clang/libllvmpowerpcinfo \ - lib/clang/libllvmpowerpcinstprinter \ lib/clang/libllvmprofiledata \ lib/clang/libllvmscalaropts \ lib/clang/libllvmselectiondag \ lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparcasmprinter \ lib/clang/libllvmsparccodegen \ lib/clang/libllvmsparcdesc \ lib/clang/libllvmsparcdisassembler \ lib/clang/libllvmsparcinfo \ - lib/clang/libllvmsparcinstprinter \ lib/clang/libllvmsupport \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86disassembler \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ diff --git a/usr.bin/clang/llvm-nm/Makefile.depend b/usr.bin/clang/llvm-nm/Makefile.depend index b0fffb4..df4b7a2 100644 --- a/usr.bin/clang/llvm-nm/Makefile.depend +++ b/usr.bin/clang/llvm-nm/Makefile.depend @@ -8,60 +8,60 @@ DIRDEPS = \ include/xlocale \ lib/${CSU_DIR} \ lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64asmprinter \ lib/clang/libllvmaarch64codegen \ lib/clang/libllvmaarch64desc \ lib/clang/libllvmaarch64disassembler \ lib/clang/libllvmaarch64info \ - lib/clang/libllvmaarch64instprinter \ lib/clang/libllvmaarch64utils \ lib/clang/libllvmanalysis \ lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmasmprinter \ lib/clang/libllvmarmcodegen \ lib/clang/libllvmarmdesc \ lib/clang/libllvmarmdisassembler \ lib/clang/libllvmarminfo \ - lib/clang/libllvmarminstprinter \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ + lib/clang/libllvmbitwriter \ lib/clang/libllvmcodegen \ lib/clang/libllvmcore \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmmc \ lib/clang/libllvmmcdisassembler \ lib/clang/libllvmmcparser \ lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipsasmprinter \ lib/clang/libllvmmipscodegen \ lib/clang/libllvmmipsdesc \ lib/clang/libllvmmipsdisassembler \ lib/clang/libllvmmipsinfo \ - lib/clang/libllvmmipsinstprinter \ lib/clang/libllvmobject \ lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpcasmprinter \ lib/clang/libllvmpowerpccodegen \ lib/clang/libllvmpowerpcdesc \ lib/clang/libllvmpowerpcdisassembler \ lib/clang/libllvmpowerpcinfo \ - lib/clang/libllvmpowerpcinstprinter \ lib/clang/libllvmprofiledata \ lib/clang/libllvmscalaropts \ lib/clang/libllvmselectiondag \ lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparcasmprinter \ lib/clang/libllvmsparccodegen \ lib/clang/libllvmsparcdesc \ lib/clang/libllvmsparcdisassembler \ lib/clang/libllvmsparcinfo \ - lib/clang/libllvmsparcinstprinter \ lib/clang/libllvmsupport \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86disassembler \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ @@ -70,6 +70,7 @@ DIRDEPS = \ lib/libz \ lib/msun \ lib/ncurses/ncursesw \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llvm-objdump/Makefile.depend b/usr.bin/clang/llvm-objdump/Makefile.depend index 67fb73f..40d8758 100644 --- a/usr.bin/clang/llvm-objdump/Makefile.depend +++ b/usr.bin/clang/llvm-objdump/Makefile.depend @@ -8,61 +8,61 @@ DIRDEPS = \ include/xlocale \ lib/${CSU_DIR} \ lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64asmprinter \ lib/clang/libllvmaarch64codegen \ lib/clang/libllvmaarch64desc \ lib/clang/libllvmaarch64disassembler \ lib/clang/libllvmaarch64info \ - lib/clang/libllvmaarch64instprinter \ lib/clang/libllvmaarch64utils \ lib/clang/libllvmanalysis \ lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmasmprinter \ lib/clang/libllvmarmcodegen \ lib/clang/libllvmarmdesc \ lib/clang/libllvmarmdisassembler \ lib/clang/libllvmarminfo \ - lib/clang/libllvmarminstprinter \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ + lib/clang/libllvmbitwriter \ lib/clang/libllvmcodegen \ lib/clang/libllvmcore \ lib/clang/libllvmdebuginfodwarf \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmmc \ lib/clang/libllvmmcdisassembler \ lib/clang/libllvmmcparser \ lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipsasmprinter \ lib/clang/libllvmmipscodegen \ lib/clang/libllvmmipsdesc \ lib/clang/libllvmmipsdisassembler \ lib/clang/libllvmmipsinfo \ - lib/clang/libllvmmipsinstprinter \ lib/clang/libllvmobject \ lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpcasmprinter \ lib/clang/libllvmpowerpccodegen \ lib/clang/libllvmpowerpcdesc \ lib/clang/libllvmpowerpcdisassembler \ lib/clang/libllvmpowerpcinfo \ - lib/clang/libllvmpowerpcinstprinter \ lib/clang/libllvmprofiledata \ lib/clang/libllvmscalaropts \ lib/clang/libllvmselectiondag \ lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparcasmprinter \ lib/clang/libllvmsparccodegen \ lib/clang/libllvmsparcdesc \ lib/clang/libllvmsparcdisassembler \ lib/clang/libllvmsparcinfo \ - lib/clang/libllvmsparcinstprinter \ lib/clang/libllvmsupport \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86disassembler \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ diff --git a/usr.bin/clang/llvm-profdata/Makefile.depend b/usr.bin/clang/llvm-profdata/Makefile.depend index e930acc..42a42b2 100644 --- a/usr.bin/clang/llvm-profdata/Makefile.depend +++ b/usr.bin/clang/llvm-profdata/Makefile.depend @@ -18,8 +18,10 @@ DIRDEPS = \ lib/libc++ \ lib/libcompiler_rt \ lib/libthr \ + lib/libz \ lib/msun \ lib/ncurses/ncursesw \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/clang/llvm-rtdyld/Makefile.depend b/usr.bin/clang/llvm-rtdyld/Makefile.depend index 11d417f..bf4a9ba 100644 --- a/usr.bin/clang/llvm-rtdyld/Makefile.depend +++ b/usr.bin/clang/llvm-rtdyld/Makefile.depend @@ -8,64 +8,64 @@ DIRDEPS = \ include/xlocale \ lib/${CSU_DIR} \ lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64asmprinter \ lib/clang/libllvmaarch64codegen \ lib/clang/libllvmaarch64desc \ lib/clang/libllvmaarch64disassembler \ lib/clang/libllvmaarch64info \ - lib/clang/libllvmaarch64instprinter \ lib/clang/libllvmaarch64utils \ lib/clang/libllvmanalysis \ lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmasmprinter \ lib/clang/libllvmarmcodegen \ lib/clang/libllvmarmdesc \ lib/clang/libllvmarmdisassembler \ lib/clang/libllvmarminfo \ - lib/clang/libllvmarminstprinter \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ + lib/clang/libllvmbitwriter \ lib/clang/libllvmcodegen \ lib/clang/libllvmcore \ lib/clang/libllvmdebuginfodwarf \ lib/clang/libllvmexecutionengine \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmmc \ lib/clang/libllvmmcdisassembler \ lib/clang/libllvmmcjit \ lib/clang/libllvmmcparser \ lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipsasmprinter \ lib/clang/libllvmmipscodegen \ lib/clang/libllvmmipsdesc \ lib/clang/libllvmmipsdisassembler \ lib/clang/libllvmmipsinfo \ - lib/clang/libllvmmipsinstprinter \ lib/clang/libllvmobject \ lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpcasmprinter \ lib/clang/libllvmpowerpccodegen \ lib/clang/libllvmpowerpcdesc \ lib/clang/libllvmpowerpcdisassembler \ lib/clang/libllvmpowerpcinfo \ - lib/clang/libllvmpowerpcinstprinter \ lib/clang/libllvmprofiledata \ lib/clang/libllvmruntimedyld \ lib/clang/libllvmscalaropts \ lib/clang/libllvmselectiondag \ lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparcasmprinter \ lib/clang/libllvmsparccodegen \ lib/clang/libllvmsparcdesc \ lib/clang/libllvmsparcdisassembler \ lib/clang/libllvmsparcinfo \ - lib/clang/libllvmsparcinstprinter \ lib/clang/libllvmsupport \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86disassembler \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ diff --git a/usr.bin/clang/llvm-symbolizer/Makefile.depend b/usr.bin/clang/llvm-symbolizer/Makefile.depend index f85831c..d489cce 100644 --- a/usr.bin/clang/llvm-symbolizer/Makefile.depend +++ b/usr.bin/clang/llvm-symbolizer/Makefile.depend @@ -15,6 +15,7 @@ DIRDEPS = \ lib/clang/libllvmmcparser \ lib/clang/libllvmobject \ lib/clang/libllvmsupport \ + lib/clang/libllvmsymbolize \ lib/libc \ lib/libc++ \ lib/libcompiler_rt \ diff --git a/usr.bin/clang/opt/Makefile.depend b/usr.bin/clang/opt/Makefile.depend index 021f7a6..b2a718f 100644 --- a/usr.bin/clang/opt/Makefile.depend +++ b/usr.bin/clang/opt/Makefile.depend @@ -8,19 +8,19 @@ DIRDEPS = \ include/xlocale \ lib/${CSU_DIR} \ lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64asmprinter \ lib/clang/libllvmaarch64codegen \ lib/clang/libllvmaarch64desc \ lib/clang/libllvmaarch64disassembler \ lib/clang/libllvmaarch64info \ - lib/clang/libllvmaarch64instprinter \ lib/clang/libllvmaarch64utils \ lib/clang/libllvmanalysis \ lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmasmprinter \ lib/clang/libllvmarmcodegen \ lib/clang/libllvmarmdesc \ lib/clang/libllvmarmdisassembler \ lib/clang/libllvmarminfo \ - lib/clang/libllvmarminstprinter \ lib/clang/libllvmasmparser \ lib/clang/libllvmasmprinter \ lib/clang/libllvmbitreader \ @@ -29,46 +29,46 @@ DIRDEPS = \ lib/clang/libllvmcore \ lib/clang/libllvminstcombine \ lib/clang/libllvminstrumentation \ - lib/clang/libllvmipa \ lib/clang/libllvmipo \ lib/clang/libllvmirreader \ + lib/clang/libllvmlinker \ lib/clang/libllvmmc \ lib/clang/libllvmmcdisassembler \ lib/clang/libllvmmcparser \ lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipsasmprinter \ lib/clang/libllvmmipscodegen \ lib/clang/libllvmmipsdesc \ lib/clang/libllvmmipsdisassembler \ lib/clang/libllvmmipsinfo \ - lib/clang/libllvmmipsinstprinter \ lib/clang/libllvmobjcarcopts \ lib/clang/libllvmobject \ lib/clang/libllvmpasses \ lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpcasmprinter \ lib/clang/libllvmpowerpccodegen \ lib/clang/libllvmpowerpcdesc \ lib/clang/libllvmpowerpcdisassembler \ lib/clang/libllvmpowerpcinfo \ - lib/clang/libllvmpowerpcinstprinter \ lib/clang/libllvmprofiledata \ lib/clang/libllvmscalaropts \ lib/clang/libllvmselectiondag \ lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparcasmprinter \ lib/clang/libllvmsparccodegen \ lib/clang/libllvmsparcdesc \ lib/clang/libllvmsparcdisassembler \ lib/clang/libllvmsparcinfo \ - lib/clang/libllvmsparcinstprinter \ lib/clang/libllvmsupport \ lib/clang/libllvmtarget \ lib/clang/libllvmtransformutils \ lib/clang/libllvmvectorize \ lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86asmprinter \ lib/clang/libllvmx86codegen \ lib/clang/libllvmx86desc \ lib/clang/libllvmx86disassembler \ lib/clang/libllvmx86info \ - lib/clang/libllvmx86instprinter \ lib/clang/libllvmx86utils \ lib/libc \ lib/libc++ \ @@ -77,7 +77,7 @@ DIRDEPS = \ lib/libz \ lib/msun \ lib/ncurses/ncursesw \ - usr.bin/clang/tblgen.host \ + usr.bin/clang/llvm-tblgen.host \ .include <dirdeps.mk> diff --git a/usr.bin/cmp/tests/Makefile.depend b/usr.bin/cmp/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/cmp/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/col/tests/Makefile.depend b/usr.bin/col/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/col/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/comm/tests/Makefile.depend b/usr.bin/comm/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/comm/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/cpio/tests/Makefile.depend b/usr.bin/cpio/tests/Makefile.depend new file mode 100644 index 0000000..4e7906b --- /dev/null +++ b/usr.bin/cpio/tests/Makefile.depend @@ -0,0 +1,25 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libarchive \ + lib/libbz2 \ + lib/libc \ + lib/libcompiler_rt \ + lib/libexpat \ + lib/liblzma \ + lib/libthr \ + lib/libz \ + secure/lib/libcrypto \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/cut/tests/Makefile.depend b/usr.bin/cut/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/cut/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/dirname/tests/Makefile.depend b/usr.bin/dirname/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/dirname/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/file2c/tests/Makefile.depend b/usr.bin/file2c/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/file2c/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/grep/tests/Makefile.depend b/usr.bin/grep/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/grep/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/gzip/tests/Makefile.depend b/usr.bin/gzip/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/gzip/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/ident/tests/Makefile.depend b/usr.bin/ident/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/ident/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/join/tests/Makefile.depend b/usr.bin/join/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/join/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/jot/tests/Makefile.depend b/usr.bin/jot/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/jot/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index e45a733..a4d5e64 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -529,12 +529,11 @@ abidump(struct ktr_header *kth) break; } - if (flags != 0) { - if (flags & SV_LP64) - arch = "64"; - else - arch = "32"; - } else + if (flags & SV_LP64) + arch = "64"; + else if (flags & SV_ILP32) + arch = "32"; + else arch = "00"; printf("%s%s ", abi, arch); diff --git a/usr.bin/lastcomm/tests/Makefile.depend b/usr.bin/lastcomm/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/lastcomm/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/limits/tests/Makefile.depend b/usr.bin/limits/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/limits/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/m4/tests/Makefile.depend b/usr.bin/m4/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/m4/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/mkimg/tests/Makefile.depend b/usr.bin/mkimg/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/mkimg/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/ncal/tests/Makefile.depend b/usr.bin/ncal/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/ncal/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/printf/tests/Makefile.depend b/usr.bin/printf/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/printf/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index 72814fb..6ffb46a 100644 --- a/usr.bin/script/script.c +++ b/usr.bin/script/script.c @@ -74,13 +74,12 @@ static int child; static const char *fname; static char *fmfname; static int fflg, qflg, ttyflg; -static int usesleep, rawout; +static int usesleep, rawout, showexit; static struct termios tt; static void done(int) __dead2; static void doshell(char **); -static void fail(void); static void finish(void); static void record(FILE *, char *, size_t, int); static void consume(FILE *, off_t, char *, int); @@ -108,6 +107,7 @@ main(int argc, char *argv[]) flushtime = 30; fm_fd = -1; /* Shut up stupid "may be used uninitialized" GCC warning. (not needed w/clang) */ + showexit = 0; while ((ch = getopt(argc, argv, "adFfkpqrt:")) != -1) switch(ch) { @@ -199,7 +199,8 @@ main(int argc, char *argv[]) (void)fprintf(fscript, "Script started on %s", ctime(&tvec)); if (argv[0]) { - fprintf(fscript, "command: "); + showexit = 1; + fprintf(fscript, "Command: "); for (k = 0 ; argv[k] ; ++k) fprintf(fscript, "%s%s", k ? " " : "", argv[k]); @@ -224,13 +225,19 @@ main(int argc, char *argv[]) warn("fork"); done(1); } - if (child == 0) + if (child == 0) { + if (fflg) { + int pid; + + pid = getpid(); + if (ioctl(fm_fd, FILEMON_SET_PID, &pid) < 0) + err(1, "Cannot set filemon PID"); + } + doshell(argv); + } close(slave); - if (fflg && ioctl(fm_fd, FILEMON_SET_PID, &child) < 0) - err(1, "Cannot set filemon PID"); - start = tvec = time(0); readstdin = 1; for (;;) { @@ -341,14 +348,7 @@ doshell(char **av) execl(shell, shell, "-i", (char *)NULL); warn("%s", shell); } - fail(); -} - -static void -fail(void) -{ - (void)kill(0, SIGTERM); - done(1); + exit(1); } static void @@ -362,9 +362,13 @@ done(int eno) if (rawout) record(fscript, NULL, 0, 'e'); if (!qflg) { - if (!rawout) + if (!rawout) { + if (showexit) + (void)fprintf(fscript, "\nCommand exit status:" + " %d", eno); (void)fprintf(fscript,"\nScript done on %s", ctime(&tvec)); + } (void)printf("\nScript done, output file is %s\n", fname); if (fflg) { (void)printf("Filemon done, output file is %s\n", diff --git a/usr.bin/sed/tests/Makefile.depend b/usr.bin/sed/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/sed/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/sed/tests/regress.multitest.out/Makefile.depend b/usr.bin/sed/tests/regress.multitest.out/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/sed/tests/regress.multitest.out/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/soelim/tests/Makefile.depend b/usr.bin/soelim/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/soelim/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/tar/tests/Makefile.depend b/usr.bin/tar/tests/Makefile.depend new file mode 100644 index 0000000..860d975 --- /dev/null +++ b/usr.bin/tar/tests/Makefile.depend @@ -0,0 +1,19 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libarchive \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/tests/Makefile.depend b/usr.bin/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/timeout/tests/Makefile.depend b/usr.bin/timeout/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/timeout/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/tr/tests/Makefile.depend b/usr.bin/tr/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/tr/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/truncate/tests/Makefile.depend b/usr.bin/truncate/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/truncate/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/truss/setup.c b/usr.bin/truss/setup.c index 36dd571f..c134405 100644 --- a/usr.bin/truss/setup.c +++ b/usr.bin/truss/setup.c @@ -61,7 +61,9 @@ SET_DECLARE(procabi, struct procabi); static sig_atomic_t detaching; -static void new_proc(struct trussinfo *, pid_t); +static void enter_syscall(struct trussinfo *, struct threadinfo *, + struct ptrace_lwpinfo *); +static void new_proc(struct trussinfo *, pid_t, lwpid_t); /* * setup_and_wait() is called to start a process. All it really does @@ -87,7 +89,7 @@ setup_and_wait(struct trussinfo *info, char *command[]) if (waitpid(pid, NULL, 0) < 0) err(1, "unexpect stop in waitpid"); - new_proc(info, pid); + new_proc(info, pid, 0); } /* @@ -109,7 +111,7 @@ start_tracing(struct trussinfo *info, pid_t pid) if (waitpid(pid, NULL, 0) < 0) err(1, "Unexpect stop in waitpid"); - new_proc(info, pid); + new_proc(info, pid, 0); } /* @@ -170,14 +172,71 @@ find_abi(pid_t pid) return (NULL); } +static struct threadinfo * +new_thread(struct procinfo *p, lwpid_t lwpid) +{ + struct threadinfo *nt; + + /* + * If this happens it means there is a bug in truss. Unfortunately + * this will kill any processes truss is attached to. + */ + LIST_FOREACH(nt, &p->threadlist, entries) { + if (nt->tid == lwpid) + errx(1, "Duplicate thread for LWP %ld", (long)lwpid); + } + + nt = calloc(1, sizeof(struct threadinfo)); + if (nt == NULL) + err(1, "calloc() failed"); + nt->proc = p; + nt->tid = lwpid; + LIST_INSERT_HEAD(&p->threadlist, nt, entries); + return (nt); +} + +static void +free_thread(struct threadinfo *t) +{ + + LIST_REMOVE(t, entries); + free(t); +} + static void -new_proc(struct trussinfo *info, pid_t pid) +add_threads(struct trussinfo *info, struct procinfo *p) +{ + struct ptrace_lwpinfo pl; + struct threadinfo *t; + lwpid_t *lwps; + int i, nlwps; + + nlwps = ptrace(PT_GETNUMLWPS, p->pid, NULL, 0); + if (nlwps == -1) + err(1, "Unable to fetch number of LWPs"); + assert(nlwps > 0); + lwps = calloc(nlwps, sizeof(*lwps)); + nlwps = ptrace(PT_GETLWPLIST, p->pid, (caddr_t)lwps, nlwps); + if (nlwps == -1) + err(1, "Unable to fetch LWP list"); + for (i = 0; i < nlwps; i++) { + t = new_thread(p, lwps[i]); + if (ptrace(PT_LWPINFO, lwps[i], (caddr_t)&pl, sizeof(pl)) == -1) + err(1, "ptrace(PT_LWPINFO)"); + if (pl.pl_flags & PL_FLAG_SCE) + enter_syscall(info, t, &pl); + } + free(lwps); +} + +static void +new_proc(struct trussinfo *info, pid_t pid, lwpid_t lwpid) { struct procinfo *np; /* * If this happens it means there is a bug in truss. Unfortunately - * this will kill any processes are attached to. + * this will kill any processes truss is attached to. */ LIST_FOREACH(np, &info->proclist, entries) { if (np->pid == pid) @@ -187,11 +246,18 @@ new_proc(struct trussinfo *info, pid_t pid) if (info->flags & FOLLOWFORKS) if (ptrace(PT_FOLLOW_FORK, pid, NULL, 1) == -1) err(1, "Unable to follow forks for pid %ld", (long)pid); + if (ptrace(PT_LWP_EVENTS, pid, NULL, 1) == -1) + err(1, "Unable to enable LWP events for pid %ld", (long)pid); np = calloc(1, sizeof(struct procinfo)); np->pid = pid; np->abi = find_abi(pid); - SLIST_INIT(&np->threadlist); + LIST_INIT(&np->threadlist); LIST_INSERT_HEAD(&info->proclist, np, entries); + + if (lwpid != 0) + new_thread(np, lwpid); + else + add_threads(info, np); } static void @@ -199,7 +265,7 @@ free_proc(struct procinfo *p) { struct threadinfo *t, *t2; - SLIST_FOREACH_SAFE(t, &p->threadlist, entries, t2) { + LIST_FOREACH_SAFE(t, &p->threadlist, entries, t2) { free(t); } LIST_REMOVE(p, entries); @@ -232,7 +298,6 @@ find_proc(struct trussinfo *info, pid_t pid) /* * Change curthread member based on (pid, lwpid). - * If it is a new thread, create a threadinfo structure. */ static void find_thread(struct trussinfo *info, pid_t pid, lwpid_t lwpid) @@ -243,55 +308,30 @@ find_thread(struct trussinfo *info, pid_t pid, lwpid_t lwpid) np = find_proc(info, pid); assert(np != NULL); - SLIST_FOREACH(nt, &np->threadlist, entries) { + LIST_FOREACH(nt, &np->threadlist, entries) { if (nt->tid == lwpid) { info->curthread = nt; return; } } - - nt = calloc(1, sizeof(struct threadinfo)); - if (nt == NULL) - err(1, "calloc() failed"); - nt->proc = np; - nt->tid = lwpid; - SLIST_INSERT_HEAD(&np->threadlist, nt, entries); - info->curthread = nt; + errx(1, "could not find thread"); } /* - * When a process exits, it no longer has any threads left. However, - * the main loop expects a valid curthread. In cases when a thread - * triggers the termination (e.g. calling exit or triggering a fault) - * we would ideally use that thread. However, if a process is killed - * by a signal sent from another process then there is no "correct" - * thread. We just punt and use the first thread. + * When a process exits, it should have exactly one thread left. + * All of the other threads should have reported thread exit events. */ static void find_exit_thread(struct trussinfo *info, pid_t pid) { - struct procinfo *np; - struct threadinfo *nt; + struct procinfo *p; - np = find_proc(info, pid); - assert(np != NULL); + p = find_proc(info, pid); + assert(p != NULL); - if (SLIST_EMPTY(&np->threadlist)) { - /* - * If an existing process exits right after we attach - * to it but before it posts any events, there won't - * be any threads. Create a dummy thread and set its - * "before" time to the global start time. - */ - nt = calloc(1, sizeof(struct threadinfo)); - if (nt == NULL) - err(1, "calloc() failed"); - nt->proc = np; - nt->tid = 0; - SLIST_INSERT_HEAD(&np->threadlist, nt, entries); - nt->before = info->start_time; - } - info->curthread = SLIST_FIRST(&np->threadlist); + info->curthread = LIST_FIRST(&p->threadlist); + assert(info->curthread != NULL); + assert(LIST_NEXT(info->curthread, entries) == NULL); } static void @@ -322,13 +362,12 @@ free_syscall(struct threadinfo *t) } static void -enter_syscall(struct trussinfo *info, struct ptrace_lwpinfo *pl) +enter_syscall(struct trussinfo *info, struct threadinfo *t, + struct ptrace_lwpinfo *pl) { - struct threadinfo *t; struct syscall *sc; u_int i, narg; - t = info->curthread; alloc_syscall(t, pl); narg = MIN(pl->pl_syscall_narg, nitems(t->cs.args)); if (narg != 0 && t->proc->abi->fetch_args(info, narg) != 0) { @@ -377,6 +416,28 @@ enter_syscall(struct trussinfo *info, struct ptrace_lwpinfo *pl) clock_gettime(CLOCK_REALTIME, &t->before); } +/* + * When a thread exits voluntarily (including when a thread calls + * exit() to trigger a process exit), the thread's internal state + * holds the arguments passed to the exit system call. When the + * thread's exit is reported, log that system call without a return + * value. + */ +static void +thread_exit_syscall(struct trussinfo *info) +{ + struct threadinfo *t; + + t = info->curthread; + if (!t->in_syscall) + return; + + clock_gettime(CLOCK_REALTIME, &t->after); + + print_syscall_ret(info, 0, NULL); + free_syscall(t); +} + static void exit_syscall(struct trussinfo *info, struct ptrace_lwpinfo *pl) { @@ -430,6 +491,7 @@ exit_syscall(struct trussinfo *info, struct ptrace_lwpinfo *pl) * new ABI isn't supported, stop tracing this process. */ if (pl->pl_flags & PL_FLAG_EXEC) { + assert(LIST_NEXT(LIST_FIRST(&p->threadlist), entries) == NULL); p->abi = find_abi(p->pid); if (p->abi == NULL) { if (ptrace(PT_DETACH, p->pid, (caddr_t)1, 0) < 0) @@ -472,6 +534,29 @@ print_line_prefix(struct trussinfo *info) } static void +report_thread_death(struct trussinfo *info) +{ + struct threadinfo *t; + + t = info->curthread; + clock_gettime(CLOCK_REALTIME, &t->after); + print_line_prefix(info); + fprintf(info->outfile, "<thread %ld exited>\n", (long)t->tid); +} + +static void +report_thread_birth(struct trussinfo *info) +{ + struct threadinfo *t; + + t = info->curthread; + clock_gettime(CLOCK_REALTIME, &t->after); + t->before = t->after; + print_line_prefix(info); + fprintf(info->outfile, "<new thread %ld>\n", (long)t->tid); +} + +static void report_exit(struct trussinfo *info, siginfo_t *si) { struct threadinfo *t; @@ -544,8 +629,11 @@ eventloop(struct trussinfo *info) case CLD_KILLED: case CLD_DUMPED: find_exit_thread(info, si.si_pid); - if ((info->flags & COUNTONLY) == 0) + if ((info->flags & COUNTONLY) == 0) { + if (si.si_code == CLD_EXITED) + thread_exit_syscall(info); report_exit(info, &si); + } free_proc(info->curthread->proc); info->curthread = NULL; break; @@ -555,16 +643,27 @@ eventloop(struct trussinfo *info) err(1, "ptrace(PT_LWPINFO)"); if (pl.pl_flags & PL_FLAG_CHILD) { - new_proc(info, si.si_pid); + new_proc(info, si.si_pid, pl.pl_lwpid); assert(LIST_FIRST(&info->proclist)->abi != NULL); - } + } else if (pl.pl_flags & PL_FLAG_BORN) + new_thread(find_proc(info, si.si_pid), + pl.pl_lwpid); find_thread(info, si.si_pid, pl.pl_lwpid); if (si.si_status == SIGTRAP && - (pl.pl_flags & (PL_FLAG_SCE|PL_FLAG_SCX)) != 0) { - if (pl.pl_flags & PL_FLAG_SCE) - enter_syscall(info, &pl); + (pl.pl_flags & (PL_FLAG_BORN|PL_FLAG_EXITED| + PL_FLAG_SCE|PL_FLAG_SCX)) != 0) { + if (pl.pl_flags & PL_FLAG_BORN) { + if ((info->flags & COUNTONLY) == 0) + report_thread_birth(info); + } else if (pl.pl_flags & PL_FLAG_EXITED) { + if ((info->flags & COUNTONLY) == 0) + report_thread_death(info); + free_thread(info->curthread); + info->curthread = NULL; + } else if (pl.pl_flags & PL_FLAG_SCE) + enter_syscall(info, info->curthread, &pl); else if (pl.pl_flags & PL_FLAG_SCX) exit_syscall(info, &pl); pending_signal = 0; diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index b3a4c42..f5a28ae 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -2054,6 +2054,16 @@ print_syscall_ret(struct trussinfo *trussinfo, int errorp, long *retval) print_syscall(trussinfo); fflush(trussinfo->outfile); + + if (retval == NULL) { + /* + * This system call resulted in the current thread's exit, + * so there is no return value or error to display. + */ + fprintf(trussinfo->outfile, "\n"); + return; + } + if (errorp) { error = sysdecode_abi_to_freebsd_errno(t->proc->abi->abi, retval[0]); diff --git a/usr.bin/truss/truss.h b/usr.bin/truss/truss.h index 582ab0b..dee2155 100644 --- a/usr.bin/truss/truss.h +++ b/usr.bin/truss/truss.h @@ -73,7 +73,7 @@ struct current_syscall { struct threadinfo { - SLIST_ENTRY(threadinfo) entries; + LIST_ENTRY(threadinfo) entries; struct procinfo *proc; lwpid_t tid; int in_syscall; @@ -87,7 +87,7 @@ struct procinfo { pid_t pid; struct procabi *abi; - SLIST_HEAD(, threadinfo) threadlist; + LIST_HEAD(, threadinfo) threadlist; }; struct trussinfo diff --git a/usr.bin/units/tests/Makefile.depend b/usr.bin/units/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/units/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/uudecode/tests/Makefile.depend b/usr.bin/uudecode/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/uudecode/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/uuencode/tests/Makefile.depend b/usr.bin/uuencode/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/uuencode/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/xargs/tests/Makefile.depend b/usr.bin/xargs/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/xargs/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/xo/tests/Makefile.depend b/usr.bin/xo/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/xo/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/yacc/tests/Makefile.depend b/usr.bin/yacc/tests/Makefile.depend new file mode 100644 index 0000000..f80275d --- /dev/null +++ b/usr.bin/yacc/tests/Makefile.depend @@ -0,0 +1,11 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif |