aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc17
-rw-r--r--bin/cat/Makefile.depend19
-rw-r--r--bin/chflags/Makefile.depend19
-rw-r--r--bin/chio/Makefile.depend19
-rw-r--r--bin/chmod/Makefile.depend19
-rw-r--r--bin/cp/Makefile.depend19
-rw-r--r--bin/csh/Makefile.depend348
-rw-r--r--bin/date/Makefile.depend20
-rw-r--r--bin/dd/Makefile.depend19
-rw-r--r--bin/df/Makefile.depend20
-rw-r--r--bin/domainname/Makefile.depend19
-rw-r--r--bin/echo/Makefile.depend19
-rw-r--r--bin/ed/Makefile.depend20
-rw-r--r--bin/expr/Makefile.depend21
-rw-r--r--bin/getfacl/Makefile.depend19
-rw-r--r--bin/hostname/Makefile.depend19
-rw-r--r--bin/kenv/Makefile.depend19
-rw-r--r--bin/kill/Makefile.depend19
-rw-r--r--bin/ln/Makefile.depend19
-rw-r--r--bin/ls/Makefile.depend22
-rw-r--r--bin/mkdir/Makefile.depend19
-rw-r--r--bin/mv/Makefile.depend19
-rw-r--r--bin/pax/Makefile.depend19
-rw-r--r--bin/pkill/Makefile.depend20
-rw-r--r--bin/ps/Makefile.depend21
-rw-r--r--bin/ps/ps.13
-rw-r--r--bin/pwait/Makefile.depend19
-rw-r--r--bin/pwd/Makefile.depend19
-rw-r--r--bin/rcp/Makefile.depend19
-rw-r--r--bin/realpath/Makefile.depend18
-rw-r--r--bin/rm/Makefile.depend19
-rw-r--r--bin/rmail/Makefile.depend23
-rw-r--r--bin/rmdir/Makefile.depend19
-rw-r--r--bin/setfacl/Makefile.depend19
-rw-r--r--bin/sh/Makefile.depend115
-rw-r--r--bin/sh/jobs.c2
-rw-r--r--bin/sh/mksyntax.c154
-rw-r--r--bin/sh/parser.h2
-rw-r--r--bin/sleep/Makefile.depend19
-rw-r--r--bin/stty/Makefile.depend19
-rw-r--r--bin/sync/Makefile.depend18
-rw-r--r--bin/test/Makefile.depend19
-rw-r--r--bin/uuidgen/Makefile.depend18
-rw-r--r--cddl/lib/drti/Makefile.depend17
-rw-r--r--cddl/lib/libavl/Makefile.depend18
-rw-r--r--cddl/lib/libctf/Makefile.depend21
-rw-r--r--cddl/lib/libdtrace/Makefile.depend50
-rw-r--r--cddl/lib/libnvpair/Makefile.depend20
-rw-r--r--cddl/lib/libumem/Makefile.depend18
-rw-r--r--cddl/lib/libuutil/Makefile.depend19
-rw-r--r--cddl/lib/libzfs/Makefile.depend26
-rw-r--r--cddl/lib/libzpool/Makefile.depend23
-rw-r--r--cddl/sbin/zfs/Makefile.depend27
-rw-r--r--cddl/sbin/zpool/Makefile.depend27
-rw-r--r--cddl/usr.bin/ctfconvert/Makefile.depend24
-rw-r--r--cddl/usr.bin/ctfdump/Makefile.depend22
-rw-r--r--cddl/usr.bin/ctfmerge/Makefile.depend24
-rw-r--r--cddl/usr.bin/sgsmsg/Makefile.depend20
-rw-r--r--cddl/usr.bin/zinject/Makefile.depend26
-rw-r--r--cddl/usr.bin/zstreamdump/Makefile.depend26
-rw-r--r--cddl/usr.bin/ztest/Makefile.depend28
-rw-r--r--cddl/usr.sbin/dtrace/Makefile.depend28
-rw-r--r--cddl/usr.sbin/dtruss/Makefile.depend14
-rw-r--r--cddl/usr.sbin/lockstat/Makefile.depend29
-rw-r--r--cddl/usr.sbin/zdb/Makefile.depend27
-rw-r--r--cddl/usr.sbin/zhack/Makefile.depend27
-rw-r--r--contrib/libc++/include/__config6
-rw-r--r--contrib/libc++/include/algorithm4
-rw-r--r--contrib/libc++/include/array3
-rw-r--r--contrib/libc++/include/atomic22
-rw-r--r--contrib/libc++/include/cmath90
-rw-r--r--contrib/libc++/include/functional2
-rw-r--r--contrib/libc++/include/future8
-rw-r--r--contrib/libc++/include/istream1
-rw-r--r--contrib/libc++/include/iterator4
-rw-r--r--contrib/libc++/include/limits188
-rw-r--r--contrib/libc++/include/locale20
-rw-r--r--contrib/libc++/include/memory5
-rw-r--r--contrib/libc++/include/ostream13
-rw-r--r--contrib/libc++/include/random122
-rw-r--r--contrib/libc++/include/regex21
-rw-r--r--contrib/libc++/include/string2
-rw-r--r--contrib/libc++/include/type_traits23
-rw-r--r--contrib/libc++/include/vector6
-rw-r--r--contrib/libc++/src/chrono.cpp4
-rw-r--r--contrib/libc++/src/debug.cpp2
-rw-r--r--contrib/libc++/src/exception.cpp8
-rw-r--r--contrib/libc++/src/future.cpp2
-rw-r--r--contrib/libc++/src/hash.cpp25
-rw-r--r--contrib/libc++/src/locale.cpp150
-rw-r--r--contrib/libc++/src/string.cpp136
-rw-r--r--contrib/libc++/src/thread.cpp6
-rw-r--r--contrib/libcxxrt/exception.cc2
-rw-r--r--etc/sendmail/Makefile.depend14
-rw-r--r--games/bcd/Makefile.depend19
-rw-r--r--games/caesar/Makefile.depend20
-rw-r--r--games/factor/Makefile.depend20
-rw-r--r--games/fortune/datfiles/Makefile.depend14
-rw-r--r--games/fortune/fortune/Makefile.depend19
-rw-r--r--games/fortune/strfile/Makefile.depend19
-rw-r--r--games/fortune/unstr/Makefile.depend19
-rw-r--r--games/grdc/Makefile.depend21
-rw-r--r--games/morse/Makefile.depend19
-rw-r--r--games/number/Makefile.depend19
-rw-r--r--games/pom/Makefile.depend20
-rw-r--r--games/ppt/Makefile.depend18
-rw-r--r--games/primes/Makefile.depend20
-rw-r--r--games/random/Makefile.depend19
-rw-r--r--gnu/lib/csu/Makefile.depend46
-rw-r--r--gnu/lib/libdialog/Makefile.depend21
-rw-r--r--gnu/lib/libgcc/Makefile.depend282
-rw-r--r--gnu/lib/libgcov/Makefile.depend128
-rw-r--r--gnu/lib/libgomp/Makefile.depend82
-rw-r--r--gnu/lib/libreadline/history/Makefile.depend19
-rw-r--r--gnu/lib/libreadline/readline/Makefile.depend21
-rw-r--r--gnu/lib/libregex/Makefile.depend22
-rw-r--r--gnu/lib/libssp/Makefile.depend19
-rw-r--r--gnu/lib/libssp/libssp_nonshared/Makefile.depend14
-rw-r--r--gnu/lib/libstdc++/Makefile.depend68
-rw-r--r--gnu/lib/libsupc++/Makefile.depend65
-rw-r--r--gnu/usr.bin/binutils/addr2line/Makefile.depend22
-rw-r--r--gnu/usr.bin/binutils/ar/Makefile.depend21
-rw-r--r--gnu/usr.bin/binutils/as/Makefile.depend21
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile.depend.amd6454
-rw-r--r--gnu/usr.bin/binutils/libbfd/Makefile.depend.amd64124
-rw-r--r--gnu/usr.bin/binutils/libbinutils/Makefile.depend23
-rw-r--r--gnu/usr.bin/binutils/libiberty/Makefile.depend17
-rw-r--r--gnu/usr.bin/binutils/libopcodes/Makefile.depend16
-rw-r--r--gnu/usr.bin/binutils/nm/Makefile.depend22
-rw-r--r--gnu/usr.bin/binutils/objcopy/Makefile.depend22
-rw-r--r--gnu/usr.bin/binutils/objdump/Makefile.depend23
-rw-r--r--gnu/usr.bin/binutils/ranlib/Makefile.depend21
-rw-r--r--gnu/usr.bin/binutils/readelf/Makefile.depend22
-rw-r--r--gnu/usr.bin/binutils/size/Makefile.depend22
-rw-r--r--gnu/usr.bin/binutils/strings/Makefile.depend22
-rw-r--r--gnu/usr.bin/binutils/strip/Makefile.depend22
-rw-r--r--gnu/usr.bin/cc/c++/Makefile.depend22
-rw-r--r--gnu/usr.bin/cc/c++filt/Makefile.depend21
-rw-r--r--gnu/usr.bin/cc/cc/Makefile.depend21
-rw-r--r--gnu/usr.bin/cc/cc1/Makefile.depend25
-rw-r--r--gnu/usr.bin/cc/cc1plus/Makefile.depend27
-rw-r--r--gnu/usr.bin/cc/cc_int/Makefile.depend17
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile.depend250
-rw-r--r--gnu/usr.bin/cc/cpp/Makefile.depend22
-rw-r--r--gnu/usr.bin/cc/gcov/Makefile.depend21
-rw-r--r--gnu/usr.bin/cc/include/Makefile.depend14
-rw-r--r--gnu/usr.bin/cc/libcpp/Makefile.depend18
-rw-r--r--gnu/usr.bin/cc/libdecnumber/Makefile.depend17
-rw-r--r--gnu/usr.bin/cc/libiberty/Makefile.depend16
-rw-r--r--gnu/usr.bin/cvs/contrib/Makefile.depend14
-rw-r--r--gnu/usr.bin/cvs/cvs/Makefile.depend34
-rw-r--r--gnu/usr.bin/cvs/cvsbug/Makefile.depend14
-rw-r--r--gnu/usr.bin/cvs/lib/Makefile.depend38
-rw-r--r--gnu/usr.bin/cvs/libdiff/Makefile.depend18
-rw-r--r--gnu/usr.bin/dialog/Makefile.depend22
-rw-r--r--gnu/usr.bin/diff/Makefile.depend24
-rw-r--r--gnu/usr.bin/diff3/Makefile.depend21
-rw-r--r--gnu/usr.bin/dtc/Makefile.depend27
-rw-r--r--gnu/usr.bin/gdb/gdb/Makefile.depend33
-rw-r--r--gnu/usr.bin/gdb/gdbserver/Makefile.depend20
-rw-r--r--gnu/usr.bin/gdb/gdbtui/Makefile.depend33
-rw-r--r--gnu/usr.bin/gdb/kgdb/Makefile.depend.amd6458
-rw-r--r--gnu/usr.bin/gdb/libgdb/Makefile.depend.amd641215
-rw-r--r--gnu/usr.bin/gperf/Makefile.depend21
-rw-r--r--gnu/usr.bin/grep/Makefile.depend22
-rw-r--r--gnu/usr.bin/groff/contrib/mm/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devX100-12/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devX100/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devX75-12/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devX75/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devascii/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devcp1047/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devdvi/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devhtml/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devkoi8-r/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devlatin1/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devlbp/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devlj4/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devps/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/font/devutf8/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/man/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/src/devices/grodvi/Makefile.depend23
-rw-r--r--gnu/usr.bin/groff/src/devices/grohtml/Makefile.depend23
-rw-r--r--gnu/usr.bin/groff/src/devices/grolbp/Makefile.depend23
-rw-r--r--gnu/usr.bin/groff/src/devices/grolj4/Makefile.depend23
-rw-r--r--gnu/usr.bin/groff/src/devices/grops/Makefile.depend23
-rw-r--r--gnu/usr.bin/groff/src/devices/grotty/Makefile.depend23
-rw-r--r--gnu/usr.bin/groff/src/libs/libbib/Makefile.depend16
-rw-r--r--gnu/usr.bin/groff/src/libs/libdriver/Makefile.depend17
-rw-r--r--gnu/usr.bin/groff/src/libs/libgroff/Makefile.depend19
-rw-r--r--gnu/usr.bin/groff/src/preproc/eqn/Makefile.depend26
-rw-r--r--gnu/usr.bin/groff/src/preproc/grn/Makefile.depend22
-rw-r--r--gnu/usr.bin/groff/src/preproc/html/Makefile.depend22
-rw-r--r--gnu/usr.bin/groff/src/preproc/pic/Makefile.depend26
-rw-r--r--gnu/usr.bin/groff/src/preproc/refer/Makefile.depend25
-rw-r--r--gnu/usr.bin/groff/src/preproc/soelim/Makefile.depend22
-rw-r--r--gnu/usr.bin/groff/src/preproc/tbl/Makefile.depend22
-rw-r--r--gnu/usr.bin/groff/src/roff/groff/Makefile.depend22
-rw-r--r--gnu/usr.bin/groff/src/roff/grog/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/src/roff/nroff/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/src/roff/psroff/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/src/roff/troff/Makefile.depend24
-rw-r--r--gnu/usr.bin/groff/src/utils/addftinfo/Makefile.depend22
-rw-r--r--gnu/usr.bin/groff/src/utils/afmtodit/Makefile.depend14
-rw-r--r--gnu/usr.bin/groff/src/utils/hpftodit/Makefile.depend22
-rw-r--r--gnu/usr.bin/groff/src/utils/indxbib/Makefile.depend23
-rw-r--r--gnu/usr.bin/groff/src/utils/lkbib/Makefile.depend23
-rw-r--r--gnu/usr.bin/groff/src/utils/lookbib/Makefile.depend23
-rw-r--r--gnu/usr.bin/groff/src/utils/pfbtops/Makefile.depend19
-rw-r--r--gnu/usr.bin/groff/src/utils/tfmtodit/Makefile.depend22
-rw-r--r--gnu/usr.bin/groff/tmac/Makefile.depend14
-rw-r--r--gnu/usr.bin/patch/Makefile.depend16
-rw-r--r--gnu/usr.bin/rcs/ci/Makefile.depend20
-rw-r--r--gnu/usr.bin/rcs/co/Makefile.depend20
-rw-r--r--gnu/usr.bin/rcs/ident/Makefile.depend20
-rw-r--r--gnu/usr.bin/rcs/lib/Makefile.depend16
-rw-r--r--gnu/usr.bin/rcs/merge/Makefile.depend20
-rw-r--r--gnu/usr.bin/rcs/rcs/Makefile.depend20
-rw-r--r--gnu/usr.bin/rcs/rcsclean/Makefile.depend20
-rw-r--r--gnu/usr.bin/rcs/rcsdiff/Makefile.depend20
-rw-r--r--gnu/usr.bin/rcs/rcsfreeze/Makefile.depend14
-rw-r--r--gnu/usr.bin/rcs/rcsmerge/Makefile.depend20
-rw-r--r--gnu/usr.bin/rcs/rlog/Makefile.depend20
-rw-r--r--gnu/usr.bin/sdiff/Makefile.depend21
-rw-r--r--gnu/usr.bin/send-pr/Makefile.depend14
-rw-r--r--gnu/usr.bin/texinfo/info/Makefile.depend22
-rw-r--r--gnu/usr.bin/texinfo/infokey/Makefile.depend20
-rw-r--r--gnu/usr.bin/texinfo/install-info/Makefile.depend20
-rw-r--r--gnu/usr.bin/texinfo/libtxi/Makefile.depend16
-rw-r--r--gnu/usr.bin/texinfo/makeinfo/Makefile.depend20
-rw-r--r--gnu/usr.bin/texinfo/texindex/Makefile.depend20
-rw-r--r--include/Makefile34
-rw-r--r--include/Makefile.depend14
-rw-r--r--include/arpa/Makefile1
-rw-r--r--include/arpa/Makefile.depend14
-rw-r--r--include/gssapi/Makefile1
-rw-r--r--include/gssapi/Makefile.depend14
-rw-r--r--include/protocols/Makefile1
-rw-r--r--include/protocols/Makefile.depend14
-rw-r--r--include/rpc/Makefile.depend14
-rw-r--r--include/rpcsvc/Makefile.depend14
-rw-r--r--include/xlocale/Makefile1
-rw-r--r--include/xlocale/Makefile.depend14
-rw-r--r--kerberos5/Makefile.inc2
-rw-r--r--kerberos5/lib/libasn1/Makefile.depend193
-rw-r--r--kerberos5/lib/libgssapi_krb5/Makefile.depend192
-rw-r--r--kerberos5/lib/libgssapi_ntlm/Makefile.depend27
-rw-r--r--kerberos5/lib/libgssapi_spnego/Makefile.depend124
-rw-r--r--kerberos5/lib/libhdb/Makefile.depend278
-rw-r--r--kerberos5/lib/libheimbase/Makefile.depend20
-rw-r--r--kerberos5/lib/libheimipcc/Makefile3
-rw-r--r--kerberos5/lib/libheimipcc/Makefile.depend19
-rw-r--r--kerberos5/lib/libheimipcs/Makefile.depend20
-rw-r--r--kerberos5/lib/libheimntlm/Makefile.depend31
-rw-r--r--kerberos5/lib/libheimsqlite/Makefile.depend19
-rw-r--r--kerberos5/lib/libhx509/Makefile.depend445
-rw-r--r--kerberos5/lib/libkadm5clnt/Makefile.depend85
-rw-r--r--kerberos5/lib/libkadm5srv/Makefile.depend109
-rw-r--r--kerberos5/lib/libkafs5/Makefile.depend24
-rw-r--r--kerberos5/lib/libkdc/Makefile.depend32
-rw-r--r--kerberos5/lib/libkrb5/Makefile.depend1100
-rw-r--r--kerberos5/lib/libroken/Makefile.depend177
-rw-r--r--kerberos5/lib/libsl/Makefile.depend18
-rw-r--r--kerberos5/lib/libvers/Makefile.depend19
-rw-r--r--kerberos5/lib/libwind/Makefile.depend61
-rw-r--r--kerberos5/libexec/digest-service/Makefile.depend35
-rw-r--r--kerberos5/libexec/hprop/Makefile.depend34
-rw-r--r--kerberos5/libexec/hpropd/Makefile.depend33
-rw-r--r--kerberos5/libexec/ipropd-master/Makefile.depend34
-rw-r--r--kerberos5/libexec/ipropd-slave/Makefile.depend34
-rw-r--r--kerberos5/libexec/kadmind/Makefile.depend36
-rw-r--r--kerberos5/libexec/kcm/Makefile.depend30
-rw-r--r--kerberos5/libexec/kdc/Makefile.depend34
-rw-r--r--kerberos5/libexec/kdigest/Makefile.depend36
-rw-r--r--kerberos5/libexec/kfd/Makefile.depend26
-rw-r--r--kerberos5/libexec/kimpersonate/Makefile.depend28
-rw-r--r--kerberos5/libexec/kpasswdd/Makefile.depend32
-rw-r--r--kerberos5/tools/asn1_compile/Makefile.depend56
-rw-r--r--kerberos5/tools/make-roken/Makefile.depend20
-rw-r--r--kerberos5/tools/slc/Makefile.depend30
-rw-r--r--kerberos5/usr.bin/hxtool/Makefile.depend35
-rw-r--r--kerberos5/usr.bin/kadmin/Makefile.depend73
-rw-r--r--kerberos5/usr.bin/kcc/Makefile.depend42
-rw-r--r--kerberos5/usr.bin/kdestroy/Makefile.depend28
-rw-r--r--kerberos5/usr.bin/kf/Makefile.depend26
-rw-r--r--kerberos5/usr.bin/kgetcred/Makefile.depend27
-rw-r--r--kerberos5/usr.bin/kinit/Makefile.depend29
-rw-r--r--kerberos5/usr.bin/kpasswd/Makefile.depend29
-rw-r--r--kerberos5/usr.bin/krb5-config/Makefile.depend14
-rw-r--r--kerberos5/usr.bin/ksu/Makefile.depend29
-rw-r--r--kerberos5/usr.bin/string2key/Makefile.depend33
-rw-r--r--kerberos5/usr.bin/verify_krb5_conf/Makefile.depend31
-rw-r--r--kerberos5/usr.sbin/iprop-log/Makefile.depend38
-rw-r--r--kerberos5/usr.sbin/kstash/Makefile.depend33
-rw-r--r--kerberos5/usr.sbin/ktutil/Makefile.depend53
-rw-r--r--lib/atf/libatf-c++/Makefile.depend22
-rw-r--r--lib/atf/libatf-c/Makefile.depend19
-rw-r--r--lib/bind/bind9/Makefile.depend17
-rw-r--r--lib/bind/dns/Makefile.depend18
-rw-r--r--lib/bind/isc/Makefile.depend17
-rw-r--r--lib/bind/isccc/Makefile.depend17
-rw-r--r--lib/bind/isccfg/Makefile.depend17
-rw-r--r--lib/bind/lwres/Makefile.depend21
-rw-r--r--lib/clang/include/Makefile.depend14
-rw-r--r--lib/clang/libclanganalysis/Makefile.depend177
-rw-r--r--lib/clang/libclangarcmigrate/Makefile.depend209
-rw-r--r--lib/clang/libclangast/Makefile.depend489
-rw-r--r--lib/clang/libclangbasic/Makefile.depend45
-rw-r--r--lib/clang/libclangcodegen/Makefile.depend431
-rw-r--r--lib/clang/libclangdriver/Makefile.depend61
-rw-r--r--lib/clang/libclangedit/Makefile.depend29
-rw-r--r--lib/clang/libclangfrontend/Makefile.depend189
-rw-r--r--lib/clang/libclangfrontendtool/Makefile.depend23
-rw-r--r--lib/clang/libclanglex/Makefile.depend83
-rw-r--r--lib/clang/libclangparse/Makefile.depend199
-rw-r--r--lib/clang/libclangsema/Makefile.depend563
-rw-r--r--lib/clang/libclangserialization/Makefile.depend111
-rw-r--r--lib/clang/libclangstaticanalyzercheckers/Makefile.depend749
-rw-r--r--lib/clang/libclangstaticanalyzercore/Makefile.depend365
-rw-r--r--lib/clang/libclangstaticanalyzerfrontend/Makefile.depend41
-rw-r--r--lib/clang/libllvmanalysis/Makefile.depend47
-rw-r--r--lib/clang/libllvmarchive/Makefile.depend17
-rw-r--r--lib/clang/libllvmarmasmparser/Makefile.depend31
-rw-r--r--lib/clang/libllvmarmcodegen/Makefile.depend209
-rw-r--r--lib/clang/libllvmarmdesc/Makefile.depend49
-rw-r--r--lib/clang/libllvmarmdisassembler/Makefile.depend27
-rw-r--r--lib/clang/libllvmarminfo/Makefile.depend23
-rw-r--r--lib/clang/libllvmarminstprinter/Makefile.depend25
-rw-r--r--lib/clang/libllvmasmparser/Makefile.depend17
-rw-r--r--lib/clang/libllvmasmprinter/Makefile.depend17
-rw-r--r--lib/clang/libllvmbitreader/Makefile.depend19
-rw-r--r--lib/clang/libllvmbitwriter/Makefile.depend17
-rw-r--r--lib/clang/libllvmcodegen/Makefile.depend33
-rw-r--r--lib/clang/libllvmcore/Makefile.depend33
-rw-r--r--lib/clang/libllvmdebuginfo/Makefile.depend17
-rw-r--r--lib/clang/libllvmexecutionengine/Makefile.depend17
-rw-r--r--lib/clang/libllvminstcombine/Makefile.depend43
-rw-r--r--lib/clang/libllvminstrumentation/Makefile.depend21
-rw-r--r--lib/clang/libllvminterpreter/Makefile.depend21
-rw-r--r--lib/clang/libllvmipa/Makefile.depend23
-rw-r--r--lib/clang/libllvmipo/Makefile.depend31
-rw-r--r--lib/clang/libllvmjit/Makefile.depend17
-rw-r--r--lib/clang/libllvmlinker/Makefile.depend17
-rw-r--r--lib/clang/libllvmmc/Makefile.depend17
-rw-r--r--lib/clang/libllvmmcdisassembler/Makefile.depend17
-rw-r--r--lib/clang/libllvmmcjit/Makefile.depend17
-rw-r--r--lib/clang/libllvmmcparser/Makefile.depend17
-rw-r--r--lib/clang/libllvmmipsasmparser/Makefile.depend23
-rw-r--r--lib/clang/libllvmmipscodegen/Makefile.depend131
-rw-r--r--lib/clang/libllvmmipsdesc/Makefile.depend43
-rw-r--r--lib/clang/libllvmmipsinfo/Makefile.depend23
-rw-r--r--lib/clang/libllvmmipsinstprinter/Makefile.depend19
-rw-r--r--lib/clang/libllvmobject/Makefile.depend17
-rw-r--r--lib/clang/libllvmpowerpccodegen/Makefile.depend111
-rw-r--r--lib/clang/libllvmpowerpcdesc/Makefile.depend43
-rw-r--r--lib/clang/libllvmpowerpcinfo/Makefile.depend23
-rw-r--r--lib/clang/libllvmpowerpcinstprinter/Makefile.depend25
-rw-r--r--lib/clang/libllvmruntimedyld/Makefile.depend17
-rw-r--r--lib/clang/libllvmscalaropts/Makefile.depend59
-rw-r--r--lib/clang/libllvmselectiondag/Makefile.depend29
-rw-r--r--lib/clang/libllvmsupport/Makefile.depend19
-rw-r--r--lib/clang/libllvmtablegen/Makefile.depend19
-rw-r--r--lib/clang/libllvmtarget/Makefile.depend17
-rw-r--r--lib/clang/libllvmtransformutils/Makefile.depend41
-rw-r--r--lib/clang/libllvmvectorize/Makefile.depend19
-rw-r--r--lib/clang/libllvmx86asmparser/Makefile.depend33
-rw-r--r--lib/clang/libllvmx86codegen/Makefile.depend127
-rw-r--r--lib/clang/libllvmx86desc/Makefile.depend53
-rw-r--r--lib/clang/libllvmx86disassembler/Makefile.depend23
-rw-r--r--lib/clang/libllvmx86info/Makefile.depend23
-rw-r--r--lib/clang/libllvmx86instprinter/Makefile.depend39
-rw-r--r--lib/clang/libllvmx86utils/Makefile.depend17
-rw-r--r--lib/csu/amd64/Makefile11
-rw-r--r--lib/csu/amd64/Makefile.depend15
-rw-r--r--lib/csu/arm/Makefile.depend15
-rw-r--r--lib/csu/i386-elf/Makefile6
-rw-r--r--lib/csu/i386-elf/Makefile.depend15
-rw-r--r--lib/csu/mips/Makefile.depend15
-rw-r--r--lib/csu/powerpc/Makefile.depend15
-rw-r--r--lib/csu/powerpc64/Makefile.depend15
-rw-r--r--lib/csu/sparc64/Makefile.depend15
-rw-r--r--lib/libalias/libalias/Makefile.depend20
-rw-r--r--lib/libalias/modules/cuseeme/Makefile.depend19
-rw-r--r--lib/libalias/modules/dummy/Makefile.depend19
-rw-r--r--lib/libalias/modules/ftp/Makefile.depend19
-rw-r--r--lib/libalias/modules/irc/Makefile.depend19
-rw-r--r--lib/libalias/modules/nbt/Makefile.depend19
-rw-r--r--lib/libalias/modules/pptp/Makefile.depend19
-rw-r--r--lib/libalias/modules/skinny/Makefile.depend19
-rw-r--r--lib/libalias/modules/smedia/Makefile.depend19
-rw-r--r--lib/libarchive/Makefile.depend24
-rw-r--r--lib/libauditd/Makefile.depend19
-rw-r--r--lib/libbegemot/Makefile.depend19
-rw-r--r--lib/libblocksruntime/Makefile.depend19
-rw-r--r--lib/libbluetooth/Makefile.depend19
-rw-r--r--lib/libbsm/Makefile.depend20
-rw-r--r--lib/libbsnmp/libbsnmp/Makefile.depend20
-rw-r--r--lib/libbz2/Makefile.depend19
-rw-r--r--lib/libc/Makefile10
-rw-r--r--lib/libc/Makefile.depend168
-rw-r--r--lib/libc/arm/Symbol.map4
-rw-r--r--lib/libc/sys/open.213
-rw-r--r--lib/libc/sys/ptrace.212
-rw-r--r--lib/libcalendar/Makefile.depend18
-rw-r--r--lib/libcam/Makefile.depend20
-rw-r--r--lib/libcom_err/Makefile.depend19
-rw-r--r--lib/libcompat/Makefile.depend16
-rw-r--r--lib/libcompiler_rt/Makefile.depend15
-rw-r--r--lib/libcrypt/Makefile.depend20
-rw-r--r--lib/libdevinfo/Makefile.depend19
-rw-r--r--lib/libdevstat/Makefile.depend20
-rw-r--r--lib/libdwarf/Makefile.depend20
-rw-r--r--lib/libedit/Makefile.depend60
-rw-r--r--lib/libedit/edit/readline/Makefile.depend14
-rw-r--r--lib/libelf/Makefile.depend28
-rw-r--r--lib/libexpat/Makefile.depend19
-rw-r--r--lib/libfetch/Makefile.depend27
-rw-r--r--lib/libgeom/Makefile.depend21
-rw-r--r--lib/libgpib/Makefile.depend18
-rw-r--r--lib/libgssapi/Makefile.depend20
-rw-r--r--lib/libipsec/Makefile.depend29
-rw-r--r--lib/libipx/Makefile.depend20
-rw-r--r--lib/libjail/Makefile.depend20
-rw-r--r--lib/libkiconv/Makefile.depend19
-rw-r--r--lib/libkvm/Makefile.depend19
-rw-r--r--lib/liblzma/Makefile.depend19
-rw-r--r--lib/libmagic/Makefile.depend20
-rw-r--r--lib/libmandoc/Makefile.depend16
-rw-r--r--lib/libmd/Makefile.depend40
-rw-r--r--lib/libmemstat/Makefile.depend20
-rw-r--r--lib/libmilter/Makefile.depend57
-rw-r--r--lib/libmp/Makefile.depend20
-rw-r--r--lib/libncp/Makefile.depend14
-rw-r--r--lib/libnetgraph/Makefile.depend19
-rw-r--r--lib/libngatm/Makefile.depend20
-rw-r--r--lib/libopie/Makefile.depend21
-rw-r--r--lib/libpam/Makefile2
-rw-r--r--lib/libpam/libpam/Makefile23
-rw-r--r--lib/libpam/libpam/Makefile.depend19
-rw-r--r--lib/libpam/modules/pam_chroot/Makefile.depend20
-rw-r--r--lib/libpam/modules/pam_deny/Makefile.depend19
-rw-r--r--lib/libpam/modules/pam_echo/Makefile.depend20
-rw-r--r--lib/libpam/modules/pam_exec/Makefile.depend20
-rw-r--r--lib/libpam/modules/pam_ftpusers/Makefile.depend20
-rw-r--r--lib/libpam/modules/pam_group/Makefile.depend20
-rw-r--r--lib/libpam/modules/pam_guest/Makefile.depend20
-rw-r--r--lib/libpam/modules/pam_krb5/Makefile.depend27
-rw-r--r--lib/libpam/modules/pam_ksu/Makefile.depend27
-rw-r--r--lib/libpam/modules/pam_lastlog/Makefile.depend20
-rw-r--r--lib/libpam/modules/pam_login_access/Makefile.depend20
-rw-r--r--lib/libpam/modules/pam_nologin/Makefile.depend21
-rw-r--r--lib/libpam/modules/pam_opie/Makefile.depend21
-rw-r--r--lib/libpam/modules/pam_opieaccess/Makefile.depend20
-rw-r--r--lib/libpam/modules/pam_passwdqc/Makefile.depend21
-rw-r--r--lib/libpam/modules/pam_permit/Makefile.depend19
-rw-r--r--lib/libpam/modules/pam_radius/Makefile.depend21
-rw-r--r--lib/libpam/modules/pam_rhosts/Makefile.depend20
-rw-r--r--lib/libpam/modules/pam_rootok/Makefile.depend19
-rw-r--r--lib/libpam/modules/pam_securetty/Makefile.depend20
-rw-r--r--lib/libpam/modules/pam_self/Makefile.depend19
-rw-r--r--lib/libpam/modules/pam_ssh/Makefile.depend25
-rw-r--r--lib/libpam/modules/pam_tacplus/Makefile.depend21
-rw-r--r--lib/libpam/modules/pam_unix/Makefile.depend24
-rw-r--r--lib/libpam/static_modules/Makefile71
-rw-r--r--lib/libpam/static_modules/Makefile.depend41
-rw-r--r--lib/libpcap/Makefile.depend35
-rw-r--r--lib/libpmc/Makefile.depend19
-rw-r--r--lib/libproc/Makefile2
-rw-r--r--lib/libproc/Makefile.depend22
-rw-r--r--lib/libprocstat/Makefile.depend22
-rw-r--r--lib/libprocstat/zfs/Makefile.depend18
-rw-r--r--lib/libradius/Makefile.depend21
-rw-r--r--lib/librpcsec_gss/Makefile.depend20
-rw-r--r--lib/librpcsvc/Makefile.depend63
-rw-r--r--lib/librt/Makefile.depend20
-rw-r--r--lib/librtld_db/Makefile.depend22
-rw-r--r--lib/libsbuf/Makefile.depend19
-rw-r--r--lib/libsdp/Makefile.depend21
-rw-r--r--lib/libsm/Makefile.depend155
-rw-r--r--lib/libsmb/Makefile.depend14
-rw-r--r--lib/libsmdb/Makefile.depend25
-rw-r--r--lib/libsmutil/Makefile.depend30
-rw-r--r--lib/libstand/Makefile.depend60
-rw-r--r--lib/libstdbuf/Makefile.depend19
-rw-r--r--lib/libstdthreads/Makefile.depend20
-rw-r--r--lib/libtacplus/Makefile.depend21
-rw-r--r--lib/libtelnet/Makefile3
-rw-r--r--lib/libtelnet/Makefile.depend21
-rw-r--r--lib/libthr/Makefile.depend18
-rw-r--r--lib/libthread_db/Makefile.depend19
-rw-r--r--lib/libufs/Makefile.depend19
-rw-r--r--lib/libugidfw/Makefile.depend19
-rw-r--r--lib/libulog/Makefile.depend20
-rw-r--r--lib/libusb/Makefile.depend20
-rw-r--r--lib/libusbhid/Makefile.depend19
-rw-r--r--lib/libutil/Makefile.depend20
-rw-r--r--lib/libvgl/Makefile.depend19
-rw-r--r--lib/libwrap/Makefile.depend20
-rw-r--r--lib/liby/Makefile.depend15
-rw-r--r--lib/libypclnt/Makefile.depend54
-rw-r--r--lib/libz/Makefile.depend19
-rw-r--r--lib/msun/Makefile2
-rw-r--r--lib/msun/Makefile.depend19
-rw-r--r--lib/ncurses/form/Makefile.depend137
-rw-r--r--lib/ncurses/formw/Makefile.depend137
-rw-r--r--lib/ncurses/menu/Makefile.depend98
-rw-r--r--lib/ncurses/menuw/Makefile.depend98
-rw-r--r--lib/ncurses/ncurses/Makefile2
-rw-r--r--lib/ncurses/ncurses/Makefile.depend1810
-rw-r--r--lib/ncurses/ncursesw/Makefile.depend2050
-rw-r--r--lib/ncurses/panel/Makefile.depend65
-rw-r--r--lib/ncurses/panelw/Makefile.depend65
-rw-r--r--libexec/atf/atf-check/Makefile.depend24
-rw-r--r--libexec/atrun/Makefile.depend21
-rw-r--r--libexec/bootpd/Makefile.depend20
-rw-r--r--libexec/bootpd/bootpgw/Makefile.depend20
-rw-r--r--libexec/bootpd/tools/bootpef/Makefile.depend20
-rw-r--r--libexec/bootpd/tools/bootptest/Makefile.depend20
-rw-r--r--libexec/comsat/Makefile.depend19
-rw-r--r--libexec/fingerd/Makefile.depend21
-rw-r--r--libexec/ftpd/Makefile.depend28
-rw-r--r--libexec/getty/Makefile.depend20
-rw-r--r--libexec/mail.local/Makefile.depend24
-rw-r--r--libexec/mknetid/Makefile.depend21
-rw-r--r--libexec/pppoed/Makefile.depend21
-rw-r--r--libexec/rbootd/Makefile.depend19
-rw-r--r--libexec/revnetgroup/Makefile.depend19
-rw-r--r--libexec/rlogind/Makefile.depend21
-rw-r--r--libexec/rpc.rquotad/Makefile.depend24
-rw-r--r--libexec/rpc.rstatd/Makefile.depend25
-rw-r--r--libexec/rpc.rusersd/Makefile.depend23
-rw-r--r--libexec/rpc.rwalld/Makefile.depend23
-rw-r--r--libexec/rpc.sprayd/Makefile.depend22
-rw-r--r--libexec/rshd/Makefile.depend22
-rw-r--r--libexec/rtld-elf/Makefile.depend17
-rw-r--r--libexec/smrsh/Makefile.depend23
-rw-r--r--libexec/talkd/Makefile.depend21
-rw-r--r--libexec/tcpd/Makefile.depend20
-rw-r--r--libexec/telnetd/Makefile.depend33
-rw-r--r--libexec/tftp-proxy/Makefile.depend20
-rw-r--r--libexec/tftpd/Makefile.depend21
-rw-r--r--libexec/ulog-helper/Makefile.depend20
-rw-r--r--libexec/ypxfr/Makefile.depend31
-rw-r--r--pkgs/Makefile165
-rw-r--r--pkgs/Makefile.inc53
-rw-r--r--pkgs/Makefile.xtras48
-rw-r--r--pkgs/pseudo/Makefile.inc11
-rw-r--r--pkgs/pseudo/bin/Makefile3
-rw-r--r--pkgs/pseudo/bin/Makefile.depend50
-rw-r--r--pkgs/pseudo/cddl/Makefile3
-rw-r--r--pkgs/pseudo/cddl/Makefile.depend35
-rw-r--r--pkgs/pseudo/clang/Makefile3
-rw-r--r--pkgs/pseudo/clang/Makefile.depend80
-rw-r--r--pkgs/pseudo/games/Makefile3
-rw-r--r--pkgs/pseudo/games/Makefile.depend26
-rw-r--r--pkgs/pseudo/gcc/Makefile3
-rw-r--r--pkgs/pseudo/gcc/Makefile.depend26
-rw-r--r--pkgs/pseudo/gnu/Makefile3
-rw-r--r--pkgs/pseudo/gnu/Makefile.depend125
-rw-r--r--pkgs/pseudo/include/Makefile3
-rw-r--r--pkgs/pseudo/include/Makefile.depend18
-rw-r--r--pkgs/pseudo/kerberos5/Makefile3
-rw-r--r--pkgs/pseudo/kerberos5/Makefile.depend63
-rw-r--r--pkgs/pseudo/lib/Makefile3
-rw-r--r--pkgs/pseudo/lib/Makefile.depend137
-rw-r--r--pkgs/pseudo/libexec/Makefile3
-rw-r--r--pkgs/pseudo/libexec/Makefile.depend43
-rw-r--r--pkgs/pseudo/misc/Makefile3
-rw-r--r--pkgs/pseudo/misc/Makefile.depend55
-rw-r--r--pkgs/pseudo/sbin/Makefile3
-rw-r--r--pkgs/pseudo/sbin/Makefile.depend128
-rw-r--r--pkgs/pseudo/secure/Makefile3
-rw-r--r--pkgs/pseudo/secure/Makefile.depend36
-rw-r--r--pkgs/pseudo/share/Makefile3
-rw-r--r--pkgs/pseudo/share/Makefile.depend125
-rw-r--r--pkgs/pseudo/the-lot/Makefile3
-rw-r--r--pkgs/pseudo/the-lot/Makefile.depend16
-rw-r--r--pkgs/pseudo/userland/Makefile3
-rw-r--r--pkgs/pseudo/userland/Makefile.depend28
-rw-r--r--pkgs/pseudo/usr.bin/Makefile3
-rw-r--r--pkgs/pseudo/usr.bin/Makefile.depend261
-rw-r--r--pkgs/pseudo/usr.sbin/Makefile3
-rw-r--r--pkgs/pseudo/usr.sbin/Makefile.depend319
-rw-r--r--rescue/librescue/Makefile.depend20
-rw-r--r--sbin/adjkerntz/Makefile.depend19
-rw-r--r--sbin/atacontrol/Makefile.depend19
-rw-r--r--sbin/atm/atmconfig/Makefile8
-rw-r--r--sbin/atm/atmconfig/Makefile.depend24
-rw-r--r--sbin/badsect/Makefile.depend20
-rw-r--r--sbin/bsdlabel/Makefile.depend22
-rw-r--r--sbin/camcontrol/Makefile.depend22
-rw-r--r--sbin/ccdconfig/Makefile.depend20
-rw-r--r--sbin/clri/Makefile.depend19
-rw-r--r--sbin/comcontrol/Makefile.depend19
-rw-r--r--sbin/conscontrol/Makefile.depend19
-rw-r--r--sbin/ddb/Makefile.depend20
-rw-r--r--sbin/devd/Makefile.depend28
-rw-r--r--sbin/devfs/Makefile.depend19
-rw-r--r--sbin/dhclient/Makefile.depend21
-rw-r--r--sbin/dmesg/Makefile.depend20
-rw-r--r--sbin/dump/Makefile.depend20
-rw-r--r--sbin/dumpfs/Makefile.depend20
-rw-r--r--sbin/dumpon/Makefile.depend19
-rw-r--r--sbin/etherswitchcfg/Makefile.depend19
-rw-r--r--sbin/fdisk/Makefile.depend22
-rw-r--r--sbin/fdisk_pc98/Makefile.depend20
-rw-r--r--sbin/ffsinfo/Makefile.depend20
-rw-r--r--sbin/fsck/Makefile.depend19
-rw-r--r--sbin/fsck_ffs/Makefile.depend20
-rw-r--r--sbin/fsck_msdosfs/Makefile.depend19
-rw-r--r--sbin/fsdb/Makefile.depend22
-rw-r--r--sbin/fsirand/Makefile.depend20
-rw-r--r--sbin/gbde/Makefile.depend24
-rw-r--r--sbin/geom/class/cache/Makefile.depend20
-rw-r--r--sbin/geom/class/concat/Makefile.depend20
-rw-r--r--sbin/geom/class/eli/Makefile.depend22
-rw-r--r--sbin/geom/class/journal/Makefile.depend22
-rw-r--r--sbin/geom/class/label/Makefile.depend20
-rw-r--r--sbin/geom/class/mirror/Makefile.depend21
-rw-r--r--sbin/geom/class/mountver/Makefile.depend20
-rw-r--r--sbin/geom/class/multipath/Makefile.depend20
-rw-r--r--sbin/geom/class/nop/Makefile.depend20
-rw-r--r--sbin/geom/class/part/Makefile.depend21
-rw-r--r--sbin/geom/class/raid/Makefile.depend21
-rw-r--r--sbin/geom/class/raid3/Makefile.depend21
-rw-r--r--sbin/geom/class/sched/Makefile.depend20
-rw-r--r--sbin/geom/class/shsec/Makefile.depend20
-rw-r--r--sbin/geom/class/stripe/Makefile.depend20
-rw-r--r--sbin/geom/class/virstor/Makefile.depend20
-rw-r--r--sbin/geom/core/Makefile.depend23
-rw-r--r--sbin/ggate/ggatec/Makefile.depend25
-rw-r--r--sbin/ggate/ggated/Makefile.depend23
-rw-r--r--sbin/ggate/ggatel/Makefile.depend24
-rw-r--r--sbin/growfs/Makefile.depend20
-rw-r--r--sbin/gvinum/Makefile.depend25
-rw-r--r--sbin/hastctl/Makefile.depend28
-rw-r--r--sbin/hastd/Makefile.depend32
-rw-r--r--sbin/ifconfig/Makefile.depend24
-rw-r--r--sbin/ifconfig/ifieee80211.c4
-rw-r--r--sbin/init/Makefile.depend20
-rw-r--r--sbin/ipf/ipf/Makefile.depend33
-rw-r--r--sbin/ipf/ipfs/Makefile.depend22
-rw-r--r--sbin/ipf/ipfstat/Makefile.depend24
-rw-r--r--sbin/ipf/ipftest/Makefile.depend52
-rw-r--r--sbin/ipf/ipmon/Makefile.depend32
-rw-r--r--sbin/ipf/ipnat/Makefile.depend32
-rw-r--r--sbin/ipf/ippool/Makefile.depend32
-rw-r--r--sbin/ipf/ipresend/Makefile.depend23
-rw-r--r--sbin/ipf/libipf/Makefile.depend18
-rw-r--r--sbin/ipfw/Makefile.depend22
-rw-r--r--sbin/iscontrol/Makefile.depend22
-rw-r--r--sbin/kldconfig/Makefile.depend19
-rw-r--r--sbin/kldload/Makefile.depend19
-rw-r--r--sbin/kldstat/Makefile.depend18
-rw-r--r--sbin/kldunload/Makefile.depend18
-rw-r--r--sbin/ldconfig/Makefile.depend19
-rw-r--r--sbin/mca/Makefile.depend19
-rw-r--r--sbin/md5/Makefile.depend20
-rw-r--r--sbin/mdconfig/Makefile.depend25
-rw-r--r--sbin/mdmfs/Makefile.depend19
-rw-r--r--sbin/mknod/Makefile.depend19
-rw-r--r--sbin/mksnap_ffs/Makefile.depend19
-rw-r--r--sbin/mount/Makefile.depend20
-rw-r--r--sbin/mount_cd9660/Makefile.depend21
-rw-r--r--sbin/mount_ext2fs/Makefile.depend19
-rw-r--r--sbin/mount_fusefs/Makefile.depend19
-rw-r--r--sbin/mount_msdosfs/Makefile.depend21
-rw-r--r--sbin/mount_nfs/Makefile.depend22
-rw-r--r--sbin/mount_ntfs/Makefile.depend21
-rw-r--r--sbin/mount_nullfs/Makefile.depend19
-rw-r--r--sbin/mount_reiserfs/Makefile.depend19
-rw-r--r--sbin/mount_std/Makefile.depend19
-rw-r--r--sbin/mount_udf/Makefile.depend20
-rw-r--r--sbin/mount_unionfs/Makefile.depend19
-rw-r--r--sbin/natd/Makefile.depend21
-rw-r--r--sbin/newfs/Makefile.depend21
-rw-r--r--sbin/newfs_msdos/Makefile.depend19
-rw-r--r--sbin/nfsiod/Makefile.depend18
-rw-r--r--sbin/nos-tun/Makefile.depend20
-rw-r--r--sbin/nvmecontrol/Makefile.depend19
-rw-r--r--sbin/pfctl/Makefile.depend24
-rw-r--r--sbin/pflogd/Makefile.depend20
-rw-r--r--sbin/ping/Makefile.depend22
-rw-r--r--sbin/ping6/Makefile.depend23
-rw-r--r--sbin/quotacheck/Makefile.depend20
-rw-r--r--sbin/rcorder/Makefile.depend22
-rw-r--r--sbin/reboot/Makefile.depend19
-rw-r--r--sbin/recoverdisk/Makefile.depend19
-rw-r--r--sbin/resolvconf/Makefile.depend14
-rw-r--r--sbin/restore/Makefile.depend20
-rw-r--r--sbin/route/Makefile.depend22
-rw-r--r--sbin/routed/Makefile.depend22
-rw-r--r--sbin/routed/rtquery/Makefile.depend22
-rw-r--r--sbin/rtsol/Makefile.depend20
-rw-r--r--sbin/savecore/Makefile.depend20
-rw-r--r--sbin/sconfig/Makefile.depend19
-rw-r--r--sbin/setkey/Makefile.depend28
-rw-r--r--sbin/shutdown/Makefile.depend19
-rw-r--r--sbin/spppcontrol/Makefile.depend19
-rw-r--r--sbin/sunlabel/Makefile.depend20
-rw-r--r--sbin/swapon/Makefile.depend20
-rw-r--r--sbin/sysctl/Makefile.depend19
-rw-r--r--sbin/tunefs/Makefile.depend20
-rw-r--r--sbin/umount/Makefile.depend21
-rw-r--r--secure/lib/libcrypto/Makefile.depend24
-rw-r--r--secure/lib/libcrypto/engines/lib4758cca/Makefile.depend20
-rw-r--r--secure/lib/libcrypto/engines/libaep/Makefile.depend20
-rw-r--r--secure/lib/libcrypto/engines/libatalla/Makefile.depend20
-rw-r--r--secure/lib/libcrypto/engines/libchil/Makefile.depend20
-rw-r--r--secure/lib/libcrypto/engines/libcswift/Makefile.depend20
-rw-r--r--secure/lib/libcrypto/engines/libgost/Makefile.depend20
-rw-r--r--secure/lib/libcrypto/engines/libnuron/Makefile.depend20
-rw-r--r--secure/lib/libcrypto/engines/libsureware/Makefile.depend20
-rw-r--r--secure/lib/libcrypto/engines/libubsec/Makefile.depend20
-rw-r--r--secure/lib/libssh/Makefile.depend32
-rw-r--r--secure/lib/libssl/Makefile.depend21
-rw-r--r--secure/libexec/sftp-server/Makefile.depend26
-rw-r--r--secure/libexec/ssh-keysign/Makefile.depend26
-rw-r--r--secure/libexec/ssh-pkcs11-helper/Makefile.depend26
-rw-r--r--secure/usr.bin/bdes/Makefile.depend20
-rw-r--r--secure/usr.bin/openssl/Makefile.depend23
-rw-r--r--secure/usr.bin/scp/Makefile.depend26
-rw-r--r--secure/usr.bin/sftp/Makefile.depend28
-rw-r--r--secure/usr.bin/ssh-add/Makefile.depend26
-rw-r--r--secure/usr.bin/ssh-agent/Makefile.depend26
-rw-r--r--secure/usr.bin/ssh-keygen/Makefile.depend26
-rw-r--r--secure/usr.bin/ssh-keyscan/Makefile.depend26
-rw-r--r--secure/usr.bin/ssh/Makefile.depend30
-rw-r--r--secure/usr.sbin/sshd/Makefile.depend33
-rw-r--r--share/colldef/Makefile2
-rw-r--r--share/colldef/Makefile.depend14
-rw-r--r--share/dict/Makefile.depend14
-rw-r--r--share/doc/IPv6/Makefile.depend14
-rw-r--r--share/doc/bind9/Makefile.depend14
-rw-r--r--share/doc/legal/intel_ipw/Makefile.depend14
-rw-r--r--share/doc/legal/intel_iwi/Makefile.depend14
-rw-r--r--share/doc/legal/intel_iwn/Makefile.depend14
-rw-r--r--share/doc/legal/intel_wpi/Makefile.depend14
-rw-r--r--share/doc/llvm/Makefile.depend14
-rw-r--r--share/doc/llvm/clang/Makefile.depend14
-rw-r--r--share/examples/ipfilter/Makefile.depend14
-rw-r--r--share/examples/libvgl/Makefile.depend19
-rw-r--r--share/i18n/csmapper/APPLE/Makefile.depend15
-rw-r--r--share/i18n/csmapper/AST/Makefile.depend15
-rw-r--r--share/i18n/csmapper/BIG5/Makefile.depend15
-rw-r--r--share/i18n/csmapper/CNS/Makefile.depend15
-rw-r--r--share/i18n/csmapper/CP/Makefile.depend15
-rw-r--r--share/i18n/csmapper/EBCDIC/Makefile.depend15
-rw-r--r--share/i18n/csmapper/GB/Makefile.depend15
-rw-r--r--share/i18n/csmapper/GEORGIAN/Makefile.depend15
-rw-r--r--share/i18n/csmapper/ISO-8859/Makefile.depend15
-rw-r--r--share/i18n/csmapper/ISO646/Makefile.depend14
-rw-r--r--share/i18n/csmapper/JIS/Makefile.depend15
-rw-r--r--share/i18n/csmapper/KAZAKH/Makefile.depend15
-rw-r--r--share/i18n/csmapper/KOI/Makefile.depend15
-rw-r--r--share/i18n/csmapper/KS/Makefile.depend15
-rw-r--r--share/i18n/csmapper/MISC/Makefile.depend15
-rw-r--r--share/i18n/csmapper/TCVN/Makefile.depend15
-rw-r--r--share/man/man1/Makefile.depend14
-rw-r--r--share/man/man3/Makefile.depend14
-rw-r--r--share/man/man4/Makefile.depend14
-rw-r--r--share/man/man4/man4.arm/Makefile.depend14
-rw-r--r--share/man/man4/man4.i386/Makefile.depend14
-rw-r--r--share/man/man4/man4.powerpc/Makefile.depend14
-rw-r--r--share/man/man4/man4.sparc64/Makefile.depend14
-rw-r--r--share/man/man5/Makefile.depend14
-rw-r--r--share/man/man5/group.510
-rw-r--r--share/man/man6/Makefile.depend14
-rw-r--r--share/man/man7/Makefile.depend14
-rw-r--r--share/man/man8/Makefile.depend14
-rw-r--r--share/man/man9/Makefile.depend14
-rw-r--r--share/me/Makefile.depend14
-rw-r--r--share/misc/Makefile.depend14
-rw-r--r--share/misc/committers-src.dot3
-rw-r--r--share/mk/Makefile.depend14
-rw-r--r--share/mk/auto.obj.mk57
-rw-r--r--share/mk/bsd.dep.mk11
-rw-r--r--share/mk/bsd.files.mk22
-rw-r--r--share/mk/bsd.incs.mk26
-rw-r--r--share/mk/bsd.init.mk9
-rw-r--r--share/mk/bsd.lib.mk28
-rw-r--r--share/mk/bsd.nls.mk11
-rw-r--r--share/mk/bsd.obj.mk9
-rw-r--r--share/mk/bsd.own.mk18
-rw-r--r--share/mk/bsd.prog.mk47
-rw-r--r--share/mk/bsd.subdir.mk11
-rw-r--r--share/mk/dirdeps.mk414
-rw-r--r--share/mk/gendirdeps.mk301
-rw-r--r--share/mk/host-target.mk31
-rw-r--r--share/mk/install-new.mk53
-rw-r--r--share/mk/local.autodep.mk24
-rw-r--r--share/mk/local.dirdeps.mk15
-rw-r--r--share/mk/local.gendirdeps.mk10
-rw-r--r--share/mk/local.init.mk18
-rw-r--r--share/mk/local.sys.mk214
-rw-r--r--share/mk/meta.autodep.mk261
-rw-r--r--share/mk/meta.stage.mk213
-rw-r--r--share/mk/meta.subdir.mk79
-rw-r--r--share/mk/meta.sys.mk139
-rwxr-xr-xshare/mk/meta2deps.py614
-rwxr-xr-xshare/mk/meta2deps.sh306
-rw-r--r--share/mk/sys.dependfile.mk47
-rw-r--r--share/mklocale/Makefile2
-rw-r--r--share/mklocale/Makefile.depend14
-rw-r--r--share/monetdef/Makefile2
-rw-r--r--share/monetdef/Makefile.depend14
-rw-r--r--share/msgdef/Makefile2
-rw-r--r--share/msgdef/Makefile.depend14
-rw-r--r--share/numericdef/Makefile2
-rw-r--r--share/numericdef/Makefile.depend14
-rw-r--r--share/security/Makefile.depend14
-rw-r--r--share/skel/Makefile.depend14
-rw-r--r--share/snmp/mibs/Makefile.depend14
-rw-r--r--share/syscons/fonts/Makefile.depend14
-rw-r--r--share/syscons/keymaps/Makefile.depend14
-rw-r--r--share/syscons/scrnmaps/Makefile.depend18
-rw-r--r--share/tabset/Makefile.depend14
-rw-r--r--share/termcap/Makefile.depend14
-rw-r--r--share/timedef/Makefile2
-rw-r--r--share/timedef/Makefile.depend14
-rw-r--r--share/zoneinfo/Makefile.depend14
-rw-r--r--sys/boot/efi/libefi/Makefile.depend16
-rw-r--r--sys/boot/ficl/Makefile.depend20
-rw-r--r--sys/boot/i386/boot0/Makefile.depend14
-rw-r--r--sys/boot/i386/boot0sio/Makefile.depend14
-rw-r--r--sys/boot/i386/boot2/Makefile.depend14
-rw-r--r--sys/boot/i386/loader/Makefile.depend14
-rw-r--r--sys/boot/i386/zfsloader/Makefile.depend14
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_vfsops.h7
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c17
-rw-r--r--sys/cddl/dev/dtrace/dtrace_ioctl.c2
-rw-r--r--sys/conf/kmod.mk2
-rw-r--r--sys/dev/ath/if_ath.c26
-rw-r--r--sys/dev/ath/if_ath_ahb.c3
-rw-r--r--sys/dev/ath/if_ath_misc.h14
-rw-r--r--sys/dev/ath/if_ath_pci.c3
-rw-r--r--sys/dev/ath/if_ath_tx.c8
-rw-r--r--sys/dev/ath/if_ath_tx_edma.c2
-rw-r--r--sys/dev/ath/if_ath_tx_ht.c17
-rw-r--r--sys/dev/ath/if_athvar.h30
-rw-r--r--sys/dev/bxe/if_bxe.c28
-rw-r--r--sys/dev/e1000/if_em.c25
-rw-r--r--sys/dev/e1000/if_igb.c33
-rw-r--r--sys/dev/ixgbe/ixgbe.c23
-rw-r--r--sys/dev/ixgbe/ixv.c24
-rw-r--r--sys/dev/oce/oce_if.c18
-rw-r--r--sys/dev/sound/pcm/mixer.c39
-rw-r--r--sys/dev/sound/pcm/mixer.h2
-rw-r--r--sys/dev/sound/usb/uaudio.c46
-rw-r--r--sys/fs/devfs/devfs_vnops.c5
-rw-r--r--sys/kern/kern_exec.c2
-rw-r--r--sys/kern/kern_exit.c2
-rw-r--r--sys/kern/kern_intr.c2
-rw-r--r--sys/kern/kern_ktr.c6
-rw-r--r--sys/kern/kern_sig.c2
-rw-r--r--sys/kern/sys_process.c2
-rw-r--r--sys/kern/vfs_syscalls.c2
-rw-r--r--sys/net/if_var.h53
-rw-r--r--sys/net80211/ieee80211_action.c71
-rw-r--r--sys/net80211/ieee80211_ddb.c38
-rw-r--r--sys/net80211/ieee80211_hwmp.c255
-rw-r--r--sys/net80211/ieee80211_input.c4
-rw-r--r--sys/net80211/ieee80211_ioctl.h1
-rw-r--r--sys/net80211/ieee80211_mesh.c599
-rw-r--r--sys/net80211/ieee80211_mesh.h46
-rw-r--r--sys/net80211/ieee80211_node.h2
-rw-r--r--sys/net80211/ieee80211_output.c4
-rw-r--r--sys/ofed/drivers/net/mlx4/en_tx.c20
-rw-r--r--sys/sparc64/include/vmparam.h4
-rw-r--r--sys/sys/buf_ring.h48
-rw-r--r--sys/sys/proc.h1
-rw-r--r--tools/build/mk/Makefile.boot3
-rw-r--r--usr.bin/apply/Makefile.depend20
-rw-r--r--usr.bin/ar/Makefile.depend26
-rw-r--r--usr.bin/asa/Makefile.depend18
-rw-r--r--usr.bin/at/Makefile.depend19
-rw-r--r--usr.bin/atf/atf-config/Makefile.depend24
-rw-r--r--usr.bin/atf/atf-report/Makefile.depend24
-rw-r--r--usr.bin/atf/atf-run/Makefile.depend24
-rw-r--r--usr.bin/atf/atf-sh/Makefile.depend24
-rw-r--r--usr.bin/atf/atf-version/Makefile.depend26
-rw-r--r--usr.bin/atm/sscop/Makefile.depend22
-rw-r--r--usr.bin/awk/Makefile.depend40
-rw-r--r--usr.bin/banner/Makefile.depend19
-rw-r--r--usr.bin/basename/Makefile.depend19
-rw-r--r--usr.bin/bc/Makefile.depend27
-rw-r--r--usr.bin/biff/Makefile.depend19
-rw-r--r--usr.bin/bluetooth/bthost/Makefile.depend20
-rw-r--r--usr.bin/bluetooth/btsockstat/Makefile.depend21
-rw-r--r--usr.bin/bluetooth/rfcomm_sppd/Makefile.depend21
-rw-r--r--usr.bin/bmake/Makefile.depend19
-rw-r--r--usr.bin/brandelf/Makefile.depend19
-rw-r--r--usr.bin/bsdiff/bsdiff/Makefile.depend20
-rw-r--r--usr.bin/bsdiff/bspatch/Makefile.depend20
-rw-r--r--usr.bin/bzip2/Makefile.depend21
-rw-r--r--usr.bin/bzip2recover/Makefile.depend19
-rw-r--r--usr.bin/c89/Makefile.depend19
-rw-r--r--usr.bin/c99/Makefile.depend19
-rw-r--r--usr.bin/calendar/Makefile.depend20
-rw-r--r--usr.bin/cap_mkdb/Makefile.depend19
-rw-r--r--usr.bin/catman/Makefile.depend19
-rw-r--r--usr.bin/chat/Makefile.depend19
-rw-r--r--usr.bin/checknr/Makefile.depend19
-rw-r--r--usr.bin/chkey/Makefile.depend24
-rw-r--r--usr.bin/chpass/Makefile.depend22
-rw-r--r--usr.bin/cksum/Makefile.depend19
-rw-r--r--usr.bin/clang/clang-tblgen/Makefile.depend24
-rw-r--r--usr.bin/clang/clang/Makefile.depend104
-rw-r--r--usr.bin/clang/tblgen/Makefile.depend24
-rw-r--r--usr.bin/cmp/Makefile.depend19
-rw-r--r--usr.bin/col/Makefile.depend19
-rw-r--r--usr.bin/colcrt/Makefile.depend19
-rw-r--r--usr.bin/colldef/Makefile.depend26
-rw-r--r--usr.bin/colrm/Makefile.depend19
-rw-r--r--usr.bin/column/Makefile.depend19
-rw-r--r--usr.bin/comm/Makefile.depend19
-rw-r--r--usr.bin/compile_et/Makefile.depend30
-rw-r--r--usr.bin/compress/Makefile.depend19
-rw-r--r--usr.bin/cpio/Makefile.depend25
-rw-r--r--usr.bin/cpuset/Makefile.depend19
-rw-r--r--usr.bin/csplit/Makefile.depend19
-rw-r--r--usr.bin/csup/Makefile.depend31
-rw-r--r--usr.bin/ctags/Makefile.depend19
-rw-r--r--usr.bin/ctlstat/Makefile.depend19
-rw-r--r--usr.bin/cut/Makefile.depend19
-rw-r--r--usr.bin/dc/Makefile.depend21
-rw-r--r--usr.bin/dig/Makefile.depend28
-rw-r--r--usr.bin/dirname/Makefile.depend18
-rw-r--r--usr.bin/du/Makefile.depend20
-rw-r--r--usr.bin/ee/Makefile.depend21
-rw-r--r--usr.bin/elf2aout/Makefile.depend19
-rw-r--r--usr.bin/elfdump/Makefile.depend19
-rw-r--r--usr.bin/enigma/Makefile.depend20
-rw-r--r--usr.bin/env/Makefile.depend19
-rw-r--r--usr.bin/expand/Makefile.depend19
-rw-r--r--usr.bin/false/Makefile.depend18
-rw-r--r--usr.bin/fetch/Makefile.depend17
-rw-r--r--usr.bin/file/Makefile.depend21
-rw-r--r--usr.bin/file2c/Makefile.depend18
-rw-r--r--usr.bin/find/Makefile.depend21
-rw-r--r--usr.bin/finger/Makefile.depend19
-rw-r--r--usr.bin/fmt/Makefile.depend19
-rw-r--r--usr.bin/fold/Makefile.depend19
-rw-r--r--usr.bin/from/Makefile.depend19
-rw-r--r--usr.bin/fstat/Makefile.depend22
-rw-r--r--usr.bin/fsync/Makefile.depend18
-rw-r--r--usr.bin/ftp/Makefile.depend24
-rw-r--r--usr.bin/gcore/Makefile.depend20
-rw-r--r--usr.bin/gencat/Makefile.depend20
-rw-r--r--usr.bin/getconf/Makefile.depend29
-rw-r--r--usr.bin/getent/Makefile.depend21
-rw-r--r--usr.bin/getopt/Makefile.depend18
-rw-r--r--usr.bin/gprof/Makefile.depend19
-rw-r--r--usr.bin/grep/Makefile.depend23
-rw-r--r--usr.bin/gzip/Makefile.depend22
-rw-r--r--usr.bin/head/Makefile.depend19
-rw-r--r--usr.bin/hexdump/Makefile.depend19
-rw-r--r--usr.bin/host/Makefile.depend28
-rw-r--r--usr.bin/id/Makefile.depend20
-rw-r--r--usr.bin/indent/Makefile.depend19
-rw-r--r--usr.bin/ipcrm/Makefile.depend20
-rw-r--r--usr.bin/ipcs/Makefile.depend20
-rw-r--r--usr.bin/join/Makefile.depend19
-rw-r--r--usr.bin/jot/Makefile.depend19
-rw-r--r--usr.bin/kdump/Makefile12
-rw-r--r--usr.bin/kdump/Makefile.depend30
-rw-r--r--usr.bin/keylogin/Makefile.depend22
-rw-r--r--usr.bin/keylogout/Makefile.depend21
-rw-r--r--usr.bin/killall/Makefile.depend20
-rw-r--r--usr.bin/ktrace/Makefile.depend19
-rw-r--r--usr.bin/ktrdump/Makefile.depend20
-rw-r--r--usr.bin/lam/Makefile.depend19
-rw-r--r--usr.bin/last/Makefile.depend19
-rw-r--r--usr.bin/lastcomm/Makefile.depend19
-rw-r--r--usr.bin/ldd/Makefile.depend20
-rw-r--r--usr.bin/leave/Makefile.depend19
-rw-r--r--usr.bin/less/Makefile.depend21
-rw-r--r--usr.bin/lessecho/Makefile.depend19
-rw-r--r--usr.bin/lesskey/Makefile.depend19
-rw-r--r--usr.bin/lex/Makefile.depend29
-rw-r--r--usr.bin/lex/lib/Makefile.depend14
-rw-r--r--usr.bin/limits/Makefile.depend20
-rw-r--r--usr.bin/locale/Makefile.depend19
-rw-r--r--usr.bin/locate/bigram/Makefile.depend18
-rw-r--r--usr.bin/locate/code/Makefile.depend19
-rw-r--r--usr.bin/locate/locate/Makefile.depend20
-rw-r--r--usr.bin/lock/Makefile.depend20
-rw-r--r--usr.bin/lockf/Makefile.depend18
-rw-r--r--usr.bin/logger/Makefile.depend19
-rw-r--r--usr.bin/login/Makefile.depend22
-rw-r--r--usr.bin/logins/Makefile.depend19
-rw-r--r--usr.bin/logname/Makefile.depend18
-rw-r--r--usr.bin/look/Makefile.depend19
-rw-r--r--usr.bin/lorder/Makefile.depend14
-rw-r--r--usr.bin/lsvfs/Makefile.depend19
-rw-r--r--usr.bin/lzmainfo/Makefile.depend20
-rw-r--r--usr.bin/m4/Makefile.depend27
-rw-r--r--usr.bin/mail/Makefile.depend19
-rw-r--r--usr.bin/make/Makefile.depend18
-rw-r--r--usr.bin/makewhatis/Makefile.depend20
-rw-r--r--usr.bin/man/Makefile.depend14
-rw-r--r--usr.bin/mandoc/Makefile.depend20
-rw-r--r--usr.bin/mesg/Makefile.depend19
-rw-r--r--usr.bin/minigzip/Makefile.depend20
-rw-r--r--usr.bin/ministat/Makefile.depend20
-rw-r--r--usr.bin/mkcsmapper_static/Makefile.depend25
-rw-r--r--usr.bin/mkdep/Makefile.depend14
-rw-r--r--usr.bin/mkfifo/Makefile.depend19
-rw-r--r--usr.bin/mklocale/Makefile.depend26
-rw-r--r--usr.bin/mkstr/Makefile.depend19
-rw-r--r--usr.bin/mktemp/Makefile.depend19
-rw-r--r--usr.bin/mkulzma/Makefile.depend20
-rw-r--r--usr.bin/mkuzip/Makefile.depend20
-rw-r--r--usr.bin/msgs/Makefile.depend21
-rw-r--r--usr.bin/mt/Makefile.depend19
-rw-r--r--usr.bin/nc/Makefile.depend21
-rw-r--r--usr.bin/ncal/Makefile.depend22
-rw-r--r--usr.bin/ncplist/Makefile.depend20
-rw-r--r--usr.bin/ncplogin/Makefile.depend20
-rw-r--r--usr.bin/netstat/Makefile.depend25
-rw-r--r--usr.bin/newgrp/Makefile.depend21
-rw-r--r--usr.bin/newgrp/newgrp.113
-rw-r--r--usr.bin/newgrp/newgrp.c3
-rw-r--r--usr.bin/newkey/Makefile.depend24
-rw-r--r--usr.bin/nfsstat/Makefile.depend20
-rw-r--r--usr.bin/nice/Makefile.depend19
-rw-r--r--usr.bin/nl/Makefile.depend19
-rw-r--r--usr.bin/nohup/Makefile.depend19
-rw-r--r--usr.bin/nslookup/Makefile.depend28
-rw-r--r--usr.bin/nsupdate/Makefile.depend28
-rw-r--r--usr.bin/opieinfo/Makefile.depend21
-rw-r--r--usr.bin/opiekey/Makefile.depend21
-rw-r--r--usr.bin/opiepasswd/Makefile.depend21
-rw-r--r--usr.bin/pagesize/Makefile.depend14
-rw-r--r--usr.bin/pamtest/Makefile.depend20
-rw-r--r--usr.bin/passwd/Makefile.depend19
-rw-r--r--usr.bin/paste/Makefile.depend19
-rw-r--r--usr.bin/pathchk/Makefile.depend19
-rw-r--r--usr.bin/perror/Makefile.depend19
-rw-r--r--usr.bin/pr/Makefile.depend19
-rw-r--r--usr.bin/printenv/Makefile.depend19
-rw-r--r--usr.bin/printf/Makefile.depend19
-rw-r--r--usr.bin/procstat/Makefile.depend23
-rw-r--r--usr.bin/quota/Makefile.depend23
-rw-r--r--usr.bin/rctl/Makefile.depend20
-rw-r--r--usr.bin/renice/Makefile.depend19
-rw-r--r--usr.bin/rev/Makefile.depend19
-rw-r--r--usr.bin/revoke/Makefile.depend18
-rw-r--r--usr.bin/rlogin/Makefile.depend19
-rw-r--r--usr.bin/rpcgen/Makefile.depend19
-rw-r--r--usr.bin/rpcinfo/Makefile.depend21
-rw-r--r--usr.bin/rs/Makefile.depend19
-rw-r--r--usr.bin/rsh/Makefile.depend20
-rw-r--r--usr.bin/rup/Makefile.depend23
-rw-r--r--usr.bin/ruptime/Makefile.depend20
-rw-r--r--usr.bin/rusers/Makefile.depend23
-rw-r--r--usr.bin/rwall/Makefile.depend21
-rw-r--r--usr.bin/rwho/Makefile.depend20
-rw-r--r--usr.bin/script/Makefile.depend20
-rw-r--r--usr.bin/sed/Makefile.depend19
-rw-r--r--usr.bin/seq/Makefile.depend20
-rw-r--r--usr.bin/setchannel/Makefile.depend19
-rw-r--r--usr.bin/shar/Makefile.depend14
-rw-r--r--usr.bin/showmount/Makefile.depend21
-rw-r--r--usr.bin/smbutil/Makefile.depend21
-rw-r--r--usr.bin/sockstat/Makefile.depend20
-rw-r--r--usr.bin/sort/Makefile.depend21
-rw-r--r--usr.bin/split/Makefile.depend19
-rw-r--r--usr.bin/ssh-copy-id/Makefile.depend14
-rw-r--r--usr.bin/stat/Makefile.depend19
-rw-r--r--usr.bin/stdbuf/Makefile.depend18
-rw-r--r--usr.bin/su/Makefile.depend22
-rw-r--r--usr.bin/systat/Makefile.depend24
-rw-r--r--usr.bin/tabs/Makefile.depend21
-rw-r--r--usr.bin/tail/Makefile.depend19
-rw-r--r--usr.bin/talk/Makefile.depend23
-rw-r--r--usr.bin/tar/Makefile.depend25
-rw-r--r--usr.bin/tcopy/Makefile.depend19
-rw-r--r--usr.bin/tee/Makefile.depend19
-rw-r--r--usr.bin/telnet/Makefile.depend33
-rw-r--r--usr.bin/tftp/Makefile.depend22
-rw-r--r--usr.bin/time/Makefile.depend19
-rw-r--r--usr.bin/tip/tip/Makefile.depend19
-rw-r--r--usr.bin/top/Makefile.depend30
-rw-r--r--usr.bin/touch/Makefile.depend19
-rw-r--r--usr.bin/tput/Makefile.depend21
-rw-r--r--usr.bin/tr/Makefile.depend19
-rw-r--r--usr.bin/true/Makefile.depend17
-rw-r--r--usr.bin/truncate/Makefile.depend20
-rw-r--r--usr.bin/truss/Makefile9
-rw-r--r--usr.bin/truss/Makefile.depend.amd6428
-rw-r--r--usr.bin/tset/Makefile.depend21
-rw-r--r--usr.bin/tsort/Makefile.depend19
-rw-r--r--usr.bin/tty/Makefile.depend18
-rw-r--r--usr.bin/ul/Makefile.depend21
-rw-r--r--usr.bin/uname/Makefile.depend18
-rw-r--r--usr.bin/unexpand/Makefile.depend19
-rw-r--r--usr.bin/unifdef/Makefile.depend19
-rw-r--r--usr.bin/uniq/Makefile.depend19
-rw-r--r--usr.bin/units/Makefile.depend19
-rw-r--r--usr.bin/unvis/Makefile.depend18
-rw-r--r--usr.bin/unzip/Makefile.depend21
-rw-r--r--usr.bin/usbhidaction/Makefile.depend20
-rw-r--r--usr.bin/usbhidctl/Makefile.depend20
-rw-r--r--usr.bin/users/Makefile.depend19
-rw-r--r--usr.bin/uudecode/Makefile.depend20
-rw-r--r--usr.bin/uuencode/Makefile.depend20
-rw-r--r--usr.bin/vacation/Makefile.depend25
-rw-r--r--usr.bin/vgrind/Makefile.depend19
-rw-r--r--usr.bin/vgrind/RETEST/Makefile.depend19
-rw-r--r--usr.bin/vi/Makefile.depend21
-rw-r--r--usr.bin/vis/Makefile.depend19
-rw-r--r--usr.bin/vmstat/Makefile.depend23
-rw-r--r--usr.bin/w/Makefile.depend22
-rw-r--r--usr.bin/wall/Makefile.depend19
-rw-r--r--usr.bin/wc/Makefile.depend19
-rw-r--r--usr.bin/what/Makefile.depend18
-rw-r--r--usr.bin/whereis/Makefile.depend19
-rw-r--r--usr.bin/which/Makefile.depend19
-rw-r--r--usr.bin/who/Makefile.depend19
-rw-r--r--usr.bin/whois/Makefile.depend20
-rw-r--r--usr.bin/write/Makefile.depend19
-rw-r--r--usr.bin/xargs/Makefile.depend19
-rw-r--r--usr.bin/xinstall/Makefile.depend19
-rw-r--r--usr.bin/xlint/lint1/Makefile.depend30
-rw-r--r--usr.bin/xlint/lint2/Makefile.depend19
-rw-r--r--usr.bin/xlint/llib/Makefile.depend14
-rw-r--r--usr.bin/xlint/xlint/Makefile.depend19
-rw-r--r--usr.bin/xstr/Makefile.depend19
-rw-r--r--usr.bin/xz/Makefile.depend20
-rw-r--r--usr.bin/xzdec/Makefile.depend20
-rw-r--r--usr.bin/yacc/Makefile.depend19
-rw-r--r--usr.bin/yes/Makefile.depend18
-rw-r--r--usr.bin/ypcat/Makefile.depend21
-rw-r--r--usr.bin/ypmatch/Makefile.depend21
-rw-r--r--usr.bin/ypwhich/Makefile.depend22
-rw-r--r--usr.sbin/IPXrouted/Makefile.depend20
-rw-r--r--usr.sbin/ac/Makefile.depend19
-rw-r--r--usr.sbin/accton/Makefile.depend19
-rw-r--r--usr.sbin/acpi/acpiconf/Makefile.depend19
-rw-r--r--usr.sbin/acpi/acpidb/Makefile.depend20
-rw-r--r--usr.sbin/acpi/acpidump/Makefile.depend19
-rw-r--r--usr.sbin/acpi/iasl/Makefile.depend87
-rw-r--r--usr.sbin/adduser/Makefile.depend14
-rw-r--r--usr.sbin/amd/amd/Makefile.depend33
-rw-r--r--usr.sbin/amd/amq/Makefile.depend25
-rw-r--r--usr.sbin/amd/fixmount/Makefile.depend26
-rw-r--r--usr.sbin/amd/fsinfo/Makefile.depend33
-rw-r--r--usr.sbin/amd/hlfsd/Makefile.depend25
-rw-r--r--usr.sbin/amd/include/Makefile.depend14
-rw-r--r--usr.sbin/amd/libamu/Makefile.depend25
-rw-r--r--usr.sbin/amd/mk-amd-map/Makefile.depend25
-rw-r--r--usr.sbin/amd/pawd/Makefile.depend25
-rw-r--r--usr.sbin/amd/scripts/Makefile.depend14
-rw-r--r--usr.sbin/amd/wire-test/Makefile.depend25
-rw-r--r--usr.sbin/ancontrol/Makefile.depend21
-rw-r--r--usr.sbin/apm/Makefile.depend19
-rw-r--r--usr.sbin/apmd/Makefile.depend25
-rw-r--r--usr.sbin/arp/Makefile.depend20
-rw-r--r--usr.sbin/arpaname/Makefile.depend28
-rw-r--r--usr.sbin/asf/Makefile.depend20
-rw-r--r--usr.sbin/audit/Makefile.depend20
-rw-r--r--usr.sbin/auditd/Makefile.depend21
-rw-r--r--usr.sbin/auditreduce/Makefile.depend20
-rw-r--r--usr.sbin/authpf/Makefile.depend23
-rw-r--r--usr.sbin/bluetooth/ath3kfw/Makefile.depend20
-rw-r--r--usr.sbin/bluetooth/bcmfw/Makefile.depend20
-rw-r--r--usr.sbin/bluetooth/bt3cfw/Makefile.depend20
-rw-r--r--usr.sbin/bluetooth/bthidcontrol/Makefile.depend28
-rw-r--r--usr.sbin/bluetooth/bthidd/Makefile.depend27
-rw-r--r--usr.sbin/bluetooth/btpand/Makefile.depend22
-rw-r--r--usr.sbin/bluetooth/hccontrol/Makefile.depend20
-rw-r--r--usr.sbin/bluetooth/hcsecd/Makefile.depend26
-rw-r--r--usr.sbin/bluetooth/hcseriald/Makefile.depend20
-rw-r--r--usr.sbin/bluetooth/l2control/Makefile.depend20
-rw-r--r--usr.sbin/bluetooth/l2ping/Makefile.depend21
-rw-r--r--usr.sbin/bluetooth/rfcomm_pppd/Makefile.depend21
-rw-r--r--usr.sbin/bluetooth/sdpcontrol/Makefile.depend21
-rw-r--r--usr.sbin/bluetooth/sdpd/Makefile.depend22
-rw-r--r--usr.sbin/boot0cfg/Makefile.depend22
-rw-r--r--usr.sbin/boot98cfg/Makefile.depend20
-rw-r--r--usr.sbin/bootparamd/bootparamd/Makefile.depend34
-rw-r--r--usr.sbin/bootparamd/callbootd/Makefile.depend31
-rw-r--r--usr.sbin/bsdconfig/Makefile2
-rw-r--r--usr.sbin/bsdinstall/Makefile.depend14
-rw-r--r--usr.sbin/bsdinstall/distextract/Makefile.depend23
-rw-r--r--usr.sbin/bsdinstall/distfetch/Makefile.depend23
-rw-r--r--usr.sbin/bsdinstall/partedit/Makefile.depend24
-rw-r--r--usr.sbin/bsnmpd/bsnmpd/Makefile.depend51
-rw-r--r--usr.sbin/bsnmpd/gensnmptree/Makefile.depend19
-rw-r--r--usr.sbin/bsnmpd/modules/Makefile.depend14
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_atm/Makefile.depend35
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_bridge/Makefile.depend42
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_hostres/Makefile.depend83
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_mibII/Makefile.depend71
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_netgraph/Makefile.depend30
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_pf/Makefile.depend29
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_target/Makefile.depend28
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_usm/Makefile.depend28
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_vacm/Makefile.depend28
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_wlan/Makefile.depend32
-rw-r--r--usr.sbin/bsnmpd/tools/bsnmptools/Makefile.depend22
-rw-r--r--usr.sbin/bsnmpd/tools/libbsnmptools/Makefile.depend21
-rw-r--r--usr.sbin/btxld/Makefile.depend19
-rw-r--r--usr.sbin/burncd/Makefile.depend20
-rw-r--r--usr.sbin/cdcontrol/Makefile.depend22
-rw-r--r--usr.sbin/chkgrp/Makefile.depend19
-rw-r--r--usr.sbin/chown/Makefile.depend19
-rw-r--r--usr.sbin/chroot/Makefile.depend19
-rw-r--r--usr.sbin/ckdist/Makefile.depend20
-rw-r--r--usr.sbin/clear_locks/Makefile.depend22
-rw-r--r--usr.sbin/config/Makefile.depend36
-rw-r--r--usr.sbin/cpucontrol/Makefile.depend19
-rw-r--r--usr.sbin/crashinfo/Makefile.depend14
-rw-r--r--usr.sbin/cron/cron/Makefile.depend22
-rw-r--r--usr.sbin/cron/crontab/Makefile.depend22
-rw-r--r--usr.sbin/cron/lib/Makefile.depend17
-rw-r--r--usr.sbin/crunch/crunchgen/Makefile.depend21
-rw-r--r--usr.sbin/crunch/crunchide/Makefile.depend19
-rw-r--r--usr.sbin/ctladm/Makefile.depend23
-rw-r--r--usr.sbin/ctm/ctm/Makefile.depend20
-rw-r--r--usr.sbin/ctm/ctm_dequeue/Makefile.depend19
-rw-r--r--usr.sbin/ctm/ctm_rmail/Makefile.depend19
-rw-r--r--usr.sbin/ctm/ctm_smail/Makefile.depend19
-rw-r--r--usr.sbin/daemon/Makefile.depend19
-rw-r--r--usr.sbin/dconschat/Makefile.depend21
-rw-r--r--usr.sbin/ddns-confgen/Makefile.depend28
-rw-r--r--usr.sbin/devinfo/Makefile.depend19
-rw-r--r--usr.sbin/digictl/Makefile.depend19
-rw-r--r--usr.sbin/diskinfo/Makefile.depend20
-rw-r--r--usr.sbin/dnssec-dsfromkey/Makefile.depend28
-rw-r--r--usr.sbin/dnssec-keyfromlabel/Makefile.depend28
-rw-r--r--usr.sbin/dnssec-keygen/Makefile.depend28
-rw-r--r--usr.sbin/dnssec-revoke/Makefile.depend28
-rw-r--r--usr.sbin/dnssec-settime/Makefile.depend28
-rw-r--r--usr.sbin/dnssec-signzone/Makefile.depend28
-rw-r--r--usr.sbin/dumpcis/Makefile.depend19
-rw-r--r--usr.sbin/editmap/Makefile.depend25
-rw-r--r--usr.sbin/edquota/Makefile.depend20
-rw-r--r--usr.sbin/eeprom/Makefile.depend19
-rw-r--r--usr.sbin/etcupdate/Makefile.depend14
-rw-r--r--usr.sbin/extattr/Makefile.depend20
-rw-r--r--usr.sbin/extattrctl/Makefile.depend20
-rw-r--r--usr.sbin/faithd/Makefile.depend21
-rw-r--r--usr.sbin/fdcontrol/Makefile.depend19
-rw-r--r--usr.sbin/fdformat/Makefile.depend19
-rw-r--r--usr.sbin/fdread/Makefile.depend19
-rw-r--r--usr.sbin/fdwrite/Makefile.depend19
-rw-r--r--usr.sbin/fifolog/fifolog_create/Makefile.depend20
-rw-r--r--usr.sbin/fifolog/fifolog_reader/Makefile.depend22
-rw-r--r--usr.sbin/fifolog/fifolog_writer/Makefile.depend22
-rw-r--r--usr.sbin/fifolog/lib/Makefile.depend19
-rw-r--r--usr.sbin/flowctl/Makefile.depend21
-rw-r--r--usr.sbin/freebsd-update/Makefile.depend14
-rw-r--r--usr.sbin/ftp-proxy/ftp-proxy/Makefile.depend21
-rw-r--r--usr.sbin/ftp-proxy/libevent/Makefile.depend16
-rw-r--r--usr.sbin/fwcontrol/Makefile.depend20
-rw-r--r--usr.sbin/genrandom/Makefile.depend27
-rw-r--r--usr.sbin/getfmac/Makefile.depend19
-rw-r--r--usr.sbin/getpmac/Makefile.depend19
-rw-r--r--usr.sbin/gpioctl/Makefile.depend19
-rw-r--r--usr.sbin/gssd/Makefile.depend34
-rw-r--r--usr.sbin/gstat/Makefile.depend27
-rw-r--r--usr.sbin/i2c/Makefile.depend19
-rw-r--r--usr.sbin/ifmcstat/Makefile.depend21
-rw-r--r--usr.sbin/inetd/Makefile.depend24
-rw-r--r--usr.sbin/iostat/Makefile.depend22
-rw-r--r--usr.sbin/ip6addrctl/Makefile.depend19
-rw-r--r--usr.sbin/ipfwpcap/Makefile.depend20
-rw-r--r--usr.sbin/isc-hmac-fixup/Makefile.depend27
-rw-r--r--usr.sbin/isfctl/Makefile.depend19
-rw-r--r--usr.sbin/jail/Makefile.depend29
-rw-r--r--usr.sbin/jexec/Makefile.depend22
-rw-r--r--usr.sbin/jls/Makefile.depend21
-rw-r--r--usr.sbin/kbdcontrol/Makefile.depend21
-rw-r--r--usr.sbin/kbdmap/Makefile.depend19
-rw-r--r--usr.sbin/keyserv/Makefile.depend30
-rw-r--r--usr.sbin/kgmon/Makefile.depend20
-rw-r--r--usr.sbin/kgzip/Makefile.depend19
-rw-r--r--usr.sbin/kldxref/Makefile.depend19
-rw-r--r--usr.sbin/lastlogin/Makefile.depend19
-rw-r--r--usr.sbin/lmcconfig/Makefile.depend20
-rw-r--r--usr.sbin/lpr/chkprintcap/Makefile.depend20
-rw-r--r--usr.sbin/lpr/common_source/Makefile.depend17
-rw-r--r--usr.sbin/lpr/filters.ru/Makefile.depend14
-rw-r--r--usr.sbin/lpr/filters.ru/koi2855/Makefile.depend18
-rw-r--r--usr.sbin/lpr/filters.ru/koi2alt/Makefile.depend18
-rw-r--r--usr.sbin/lpr/filters/Makefile.depend19
-rw-r--r--usr.sbin/lpr/lp/Makefile.depend14
-rw-r--r--usr.sbin/lpr/lpc/Makefile.depend22
-rw-r--r--usr.sbin/lpr/lpd/Makefile.depend21
-rw-r--r--usr.sbin/lpr/lpq/Makefile.depend20
-rw-r--r--usr.sbin/lpr/lpr/Makefile.depend20
-rw-r--r--usr.sbin/lpr/lprm/Makefile.depend20
-rw-r--r--usr.sbin/lpr/lptest/Makefile.depend18
-rw-r--r--usr.sbin/lpr/pac/Makefile.depend20
-rw-r--r--usr.sbin/lptcontrol/Makefile.depend18
-rw-r--r--usr.sbin/mailstats/Makefile.depend24
-rw-r--r--usr.sbin/mailwrapper/Makefile.depend20
-rw-r--r--usr.sbin/makefs/Makefile.depend20
-rw-r--r--usr.sbin/makemap/Makefile.depend25
-rw-r--r--usr.sbin/manctl/Makefile.depend14
-rw-r--r--usr.sbin/memcontrol/Makefile.depend19
-rw-r--r--usr.sbin/mergemaster/Makefile.depend14
-rw-r--r--usr.sbin/mfiutil/Makefile.depend20
-rw-r--r--usr.sbin/mixer/Makefile.depend19
-rw-r--r--usr.sbin/mld6query/Makefile.depend20
-rw-r--r--usr.sbin/mlxcontrol/Makefile.depend19
-rw-r--r--usr.sbin/mount_nwfs/Makefile.depend20
-rw-r--r--usr.sbin/mount_portalfs/Makefile.depend20
-rw-r--r--usr.sbin/mount_smbfs/Makefile.depend20
-rw-r--r--usr.sbin/mountd/Makefile.depend23
-rw-r--r--usr.sbin/moused/Makefile.depend21
-rw-r--r--usr.sbin/mptable/Makefile.depend19
-rw-r--r--usr.sbin/mptutil/Makefile.depend22
-rw-r--r--usr.sbin/mtest/Makefile.depend20
-rw-r--r--usr.sbin/mtree/Makefile.depend20
-rw-r--r--usr.sbin/named-checkconf/Makefile.depend28
-rw-r--r--usr.sbin/named-checkzone/Makefile.depend28
-rw-r--r--usr.sbin/named-journalprint/Makefile.depend27
-rw-r--r--usr.sbin/named/Makefile.depend28
-rw-r--r--usr.sbin/ndiscvt/Makefile.depend25
-rw-r--r--usr.sbin/ndp/Makefile.depend20
-rw-r--r--usr.sbin/newsyslog/Makefile.depend19
-rw-r--r--usr.sbin/nfscbd/Makefile.depend20
-rw-r--r--usr.sbin/nfsd/Makefile.depend22
-rw-r--r--usr.sbin/nfsdumpstate/Makefile.depend20
-rw-r--r--usr.sbin/nfsrevoke/Makefile.depend19
-rw-r--r--usr.sbin/nfsuserd/Makefile.depend20
-rw-r--r--usr.sbin/ngctl/Makefile.depend23
-rw-r--r--usr.sbin/nghook/Makefile.depend20
-rw-r--r--usr.sbin/nologin/Makefile.depend17
-rw-r--r--usr.sbin/nscd/Makefile.depend22
-rw-r--r--usr.sbin/nsec3hash/Makefile.depend28
-rw-r--r--usr.sbin/ntp/doc/Makefile.depend14
-rw-r--r--usr.sbin/ntp/libntp/Makefile.depend20
-rw-r--r--usr.sbin/ntp/libopts/Makefile.depend16
-rw-r--r--usr.sbin/ntp/libparse/Makefile.depend18
-rw-r--r--usr.sbin/ntp/ntp-keygen/Makefile.depend23
-rw-r--r--usr.sbin/ntp/ntpd/Makefile.depend29
-rw-r--r--usr.sbin/ntp/ntpdate/Makefile.depend27
-rw-r--r--usr.sbin/ntp/ntpdc/Makefile.depend30
-rw-r--r--usr.sbin/ntp/ntpq/Makefile.depend30
-rw-r--r--usr.sbin/ntp/ntptime/Makefile.depend20
-rw-r--r--usr.sbin/ntp/sntp/Makefile.depend22
-rw-r--r--usr.sbin/ofwdump/Makefile.depend19
-rw-r--r--usr.sbin/pc-sysinstall/backend-partmanager/Makefile.depend14
-rw-r--r--usr.sbin/pc-sysinstall/backend-query/Makefile.depend14
-rw-r--r--usr.sbin/pc-sysinstall/backend/Makefile.depend14
-rw-r--r--usr.sbin/pc-sysinstall/conf/Makefile.depend14
-rw-r--r--usr.sbin/pc-sysinstall/pc-sysinstall/Makefile.depend14
-rw-r--r--usr.sbin/pciconf/Makefile.depend19
-rw-r--r--usr.sbin/periodic/Makefile.depend14
-rw-r--r--usr.sbin/pkg/Makefile.depend22
-rw-r--r--usr.sbin/pkg_install/add/Makefile.depend25
-rw-r--r--usr.sbin/pkg_install/create/Makefile.depend22
-rw-r--r--usr.sbin/pkg_install/delete/Makefile.depend22
-rw-r--r--usr.sbin/pkg_install/info/Makefile.depend25
-rw-r--r--usr.sbin/pkg_install/lib/Makefile.depend19
-rw-r--r--usr.sbin/pkg_install/updating/Makefile.depend25
-rw-r--r--usr.sbin/pkg_install/version/Makefile.depend25
-rw-r--r--usr.sbin/pmcannotate/Makefile.depend19
-rw-r--r--usr.sbin/pmccontrol/Makefile.depend20
-rw-r--r--usr.sbin/pmcstat/Makefile.depend25
-rw-r--r--usr.sbin/pnpinfo/Makefile.depend19
-rw-r--r--usr.sbin/portsnap/make_index/Makefile.depend19
-rw-r--r--usr.sbin/portsnap/phttpget/Makefile.depend19
-rw-r--r--usr.sbin/portsnap/portsnap/Makefile.depend14
-rw-r--r--usr.sbin/powerd/Makefile.depend20
-rw-r--r--usr.sbin/ppp/Makefile.depend29
-rw-r--r--usr.sbin/pppctl/Makefile.depend23
-rw-r--r--usr.sbin/praliases/Makefile.depend25
-rw-r--r--usr.sbin/praudit/Makefile.depend20
-rw-r--r--usr.sbin/procctl/Makefile.depend19
-rw-r--r--usr.sbin/pstat/Makefile.depend21
-rw-r--r--usr.sbin/pw/Makefile.depend21
-rw-r--r--usr.sbin/pwd_mkdb/Makefile.depend20
-rw-r--r--usr.sbin/quot/Makefile.depend19
-rw-r--r--usr.sbin/quotaon/Makefile.depend20
-rw-r--r--usr.sbin/rarpd/Makefile.depend21
-rw-r--r--usr.sbin/repquota/Makefile.depend20
-rw-r--r--usr.sbin/rip6query/Makefile.depend20
-rw-r--r--usr.sbin/rmt/Makefile.depend19
-rw-r--r--usr.sbin/rndc-confgen/Makefile.depend28
-rw-r--r--usr.sbin/rndc/Makefile.depend28
-rw-r--r--usr.sbin/route6d/Makefile.depend20
-rw-r--r--usr.sbin/rpc.lockd/Makefile.depend26
-rw-r--r--usr.sbin/rpc.statd/Makefile.depend32
-rw-r--r--usr.sbin/rpc.umntall/Makefile.depend21
-rw-r--r--usr.sbin/rpc.yppasswdd/Makefile.depend49
-rw-r--r--usr.sbin/rpc.ypupdated/Makefile.depend30
-rw-r--r--usr.sbin/rpc.ypxfrd/Makefile.depend31
-rw-r--r--usr.sbin/rpcbind/Makefile.depend24
-rw-r--r--usr.sbin/rrenumd/Makefile.depend28
-rw-r--r--usr.sbin/rtadvctl/Makefile.depend20
-rw-r--r--usr.sbin/rtadvd/Makefile.depend21
-rw-r--r--usr.sbin/rtprio/Makefile.depend19
-rw-r--r--usr.sbin/rtsold/Makefile.depend21
-rw-r--r--usr.sbin/rwhod/Makefile.depend21
-rw-r--r--usr.sbin/sa/Makefile.depend19
-rw-r--r--usr.sbin/sendmail/Makefile.depend107
-rw-r--r--usr.sbin/service/Makefile.depend14
-rw-r--r--usr.sbin/services_mkdb/Makefile.depend20
-rw-r--r--usr.sbin/setfib/Makefile.depend19
-rw-r--r--usr.sbin/setfmac/Makefile.depend19
-rw-r--r--usr.sbin/setpmac/Makefile.depend19
-rw-r--r--usr.sbin/sicontrol/Makefile.depend19
-rw-r--r--usr.sbin/smbmsg/Makefile.depend19
-rw-r--r--usr.sbin/snapinfo/Makefile.depend20
-rw-r--r--usr.sbin/spkrtest/Makefile.depend14
-rw-r--r--usr.sbin/spray/Makefile.depend22
-rw-r--r--usr.sbin/syslogd/Makefile.depend21
-rw-r--r--usr.sbin/sysrc/Makefile2
-rw-r--r--usr.sbin/tcpdchk/Makefile.depend21
-rw-r--r--usr.sbin/tcpdmatch/Makefile.depend21
-rw-r--r--usr.sbin/tcpdrop/Makefile.depend19
-rw-r--r--usr.sbin/tcpdump/tcpdump/Makefile.depend25
-rw-r--r--usr.sbin/timed/timed/Makefile.depend23
-rw-r--r--usr.sbin/timed/timedc/Makefile.depend21
-rw-r--r--usr.sbin/traceroute/Makefile.depend23
-rw-r--r--usr.sbin/traceroute6/Makefile.depend21
-rw-r--r--usr.sbin/trpt/Makefile.depend20
-rw-r--r--usr.sbin/tzsetup/Makefile.depend22
-rw-r--r--usr.sbin/uathload/Makefile.depend19
-rw-r--r--usr.sbin/ugidfw/Makefile.depend20
-rw-r--r--usr.sbin/uhsoctl/Makefile.depend21
-rw-r--r--usr.sbin/usbconfig/Makefile.depend20
-rw-r--r--usr.sbin/usbdump/Makefile.depend19
-rw-r--r--usr.sbin/utx/Makefile.depend19
-rw-r--r--usr.sbin/vidcontrol/Makefile.depend19
-rw-r--r--usr.sbin/vipw/Makefile.depend20
-rw-r--r--usr.sbin/wake/Makefile.depend19
-rw-r--r--usr.sbin/watch/Makefile.depend21
-rw-r--r--usr.sbin/watchdogd/Makefile.depend21
-rw-r--r--usr.sbin/wlandebug/Makefile.depend19
-rw-r--r--usr.sbin/wlconfig/Makefile.depend19
-rw-r--r--usr.sbin/wpa/hostapd/Makefile.depend23
-rw-r--r--usr.sbin/wpa/hostapd_cli/Makefile.depend20
-rw-r--r--usr.sbin/wpa/ndis_events/Makefile.depend20
-rw-r--r--usr.sbin/wpa/wpa_cli/Makefile.depend23
-rw-r--r--usr.sbin/wpa/wpa_passphrase/Makefile.depend20
-rw-r--r--usr.sbin/wpa/wpa_supplicant/Makefile.depend23
-rw-r--r--usr.sbin/yp_mkdb/Makefile.depend21
-rw-r--r--usr.sbin/ypbind/Makefile.depend22
-rw-r--r--usr.sbin/yppoll/Makefile.depend21
-rw-r--r--usr.sbin/yppush/Makefile.depend29
-rw-r--r--usr.sbin/ypserv/Makefile.depend35
-rw-r--r--usr.sbin/ypset/Makefile.depend22
-rw-r--r--usr.sbin/zic/zdump/Makefile.depend19
-rw-r--r--usr.sbin/zic/zic/Makefile.depend19
-rw-r--r--usr.sbin/zzz/Makefile.depend14
1451 files changed, 48034 insertions, 736 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 771f852c94db..7bb0f54c54b6 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -91,6 +91,8 @@ SUBDIR+=sys usr.bin usr.sbin
.if ${MK_OFED} != "no"
SUBDIR+=contrib/ofed
.endif
+SUBDIR+=external/bsd
+
#
# We must do etc/ last for install/distribute to work.
#
@@ -251,6 +253,7 @@ BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \
DESTDIR= \
BOOTSTRAPPING=${OSRELDATE} \
SSP_CFLAGS= \
+ -DWITHOUT_META_MODE \
-DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN \
-DNO_PIC -DNO_PROFILE -DNO_SHARED \
-DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF -DEARLY_BUILD
@@ -262,12 +265,14 @@ TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \
DESTDIR= \
BOOTSTRAPPING=${OSRELDATE} \
SSP_CFLAGS= \
+ -DWITHOUT_META_MODE \
-DNO_LINT \
-DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF -DEARLY_BUILD
# cross-tools stage
XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE} \
TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
+ -DWITHOUT_META_MODE \
-DWITHOUT_GDB
# world stage
@@ -1815,3 +1820,5 @@ _xi-links:
xdev xdev-buil xdev-install:
@echo "*** Error: Both XDEV and XDEV_ARCH must be defined for \"${.TARGET}\" target"
.endif
+
+.MAKE.MODE= normal
diff --git a/bin/cat/Makefile.depend b/bin/cat/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/cat/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/chflags/Makefile.depend b/bin/chflags/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/chflags/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/chio/Makefile.depend b/bin/chio/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/chio/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/chmod/Makefile.depend b/bin/chmod/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/chmod/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/cp/Makefile.depend b/bin/cp/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/cp/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/csh/Makefile.depend b/bin/csh/Makefile.depend
new file mode 100644
index 000000000000..ee77884a02ab
--- /dev/null
+++ b/bin/csh/Makefile.depend
@@ -0,0 +1,348 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/arpa \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libcrypt \
+ lib/ncurses/ncurses \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+ed.chared.o: ed.defns.h
+ed.chared.o: iconv.h
+ed.chared.o: sh.err.h
+ed.chared.o: tc.const.h
+ed.chared.po: ed.defns.h
+ed.chared.po: iconv.h
+ed.chared.po: sh.err.h
+ed.chared.po: tc.const.h
+ed.defns.o: iconv.h
+ed.defns.o: sh.err.h
+ed.defns.o: tc.const.h
+ed.defns.po: iconv.h
+ed.defns.po: sh.err.h
+ed.defns.po: tc.const.h
+ed.init.o: ed.defns.h
+ed.init.o: iconv.h
+ed.init.o: sh.err.h
+ed.init.o: tc.const.h
+ed.init.po: ed.defns.h
+ed.init.po: iconv.h
+ed.init.po: sh.err.h
+ed.init.po: tc.const.h
+ed.inputl.o: ed.defns.h
+ed.inputl.o: iconv.h
+ed.inputl.o: sh.err.h
+ed.inputl.o: tc.const.h
+ed.inputl.po: ed.defns.h
+ed.inputl.po: iconv.h
+ed.inputl.po: sh.err.h
+ed.inputl.po: tc.const.h
+ed.refresh.o: iconv.h
+ed.refresh.o: sh.err.h
+ed.refresh.o: tc.const.h
+ed.refresh.po: iconv.h
+ed.refresh.po: sh.err.h
+ed.refresh.po: tc.const.h
+ed.screen.o: ed.defns.h
+ed.screen.o: iconv.h
+ed.screen.o: sh.err.h
+ed.screen.o: tc.const.h
+ed.screen.po: ed.defns.h
+ed.screen.po: iconv.h
+ed.screen.po: sh.err.h
+ed.screen.po: tc.const.h
+ed.term.o: iconv.h
+ed.term.o: sh.err.h
+ed.term.o: tc.const.h
+ed.term.po: iconv.h
+ed.term.po: sh.err.h
+ed.term.po: tc.const.h
+ed.xmap.o: ed.defns.h
+ed.xmap.o: iconv.h
+ed.xmap.o: sh.err.h
+ed.xmap.o: tc.const.h
+ed.xmap.po: ed.defns.h
+ed.xmap.po: iconv.h
+ed.xmap.po: sh.err.h
+ed.xmap.po: tc.const.h
+glob.o: iconv.h
+glob.o: sh.err.h
+glob.o: tc.const.h
+glob.po: iconv.h
+glob.po: sh.err.h
+glob.po: tc.const.h
+iconv_stub.o: iconv.h
+iconv_stub.po: iconv.h
+mi.termios.o: iconv.h
+mi.termios.o: sh.err.h
+mi.termios.o: tc.const.h
+mi.termios.po: iconv.h
+mi.termios.po: sh.err.h
+mi.termios.po: tc.const.h
+sh.char.o: iconv.h
+sh.char.o: sh.err.h
+sh.char.o: tc.const.h
+sh.char.po: iconv.h
+sh.char.po: sh.err.h
+sh.char.po: tc.const.h
+sh.dir.o: iconv.h
+sh.dir.o: sh.err.h
+sh.dir.o: tc.const.h
+sh.dir.po: iconv.h
+sh.dir.po: sh.err.h
+sh.dir.po: tc.const.h
+sh.dol.o: iconv.h
+sh.dol.o: sh.err.h
+sh.dol.o: tc.const.h
+sh.dol.po: iconv.h
+sh.dol.po: sh.err.h
+sh.dol.po: tc.const.h
+sh.err.o: iconv.h
+sh.err.o: sh.err.h
+sh.err.o: tc.const.h
+sh.err.po: iconv.h
+sh.err.po: sh.err.h
+sh.err.po: tc.const.h
+sh.exec.o: iconv.h
+sh.exec.o: sh.err.h
+sh.exec.o: tc.const.h
+sh.exec.po: iconv.h
+sh.exec.po: sh.err.h
+sh.exec.po: tc.const.h
+sh.exp.o: iconv.h
+sh.exp.o: sh.err.h
+sh.exp.o: tc.const.h
+sh.exp.po: iconv.h
+sh.exp.po: sh.err.h
+sh.exp.po: tc.const.h
+sh.file.o: iconv.h
+sh.file.o: sh.err.h
+sh.file.o: tc.const.h
+sh.file.po: iconv.h
+sh.file.po: sh.err.h
+sh.file.po: tc.const.h
+sh.func.o: iconv.h
+sh.func.o: sh.err.h
+sh.func.o: tc.const.h
+sh.func.po: iconv.h
+sh.func.po: sh.err.h
+sh.func.po: tc.const.h
+sh.glob.o: iconv.h
+sh.glob.o: sh.err.h
+sh.glob.o: tc.const.h
+sh.glob.po: iconv.h
+sh.glob.po: sh.err.h
+sh.glob.po: tc.const.h
+sh.hist.o: iconv.h
+sh.hist.o: sh.err.h
+sh.hist.o: tc.const.h
+sh.hist.po: iconv.h
+sh.hist.po: sh.err.h
+sh.hist.po: tc.const.h
+sh.init.o: iconv.h
+sh.init.o: sh.err.h
+sh.init.o: tc.const.h
+sh.init.po: iconv.h
+sh.init.po: sh.err.h
+sh.init.po: tc.const.h
+sh.lex.o: iconv.h
+sh.lex.o: sh.err.h
+sh.lex.o: tc.const.h
+sh.lex.po: iconv.h
+sh.lex.po: sh.err.h
+sh.lex.po: tc.const.h
+sh.misc.o: iconv.h
+sh.misc.o: sh.err.h
+sh.misc.o: tc.const.h
+sh.misc.po: iconv.h
+sh.misc.po: sh.err.h
+sh.misc.po: tc.const.h
+sh.o: iconv.h
+sh.o: sh.err.h
+sh.o: tc.const.h
+sh.parse.o: iconv.h
+sh.parse.o: sh.err.h
+sh.parse.o: tc.const.h
+sh.parse.po: iconv.h
+sh.parse.po: sh.err.h
+sh.parse.po: tc.const.h
+sh.po: iconv.h
+sh.po: sh.err.h
+sh.po: tc.const.h
+sh.print.o: iconv.h
+sh.print.o: sh.err.h
+sh.print.o: tc.const.h
+sh.print.po: iconv.h
+sh.print.po: sh.err.h
+sh.print.po: tc.const.h
+sh.proc.o: iconv.h
+sh.proc.o: sh.err.h
+sh.proc.o: tc.const.h
+sh.proc.po: iconv.h
+sh.proc.po: sh.err.h
+sh.proc.po: tc.const.h
+sh.sem.o: iconv.h
+sh.sem.o: sh.err.h
+sh.sem.o: tc.const.h
+sh.sem.po: iconv.h
+sh.sem.po: sh.err.h
+sh.sem.po: tc.const.h
+sh.set.o: iconv.h
+sh.set.o: sh.err.h
+sh.set.o: tc.const.h
+sh.set.po: iconv.h
+sh.set.po: sh.err.h
+sh.set.po: tc.const.h
+sh.time.o: iconv.h
+sh.time.o: sh.err.h
+sh.time.o: tc.const.h
+sh.time.po: iconv.h
+sh.time.po: sh.err.h
+sh.time.po: tc.const.h
+tc.alloc.o: iconv.h
+tc.alloc.o: sh.err.h
+tc.alloc.o: tc.const.h
+tc.alloc.po: iconv.h
+tc.alloc.po: sh.err.h
+tc.alloc.po: tc.const.h
+tc.bind.o: ed.defns.h
+tc.bind.o: iconv.h
+tc.bind.o: sh.err.h
+tc.bind.o: tc.const.h
+tc.bind.po: ed.defns.h
+tc.bind.po: iconv.h
+tc.bind.po: sh.err.h
+tc.bind.po: tc.const.h
+tc.const.o: iconv.h
+tc.const.o: sh.err.h
+tc.const.o: tc.const.h
+tc.const.po: iconv.h
+tc.const.po: sh.err.h
+tc.const.po: tc.const.h
+tc.defs.o: iconv.h
+tc.defs.o: sh.err.h
+tc.defs.o: tc.const.h
+tc.defs.o: tc.defs.c
+tc.defs.po: iconv.h
+tc.defs.po: sh.err.h
+tc.defs.po: tc.const.h
+tc.defs.po: tc.defs.c
+tc.disc.o: iconv.h
+tc.disc.o: sh.err.h
+tc.disc.o: tc.const.h
+tc.disc.po: iconv.h
+tc.disc.po: sh.err.h
+tc.disc.po: tc.const.h
+tc.func.o: ed.defns.h
+tc.func.o: iconv.h
+tc.func.o: sh.err.h
+tc.func.o: tc.const.h
+tc.func.po: ed.defns.h
+tc.func.po: iconv.h
+tc.func.po: sh.err.h
+tc.func.po: tc.const.h
+tc.nls.o: iconv.h
+tc.nls.o: sh.err.h
+tc.nls.o: tc.const.h
+tc.nls.po: iconv.h
+tc.nls.po: sh.err.h
+tc.nls.po: tc.const.h
+tc.os.o: ed.defns.h
+tc.os.o: iconv.h
+tc.os.o: sh.err.h
+tc.os.o: tc.const.h
+tc.os.po: ed.defns.h
+tc.os.po: iconv.h
+tc.os.po: sh.err.h
+tc.os.po: tc.const.h
+tc.printf.o: iconv.h
+tc.printf.o: sh.err.h
+tc.printf.o: tc.const.h
+tc.printf.po: iconv.h
+tc.printf.po: sh.err.h
+tc.printf.po: tc.const.h
+tc.prompt.o: iconv.h
+tc.prompt.o: sh.err.h
+tc.prompt.o: tc.const.h
+tc.prompt.po: iconv.h
+tc.prompt.po: sh.err.h
+tc.prompt.po: tc.const.h
+tc.sched.o: iconv.h
+tc.sched.o: sh.err.h
+tc.sched.o: tc.const.h
+tc.sched.po: iconv.h
+tc.sched.po: sh.err.h
+tc.sched.po: tc.const.h
+tc.sig.o: iconv.h
+tc.sig.o: sh.err.h
+tc.sig.o: tc.const.h
+tc.sig.po: iconv.h
+tc.sig.po: sh.err.h
+tc.sig.po: tc.const.h
+tc.str.o: iconv.h
+tc.str.o: sh.err.h
+tc.str.o: tc.const.h
+tc.str.po: iconv.h
+tc.str.po: sh.err.h
+tc.str.po: tc.const.h
+tc.vers.o: iconv.h
+tc.vers.o: sh.err.h
+tc.vers.o: tc.const.h
+tc.vers.po: iconv.h
+tc.vers.po: sh.err.h
+tc.vers.po: tc.const.h
+tc.who.o: iconv.h
+tc.who.o: sh.err.h
+tc.who.o: tc.const.h
+tc.who.po: iconv.h
+tc.who.po: sh.err.h
+tc.who.po: tc.const.h
+tw.color.o: iconv.h
+tw.color.o: sh.err.h
+tw.color.o: tc.const.h
+tw.color.po: iconv.h
+tw.color.po: sh.err.h
+tw.color.po: tc.const.h
+tw.comp.o: iconv.h
+tw.comp.o: sh.err.h
+tw.comp.o: tc.const.h
+tw.comp.po: iconv.h
+tw.comp.po: sh.err.h
+tw.comp.po: tc.const.h
+tw.help.o: iconv.h
+tw.help.o: sh.err.h
+tw.help.o: tc.const.h
+tw.help.po: iconv.h
+tw.help.po: sh.err.h
+tw.help.po: tc.const.h
+tw.init.o: iconv.h
+tw.init.o: sh.err.h
+tw.init.o: tc.const.h
+tw.init.po: iconv.h
+tw.init.po: sh.err.h
+tw.init.po: tc.const.h
+tw.parse.o: iconv.h
+tw.parse.o: sh.err.h
+tw.parse.o: tc.const.h
+tw.parse.po: iconv.h
+tw.parse.po: sh.err.h
+tw.parse.po: tc.const.h
+tw.spell.o: iconv.h
+tw.spell.o: sh.err.h
+tw.spell.o: tc.const.h
+tw.spell.po: iconv.h
+tw.spell.po: sh.err.h
+tw.spell.po: tc.const.h
+.endif
diff --git a/bin/date/Makefile.depend b/bin/date/Makefile.depend
new file mode 100644
index 000000000000..25ca34444ce3
--- /dev/null
+++ b/bin/date/Makefile.depend
@@ -0,0 +1,20 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/protocols \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/dd/Makefile.depend b/bin/dd/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/dd/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/df/Makefile.depend b/bin/df/Makefile.depend
new file mode 100644
index 000000000000..2dd29af87618
--- /dev/null
+++ b/bin/df/Makefile.depend
@@ -0,0 +1,20 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libutil \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/domainname/Makefile.depend b/bin/domainname/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/domainname/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/echo/Makefile.depend b/bin/echo/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/echo/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/ed/Makefile.depend b/bin/ed/Makefile.depend
new file mode 100644
index 000000000000..1ae71d98e8f9
--- /dev/null
+++ b/bin/ed/Makefile.depend
@@ -0,0 +1,20 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ secure/lib/libcrypto \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/expr/Makefile.depend b/bin/expr/Makefile.depend
new file mode 100644
index 000000000000..c4a7277a5cb1
--- /dev/null
+++ b/bin/expr/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+expr.o: expr.c
+expr.po: expr.c
+.endif
diff --git a/bin/getfacl/Makefile.depend b/bin/getfacl/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/getfacl/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/hostname/Makefile.depend b/bin/hostname/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/hostname/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/kenv/Makefile.depend b/bin/kenv/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/kenv/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/kill/Makefile.depend b/bin/kill/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/kill/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/ln/Makefile.depend b/bin/ln/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/ln/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/ls/Makefile.depend b/bin/ls/Makefile.depend
new file mode 100644
index 000000000000..600233c995ac
--- /dev/null
+++ b/bin/ls/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libutil \
+ lib/ncurses/ncurses \
+ lib/ncurses/ncursesw \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/mkdir/Makefile.depend b/bin/mkdir/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/mkdir/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/mv/Makefile.depend b/bin/mv/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/mv/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/pax/Makefile.depend b/bin/pax/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/pax/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/pkill/Makefile.depend b/bin/pkill/Makefile.depend
new file mode 100644
index 000000000000..553674c09429
--- /dev/null
+++ b/bin/pkill/Makefile.depend
@@ -0,0 +1,20 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libkvm \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/ps/Makefile.depend b/bin/ps/Makefile.depend
new file mode 100644
index 000000000000..863fe357cfae
--- /dev/null
+++ b/bin/ps/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libkvm \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index 21e8eaf37cb6..7f6913780842 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -29,7 +29,7 @@
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd September 18, 2012
+.Dd February 7, 2013
.Dt PS 1
.Os
.Sh NAME
@@ -323,6 +323,7 @@ the include file
.It Dv "P_INMEM" Ta No "0x10000000" Ta "Loaded into memory"
.It Dv "P_SWAPPINGOUT" Ta No "0x20000000" Ta "Process is being swapped out"
.It Dv "P_SWAPPINGIN" Ta No "0x40000000" Ta "Process is being swapped in"
+.It Dv "P_PPTRACE" Ta No "0x80000000" Ta "Vforked child issued ptrace(PT_TRACEME)"
.El
.It Cm label
The MAC label of the process.
diff --git a/bin/pwait/Makefile.depend b/bin/pwait/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/pwait/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/pwd/Makefile.depend b/bin/pwd/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/pwd/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/rcp/Makefile.depend b/bin/rcp/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/rcp/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/realpath/Makefile.depend b/bin/realpath/Makefile.depend
new file mode 100644
index 000000000000..ac1b1319c7ef
--- /dev/null
+++ b/bin/realpath/Makefile.depend
@@ -0,0 +1,18 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/rm/Makefile.depend b/bin/rm/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/rm/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/rmail/Makefile.depend b/bin/rmail/Makefile.depend
new file mode 100644
index 000000000000..7ffe408b22f0
--- /dev/null
+++ b/bin/rmail/Makefile.depend
@@ -0,0 +1,23 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libsm \
+ lib/libutil \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+rmail.o: sm_os.h
+rmail.po: sm_os.h
+.endif
diff --git a/bin/rmdir/Makefile.depend b/bin/rmdir/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/rmdir/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/setfacl/Makefile.depend b/bin/setfacl/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/setfacl/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/sh/Makefile.depend b/bin/sh/Makefile.depend
new file mode 100644
index 000000000000..4c22a9796091
--- /dev/null
+++ b/bin/sh/Makefile.depend
@@ -0,0 +1,115 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libedit \
+ lib/ncurses/ncurses \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+alias.o: builtins.h
+alias.po: builtins.h
+arith_yylex.o: syntax.h
+arith_yylex.po: syntax.h
+builtins.o: builtins.c
+builtins.o: builtins.h
+builtins.po: builtins.c
+builtins.po: builtins.h
+cd.o: builtins.h
+cd.o: nodes.h
+cd.po: builtins.h
+cd.po: nodes.h
+echo.o: builtins.h
+echo.po: builtins.h
+error.o: nodes.h
+error.po: nodes.h
+eval.o: builtins.h
+eval.o: nodes.h
+eval.o: syntax.h
+eval.po: builtins.h
+eval.po: nodes.h
+eval.po: syntax.h
+exec.o: builtins.h
+exec.o: nodes.h
+exec.o: syntax.h
+exec.po: builtins.h
+exec.po: nodes.h
+exec.po: syntax.h
+expand.o: builtins.h
+expand.o: nodes.h
+expand.o: syntax.h
+expand.po: builtins.h
+expand.po: nodes.h
+expand.po: syntax.h
+histedit.o: builtins.h
+histedit.po: builtins.h
+init.o: init.c
+init.po: init.c
+input.o: syntax.h
+input.po: syntax.h
+jobs.o: builtins.h
+jobs.o: nodes.h
+jobs.o: syntax.h
+jobs.po: builtins.h
+jobs.po: nodes.h
+jobs.po: syntax.h
+kill.o: builtins.h
+kill.po: builtins.h
+main.o: builtins.h
+main.o: nodes.h
+main.po: builtins.h
+main.po: nodes.h
+mystring.o: syntax.h
+mystring.po: syntax.h
+nodes.o: nodes.c
+nodes.o: nodes.h
+nodes.po: nodes.c
+nodes.po: nodes.h
+options.o: builtins.h
+options.o: nodes.h
+options.po: builtins.h
+options.po: nodes.h
+output.o: syntax.h
+output.po: syntax.h
+parser.o: nodes.h
+parser.o: syntax.h
+parser.o: token.h
+parser.po: nodes.h
+parser.po: syntax.h
+parser.po: token.h
+printf.o: builtins.h
+printf.po: builtins.h
+redir.o: nodes.h
+redir.po: nodes.h
+show.o: nodes.h
+show.po: nodes.h
+syntax.o: syntax.c
+syntax.o: syntax.h
+syntax.po: syntax.c
+syntax.po: syntax.h
+test.o: builtins.h
+test.po: builtins.h
+trap.o: builtins.h
+trap.o: nodes.h
+trap.o: syntax.h
+trap.po: builtins.h
+trap.po: nodes.h
+trap.po: syntax.h
+var.o: builtins.h
+var.o: nodes.h
+var.o: syntax.h
+var.po: builtins.h
+var.po: nodes.h
+var.po: syntax.h
+.endif
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c
index d2e1d57ecf22..c86394f0d46c 100644
--- a/bin/sh/jobs.c
+++ b/bin/sh/jobs.c
@@ -1030,7 +1030,7 @@ dowait(int mode, struct job *job)
int wflags;
int restore_sigchld;
- TRACE(("dowait(%d) called\n", block));
+ TRACE(("dowait(%d, %p) called\n", mode, job));
restore_sigchld = 0;
if ((mode & DOWAIT_SIG) != 0) {
sigfillset(&mask);
diff --git a/bin/sh/mksyntax.c b/bin/sh/mksyntax.c
index 6594da3a1bd7..c6bf480a2893 100644
--- a/bin/sh/mksyntax.c
+++ b/bin/sh/mksyntax.c
@@ -103,23 +103,16 @@ static char writer[] = "\
static FILE *cfile;
static FILE *hfile;
-static const char *syntax[513];
-static int base;
-static int size; /* number of values which a char variable can have */
-static int nbits; /* number of bits in a character */
-static void filltable(const char *);
-static void init(void);
+static void add_default(void);
+static void finish(void);
+static void init(const char *);
static void add(const char *, const char *);
-static void print(const char *);
static void output_type_macros(void);
int
main(int argc __unused, char **argv __unused)
{
- char c;
- char d;
- int sign;
int i;
char buf[80];
int pos;
@@ -136,27 +129,8 @@ main(int argc __unused, char **argv __unused)
fputs(writer, hfile);
fputs(writer, cfile);
- /* Determine the characteristics of chars. */
- c = -1;
- sign = (c > 0) ? 0 : 1;
- for (nbits = 1 ; ; nbits++) {
- d = (1 << nbits) - 1;
- if (d == c)
- break;
- }
-#if 0
- printf("%s %d bit chars\n", sign? "signed" : "unsigned", nbits);
-#endif
- if (nbits > 9) {
- fputs("Characters can't have more than 9 bits\n", stderr);
- exit(2);
- }
- size = (1 << nbits) + 1;
- base = 1;
- if (sign)
- base += 1 << (nbits - 1);
-
fputs("#include <sys/cdefs.h>\n", hfile);
+ fputs("#include <limits.h>\n\n", hfile);
/* Generate the #define statements in the header file */
fputs("/* Syntax classes */\n", hfile);
@@ -177,8 +151,8 @@ main(int argc __unused, char **argv __unused)
fprintf(hfile, "/* %s */\n", is_entry[i].comment);
}
putc('\n', hfile);
- fprintf(hfile, "#define SYNBASE %d\n", base);
- fprintf(hfile, "#define PEOF %d\n\n", -base);
+ fputs("#define SYNBASE (1 - CHAR_MIN)\n", hfile);
+ fputs("#define PEOF -SYNBASE\n\n", hfile);
putc('\n', hfile);
fputs("#define BASESYNTAX (basesyntax + SYNBASE)\n", hfile);
fputs("#define DQSYNTAX (dqsyntax + SYNBASE)\n", hfile);
@@ -189,10 +163,13 @@ main(int argc __unused, char **argv __unused)
putc('\n', hfile);
/* Generate the syntax tables. */
+ fputs("#include \"parser.h\"\n", cfile);
fputs("#include \"shell.h\"\n", cfile);
fputs("#include \"syntax.h\"\n\n", cfile);
- init();
+
fputs("/* syntax table used when not in quotes */\n", cfile);
+ init("basesyntax");
+ add_default();
add("\n", "CNL");
add("\\", "CBACK");
add("'", "CSQUOTE");
@@ -201,9 +178,11 @@ main(int argc __unused, char **argv __unused)
add("$", "CVAR");
add("}", "CENDVAR");
add("<>();&| \t", "CSPCL");
- print("basesyntax");
- init();
+ finish();
+
fputs("\n/* syntax table used when in double quotes */\n", cfile);
+ init("dqsyntax");
+ add_default();
add("\n", "CNL");
add("\\", "CBACK");
add("\"", "CENDQUOTE");
@@ -212,17 +191,21 @@ main(int argc __unused, char **argv __unused)
add("}", "CENDVAR");
/* ':/' for tilde expansion, '-^]' for [a\-x] pattern ranges */
add("!*?[]=~:/-^", "CCTL");
- print("dqsyntax");
- init();
+ finish();
+
fputs("\n/* syntax table used when in single quotes */\n", cfile);
+ init("sqsyntax");
+ add_default();
add("\n", "CNL");
add("\\", "CSBACK");
add("'", "CENDQUOTE");
/* ':/' for tilde expansion, '-^]' for [a\-x] pattern ranges */
add("!*?[]=~:/-^", "CCTL");
- print("sqsyntax");
- init();
+ finish();
+
fputs("\n/* syntax table used when in arithmetic */\n", cfile);
+ init("arisyntax");
+ add_default();
add("\n", "CNL");
add("\\", "CBACK");
add("`", "CBQUOTE");
@@ -231,100 +214,95 @@ main(int argc __unused, char **argv __unused)
add("}", "CENDVAR");
add("(", "CLP");
add(")", "CRP");
- print("arisyntax");
- filltable("0");
+ finish();
+
fputs("\n/* character classification table */\n", cfile);
+ init("is_type");
add("0123456789", "ISDIGIT");
add("abcdefghijklmnopqrstuvwxyz", "ISLOWER");
add("ABCDEFGHIJKLMNOPQRSTUVWXYZ", "ISUPPER");
add("_", "ISUNDER");
add("#?$!-*@", "ISSPECL");
- print("is_type");
+ finish();
+
exit(0);
}
-
/*
- * Clear the syntax table.
+ * Output the header and declaration of a syntax table.
*/
static void
-filltable(const char *dftval)
+init(const char *name)
{
- int i;
+ fprintf(hfile, "extern const char %s[];\n", name);
+ fprintf(cfile, "const char %s[SYNBASE + CHAR_MAX + 1] = {\n", name);
+}
- for (i = 0 ; i < size ; i++)
- syntax[i] = dftval;
+
+static void
+add_one(const char *key, const char *type)
+{
+ fprintf(cfile, "\t[SYNBASE + %s] = %s,\n", key, type);
}
/*
- * Initialize the syntax table with default values.
+ * Add default values to the syntax table.
*/
static void
-init(void)
+add_default(void)
{
- filltable("CWORD");
- syntax[0] = "CEOF";
- syntax[base + CTLESC] = "CCTL";
- syntax[base + CTLVAR] = "CCTL";
- syntax[base + CTLENDVAR] = "CCTL";
- syntax[base + CTLBACKQ] = "CCTL";
- syntax[base + CTLBACKQ + CTLQUOTE] = "CCTL";
- syntax[base + CTLARI] = "CCTL";
- syntax[base + CTLENDARI] = "CCTL";
- syntax[base + CTLQUOTEMARK] = "CCTL";
- syntax[base + CTLQUOTEEND] = "CCTL";
+ add_one("PEOF", "CEOF");
+ add_one("CTLESC", "CCTL");
+ add_one("CTLVAR", "CCTL");
+ add_one("CTLENDVAR", "CCTL");
+ add_one("CTLBACKQ", "CCTL");
+ add_one("CTLBACKQ + CTLQUOTE", "CCTL");
+ add_one("CTLARI", "CCTL");
+ add_one("CTLENDARI", "CCTL");
+ add_one("CTLQUOTEMARK", "CCTL");
+ add_one("CTLQUOTEEND", "CCTL");
}
/*
- * Add entries to the syntax table.
+ * Output the footer of a syntax table.
*/
static void
-add(const char *p, const char *type)
+finish(void)
{
- while (*p)
- syntax[*p++ + base] = type;
+ fputs("};\n", cfile);
}
-
/*
- * Output the syntax table.
+ * Add entries to the syntax table.
*/
static void
-print(const char *name)
+add(const char *p, const char *type)
{
- int i;
- int col;
-
- fprintf(hfile, "extern const char %s[];\n", name);
- fprintf(cfile, "const char %s[%d] = {\n", name, size);
- col = 0;
- for (i = 0 ; i < size ; i++) {
- if (i == 0) {
- fputs(" ", cfile);
- } else if ((i & 03) == 0) {
- fputs(",\n ", cfile);
- col = 0;
- } else {
- putc(',', cfile);
- while (++col < 9 * (i & 03))
- putc(' ', cfile);
+ for (; *p; ++p) {
+ char c = *p;
+ switch (c) {
+ case '\t': c = 't'; break;
+ case '\n': c = 'n'; break;
+ case '\'': c = '\''; break;
+ case '\\': c = '\\'; break;
+
+ default:
+ fprintf(cfile, "\t[SYNBASE + '%c'] = %s,\n", c, type);
+ continue;
}
- fputs(syntax[i], cfile);
- col += strlen(syntax[i]);
+ fprintf(cfile, "\t[SYNBASE + '\\%c'] = %s,\n", c, type);
}
- fputs("\n};\n", cfile);
}
-
/*
* Output character classification macros (e.g. is_digit). If digits are
* contiguous, we can test for them quickly.
diff --git a/bin/sh/parser.h b/bin/sh/parser.h
index 9a996d04a603..f80d91778787 100644
--- a/bin/sh/parser.h
+++ b/bin/sh/parser.h
@@ -39,7 +39,7 @@
#define CTLENDVAR '\371'
#define CTLBACKQ '\372'
#define CTLQUOTE 01 /* ored with CTLBACKQ code if in quotes */
-/* CTLBACKQ | CTLQUOTE == '\205' */
+/* CTLBACKQ | CTLQUOTE == '\373' */
#define CTLARI '\374'
#define CTLENDARI '\375'
#define CTLQUOTEMARK '\376'
diff --git a/bin/sleep/Makefile.depend b/bin/sleep/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/sleep/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/stty/Makefile.depend b/bin/stty/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/stty/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/sync/Makefile.depend b/bin/sync/Makefile.depend
new file mode 100644
index 000000000000..ac1b1319c7ef
--- /dev/null
+++ b/bin/sync/Makefile.depend
@@ -0,0 +1,18 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/test/Makefile.depend b/bin/test/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/bin/test/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/bin/uuidgen/Makefile.depend b/bin/uuidgen/Makefile.depend
new file mode 100644
index 000000000000..ac1b1319c7ef
--- /dev/null
+++ b/bin/uuidgen/Makefile.depend
@@ -0,0 +1,18 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/lib/drti/Makefile.depend b/cddl/lib/drti/Makefile.depend
new file mode 100644
index 000000000000..dc1878f7930b
--- /dev/null
+++ b/cddl/lib/drti/Makefile.depend
@@ -0,0 +1,17 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ lib/libelf \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/lib/libavl/Makefile.depend b/cddl/lib/libavl/Makefile.depend
new file mode 100644
index 000000000000..ac1b1319c7ef
--- /dev/null
+++ b/cddl/lib/libavl/Makefile.depend
@@ -0,0 +1,18 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/lib/libctf/Makefile.depend b/cddl/lib/libctf/Makefile.depend
new file mode 100644
index 000000000000..dcff6f96c0a0
--- /dev/null
+++ b/cddl/lib/libctf/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libelf \
+ lib/libz \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/lib/libdtrace/Makefile.depend b/cddl/lib/libdtrace/Makefile.depend
new file mode 100644
index 000000000000..0d5c115777fb
--- /dev/null
+++ b/cddl/lib/libdtrace/Makefile.depend
@@ -0,0 +1,50 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/arpa \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libelf \
+ lib/libproc \
+ lib/librtld_db \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+dt_cc.So: dt_grammar.h
+dt_cc.o: dt_grammar.h
+dt_cc.po: dt_grammar.h
+dt_cg.So: dt_grammar.h
+dt_cg.o: dt_grammar.h
+dt_cg.po: dt_grammar.h
+dt_errtags.So: dt_errtags.c
+dt_errtags.o: dt_errtags.c
+dt_errtags.po: dt_errtags.c
+dt_grammar.So: dt_grammar.c
+dt_grammar.o: dt_grammar.c
+dt_grammar.po: dt_grammar.c
+dt_lex.So: dt_grammar.h
+dt_lex.So: dt_lex.c
+dt_lex.o: dt_grammar.h
+dt_lex.o: dt_lex.c
+dt_lex.po: dt_grammar.h
+dt_lex.po: dt_lex.c
+dt_names.So: dt_names.c
+dt_names.o: dt_names.c
+dt_names.po: dt_names.c
+dt_parser.So: dt_grammar.h
+dt_parser.o: dt_grammar.h
+dt_parser.po: dt_grammar.h
+dt_xlator.So: dt_grammar.h
+dt_xlator.o: dt_grammar.h
+dt_xlator.po: dt_grammar.h
+.endif
diff --git a/cddl/lib/libnvpair/Makefile.depend b/cddl/lib/libnvpair/Makefile.depend
new file mode 100644
index 000000000000..d78f7b72e2c0
--- /dev/null
+++ b/cddl/lib/libnvpair/Makefile.depend
@@ -0,0 +1,20 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/lib/libumem/Makefile.depend b/cddl/lib/libumem/Makefile.depend
new file mode 100644
index 000000000000..ac1b1319c7ef
--- /dev/null
+++ b/cddl/lib/libumem/Makefile.depend
@@ -0,0 +1,18 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/lib/libuutil/Makefile.depend b/cddl/lib/libuutil/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/cddl/lib/libuutil/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/lib/libzfs/Makefile.depend b/cddl/lib/libzfs/Makefile.depend
new file mode 100644
index 000000000000..3f679299f64d
--- /dev/null
+++ b/cddl/lib/libzfs/Makefile.depend
@@ -0,0 +1,26 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libnvpair \
+ cddl/lib/libumem \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libgeom \
+ lib/libmd \
+ lib/libthr \
+ lib/libutil \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/lib/libzpool/Makefile.depend b/cddl/lib/libzpool/Makefile.depend
new file mode 100644
index 000000000000..2916ba075a6d
--- /dev/null
+++ b/cddl/lib/libzpool/Makefile.depend
@@ -0,0 +1,23 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libmd \
+ lib/libthr \
+ lib/libz \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/sbin/zfs/Makefile.depend b/cddl/sbin/zfs/Makefile.depend
new file mode 100644
index 000000000000..ad95c7e7b7bf
--- /dev/null
+++ b/cddl/sbin/zfs/Makefile.depend
@@ -0,0 +1,27 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libnvpair \
+ cddl/lib/libumem \
+ cddl/lib/libuutil \
+ cddl/lib/libzfs \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libgeom \
+ lib/libjail \
+ lib/libutil \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/sbin/zpool/Makefile.depend b/cddl/sbin/zpool/Makefile.depend
new file mode 100644
index 000000000000..27e33a055964
--- /dev/null
+++ b/cddl/sbin/zpool/Makefile.depend
@@ -0,0 +1,27 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libavl \
+ cddl/lib/libnvpair \
+ cddl/lib/libumem \
+ cddl/lib/libuutil \
+ cddl/lib/libzfs \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libgeom \
+ lib/libutil \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.bin/ctfconvert/Makefile.depend b/cddl/usr.bin/ctfconvert/Makefile.depend
new file mode 100644
index 000000000000..2c870cc77558
--- /dev/null
+++ b/cddl/usr.bin/ctfconvert/Makefile.depend
@@ -0,0 +1,24 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libctf \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libdwarf \
+ lib/libelf \
+ lib/libthr \
+ lib/libz \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.bin/ctfdump/Makefile.depend b/cddl/usr.bin/ctfdump/Makefile.depend
new file mode 100644
index 000000000000..b4cb4d4d19ca
--- /dev/null
+++ b/cddl/usr.bin/ctfdump/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libelf \
+ lib/libthr \
+ lib/libz \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.bin/ctfmerge/Makefile.depend b/cddl/usr.bin/ctfmerge/Makefile.depend
new file mode 100644
index 000000000000..2c870cc77558
--- /dev/null
+++ b/cddl/usr.bin/ctfmerge/Makefile.depend
@@ -0,0 +1,24 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libctf \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libdwarf \
+ lib/libelf \
+ lib/libthr \
+ lib/libz \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.bin/sgsmsg/Makefile.depend b/cddl/usr.bin/sgsmsg/Makefile.depend
new file mode 100644
index 000000000000..dc069b654cc3
--- /dev/null
+++ b/cddl/usr.bin/sgsmsg/Makefile.depend
@@ -0,0 +1,20 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libelf \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.bin/zinject/Makefile.depend b/cddl/usr.bin/zinject/Makefile.depend
new file mode 100644
index 000000000000..42488ec3b06d
--- /dev/null
+++ b/cddl/usr.bin/zinject/Makefile.depend
@@ -0,0 +1,26 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libnvpair \
+ cddl/lib/libumem \
+ cddl/lib/libuutil \
+ cddl/lib/libzfs \
+ cddl/lib/libzpool \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libgeom \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.bin/zstreamdump/Makefile.depend b/cddl/usr.bin/zstreamdump/Makefile.depend
new file mode 100644
index 000000000000..72360fe0d677
--- /dev/null
+++ b/cddl/usr.bin/zstreamdump/Makefile.depend
@@ -0,0 +1,26 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libavl \
+ cddl/lib/libnvpair \
+ cddl/lib/libumem \
+ cddl/lib/libzpool \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libthr \
+ lib/libz \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.bin/ztest/Makefile.depend b/cddl/usr.bin/ztest/Makefile.depend
new file mode 100644
index 000000000000..e42e30505f33
--- /dev/null
+++ b/cddl/usr.bin/ztest/Makefile.depend
@@ -0,0 +1,28 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libavl \
+ cddl/lib/libnvpair \
+ cddl/lib/libumem \
+ cddl/lib/libuutil \
+ cddl/lib/libzfs \
+ cddl/lib/libzpool \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libgeom \
+ lib/libthr \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.sbin/dtrace/Makefile.depend b/cddl/usr.sbin/dtrace/Makefile.depend
new file mode 100644
index 000000000000..57f4efb13895
--- /dev/null
+++ b/cddl/usr.sbin/dtrace/Makefile.depend
@@ -0,0 +1,28 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libctf \
+ cddl/lib/libdtrace \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libelf \
+ lib/libproc \
+ lib/librtld_db \
+ lib/libthr \
+ lib/libutil \
+ lib/liby \
+ lib/libz \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.sbin/dtruss/Makefile.depend b/cddl/usr.sbin/dtruss/Makefile.depend
new file mode 100644
index 000000000000..29fda55c252f
--- /dev/null
+++ b/cddl/usr.sbin/dtruss/Makefile.depend
@@ -0,0 +1,14 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.sbin/lockstat/Makefile.depend b/cddl/usr.sbin/lockstat/Makefile.depend
new file mode 100644
index 000000000000..da3770a4b7c9
--- /dev/null
+++ b/cddl/usr.sbin/lockstat/Makefile.depend
@@ -0,0 +1,29 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libctf \
+ cddl/lib/libdtrace \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libelf \
+ lib/libproc \
+ lib/librt \
+ lib/librtld_db \
+ lib/libthr \
+ lib/libutil \
+ lib/liby \
+ lib/libz \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.sbin/zdb/Makefile.depend b/cddl/usr.sbin/zdb/Makefile.depend
new file mode 100644
index 000000000000..975bf7776a10
--- /dev/null
+++ b/cddl/usr.sbin/zdb/Makefile.depend
@@ -0,0 +1,27 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libnvpair \
+ cddl/lib/libumem \
+ cddl/lib/libuutil \
+ cddl/lib/libzfs \
+ cddl/lib/libzpool \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libgeom \
+ lib/libthr \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/cddl/usr.sbin/zhack/Makefile.depend b/cddl/usr.sbin/zhack/Makefile.depend
new file mode 100644
index 000000000000..975bf7776a10
--- /dev/null
+++ b/cddl/usr.sbin/zhack/Makefile.depend
@@ -0,0 +1,27 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ cddl/lib/libnvpair \
+ cddl/lib/libumem \
+ cddl/lib/libuutil \
+ cddl/lib/libzfs \
+ cddl/lib/libzpool \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libgeom \
+ lib/libthr \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/contrib/libc++/include/__config b/contrib/libc++/include/__config
index 203be7616cc1..8617b8668424 100644
--- a/contrib/libc++/include/__config
+++ b/contrib/libc++/include/__config
@@ -66,6 +66,12 @@
# endif
#endif // _WIN32
+#ifdef __linux__
+# if defined(__GNUC__) && _GNUC_VER >= 403
+# define _LIBCP_HAS_IS_BASE_OF
+# endif
+#endif
+
#ifdef __sun__
# include <sys/isa_defs.h>
# ifdef _LITTLE_ENDIAN
diff --git a/contrib/libc++/include/algorithm b/contrib/libc++/include/algorithm
index 0f6107bdde05..e24f9793c50b 100644
--- a/contrib/libc++/include/algorithm
+++ b/contrib/libc++/include/algorithm
@@ -1528,10 +1528,10 @@ copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
// copy_backward
-template <class _InputIterator, class _OutputIterator>
+template <class _BidirectionalIterator, class _OutputIterator>
inline _LIBCPP_INLINE_VISIBILITY
_OutputIterator
-__copy_backward(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
+__copy_backward(_BidirectionalIterator __first, _BidirectionalIterator __last, _OutputIterator __result)
{
while (__first != __last)
*--__result = *--__last;
diff --git a/contrib/libc++/include/array b/contrib/libc++/include/array
index 029bfd00a5c0..f4a3020aeae7 100644
--- a/contrib/libc++/include/array
+++ b/contrib/libc++/include/array
@@ -310,6 +310,7 @@ _LIBCPP_INLINE_VISIBILITY inline
_Tp&
get(array<_Tp, _Size>& __a) _NOEXCEPT
{
+ static_assert(_Ip < _Size, "Index out of bounds in std::get<> (std::array)");
return __a[_Ip];
}
@@ -318,6 +319,7 @@ _LIBCPP_INLINE_VISIBILITY inline
const _Tp&
get(const array<_Tp, _Size>& __a) _NOEXCEPT
{
+ static_assert(_Ip < _Size, "Index out of bounds in std::get<> (const std::array)");
return __a[_Ip];
}
@@ -328,6 +330,7 @@ _LIBCPP_INLINE_VISIBILITY inline
_Tp&&
get(array<_Tp, _Size>&& __a) _NOEXCEPT
{
+ static_assert(_Ip < _Size, "Index out of bounds in std::get<> (std::array &&)");
return _VSTD::move(__a[_Ip]);
}
diff --git a/contrib/libc++/include/atomic b/contrib/libc++/include/atomic
index 6dffdb21fde4..db67e7625b81 100644
--- a/contrib/libc++/include/atomic
+++ b/contrib/libc++/include/atomic
@@ -33,6 +33,7 @@ template <class T> T kill_dependency(T y) noexcept;
// lock-free property
+#define ATOMIC_BOOL_LOCK_FREE unspecified
#define ATOMIC_CHAR_LOCK_FREE unspecified
#define ATOMIC_CHAR16_T_LOCK_FREE unspecified
#define ATOMIC_CHAR32_T_LOCK_FREE unspecified
@@ -41,6 +42,7 @@ template <class T> T kill_dependency(T y) noexcept;
#define ATOMIC_INT_LOCK_FREE unspecified
#define ATOMIC_LONG_LOCK_FREE unspecified
#define ATOMIC_LLONG_LOCK_FREE unspecified
+#define ATOMIC_POINTER_LOCK_FREE unspecified
// flag type and operations
@@ -472,6 +474,7 @@ template <class T>
// Atomics for standard typedef types
+typedef atomic<bool> atomic_bool;
typedef atomic<char> atomic_char;
typedef atomic<signed char> atomic_schar;
typedef atomic<unsigned char> atomic_uchar;
@@ -1454,6 +1457,7 @@ atomic_signal_fence(memory_order __m) _NOEXCEPT
// Atomics for standard typedef types
+typedef atomic<bool> atomic_bool;
typedef atomic<char> atomic_char;
typedef atomic<signed char> atomic_schar;
typedef atomic<unsigned char> atomic_uchar;
@@ -1499,14 +1503,16 @@ typedef atomic<uintmax_t> atomic_uintmax_t;
// lock-free property
-#define ATOMIC_CHAR_LOCK_FREE 0
-#define ATOMIC_CHAR16_T_LOCK_FREE 0
-#define ATOMIC_CHAR32_T_LOCK_FREE 0
-#define ATOMIC_WCHAR_T_LOCK_FREE 0
-#define ATOMIC_SHORT_LOCK_FREE 0
-#define ATOMIC_INT_LOCK_FREE 0
-#define ATOMIC_LONG_LOCK_FREE 0
-#define ATOMIC_LLONG_LOCK_FREE 0
+#define ATOMIC_BOOL_LOCK_FREE __GCC_ATOMIC_BOOL_LOCK_FREE
+#define ATOMIC_CHAR_LOCK_FREE __GCC_ATOMIC_CHAR_LOCK_FREE
+#define ATOMIC_CHAR16_T_LOCK_FREE __GCC_ATOMIC_CHAR16_T_LOCK_FREE
+#define ATOMIC_CHAR32_T_LOCK_FREE __GCC_ATOMIC_CHAR32_T_LOCK_FREE
+#define ATOMIC_WCHAR_T_LOCK_FREE __GCC_ATOMIC_WCHAR_T_LOCK_FREE
+#define ATOMIC_SHORT_LOCK_FREE __GCC_ATOMIC_SHORT_LOCK_FREE
+#define ATOMIC_INT_LOCK_FREE __GCC_ATOMIC_INT_LOCK_FREE
+#define ATOMIC_LONG_LOCK_FREE __GCC_ATOMIC_LONG_LOCK_FREE
+#define ATOMIC_LLONG_LOCK_FREE __GCC_ATOMIC_LLONG_LOCK_FREE
+#define ATOMIC_POINTER_LOCK_FREE __GCC_ATOMIC_POINTER_LOCK_FREE
#endif // !__has_feature(cxx_atomic)
diff --git a/contrib/libc++/include/cmath b/contrib/libc++/include/cmath
index d3fbfe6d23f6..bd6034413eef 100644
--- a/contrib/libc++/include/cmath
+++ b/contrib/libc++/include/cmath
@@ -137,21 +137,21 @@ long double tanhl(long double x);
// C99
-bool signbit(floating_point x);
+bool signbit(arithmetic x);
-int fpclassify(floating_point x);
+int fpclassify(arithmetic x);
-bool isfinite(floating_point x);
-bool isinf(floating_point x);
-bool isnan(floating_point x);
-bool isnormal(floating_point x);
+bool isfinite(arithmetic x);
+bool isinf(arithmetic x);
+bool isnan(arithmetic x);
+bool isnormal(arithmetic x);
-bool isgreater(floating_point x, floating_point y);
-bool isgreaterequal(floating_point x, floating_point y);
-bool isless(floating_point x, floating_point y);
-bool islessequal(floating_point x, floating_point y);
-bool islessgreater(floating_point x, floating_point y);
-bool isunordered(floating_point x, floating_point y);
+bool isgreater(arithmetic x, arithmetic y);
+bool isgreaterequal(arithmetic x, arithmetic y);
+bool isless(arithmetic x, arithmetic y);
+bool islessequal(arithmetic x, arithmetic y);
+bool islessgreater(arithmetic x, arithmetic y);
+bool isunordered(arithmetic x, arithmetic y);
floating_point acosh (arithmetic x);
float acoshf(float x);
@@ -325,10 +325,10 @@ __libcpp_signbit(_A1 __x) _NOEXCEPT
template <class _A1>
inline _LIBCPP_INLINE_VISIBILITY
-typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type
+typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type
signbit(_A1 __x) _NOEXCEPT
{
- return __libcpp_signbit(__x);
+ return __libcpp_signbit((typename std::__promote<_A1>::type)__x);
}
#endif // signbit
@@ -349,10 +349,10 @@ __libcpp_fpclassify(_A1 __x) _NOEXCEPT
template <class _A1>
inline _LIBCPP_INLINE_VISIBILITY
-typename std::enable_if<std::is_floating_point<_A1>::value, int>::type
+typename std::enable_if<std::is_arithmetic<_A1>::value, int>::type
fpclassify(_A1 __x) _NOEXCEPT
{
- return __libcpp_fpclassify(__x);
+ return __libcpp_fpclassify((typename std::__promote<_A1>::type)__x);
}
#endif // fpclassify
@@ -373,10 +373,10 @@ __libcpp_isfinite(_A1 __x) _NOEXCEPT
template <class _A1>
inline _LIBCPP_INLINE_VISIBILITY
-typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type
+typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type
isfinite(_A1 __x) _NOEXCEPT
{
- return __libcpp_isfinite(__x);
+ return __libcpp_isfinite((typename std::__promote<_A1>::type)__x);
}
#endif // isfinite
@@ -397,10 +397,10 @@ __libcpp_isinf(_A1 __x) _NOEXCEPT
template <class _A1>
inline _LIBCPP_INLINE_VISIBILITY
-typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type
+typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type
isinf(_A1 __x) _NOEXCEPT
{
- return __libcpp_isinf(__x);
+ return __libcpp_isinf((typename std::__promote<_A1>::type)__x);
}
#endif // isinf
@@ -421,10 +421,10 @@ __libcpp_isnan(_A1 __x) _NOEXCEPT
template <class _A1>
inline _LIBCPP_INLINE_VISIBILITY
-typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type
+typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type
isnan(_A1 __x) _NOEXCEPT
{
- return __libcpp_isnan(__x);
+ return __libcpp_isnan((typename std::__promote<_A1>::type)__x);
}
#endif // isnan
@@ -445,10 +445,10 @@ __libcpp_isnormal(_A1 __x) _NOEXCEPT
template <class _A1>
inline _LIBCPP_INLINE_VISIBILITY
-typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type
+typename std::enable_if<std::is_arithmetic<_A1>::value, bool>::type
isnormal(_A1 __x) _NOEXCEPT
{
- return __libcpp_isnormal(__x);
+ return __libcpp_isnormal((typename std::__promote<_A1>::type)__x);
}
#endif // isnormal
@@ -471,13 +471,14 @@ template <class _A1, class _A2>
inline _LIBCPP_INLINE_VISIBILITY
typename std::enable_if
<
- std::is_floating_point<_A1>::value &&
- std::is_floating_point<_A2>::value,
+ std::is_arithmetic<_A1>::value &&
+ std::is_arithmetic<_A2>::value,
bool
>::type
isgreater(_A1 __x, _A2 __y) _NOEXCEPT
{
- return __libcpp_isgreater(__x, __y);
+ typedef typename std::__promote<_A1, _A2>::type type;
+ return __libcpp_isgreater((type)__x, (type)__y);
}
#endif // isgreater
@@ -500,13 +501,14 @@ template <class _A1, class _A2>
inline _LIBCPP_INLINE_VISIBILITY
typename std::enable_if
<
- std::is_floating_point<_A1>::value &&
- std::is_floating_point<_A2>::value,
+ std::is_arithmetic<_A1>::value &&
+ std::is_arithmetic<_A2>::value,
bool
>::type
isgreaterequal(_A1 __x, _A2 __y) _NOEXCEPT
{
- return __libcpp_isgreaterequal(__x, __y);
+ typedef typename std::__promote<_A1, _A2>::type type;
+ return __libcpp_isgreaterequal((type)__x, (type)__y);
}
#endif // isgreaterequal
@@ -529,13 +531,14 @@ template <class _A1, class _A2>
inline _LIBCPP_INLINE_VISIBILITY
typename std::enable_if
<
- std::is_floating_point<_A1>::value &&
- std::is_floating_point<_A2>::value,
+ std::is_arithmetic<_A1>::value &&
+ std::is_arithmetic<_A2>::value,
bool
>::type
isless(_A1 __x, _A2 __y) _NOEXCEPT
{
- return __libcpp_isless(__x, __y);
+ typedef typename std::__promote<_A1, _A2>::type type;
+ return __libcpp_isless((type)__x, (type)__y);
}
#endif // isless
@@ -558,13 +561,14 @@ template <class _A1, class _A2>
inline _LIBCPP_INLINE_VISIBILITY
typename std::enable_if
<
- std::is_floating_point<_A1>::value &&
- std::is_floating_point<_A2>::value,
+ std::is_arithmetic<_A1>::value &&
+ std::is_arithmetic<_A2>::value,
bool
>::type
islessequal(_A1 __x, _A2 __y) _NOEXCEPT
{
- return __libcpp_islessequal(__x, __y);
+ typedef typename std::__promote<_A1, _A2>::type type;
+ return __libcpp_islessequal((type)__x, (type)__y);
}
#endif // islessequal
@@ -587,13 +591,14 @@ template <class _A1, class _A2>
inline _LIBCPP_INLINE_VISIBILITY
typename std::enable_if
<
- std::is_floating_point<_A1>::value &&
- std::is_floating_point<_A2>::value,
+ std::is_arithmetic<_A1>::value &&
+ std::is_arithmetic<_A2>::value,
bool
>::type
islessgreater(_A1 __x, _A2 __y) _NOEXCEPT
{
- return __libcpp_islessgreater(__x, __y);
+ typedef typename std::__promote<_A1, _A2>::type type;
+ return __libcpp_islessgreater((type)__x, (type)__y);
}
#endif // islessgreater
@@ -616,13 +621,14 @@ template <class _A1, class _A2>
inline _LIBCPP_INLINE_VISIBILITY
typename std::enable_if
<
- std::is_floating_point<_A1>::value &&
- std::is_floating_point<_A2>::value,
+ std::is_arithmetic<_A1>::value &&
+ std::is_arithmetic<_A2>::value,
bool
>::type
isunordered(_A1 __x, _A2 __y) _NOEXCEPT
{
- return __libcpp_isunordered(__x, __y);
+ typedef typename std::__promote<_A1, _A2>::type type;
+ return __libcpp_isunordered((type)__x, (type)__y);
}
#endif // isunordered
diff --git a/contrib/libc++/include/functional b/contrib/libc++/include/functional
index ec5c5e593334..3bee1ed1a0a3 100644
--- a/contrib/libc++/include/functional
+++ b/contrib/libc++/include/functional
@@ -1088,7 +1088,7 @@ class _LIBCPP_VISIBLE function<_Rp(_ArgTypes...)>
public __function::__maybe_derive_from_binary_function<_Rp(_ArgTypes...)>
{
typedef __function::__base<_Rp(_ArgTypes...)> __base;
- aligned_storage<3*sizeof(void*)>::type __buf_;
+ typename aligned_storage<3*sizeof(void*)>::type __buf_;
__base* __f_;
template <class _Fp>
diff --git a/contrib/libc++/include/future b/contrib/libc++/include/future
index cf552a9f3035..fa605e7d07f0 100644
--- a/contrib/libc++/include/future
+++ b/contrib/libc++/include/future
@@ -470,7 +470,11 @@ public:
{return (__state_ & __constructed) || (__exception_ != nullptr);}
_LIBCPP_INLINE_VISIBILITY
- void __set_future_attached() {__state_ |= __future_attached;}
+ void __set_future_attached()
+ {
+ lock_guard<mutex> __lk(__mut_);
+ __state_ |= __future_attached;
+ }
_LIBCPP_INLINE_VISIBILITY
bool __has_future_attached() const {return __state_ & __future_attached;}
@@ -1753,7 +1757,7 @@ template<class _Rp, class ..._ArgTypes>
class __packaged_task_function<_Rp(_ArgTypes...)>
{
typedef __packaged_task_base<_Rp(_ArgTypes...)> __base;
- aligned_storage<3*sizeof(void*)>::type __buf_;
+ typename aligned_storage<3*sizeof(void*)>::type __buf_;
__base* __f_;
public:
diff --git a/contrib/libc++/include/istream b/contrib/libc++/include/istream
index dc1c52be639a..3979e1407061 100644
--- a/contrib/libc++/include/istream
+++ b/contrib/libc++/include/istream
@@ -1243,6 +1243,7 @@ template<class _CharT, class _Traits>
streamsize
basic_istream<_CharT, _Traits>::readsome(char_type* __s, streamsize __n)
{
+ __gc_ = 0;
streamsize __c = this->rdbuf()->in_avail();
switch (__c)
{
diff --git a/contrib/libc++/include/iterator b/contrib/libc++/include/iterator
index bc0ce4759ce7..b23310b0940d 100644
--- a/contrib/libc++/include/iterator
+++ b/contrib/libc++/include/iterator
@@ -822,9 +822,9 @@ private:
public:
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR istreambuf_iterator() _NOEXCEPT : __sbuf_(0) {}
_LIBCPP_INLINE_VISIBILITY istreambuf_iterator(istream_type& __s) _NOEXCEPT
- : __sbuf_(__s.rdbuf()) {__test_for_eof();}
+ : __sbuf_(__s.rdbuf()) {}
_LIBCPP_INLINE_VISIBILITY istreambuf_iterator(streambuf_type* __s) _NOEXCEPT
- : __sbuf_(__s) {__test_for_eof();}
+ : __sbuf_(__s) {}
_LIBCPP_INLINE_VISIBILITY istreambuf_iterator(const __proxy& __p) _NOEXCEPT
: __sbuf_(__p.__sbuf_) {}
diff --git a/contrib/libc++/include/limits b/contrib/libc++/include/limits
index 68e63366abec..f089a794dc1e 100644
--- a/contrib/libc++/include/limits
+++ b/contrib/libc++/include/limits
@@ -479,6 +479,53 @@ public:
};
template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::is_specialized;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<_Tp>::digits;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<_Tp>::digits10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<_Tp>::max_digits10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::is_signed;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::is_integer;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::is_exact;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<_Tp>::radix;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<_Tp>::min_exponent;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<_Tp>::min_exponent10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<_Tp>::max_exponent;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<_Tp>::max_exponent10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::has_infinity;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::has_quiet_NaN;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::has_signaling_NaN;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const float_denorm_style numeric_limits<_Tp>::has_denorm;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::has_denorm_loss;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::is_iec559;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::is_bounded;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::is_modulo;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::traps;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<_Tp>::tinyness_before;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const float_round_style numeric_limits<_Tp>::round_style;
+
+template <class _Tp>
class _LIBCPP_VISIBLE numeric_limits<const _Tp>
: private numeric_limits<_Tp>
{
@@ -525,6 +572,53 @@ public:
};
template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::is_specialized;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const _Tp>::digits;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const _Tp>::digits10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const _Tp>::max_digits10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::is_signed;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::is_integer;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::is_exact;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const _Tp>::radix;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const _Tp>::min_exponent;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const _Tp>::min_exponent10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const _Tp>::max_exponent;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const _Tp>::max_exponent10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::has_infinity;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::has_quiet_NaN;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::has_signaling_NaN;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const float_denorm_style numeric_limits<const _Tp>::has_denorm;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::has_denorm_loss;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::is_iec559;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::is_bounded;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::is_modulo;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::traps;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const _Tp>::tinyness_before;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const float_round_style numeric_limits<const _Tp>::round_style;
+
+template <class _Tp>
class _LIBCPP_VISIBLE numeric_limits<volatile _Tp>
: private numeric_limits<_Tp>
{
@@ -571,6 +665,53 @@ public:
};
template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::is_specialized;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<volatile _Tp>::digits;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<volatile _Tp>::digits10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<volatile _Tp>::max_digits10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::is_signed;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::is_integer;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::is_exact;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<volatile _Tp>::radix;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<volatile _Tp>::min_exponent;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<volatile _Tp>::min_exponent10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<volatile _Tp>::max_exponent;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<volatile _Tp>::max_exponent10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::has_infinity;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::has_quiet_NaN;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::has_signaling_NaN;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const float_denorm_style numeric_limits<volatile _Tp>::has_denorm;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::has_denorm_loss;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::is_iec559;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::is_bounded;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::is_modulo;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::traps;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<volatile _Tp>::tinyness_before;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const float_round_style numeric_limits<volatile _Tp>::round_style;
+
+template <class _Tp>
class _LIBCPP_VISIBLE numeric_limits<const volatile _Tp>
: private numeric_limits<_Tp>
{
@@ -616,6 +757,53 @@ public:
static _LIBCPP_CONSTEXPR const float_round_style round_style = __base::round_style;
};
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::is_specialized;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const volatile _Tp>::digits;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const volatile _Tp>::digits10;
+template <class _Tp>
+ const int numeric_limits<const volatile _Tp>::max_digits10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::is_signed;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::is_integer;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::is_exact;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const volatile _Tp>::radix;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const volatile _Tp>::min_exponent;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const volatile _Tp>::min_exponent10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const volatile _Tp>::max_exponent;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const int numeric_limits<const volatile _Tp>::max_exponent10;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::has_infinity;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::has_quiet_NaN;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::has_signaling_NaN;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const float_denorm_style numeric_limits<const volatile _Tp>::has_denorm;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::has_denorm_loss;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::is_iec559;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::is_bounded;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::is_modulo;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::traps;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::tinyness_before;
+template <class _Tp>
+ _LIBCPP_CONSTEXPR const float_round_style numeric_limits<const volatile _Tp>::round_style;
+
_LIBCPP_END_NAMESPACE_STD
#endif // _LIBCPP_LIMITS
diff --git a/contrib/libc++/include/locale b/contrib/libc++/include/locale
index f04a36b43990..91893757c8fb 100644
--- a/contrib/libc++/include/locale
+++ b/contrib/libc++/include/locale
@@ -354,7 +354,7 @@ size_t __mbsrtowcs_l(wchar_t *__dest, const char **__src, size_t __len,
#endif
}
-_LIBCPP_ALWAYS_INLINE inline
+inline
int __sprintf_l(char *__s, locale_t __l, const char *__format, ...) {
va_list __va;
va_start(__va, __format);
@@ -368,7 +368,7 @@ int __sprintf_l(char *__s, locale_t __l, const char *__format, ...) {
return __res;
}
-_LIBCPP_ALWAYS_INLINE inline
+inline
int __snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...) {
va_list __va;
va_start(__va, __format);
@@ -382,7 +382,7 @@ int __snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...)
return __res;
}
-_LIBCPP_ALWAYS_INLINE inline
+inline
int __asprintf_l(char **__s, locale_t __l, const char *__format, ...) {
va_list __va;
va_start(__va, __format);
@@ -396,7 +396,7 @@ int __asprintf_l(char **__s, locale_t __l, const char *__format, ...) {
return __res;
}
-_LIBCPP_ALWAYS_INLINE inline
+inline
int __sscanf_l(const char *__s, locale_t __l, const char *__format, ...) {
va_list __va;
va_start(__va, __format);
@@ -830,11 +830,11 @@ __num_get_signed_integral(const char* __a, const char* __a_end,
{
if (__a != __a_end)
{
- int __save_errno = errno;
+ typename remove_reference<decltype(errno)>::type __save_errno = errno;
errno = 0;
char *__p2;
long long __ll = strtoll_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
- int __current_errno = errno;
+ typename remove_reference<decltype(errno)>::type __current_errno = errno;
if (__current_errno == 0)
errno = __save_errno;
if (__p2 != __a_end)
@@ -870,11 +870,11 @@ __num_get_unsigned_integral(const char* __a, const char* __a_end,
__err = ios_base::failbit;
return 0;
}
- int __save_errno = errno;
+ typename remove_reference<decltype(errno)>::type __save_errno = errno;
errno = 0;
char *__p2;
unsigned long long __ll = strtoull_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
- int __current_errno = errno;
+ typename remove_reference<decltype(errno)>::type __current_errno = errno;
if (__current_errno == 0)
errno = __save_errno;
if (__p2 != __a_end)
@@ -2895,6 +2895,10 @@ template <class _CharT, bool _International>
locale::id
moneypunct<_CharT, _International>::id;
+template <class _CharT, bool _International>
+const bool
+moneypunct<_CharT, _International>::intl;
+
_LIBCPP_EXTERN_TEMPLATE(class moneypunct<char, false>)
_LIBCPP_EXTERN_TEMPLATE(class moneypunct<char, true>)
_LIBCPP_EXTERN_TEMPLATE(class moneypunct<wchar_t, false>)
diff --git a/contrib/libc++/include/memory b/contrib/libc++/include/memory
index 4c12ad93ab86..f80d699fc0d4 100644
--- a/contrib/libc++/include/memory
+++ b/contrib/libc++/include/memory
@@ -1571,7 +1571,10 @@ struct _LIBCPP_VISIBLE allocator_traits
__construct_backward(allocator_type& __a, _Ptr __begin1, _Ptr __end1, _Ptr& __end2)
{
while (__end1 != __begin1)
- construct(__a, _VSTD::__to_raw_pointer(--__end2), _VSTD::move_if_noexcept(*--__end1));
+ {
+ construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
+ --__end2;
+ }
}
template <class _Tp>
diff --git a/contrib/libc++/include/ostream b/contrib/libc++/include/ostream
index 9d26a41e8295..b3b6df573d04 100644
--- a/contrib/libc++/include/ostream
+++ b/contrib/libc++/include/ostream
@@ -1100,17 +1100,8 @@ basic_ostream<_CharT, _Traits>::write(const char_type* __s, streamsize __n)
sentry __sen(*this);
if (__sen && __n)
{
- typedef ostreambuf_iterator<_CharT, _Traits> _Op;
- _Op __o(*this);
- for (; __n; --__n, ++__o, ++__s)
- {
- *__o = *__s;
- if (__o.failed())
- {
- this->setstate(ios_base::badbit);
- break;
- }
- }
+ if (this->rdbuf()->sputn(__s, __n) != __n)
+ this->setstate(ios_base::badbit);
}
#ifndef _LIBCPP_NO_EXCEPTIONS
}
diff --git a/contrib/libc++/include/random b/contrib/libc++/include/random
index d838289551ca..04d942bc8766 100644
--- a/contrib/libc++/include/random
+++ b/contrib/libc++/include/random
@@ -1931,6 +1931,22 @@ private:
};
template <class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m>
+ _LIBCPP_CONSTEXPR const typename linear_congruential_engine<_UIntType, __a, __c, __m>::result_type
+ linear_congruential_engine<_UIntType, __a, __c, __m>::multiplier;
+
+template <class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m>
+ _LIBCPP_CONSTEXPR const typename linear_congruential_engine<_UIntType, __a, __c, __m>::result_type
+ linear_congruential_engine<_UIntType, __a, __c, __m>::increment;
+
+template <class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m>
+ _LIBCPP_CONSTEXPR const typename linear_congruential_engine<_UIntType, __a, __c, __m>::result_type
+ linear_congruential_engine<_UIntType, __a, __c, __m>::modulus;
+
+template <class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m>
+ _LIBCPP_CONSTEXPR const typename linear_congruential_engine<_UIntType, __a, __c, __m>::result_type
+ linear_congruential_engine<_UIntType, __a, __c, __m>::default_seed;
+
+template <class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m>
template<class _Sseq>
void
linear_congruential_engine<_UIntType, __a, __c, __m>::__seed(_Sseq& __q,
@@ -2230,6 +2246,90 @@ private:
template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
_UIntType __a, size_t __u, _UIntType __d, size_t __s,
_UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const size_t
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::word_size;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const size_t
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::state_size;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const size_t
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::shift_size;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const size_t
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::mask_bits;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::result_type
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::xor_mask;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const size_t
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_u;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::result_type
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_d;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const size_t
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_s;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::result_type
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_b;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const size_t
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_t;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::result_type
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_c;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const size_t
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::tempering_l;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::result_type
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::initialization_multiplier;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
+ _LIBCPP_CONSTEXPR const typename mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::result_type
+ mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::default_seed;
+
+template <class _UIntType, size_t __w, size_t __n, size_t __m, size_t __r,
+ _UIntType __a, size_t __u, _UIntType __d, size_t __s,
+ _UIntType __b, size_t __t, _UIntType __c, size_t __l, _UIntType __f>
void
mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b,
__t, __c, __l, __f>::seed(result_type __sd)
@@ -2552,6 +2652,19 @@ private:
};
template<class _UIntType, size_t __w, size_t __s, size_t __r>
+ _LIBCPP_CONSTEXPR const size_t subtract_with_carry_engine<_UIntType, __w, __s, __r>::word_size;
+
+template<class _UIntType, size_t __w, size_t __s, size_t __r>
+ _LIBCPP_CONSTEXPR const size_t subtract_with_carry_engine<_UIntType, __w, __s, __r>::short_lag;
+
+template<class _UIntType, size_t __w, size_t __s, size_t __r>
+ _LIBCPP_CONSTEXPR const size_t subtract_with_carry_engine<_UIntType, __w, __s, __r>::long_lag;
+
+template<class _UIntType, size_t __w, size_t __s, size_t __r>
+ _LIBCPP_CONSTEXPR const typename subtract_with_carry_engine<_UIntType, __w, __s, __r>::result_type
+ subtract_with_carry_engine<_UIntType, __w, __s, __r>::default_seed;
+
+template<class _UIntType, size_t __w, size_t __s, size_t __r>
void
subtract_with_carry_engine<_UIntType, __w, __s, __r>::seed(result_type __sd,
integral_constant<unsigned, 1>)
@@ -2823,6 +2936,12 @@ public:
};
template<class _Engine, size_t __p, size_t __r>
+ _LIBCPP_CONSTEXPR const size_t discard_block_engine<_Engine, __p, __r>::block_size;
+
+template<class _Engine, size_t __p, size_t __r>
+ _LIBCPP_CONSTEXPR const size_t discard_block_engine<_Engine, __p, __r>::used_block;
+
+template<class _Engine, size_t __p, size_t __r>
typename discard_block_engine<_Engine, __p, __r>::result_type
discard_block_engine<_Engine, __p, __r>::operator()()
{
@@ -3314,6 +3433,9 @@ private:
}
};
+template<class _Engine, size_t __k>
+ _LIBCPP_CONSTEXPR const size_t shuffle_order_engine<_Engine, __k>::table_size;
+
template<class _Eng, size_t _Kp>
bool
operator==(
diff --git a/contrib/libc++/include/regex b/contrib/libc++/include/regex
index 7505f2ea3295..982500f35ffc 100644
--- a/contrib/libc++/include/regex
+++ b/contrib/libc++/include/regex
@@ -2843,6 +2843,27 @@ private:
};
template <class _CharT, class _Traits>
+ const regex_constants::syntax_option_type basic_regex<_CharT, _Traits>::icase;
+template <class _CharT, class _Traits>
+ const regex_constants::syntax_option_type basic_regex<_CharT, _Traits>::nosubs;
+template <class _CharT, class _Traits>
+ const regex_constants::syntax_option_type basic_regex<_CharT, _Traits>::optimize;
+template <class _CharT, class _Traits>
+ const regex_constants::syntax_option_type basic_regex<_CharT, _Traits>::collate;
+template <class _CharT, class _Traits>
+ const regex_constants::syntax_option_type basic_regex<_CharT, _Traits>::ECMAScript;
+template <class _CharT, class _Traits>
+ const regex_constants::syntax_option_type basic_regex<_CharT, _Traits>::basic;
+template <class _CharT, class _Traits>
+ const regex_constants::syntax_option_type basic_regex<_CharT, _Traits>::extended;
+template <class _CharT, class _Traits>
+ const regex_constants::syntax_option_type basic_regex<_CharT, _Traits>::awk;
+template <class _CharT, class _Traits>
+ const regex_constants::syntax_option_type basic_regex<_CharT, _Traits>::grep;
+template <class _CharT, class _Traits>
+ const regex_constants::syntax_option_type basic_regex<_CharT, _Traits>::egrep;
+
+template <class _CharT, class _Traits>
void
basic_regex<_CharT, _Traits>::swap(basic_regex& __r)
{
diff --git a/contrib/libc++/include/string b/contrib/libc++/include/string
index 5bf42f023a41..1a70467940c7 100644
--- a/contrib/libc++/include/string
+++ b/contrib/libc++/include/string
@@ -3374,7 +3374,7 @@ basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(value_type __c,
{
const_pointer __p = data();
const_pointer __pe = __p + __sz;
- for (const_pointer __ps = __p + __pos; __p != __pe; ++__ps)
+ for (const_pointer __ps = __p + __pos; __ps != __pe; ++__ps)
if (!traits_type::eq(*__ps, __c))
return static_cast<size_type>(__ps - __p);
}
diff --git a/contrib/libc++/include/type_traits b/contrib/libc++/include/type_traits
index 26c37dfa0c74..8f1c6024c71d 100644
--- a/contrib/libc++/include/type_traits
+++ b/contrib/libc++/include/type_traits
@@ -617,7 +617,28 @@ struct _LIBCPP_VISIBLE is_base_of
#else // __has_feature(is_base_of)
-#error is_base_of not implemented.
+namespace __is_base_of_imp
+{
+template <class _Tp>
+struct _Dst
+{
+ _Dst(const volatile _Tp &);
+};
+template <class _Tp>
+struct _Src
+{
+ operator const volatile _Tp &();
+ template <class _Up> operator const _Dst<_Up> &();
+};
+template <size_t> struct __one { typedef char type; };
+template <class _Bp, class _Dp> typename __one<sizeof(_Dst<_Bp>(declval<_Src<_Dp> >()))>::type __test(int);
+template <class _Bp, class _Dp> __two __test(...);
+}
+
+template <class _Bp, class _Dp>
+struct _LIBCPP_VISIBLE is_base_of
+ : public integral_constant<bool, is_class<_Bp>::value &&
+ sizeof(__is_base_of_imp::__test<_Bp, _Dp>(0)) == 2> {};
#endif // __has_feature(is_base_of)
diff --git a/contrib/libc++/include/vector b/contrib/libc++/include/vector
index 0c2806828334..876b7e5676bd 100644
--- a/contrib/libc++/include/vector
+++ b/contrib/libc++/include/vector
@@ -1458,7 +1458,8 @@ vector<_Tp, _Allocator>::__push_back_slow_path(_Up& __x)
allocator_type& __a = this->__alloc();
__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), size(), __a);
// __v.push_back(_VSTD::forward<_Up>(__x));
- __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_++), _VSTD::forward<_Up>(__x));
+ __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Up>(__x));
+ __v.__end_++;
__swap_out_circular_buffer(__v);
}
@@ -1505,7 +1506,8 @@ vector<_Tp, _Allocator>::__emplace_back_slow_path(_Args&&... __args)
allocator_type& __a = this->__alloc();
__split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), size(), __a);
// __v.emplace_back(_VSTD::forward<_Args>(__args)...);
- __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_++), _VSTD::forward<_Args>(__args)...);
+ __alloc_traits::construct(__a, _VSTD::__to_raw_pointer(__v.__end_), _VSTD::forward<_Args>(__args)...);
+ __v.__end_++;
__swap_out_circular_buffer(__v);
}
diff --git a/contrib/libc++/src/chrono.cpp b/contrib/libc++/src/chrono.cpp
index 73c83ee084e9..1ce2e2807a37 100644
--- a/contrib/libc++/src/chrono.cpp
+++ b/contrib/libc++/src/chrono.cpp
@@ -24,6 +24,8 @@ namespace chrono
// system_clock
+const bool system_clock::is_steady;
+
system_clock::time_point
system_clock::now() _NOEXCEPT
{
@@ -46,6 +48,8 @@ system_clock::from_time_t(time_t t) _NOEXCEPT
// steady_clock
+const bool steady_clock::is_steady;
+
#if __APPLE__
// mach_absolute_time() * MachInfo.numer / MachInfo.denom is the number of
// nanoseconds since the computer booted up. MachInfo.numer and MachInfo.denom
diff --git a/contrib/libc++/src/debug.cpp b/contrib/libc++/src/debug.cpp
index b8af4dde7749..f3a0262d1d5e 100644
--- a/contrib/libc++/src/debug.cpp
+++ b/contrib/libc++/src/debug.cpp
@@ -23,7 +23,7 @@ __get_db()
{
static __libcpp_db db;
return &db;
-};
+}
_LIBCPP_VISIBLE
const __libcpp_db*
diff --git a/contrib/libc++/src/exception.cpp b/contrib/libc++/src/exception.cpp
index 0dbb6604a560..0cd182b716cb 100644
--- a/contrib/libc++/src/exception.cpp
+++ b/contrib/libc++/src/exception.cpp
@@ -33,7 +33,7 @@
#if defined(LIBCXXRT) || defined(_LIBCPPABI_VERSION)
#define HAVE_DEPENDENT_EH_ABI 1
#endif
-#else // __has_include(<cxxabi.h>)
+#elif !defined(__GLIBCXX__) // __has_include(<cxxabi.h>)
static std::terminate_handler __terminate_handler;
static std::unexpected_handler __unexpected_handler;
#endif // __has_include(<cxxabi.h>)
@@ -41,7 +41,7 @@
namespace std
{
-#if !defined(LIBCXXRT) && !defined(_LIBCPPABI_VERSION)
+#if !defined(LIBCXXRT) && !defined(_LIBCPPABI_VERSION) && !defined(__GLIBCXX__)
// libcxxrt provides implementations of these functions itself.
unexpected_handler
@@ -99,7 +99,7 @@ terminate() _NOEXCEPT
}
#endif // !defined(LIBCXXRT) && !defined(_LIBCPPABI_VERSION)
-#ifndef LIBCXXRT
+#if !defined(LIBCXXRT) && !defined(__GLIBCXX__)
bool uncaught_exception() _NOEXCEPT
{
#if __APPLE__ || defined(_LIBCPPABI_VERSION)
@@ -124,7 +124,7 @@ const char* exception::what() const _NOEXCEPT
#endif // _LIBCPPABI_VERSION
#endif //LIBCXXRT
-#ifndef _LIBCPPABI_VERSION
+#if !defined(_LIBCPPABI_VERSION) && !defined(__GLIBCXX__)
bad_exception::~bad_exception() _NOEXCEPT
{
diff --git a/contrib/libc++/src/future.cpp b/contrib/libc++/src/future.cpp
index feb37e42db4e..7d9a5b5da69a 100644
--- a/contrib/libc++/src/future.cpp
+++ b/contrib/libc++/src/future.cpp
@@ -78,8 +78,8 @@ __assoc_sub_state::set_value()
throw future_error(make_error_code(future_errc::promise_already_satisfied));
#endif
__state_ |= __constructed | ready;
- __lk.unlock();
__cv_.notify_all();
+ __lk.unlock();
}
void
diff --git a/contrib/libc++/src/hash.cpp b/contrib/libc++/src/hash.cpp
index 6f30d5a60581..55874788db5c 100644
--- a/contrib/libc++/src/hash.cpp
+++ b/contrib/libc++/src/hash.cpp
@@ -10,6 +10,14 @@
#include "__hash_table"
#include "algorithm"
#include "stdexcept"
+#include "type_traits"
+
+// Don't silence a non-existent warning if clang doesn't yet have this warning.
+#ifdef __clang__
+#if (__clang_major__ > 3) || ((__clang_major__ == 3) && (__clang_minor__ >= 2))
+#pragma clang diagnostic ignored "-Wtautological-constant-out-of-range-compare"
+#endif
+#endif
_LIBCPP_BEGIN_NAMESPACE_STD
@@ -144,21 +152,23 @@ const unsigned indices[] =
// are fewer potential primes to search, and fewer potential primes to divide
// against.
+template <size_t _Sz = sizeof(size_t)>
inline _LIBCPP_INLINE_VISIBILITY
-void
-__check_for_overflow(size_t N, integral_constant<size_t, 32>)
+typename enable_if<_Sz == 4, void>::type
+__check_for_overflow(size_t N)
{
-#ifndef _LIBCPP_NO_EXCEPTIONS
+#ifndef _LIBCPP_NO_EXCEPTIONS
if (N > 0xFFFFFFFB)
throw overflow_error("__next_prime overflow");
#endif
}
+template <size_t _Sz = sizeof(size_t)>
inline _LIBCPP_INLINE_VISIBILITY
-void
-__check_for_overflow(size_t N, integral_constant<size_t, 64>)
+typename enable_if<_Sz == 8, void>::type
+__check_for_overflow(size_t N)
{
-#ifndef _LIBCPP_NO_EXCEPTIONS
+#ifndef _LIBCPP_NO_EXCEPTIONS
if (N > 0xFFFFFFFFFFFFFFC5ull)
throw overflow_error("__next_prime overflow");
#endif
@@ -174,8 +184,7 @@ __next_prime(size_t n)
return *std::lower_bound(small_primes, small_primes + N, n);
// Else n > largest small_primes
// Check for overflow
- __check_for_overflow(n, integral_constant<size_t,
- sizeof(n) * __CHAR_BIT__>());
+ __check_for_overflow(n);
// Start searching list of potential primes: L * k0 + indices[in]
const size_t M = sizeof(indices) / sizeof(indices[0]);
// Select first potential prime >= n
diff --git a/contrib/libc++/src/locale.cpp b/contrib/libc++/src/locale.cpp
index 542c0d7a20ff..53a8a4cc1f08 100644
--- a/contrib/libc++/src/locale.cpp
+++ b/contrib/libc++/src/locale.cpp
@@ -81,8 +81,35 @@ make(A0 a0, A1 a1, A2 a2)
return *(T*)&buf;
}
+template <typename T, size_t N>
+inline
+_LIBCPP_CONSTEXPR
+size_t
+countof(const T (&)[N])
+{
+ return N;
+}
+
+template <typename T>
+inline
+_LIBCPP_CONSTEXPR
+size_t
+countof(const T * const begin, const T * const end)
+{
+ return static_cast<size_t>(end - begin);
+}
+
}
+const locale::category locale::none;
+const locale::category locale::collate;
+const locale::category locale::ctype;
+const locale::category locale::monetary;
+const locale::category locale::numeric;
+const locale::category locale::time;
+const locale::category locale::messages;
+const locale::category locale::all;
+
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wpadded"
@@ -197,6 +224,11 @@ locale::__imp::__imp(const string& name, size_t refs)
#endif // _LIBCPP_NO_EXCEPTIONS
}
+// NOTE avoid the `base class should be explicitly initialized in the
+// copy constructor` warning emitted by GCC
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wextra"
+
locale::__imp::__imp(const __imp& other)
: facets_(max<size_t>(N, other.facets_.size())),
name_(other.name_)
@@ -207,6 +239,8 @@ locale::__imp::__imp(const __imp& other)
facets_[i]->__add_shared();
}
+#pragma GCC diagnostic pop
+
locale::__imp::__imp(const __imp& other, const string& name, locale::category c)
: facets_(N),
name_("*")
@@ -691,6 +725,19 @@ collate_byname<wchar_t>::do_transform(const char_type* lo, const char_type* hi)
// template <> class ctype<wchar_t>;
+const ctype_base::mask ctype_base::space;
+const ctype_base::mask ctype_base::print;
+const ctype_base::mask ctype_base::cntrl;
+const ctype_base::mask ctype_base::upper;
+const ctype_base::mask ctype_base::lower;
+const ctype_base::mask ctype_base::alpha;
+const ctype_base::mask ctype_base::digit;
+const ctype_base::mask ctype_base::punct;
+const ctype_base::mask ctype_base::xdigit;
+const ctype_base::mask ctype_base::blank;
+const ctype_base::mask ctype_base::alnum;
+const ctype_base::mask ctype_base::graph;
+
locale::id ctype<wchar_t>::id;
ctype<wchar_t>::~ctype()
@@ -843,7 +890,7 @@ ctype<char>::do_toupper(char_type c) const
return isascii(c) ?
static_cast<char>(_DefaultRuneLocale.__mapupper[static_cast<ptrdiff_t>(c)]) : c;
#elif defined(__GLIBC__)
- return isascii(c) ? __classic_upper_table()[c] : c;
+ return isascii(c) ? __classic_upper_table()[static_cast<size_t>(c)] : c;
#else
return (isascii(c) && islower_l(c, __cloc())) ? c-'a'+'A' : c;
#endif
@@ -857,7 +904,7 @@ ctype<char>::do_toupper(char_type* low, const char_type* high) const
*low = isascii(*low) ?
static_cast<char>(_DefaultRuneLocale.__mapupper[static_cast<ptrdiff_t>(*low)]) : *low;
#elif defined(__GLIBC__)
- *low = isascii(*low) ? __classic_upper_table()[*low] : *low;
+ *low = isascii(*low) ? __classic_upper_table()[static_cast<size_t>(*low)] : *low;
#else
*low = (isascii(*low) && islower_l(*low, __cloc())) ? *low-'a'+'A' : *low;
#endif
@@ -871,7 +918,7 @@ ctype<char>::do_tolower(char_type c) const
return isascii(c) ?
static_cast<char>(_DefaultRuneLocale.__maplower[static_cast<ptrdiff_t>(c)]) : c;
#elif defined(__GLIBC__)
- return isascii(c) ? __classic_lower_table()[c] : c;
+ return isascii(c) ? __classic_lower_table()[static_cast<size_t>(c)] : c;
#else
return (isascii(c) && isupper_l(c, __cloc())) ? c-'A'+'a' : c;
#endif
@@ -884,7 +931,7 @@ ctype<char>::do_tolower(char_type* low, const char_type* high) const
#ifdef _LIBCPP_HAS_DEFAULTRUNELOCALE
*low = isascii(*low) ? static_cast<char>(_DefaultRuneLocale.__maplower[static_cast<ptrdiff_t>(*low)]) : *low;
#elif defined(__GLIBC__)
- *low = isascii(*low) ? __classic_lower_table()[*low] : *low;
+ *low = isascii(*low) ? __classic_lower_table()[static_cast<size_t>(*low)] : *low;
#else
*low = (isascii(*low) && isupper_l(*low, __cloc())) ? *low-'A'+'a' : *low;
#endif
@@ -1207,7 +1254,7 @@ ctype_byname<wchar_t>::do_narrow(char_type c, char dfault) const
#else
int r = __wctob_l(c, __l);
#endif
- return r != WEOF ? static_cast<char>(r) : dfault;
+ return r != static_cast<int>(WEOF) ? static_cast<char>(r) : dfault;
}
const wchar_t*
@@ -1220,7 +1267,7 @@ ctype_byname<wchar_t>::do_narrow(const char_type* low, const char_type* high, ch
#else
int r = __wctob_l(*low, __l);
#endif
- *dest = r != WEOF ? static_cast<char>(r) : dfault;
+ *dest = r != static_cast<int>(WEOF) ? static_cast<char>(r) : dfault;
}
return low;
}
@@ -2619,7 +2666,6 @@ utf16be_to_ucs4_length(const uint8_t* frm, const uint8_t* frm_end,
codecvt_mode mode = codecvt_mode(0))
{
const uint8_t* frm_nxt = frm;
- frm_nxt = frm;
if (mode & consume_header)
{
if (frm_end-frm_nxt >= 2 && frm_nxt[0] == 0xFE && frm_nxt[1] == 0xFF)
@@ -2752,7 +2798,6 @@ utf16le_to_ucs4_length(const uint8_t* frm, const uint8_t* frm_end,
codecvt_mode mode = codecvt_mode(0))
{
const uint8_t* frm_nxt = frm;
- frm_nxt = frm;
if (mode & consume_header)
{
if (frm_end-frm_nxt >= 2 && frm_nxt[0] == 0xFF && frm_nxt[1] == 0xFE)
@@ -2847,7 +2892,6 @@ utf16be_to_ucs2_length(const uint8_t* frm, const uint8_t* frm_end,
codecvt_mode mode = codecvt_mode(0))
{
const uint8_t* frm_nxt = frm;
- frm_nxt = frm;
if (mode & consume_header)
{
if (frm_end-frm_nxt >= 2 && frm_nxt[0] == 0xFE && frm_nxt[1] == 0xFF)
@@ -4559,6 +4603,7 @@ __time_get::~__time_get()
}
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
template <>
string
@@ -4578,7 +4623,7 @@ __time_get_storage<char>::__analyze(char fmt, const ctype<char>& ct)
char f[3] = {0};
f[0] = '%';
f[1] = fmt;
- size_t n = strftime_l(buf, 100, f, &t, __loc_);
+ size_t n = strftime_l(buf, countof(buf), f, &t, __loc_);
char* bb = buf;
char* be = buf + n;
string result;
@@ -4724,15 +4769,15 @@ __time_get_storage<wchar_t>::__analyze(char fmt, const ctype<wchar_t>& ct)
char f[3] = {0};
f[0] = '%';
f[1] = fmt;
- strftime_l(buf, 100, f, &t, __loc_);
+ strftime_l(buf, countof(buf), f, &t, __loc_);
wchar_t wbuf[100];
wchar_t* wbb = wbuf;
mbstate_t mb = {0};
const char* bb = buf;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- size_t j = mbsrtowcs_l( wbb, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ size_t j = mbsrtowcs_l( wbb, &bb, countof(wbuf), &mb, __loc_);
#else
- size_t j = __mbsrtowcs_l( wbb, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ size_t j = __mbsrtowcs_l( wbb, &bb, countof(wbuf), &mb, __loc_);
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
@@ -4870,26 +4915,26 @@ __time_get_storage<char>::init(const ctype<char>& ct)
for (int i = 0; i < 7; ++i)
{
t.tm_wday = i;
- strftime_l(buf, 100, "%A", &t, __loc_);
+ strftime_l(buf, countof(buf), "%A", &t, __loc_);
__weeks_[i] = buf;
- strftime_l(buf, 100, "%a", &t, __loc_);
+ strftime_l(buf, countof(buf), "%a", &t, __loc_);
__weeks_[i+7] = buf;
}
// __months_
for (int i = 0; i < 12; ++i)
{
t.tm_mon = i;
- strftime_l(buf, 100, "%B", &t, __loc_);
+ strftime_l(buf, countof(buf), "%B", &t, __loc_);
__months_[i] = buf;
- strftime_l(buf, 100, "%b", &t, __loc_);
+ strftime_l(buf, countof(buf), "%b", &t, __loc_);
__months_[i+12] = buf;
}
// __am_pm_
t.tm_hour = 1;
- strftime_l(buf, 100, "%p", &t, __loc_);
+ strftime_l(buf, countof(buf), "%p", &t, __loc_);
__am_pm_[0] = buf;
t.tm_hour = 13;
- strftime_l(buf, 100, "%p", &t, __loc_);
+ strftime_l(buf, countof(buf), "%p", &t, __loc_);
__am_pm_[1] = buf;
__c_ = __analyze('c', ct);
__r_ = __analyze('r', ct);
@@ -4903,7 +4948,6 @@ __time_get_storage<wchar_t>::init(const ctype<wchar_t>& ct)
{
tm t = {0};
char buf[100];
- size_t be;
wchar_t wbuf[100];
wchar_t* wbe;
mbstate_t mb = {0};
@@ -4911,25 +4955,25 @@ __time_get_storage<wchar_t>::init(const ctype<wchar_t>& ct)
for (int i = 0; i < 7; ++i)
{
t.tm_wday = i;
- be = strftime_l(buf, 100, "%A", &t, __loc_);
+ strftime_l(buf, countof(buf), "%A", &t, __loc_);
mb = mbstate_t();
const char* bb = buf;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- size_t j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ size_t j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#else
- size_t j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ size_t j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
wbe = wbuf + j;
__weeks_[i].assign(wbuf, wbe);
- be = strftime_l(buf, 100, "%a", &t, __loc_);
+ strftime_l(buf, countof(buf), "%a", &t, __loc_);
mb = mbstate_t();
bb = buf;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#else
- j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
@@ -4940,25 +4984,25 @@ __time_get_storage<wchar_t>::init(const ctype<wchar_t>& ct)
for (int i = 0; i < 12; ++i)
{
t.tm_mon = i;
- be = strftime_l(buf, 100, "%B", &t, __loc_);
+ strftime_l(buf, countof(buf), "%B", &t, __loc_);
mb = mbstate_t();
const char* bb = buf;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- size_t j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ size_t j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#else
- size_t j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ size_t j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
wbe = wbuf + j;
__months_[i].assign(wbuf, wbe);
- be = strftime_l(buf, 100, "%b", &t, __loc_);
+ strftime_l(buf, countof(buf), "%b", &t, __loc_);
mb = mbstate_t();
bb = buf;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#else
- j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
@@ -4967,26 +5011,26 @@ __time_get_storage<wchar_t>::init(const ctype<wchar_t>& ct)
}
// __am_pm_
t.tm_hour = 1;
- be = strftime_l(buf, 100, "%p", &t, __loc_);
+ strftime_l(buf, countof(buf), "%p", &t, __loc_);
mb = mbstate_t();
const char* bb = buf;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- size_t j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ size_t j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#else
- size_t j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ size_t j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
wbe = wbuf + j;
__am_pm_[0].assign(wbuf, wbe);
t.tm_hour = 13;
- be = strftime_l(buf, 100, "%p", &t, __loc_);
+ strftime_l(buf, countof(buf), "%p", &t, __loc_);
mb = mbstate_t();
bb = buf;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#else
- j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, __loc_);
+ j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
@@ -5249,7 +5293,7 @@ __time_put::__do_put(char* __nb, char*& __ne, const tm* __tm,
char fmt[] = {'%', __fmt, __mod, 0};
if (__mod != 0)
swap(fmt[1], fmt[2]);
- size_t n = strftime_l(__nb, static_cast<size_t>(__ne-__nb), fmt, __tm, __loc_);
+ size_t n = strftime_l(__nb, countof(__nb, __ne), fmt, __tm, __loc_);
__ne = __nb + n;
}
@@ -5263,9 +5307,9 @@ __time_put::__do_put(wchar_t* __wb, wchar_t*& __we, const tm* __tm,
mbstate_t mb = {0};
const char* __nb = __nar;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- size_t j = mbsrtowcs_l(__wb, &__nb, 100, &mb, __loc_);
+ size_t j = mbsrtowcs_l(__wb, &__nb, countof(__wb, __we), &mb, __loc_);
#else
- size_t j = __mbsrtowcs_l(__wb, &__nb, 100, &mb, __loc_);
+ size_t j = __mbsrtowcs_l(__wb, &__nb, countof(__wb, __we), &mb, __loc_);
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
@@ -5788,9 +5832,9 @@ moneypunct_byname<wchar_t, false>::init(const char* nm)
mbstate_t mb = {0};
const char* bb = lc->currency_symbol;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- size_t j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ size_t j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#else
- size_t j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ size_t j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
@@ -5807,9 +5851,9 @@ moneypunct_byname<wchar_t, false>::init(const char* nm)
mb = mbstate_t();
bb = lc->positive_sign;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#else
- j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
@@ -5823,9 +5867,9 @@ moneypunct_byname<wchar_t, false>::init(const char* nm)
mb = mbstate_t();
bb = lc->negative_sign;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#else
- j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
@@ -5871,9 +5915,9 @@ moneypunct_byname<wchar_t, true>::init(const char* nm)
mbstate_t mb = {0};
const char* bb = lc->int_curr_symbol;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- size_t j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ size_t j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#else
- size_t j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ size_t j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
@@ -5894,9 +5938,9 @@ moneypunct_byname<wchar_t, true>::init(const char* nm)
mb = mbstate_t();
bb = lc->positive_sign;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#else
- j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
@@ -5914,9 +5958,9 @@ moneypunct_byname<wchar_t, true>::init(const char* nm)
mb = mbstate_t();
bb = lc->negative_sign;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
- j = mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#else
- j = __mbsrtowcs_l(wbuf, &bb, sizeof(wbuf)/sizeof(wbuf[0]), &mb, loc.get());
+ j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, loc.get());
#endif
if (j == size_t(-1))
__throw_runtime_error("locale not supported");
diff --git a/contrib/libc++/src/string.cpp b/contrib/libc++/src/string.cpp
index 750ba284e366..40723e74a156 100644
--- a/contrib/libc++/src/string.cpp
+++ b/contrib/libc++/src/string.cpp
@@ -31,17 +31,17 @@ stoi(const string& str, size_t* idx, int base)
{
char* ptr;
const char* const p = str.c_str();
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
+ errno = 0;
long r = strtol(p, &ptr, base);
- if (r < numeric_limits<int>::min() || numeric_limits<int>::max() < r)
- ptr = const_cast<char*>(p);
- if (ptr == p)
- {
+ swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
- if (r == 0)
- throw invalid_argument("stoi: no conversion");
+ if (errno_save == ERANGE || r < numeric_limits<int>::min() ||
+ numeric_limits<int>::max() < r)
throw out_of_range("stoi: out of range");
+ if (ptr == p)
+ throw invalid_argument("stoi: no conversion");
#endif // _LIBCPP_NO_EXCEPTIONS
- }
if (idx)
*idx = static_cast<size_t>(ptr - p);
return static_cast<int>(r);
@@ -52,17 +52,17 @@ stoi(const wstring& str, size_t* idx, int base)
{
wchar_t* ptr;
const wchar_t* const p = str.c_str();
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
+ errno = 0;
long r = wcstol(p, &ptr, base);
- if (r < numeric_limits<int>::min() || numeric_limits<int>::max() < r)
- ptr = const_cast<wchar_t*>(p);
- if (ptr == p)
- {
+ swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
- if (r == 0)
- throw invalid_argument("stoi: no conversion");
+ if (errno_save == ERANGE || r < numeric_limits<int>::min() ||
+ numeric_limits<int>::max() < r)
throw out_of_range("stoi: out of range");
+ if (ptr == p)
+ throw invalid_argument("stoi: no conversion");
#endif // _LIBCPP_NO_EXCEPTIONS
- }
if (idx)
*idx = static_cast<size_t>(ptr - p);
return static_cast<int>(r);
@@ -73,15 +73,16 @@ stol(const string& str, size_t* idx, int base)
{
char* ptr;
const char* const p = str.c_str();
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
+ errno = 0;
long r = strtol(p, &ptr, base);
- if (ptr == p)
- {
+ swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
- if (r == 0)
- throw invalid_argument("stol: no conversion");
+ if (errno_save == ERANGE)
throw out_of_range("stol: out of range");
+ if (ptr == p)
+ throw invalid_argument("stol: no conversion");
#endif // _LIBCPP_NO_EXCEPTIONS
- }
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;
@@ -92,15 +93,16 @@ stol(const wstring& str, size_t* idx, int base)
{
wchar_t* ptr;
const wchar_t* const p = str.c_str();
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
+ errno = 0;
long r = wcstol(p, &ptr, base);
- if (ptr == p)
- {
+ swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
- if (r == 0)
- throw invalid_argument("stol: no conversion");
+ if (errno_save == ERANGE)
throw out_of_range("stol: out of range");
+ if (ptr == p)
+ throw invalid_argument("stol: no conversion");
#endif // _LIBCPP_NO_EXCEPTIONS
- }
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;
@@ -111,15 +113,16 @@ stoul(const string& str, size_t* idx, int base)
{
char* ptr;
const char* const p = str.c_str();
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
+ errno = 0;
unsigned long r = strtoul(p, &ptr, base);
- if (ptr == p)
- {
+ swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
- if (r == 0)
- throw invalid_argument("stoul: no conversion");
+ if (errno_save == ERANGE)
throw out_of_range("stoul: out of range");
+ if (ptr == p)
+ throw invalid_argument("stoul: no conversion");
#endif // _LIBCPP_NO_EXCEPTIONS
- }
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;
@@ -130,15 +133,16 @@ stoul(const wstring& str, size_t* idx, int base)
{
wchar_t* ptr;
const wchar_t* const p = str.c_str();
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
+ errno = 0;
unsigned long r = wcstoul(p, &ptr, base);
- if (ptr == p)
- {
+ swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
- if (r == 0)
- throw invalid_argument("stoul: no conversion");
+ if (errno_save == ERANGE)
throw out_of_range("stoul: out of range");
+ if (ptr == p)
+ throw invalid_argument("stoul: no conversion");
#endif // _LIBCPP_NO_EXCEPTIONS
- }
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;
@@ -149,15 +153,16 @@ stoll(const string& str, size_t* idx, int base)
{
char* ptr;
const char* const p = str.c_str();
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
+ errno = 0;
long long r = strtoll(p, &ptr, base);
- if (ptr == p)
- {
+ swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
- if (r == 0)
- throw invalid_argument("stoll: no conversion");
+ if (errno_save == ERANGE)
throw out_of_range("stoll: out of range");
+ if (ptr == p)
+ throw invalid_argument("stoll: no conversion");
#endif // _LIBCPP_NO_EXCEPTIONS
- }
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;
@@ -168,15 +173,16 @@ stoll(const wstring& str, size_t* idx, int base)
{
wchar_t* ptr;
const wchar_t* const p = str.c_str();
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
+ errno = 0;
long long r = wcstoll(p, &ptr, base);
- if (ptr == p)
- {
+ swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
- if (r == 0)
- throw invalid_argument("stoll: no conversion");
+ if (errno_save == ERANGE)
throw out_of_range("stoll: out of range");
+ if (ptr == p)
+ throw invalid_argument("stoll: no conversion");
#endif // _LIBCPP_NO_EXCEPTIONS
- }
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;
@@ -187,15 +193,16 @@ stoull(const string& str, size_t* idx, int base)
{
char* ptr;
const char* const p = str.c_str();
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
+ errno = 0;
unsigned long long r = strtoull(p, &ptr, base);
- if (ptr == p)
- {
+ swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
- if (r == 0)
- throw invalid_argument("stoull: no conversion");
+ if (errno_save == ERANGE)
throw out_of_range("stoull: out of range");
+ if (ptr == p)
+ throw invalid_argument("stoull: no conversion");
#endif // _LIBCPP_NO_EXCEPTIONS
- }
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;
@@ -206,15 +213,16 @@ stoull(const wstring& str, size_t* idx, int base)
{
wchar_t* ptr;
const wchar_t* const p = str.c_str();
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
+ errno = 0;
unsigned long long r = wcstoull(p, &ptr, base);
- if (ptr == p)
- {
+ swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
- if (r == 0)
- throw invalid_argument("stoull: no conversion");
+ if (errno_save == ERANGE)
throw out_of_range("stoull: out of range");
+ if (ptr == p)
+ throw invalid_argument("stoull: no conversion");
#endif // _LIBCPP_NO_EXCEPTIONS
- }
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;
@@ -225,9 +233,9 @@ stof(const string& str, size_t* idx)
{
char* ptr;
const char* const p = str.c_str();
- int errno_save = errno;
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
errno = 0;
- double r = strtod(p, &ptr);
+ float r = strtof(p, &ptr);
swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
if (errno_save == ERANGE)
@@ -237,7 +245,7 @@ stof(const string& str, size_t* idx)
#endif // _LIBCPP_NO_EXCEPTIONS
if (idx)
*idx = static_cast<size_t>(ptr - p);
- return static_cast<float>(r);
+ return r;
}
float
@@ -245,9 +253,9 @@ stof(const wstring& str, size_t* idx)
{
wchar_t* ptr;
const wchar_t* const p = str.c_str();
- int errno_save = errno;
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
errno = 0;
- double r = wcstod(p, &ptr);
+ float r = wcstof(p, &ptr);
swap(errno, errno_save);
#ifndef _LIBCPP_NO_EXCEPTIONS
if (errno_save == ERANGE)
@@ -257,7 +265,7 @@ stof(const wstring& str, size_t* idx)
#endif // _LIBCPP_NO_EXCEPTIONS
if (idx)
*idx = static_cast<size_t>(ptr - p);
- return static_cast<float>(r);
+ return r;
}
double
@@ -265,7 +273,7 @@ stod(const string& str, size_t* idx)
{
char* ptr;
const char* const p = str.c_str();
- int errno_save = errno;
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
errno = 0;
double r = strtod(p, &ptr);
swap(errno, errno_save);
@@ -285,7 +293,7 @@ stod(const wstring& str, size_t* idx)
{
wchar_t* ptr;
const wchar_t* const p = str.c_str();
- int errno_save = errno;
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
errno = 0;
double r = wcstod(p, &ptr);
swap(errno, errno_save);
@@ -305,7 +313,7 @@ stold(const string& str, size_t* idx)
{
char* ptr;
const char* const p = str.c_str();
- int errno_save = errno;
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
errno = 0;
long double r = strtold(p, &ptr);
swap(errno, errno_save);
@@ -325,7 +333,7 @@ stold(const wstring& str, size_t* idx)
{
wchar_t* ptr;
const wchar_t* const p = str.c_str();
- int errno_save = errno;
+ typename remove_reference<decltype(errno)>::type errno_save = errno;
errno = 0;
long double r = wcstold(p, &ptr);
swap(errno, errno_save);
diff --git a/contrib/libc++/src/thread.cpp b/contrib/libc++/src/thread.cpp
index 8747adf0b595..b2bd07e9d3ba 100644
--- a/contrib/libc++/src/thread.cpp
+++ b/contrib/libc++/src/thread.cpp
@@ -67,8 +67,10 @@ thread::hardware_concurrency() _NOEXCEPT
return n;
#elif defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200112L) && defined(_SC_NPROCESSORS_ONLN)
long result = sysconf(_SC_NPROCESSORS_ONLN);
- if (result < 0 || result > UINT_MAX)
- result = 0;
+ // sysconf returns -1 if the name is invalid, the option does not exist or
+ // does not have a definite limit.
+ if (result == -1)
+ return 0;
return result;
#else // defined(CTL_HW) && defined(HW_NCPU)
// TODO: grovel through /proc or check cpuid on x86 and similar
diff --git a/contrib/libcxxrt/exception.cc b/contrib/libcxxrt/exception.cc
index 4ccf38eba7ac..7f0d3e8b0f6a 100644
--- a/contrib/libcxxrt/exception.cc
+++ b/contrib/libcxxrt/exception.cc
@@ -1387,7 +1387,7 @@ namespace std
{
if (thread_local_handlers) { return pathscale::set_unexpected(f); }
- return ATOMIC_SWAP(&terminateHandler, f);
+ return ATOMIC_SWAP(&unexpectedHandler, f);
}
/**
* Sets the function that is called to terminate the program.
diff --git a/etc/sendmail/Makefile.depend b/etc/sendmail/Makefile.depend
new file mode 100644
index 000000000000..29fda55c252f
--- /dev/null
+++ b/etc/sendmail/Makefile.depend
@@ -0,0 +1,14 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/bcd/Makefile.depend b/games/bcd/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/games/bcd/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/caesar/Makefile.depend b/games/caesar/Makefile.depend
new file mode 100644
index 000000000000..d78f7b72e2c0
--- /dev/null
+++ b/games/caesar/Makefile.depend
@@ -0,0 +1,20 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/factor/Makefile.depend b/games/factor/Makefile.depend
new file mode 100644
index 000000000000..1ae71d98e8f9
--- /dev/null
+++ b/games/factor/Makefile.depend
@@ -0,0 +1,20 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ secure/lib/libcrypto \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/fortune/datfiles/Makefile.depend b/games/fortune/datfiles/Makefile.depend
new file mode 100644
index 000000000000..29fda55c252f
--- /dev/null
+++ b/games/fortune/datfiles/Makefile.depend
@@ -0,0 +1,14 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/fortune/fortune/Makefile.depend b/games/fortune/fortune/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/games/fortune/fortune/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/fortune/strfile/Makefile.depend b/games/fortune/strfile/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/games/fortune/strfile/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/fortune/unstr/Makefile.depend b/games/fortune/unstr/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/games/fortune/unstr/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/grdc/Makefile.depend b/games/grdc/Makefile.depend
new file mode 100644
index 000000000000..c74c89fb77e8
--- /dev/null
+++ b/games/grdc/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/ncurses/ncurses \
+ lib/ncurses/ncursesw \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/morse/Makefile.depend b/games/morse/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/games/morse/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/number/Makefile.depend b/games/number/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/games/number/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/pom/Makefile.depend b/games/pom/Makefile.depend
new file mode 100644
index 000000000000..d78f7b72e2c0
--- /dev/null
+++ b/games/pom/Makefile.depend
@@ -0,0 +1,20 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/ppt/Makefile.depend b/games/ppt/Makefile.depend
new file mode 100644
index 000000000000..ac1b1319c7ef
--- /dev/null
+++ b/games/ppt/Makefile.depend
@@ -0,0 +1,18 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/primes/Makefile.depend b/games/primes/Makefile.depend
new file mode 100644
index 000000000000..d78f7b72e2c0
--- /dev/null
+++ b/games/primes/Makefile.depend
@@ -0,0 +1,20 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/games/random/Makefile.depend b/games/random/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/games/random/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/lib/csu/Makefile.depend b/gnu/lib/csu/Makefile.depend
new file mode 100644
index 000000000000..04f30e7487f1
--- /dev/null
+++ b/gnu/lib/csu/Makefile.depend
@@ -0,0 +1,46 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+crtbegin.o: options.h
+crtbegin.o: tconfig.h
+crtbegin.o: tm.h
+crtbegin.po: options.h
+crtbegin.po: tconfig.h
+crtbegin.po: tm.h
+crtbeginS.o: options.h
+crtbeginS.o: tconfig.h
+crtbeginS.o: tm.h
+crtbeginS.po: options.h
+crtbeginS.po: tconfig.h
+crtbeginS.po: tm.h
+crtbeginT.o: options.h
+crtbeginT.o: tconfig.h
+crtbeginT.o: tm.h
+crtbeginT.po: options.h
+crtbeginT.po: tconfig.h
+crtbeginT.po: tm.h
+crtend.o: options.h
+crtend.o: tconfig.h
+crtend.o: tm.h
+crtend.po: options.h
+crtend.po: tconfig.h
+crtend.po: tm.h
+crtendS.o: options.h
+crtendS.o: tconfig.h
+crtendS.o: tm.h
+crtendS.po: options.h
+crtendS.po: tconfig.h
+crtendS.po: tm.h
+.endif
diff --git a/gnu/lib/libdialog/Makefile.depend b/gnu/lib/libdialog/Makefile.depend
new file mode 100644
index 000000000000..a9d63a90d5fb
--- /dev/null
+++ b/gnu/lib/libdialog/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/msun \
+ lib/ncurses/ncursesw \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/lib/libgcc/Makefile.depend b/gnu/lib/libgcc/Makefile.depend
new file mode 100644
index 000000000000..11b22ace4b1d
--- /dev/null
+++ b/gnu/lib/libgcc/Makefile.depend
@@ -0,0 +1,282 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+__main.So: options.h
+__main.So: tconfig.h
+__main.So: tm.h
+_absvdi2.So: options.h
+_absvdi2.So: tconfig.h
+_absvdi2.So: tm.h
+_absvsi2.So: options.h
+_absvsi2.So: tconfig.h
+_absvsi2.So: tm.h
+_addvdi3.So: options.h
+_addvdi3.So: tconfig.h
+_addvdi3.So: tm.h
+_addvsi3.So: options.h
+_addvsi3.So: tconfig.h
+_addvsi3.So: tm.h
+_ashldi3.So: options.h
+_ashldi3.So: tconfig.h
+_ashldi3.So: tm.h
+_ashrdi3.So: options.h
+_ashrdi3.So: tconfig.h
+_ashrdi3.So: tm.h
+_clear_cache.So: options.h
+_clear_cache.So: tconfig.h
+_clear_cache.So: tm.h
+_clz.So: options.h
+_clz.So: tconfig.h
+_clz.So: tm.h
+_clzdi2.So: options.h
+_clzdi2.So: tconfig.h
+_clzdi2.So: tm.h
+_clzsi2.So: options.h
+_clzsi2.So: tconfig.h
+_clzsi2.So: tm.h
+_cmpdi2.So: options.h
+_cmpdi2.So: tconfig.h
+_cmpdi2.So: tm.h
+_ctors.So: options.h
+_ctors.So: tconfig.h
+_ctors.So: tm.h
+_ctzdi2.So: options.h
+_ctzdi2.So: tconfig.h
+_ctzdi2.So: tm.h
+_ctzsi2.So: options.h
+_ctzsi2.So: tconfig.h
+_ctzsi2.So: tm.h
+_divdc3.So: options.h
+_divdc3.So: tconfig.h
+_divdc3.So: tm.h
+_divdi3.So: options.h
+_divdi3.So: tconfig.h
+_divdi3.So: tm.h
+_divsc3.So: options.h
+_divsc3.So: tconfig.h
+_divsc3.So: tm.h
+_divtc3.So: options.h
+_divtc3.So: tconfig.h
+_divtc3.So: tm.h
+_divxc3.So: options.h
+_divxc3.So: tconfig.h
+_divxc3.So: tm.h
+_enable_execute_stack.So: options.h
+_enable_execute_stack.So: tconfig.h
+_enable_execute_stack.So: tm.h
+_ffsdi2.So: options.h
+_ffsdi2.So: tconfig.h
+_ffsdi2.So: tm.h
+_ffssi2.So: options.h
+_ffssi2.So: tconfig.h
+_ffssi2.So: tm.h
+_fixdfdi.So: options.h
+_fixdfdi.So: tconfig.h
+_fixdfdi.So: tm.h
+_fixsfdi.So: options.h
+_fixsfdi.So: tconfig.h
+_fixsfdi.So: tm.h
+_fixtfdi.So: options.h
+_fixtfdi.So: tconfig.h
+_fixtfdi.So: tm.h
+_fixunsdfdi.So: options.h
+_fixunsdfdi.So: tconfig.h
+_fixunsdfdi.So: tm.h
+_fixunsdfsi.So: options.h
+_fixunsdfsi.So: tconfig.h
+_fixunsdfsi.So: tm.h
+_fixunssfdi.So: options.h
+_fixunssfdi.So: tconfig.h
+_fixunssfdi.So: tm.h
+_fixunssfsi.So: options.h
+_fixunssfsi.So: tconfig.h
+_fixunssfsi.So: tm.h
+_fixunstfdi.So: options.h
+_fixunstfdi.So: tconfig.h
+_fixunstfdi.So: tm.h
+_fixunsxfdi.So: options.h
+_fixunsxfdi.So: tconfig.h
+_fixunsxfdi.So: tm.h
+_fixunsxfsi.So: options.h
+_fixunsxfsi.So: tconfig.h
+_fixunsxfsi.So: tm.h
+_fixxfdi.So: options.h
+_fixxfdi.So: tconfig.h
+_fixxfdi.So: tm.h
+_floatdidf.So: options.h
+_floatdidf.So: tconfig.h
+_floatdidf.So: tm.h
+_floatdisf.So: options.h
+_floatdisf.So: tconfig.h
+_floatdisf.So: tm.h
+_floatditf.So: options.h
+_floatditf.So: tconfig.h
+_floatditf.So: tm.h
+_floatdixf.So: options.h
+_floatdixf.So: tconfig.h
+_floatdixf.So: tm.h
+_floatundidf.So: options.h
+_floatundidf.So: tconfig.h
+_floatundidf.So: tm.h
+_floatundisf.So: options.h
+_floatundisf.So: tconfig.h
+_floatundisf.So: tm.h
+_floatunditf.So: options.h
+_floatunditf.So: tconfig.h
+_floatunditf.So: tm.h
+_floatundixf.So: options.h
+_floatundixf.So: tconfig.h
+_floatundixf.So: tm.h
+_lshrdi3.So: options.h
+_lshrdi3.So: tconfig.h
+_lshrdi3.So: tm.h
+_moddi3.So: options.h
+_moddi3.So: tconfig.h
+_moddi3.So: tm.h
+_muldc3.So: options.h
+_muldc3.So: tconfig.h
+_muldc3.So: tm.h
+_muldi3.So: options.h
+_muldi3.So: tconfig.h
+_muldi3.So: tm.h
+_mulsc3.So: options.h
+_mulsc3.So: tconfig.h
+_mulsc3.So: tm.h
+_multc3.So: options.h
+_multc3.So: tconfig.h
+_multc3.So: tm.h
+_mulvdi3.So: options.h
+_mulvdi3.So: tconfig.h
+_mulvdi3.So: tm.h
+_mulvsi3.So: options.h
+_mulvsi3.So: tconfig.h
+_mulvsi3.So: tm.h
+_mulxc3.So: options.h
+_mulxc3.So: tconfig.h
+_mulxc3.So: tm.h
+_negdi2.So: options.h
+_negdi2.So: tconfig.h
+_negdi2.So: tm.h
+_negvdi2.So: options.h
+_negvdi2.So: tconfig.h
+_negvdi2.So: tm.h
+_negvsi2.So: options.h
+_negvsi2.So: tconfig.h
+_negvsi2.So: tm.h
+_paritydi2.So: options.h
+_paritydi2.So: tconfig.h
+_paritydi2.So: tm.h
+_paritysi2.So: options.h
+_paritysi2.So: tconfig.h
+_paritysi2.So: tm.h
+_popcount_tab.So: options.h
+_popcount_tab.So: tconfig.h
+_popcount_tab.So: tm.h
+_popcountdi2.So: options.h
+_popcountdi2.So: tconfig.h
+_popcountdi2.So: tm.h
+_popcountsi2.So: options.h
+_popcountsi2.So: tconfig.h
+_popcountsi2.So: tm.h
+_powidf2.So: options.h
+_powidf2.So: tconfig.h
+_powidf2.So: tm.h
+_powisf2.So: options.h
+_powisf2.So: tconfig.h
+_powisf2.So: tm.h
+_powitf2.So: options.h
+_powitf2.So: tconfig.h
+_powitf2.So: tm.h
+_powixf2.So: options.h
+_powixf2.So: tconfig.h
+_powixf2.So: tm.h
+_subvdi3.So: options.h
+_subvdi3.So: tconfig.h
+_subvdi3.So: tm.h
+_subvsi3.So: options.h
+_subvsi3.So: tconfig.h
+_subvsi3.So: tm.h
+_trampoline.So: options.h
+_trampoline.So: tconfig.h
+_trampoline.So: tm.h
+_ucmpdi2.So: options.h
+_ucmpdi2.So: tconfig.h
+_ucmpdi2.So: tm.h
+_udiv_w_sdiv.So: options.h
+_udiv_w_sdiv.So: tconfig.h
+_udiv_w_sdiv.So: tm.h
+_udivdi3.So: options.h
+_udivdi3.So: tconfig.h
+_udivdi3.So: tm.h
+_udivmoddi4.So: options.h
+_udivmoddi4.So: tconfig.h
+_udivmoddi4.So: tm.h
+_umoddi3.So: options.h
+_umoddi3.So: tconfig.h
+_umoddi3.So: tm.h
+unwind-c.So: tconfig.h
+unwind-c.So: unwind.h
+unwind-c.o: tconfig.h
+unwind-c.o: unwind.h
+unwind-c.po: tconfig.h
+unwind-c.po: unwind.h
+unwind-dw2-fde-glibc.So: gthr-default.h
+unwind-dw2-fde-glibc.So: options.h
+unwind-dw2-fde-glibc.So: tconfig.h
+unwind-dw2-fde-glibc.So: tm.h
+unwind-dw2-fde-glibc.So: unwind.h
+unwind-dw2-fde-glibc.o: gthr-default.h
+unwind-dw2-fde-glibc.o: options.h
+unwind-dw2-fde-glibc.o: tconfig.h
+unwind-dw2-fde-glibc.o: tm.h
+unwind-dw2-fde-glibc.o: unwind.h
+unwind-dw2-fde-glibc.po: gthr-default.h
+unwind-dw2-fde-glibc.po: options.h
+unwind-dw2-fde-glibc.po: tconfig.h
+unwind-dw2-fde-glibc.po: tm.h
+unwind-dw2-fde-glibc.po: unwind.h
+unwind-dw2.So: gthr-default.h
+unwind-dw2.So: options.h
+unwind-dw2.So: tconfig.h
+unwind-dw2.So: tm.h
+unwind-dw2.So: unwind.h
+unwind-dw2.o: gthr-default.h
+unwind-dw2.o: options.h
+unwind-dw2.o: tconfig.h
+unwind-dw2.o: tm.h
+unwind-dw2.o: unwind.h
+unwind-dw2.po: gthr-default.h
+unwind-dw2.po: options.h
+unwind-dw2.po: tconfig.h
+unwind-dw2.po: tm.h
+unwind-dw2.po: unwind.h
+unwind-sjlj.So: gthr-default.h
+unwind-sjlj.So: options.h
+unwind-sjlj.So: tconfig.h
+unwind-sjlj.So: tm.h
+unwind-sjlj.So: unwind.h
+unwind-sjlj.o: gthr-default.h
+unwind-sjlj.o: options.h
+unwind-sjlj.o: tconfig.h
+unwind-sjlj.o: tm.h
+unwind-sjlj.o: unwind.h
+unwind-sjlj.po: gthr-default.h
+unwind-sjlj.po: options.h
+unwind-sjlj.po: tconfig.h
+unwind-sjlj.po: tm.h
+unwind-sjlj.po: unwind.h
+.endif
diff --git a/gnu/lib/libgcov/Makefile.depend b/gnu/lib/libgcov/Makefile.depend
new file mode 100644
index 000000000000..23b931f4d058
--- /dev/null
+++ b/gnu/lib/libgcov/Makefile.depend
@@ -0,0 +1,128 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+_gcov.o: gcov-iov.h
+_gcov.o: options.h
+_gcov.o: tconfig.h
+_gcov.o: tm.h
+_gcov.po: gcov-iov.h
+_gcov.po: options.h
+_gcov.po: tconfig.h
+_gcov.po: tm.h
+_gcov_execl.o: gcov-iov.h
+_gcov_execl.o: options.h
+_gcov_execl.o: tconfig.h
+_gcov_execl.o: tm.h
+_gcov_execl.po: gcov-iov.h
+_gcov_execl.po: options.h
+_gcov_execl.po: tconfig.h
+_gcov_execl.po: tm.h
+_gcov_execle.o: gcov-iov.h
+_gcov_execle.o: options.h
+_gcov_execle.o: tconfig.h
+_gcov_execle.o: tm.h
+_gcov_execle.po: gcov-iov.h
+_gcov_execle.po: options.h
+_gcov_execle.po: tconfig.h
+_gcov_execle.po: tm.h
+_gcov_execlp.o: gcov-iov.h
+_gcov_execlp.o: options.h
+_gcov_execlp.o: tconfig.h
+_gcov_execlp.o: tm.h
+_gcov_execlp.po: gcov-iov.h
+_gcov_execlp.po: options.h
+_gcov_execlp.po: tconfig.h
+_gcov_execlp.po: tm.h
+_gcov_execv.o: gcov-iov.h
+_gcov_execv.o: options.h
+_gcov_execv.o: tconfig.h
+_gcov_execv.o: tm.h
+_gcov_execv.po: gcov-iov.h
+_gcov_execv.po: options.h
+_gcov_execv.po: tconfig.h
+_gcov_execv.po: tm.h
+_gcov_execve.o: gcov-iov.h
+_gcov_execve.o: options.h
+_gcov_execve.o: tconfig.h
+_gcov_execve.o: tm.h
+_gcov_execve.po: gcov-iov.h
+_gcov_execve.po: options.h
+_gcov_execve.po: tconfig.h
+_gcov_execve.po: tm.h
+_gcov_execvp.o: gcov-iov.h
+_gcov_execvp.o: options.h
+_gcov_execvp.o: tconfig.h
+_gcov_execvp.o: tm.h
+_gcov_execvp.po: gcov-iov.h
+_gcov_execvp.po: options.h
+_gcov_execvp.po: tconfig.h
+_gcov_execvp.po: tm.h
+_gcov_fork.o: gcov-iov.h
+_gcov_fork.o: options.h
+_gcov_fork.o: tconfig.h
+_gcov_fork.o: tm.h
+_gcov_fork.po: gcov-iov.h
+_gcov_fork.po: options.h
+_gcov_fork.po: tconfig.h
+_gcov_fork.po: tm.h
+_gcov_interval_profiler.o: gcov-iov.h
+_gcov_interval_profiler.o: options.h
+_gcov_interval_profiler.o: tconfig.h
+_gcov_interval_profiler.o: tm.h
+_gcov_interval_profiler.po: gcov-iov.h
+_gcov_interval_profiler.po: options.h
+_gcov_interval_profiler.po: tconfig.h
+_gcov_interval_profiler.po: tm.h
+_gcov_merge_add.o: gcov-iov.h
+_gcov_merge_add.o: options.h
+_gcov_merge_add.o: tconfig.h
+_gcov_merge_add.o: tm.h
+_gcov_merge_add.po: gcov-iov.h
+_gcov_merge_add.po: options.h
+_gcov_merge_add.po: tconfig.h
+_gcov_merge_add.po: tm.h
+_gcov_merge_delta.o: gcov-iov.h
+_gcov_merge_delta.o: options.h
+_gcov_merge_delta.o: tconfig.h
+_gcov_merge_delta.o: tm.h
+_gcov_merge_delta.po: gcov-iov.h
+_gcov_merge_delta.po: options.h
+_gcov_merge_delta.po: tconfig.h
+_gcov_merge_delta.po: tm.h
+_gcov_merge_single.o: gcov-iov.h
+_gcov_merge_single.o: options.h
+_gcov_merge_single.o: tconfig.h
+_gcov_merge_single.o: tm.h
+_gcov_merge_single.po: gcov-iov.h
+_gcov_merge_single.po: options.h
+_gcov_merge_single.po: tconfig.h
+_gcov_merge_single.po: tm.h
+_gcov_one_value_profiler.o: gcov-iov.h
+_gcov_one_value_profiler.o: options.h
+_gcov_one_value_profiler.o: tconfig.h
+_gcov_one_value_profiler.o: tm.h
+_gcov_one_value_profiler.po: gcov-iov.h
+_gcov_one_value_profiler.po: options.h
+_gcov_one_value_profiler.po: tconfig.h
+_gcov_one_value_profiler.po: tm.h
+_gcov_pow2_profiler.o: gcov-iov.h
+_gcov_pow2_profiler.o: options.h
+_gcov_pow2_profiler.o: tconfig.h
+_gcov_pow2_profiler.o: tm.h
+_gcov_pow2_profiler.po: gcov-iov.h
+_gcov_pow2_profiler.po: options.h
+_gcov_pow2_profiler.po: tconfig.h
+_gcov_pow2_profiler.po: tm.h
+.endif
diff --git a/gnu/lib/libgomp/Makefile.depend b/gnu/lib/libgomp/Makefile.depend
new file mode 100644
index 000000000000..aaab8a8a33bb
--- /dev/null
+++ b/gnu/lib/libgomp/Makefile.depend
@@ -0,0 +1,82 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+alloc.So: gstdint.h
+alloc.o: gstdint.h
+alloc.po: gstdint.h
+bar.So: gstdint.h
+bar.o: gstdint.h
+bar.po: gstdint.h
+barrier.So: gstdint.h
+barrier.o: gstdint.h
+barrier.po: gstdint.h
+critical.So: gstdint.h
+critical.o: gstdint.h
+critical.po: gstdint.h
+env.So: gstdint.h
+env.So: libgomp_f.h
+env.o: gstdint.h
+env.o: libgomp_f.h
+env.po: gstdint.h
+env.po: libgomp_f.h
+error.So: gstdint.h
+error.o: gstdint.h
+error.po: gstdint.h
+fortran.So: gstdint.h
+fortran.So: libgomp_f.h
+fortran.o: gstdint.h
+fortran.o: libgomp_f.h
+fortran.po: gstdint.h
+fortran.po: libgomp_f.h
+iter.So: gstdint.h
+iter.o: gstdint.h
+iter.po: gstdint.h
+lock.So: gstdint.h
+lock.o: gstdint.h
+lock.po: gstdint.h
+loop.So: gstdint.h
+loop.o: gstdint.h
+loop.po: gstdint.h
+ordered.So: gstdint.h
+ordered.o: gstdint.h
+ordered.po: gstdint.h
+parallel.So: gstdint.h
+parallel.o: gstdint.h
+parallel.po: gstdint.h
+proc.So: gstdint.h
+proc.o: gstdint.h
+proc.po: gstdint.h
+sections.So: gstdint.h
+sections.o: gstdint.h
+sections.po: gstdint.h
+sem.So: gstdint.h
+sem.o: gstdint.h
+sem.po: gstdint.h
+single.So: gstdint.h
+single.o: gstdint.h
+single.po: gstdint.h
+team.So: gstdint.h
+team.o: gstdint.h
+team.po: gstdint.h
+time.So: gstdint.h
+time.o: gstdint.h
+time.po: gstdint.h
+work.So: gstdint.h
+work.o: gstdint.h
+work.po: gstdint.h
+.endif
diff --git a/gnu/lib/libreadline/history/Makefile.depend b/gnu/lib/libreadline/history/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/gnu/lib/libreadline/history/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/lib/libreadline/readline/Makefile.depend b/gnu/lib/libreadline/readline/Makefile.depend
new file mode 100644
index 000000000000..c74c89fb77e8
--- /dev/null
+++ b/gnu/lib/libreadline/readline/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/ncurses/ncurses \
+ lib/ncurses/ncursesw \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/lib/libregex/Makefile.depend b/gnu/lib/libregex/Makefile.depend
new file mode 100644
index 000000000000..17b62e5b3277
--- /dev/null
+++ b/gnu/lib/libregex/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+gnuregex.So: gnuregex.c
+gnuregex.o: gnuregex.c
+gnuregex.po: gnuregex.c
+.endif
diff --git a/gnu/lib/libssp/Makefile.depend b/gnu/lib/libssp/Makefile.depend
new file mode 100644
index 000000000000..a83954553d0e
--- /dev/null
+++ b/gnu/lib/libssp/Makefile.depend
@@ -0,0 +1,19 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/lib/libssp/libssp_nonshared/Makefile.depend b/gnu/lib/libssp/libssp_nonshared/Makefile.depend
new file mode 100644
index 000000000000..29fda55c252f
--- /dev/null
+++ b/gnu/lib/libssp/libssp_nonshared/Makefile.depend
@@ -0,0 +1,14 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/lib/libstdc++/Makefile.depend b/gnu/lib/libstdc++/Makefile.depend
new file mode 100644
index 000000000000..731d2f6baab4
--- /dev/null
+++ b/gnu/lib/libstdc++/Makefile.depend
@@ -0,0 +1,68 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+atomicity.So: atomicity.cc
+atomicity.o: atomicity.cc
+atomicity.po: atomicity.cc
+eh_alloc.So: unwind.h
+eh_alloc.o: unwind.h
+eh_alloc.po: unwind.h
+eh_arm.So: unwind.h
+eh_arm.o: unwind.h
+eh_arm.po: unwind.h
+eh_aux_runtime.So: unwind.h
+eh_aux_runtime.o: unwind.h
+eh_aux_runtime.po: unwind.h
+eh_call.So: unwind.h
+eh_call.o: unwind.h
+eh_call.po: unwind.h
+eh_catch.So: unwind.h
+eh_catch.o: unwind.h
+eh_catch.po: unwind.h
+eh_exception.So: unwind.h
+eh_exception.o: unwind.h
+eh_exception.po: unwind.h
+eh_globals.So: unwind.h
+eh_globals.o: unwind.h
+eh_globals.po: unwind.h
+eh_personality.So: unwind.h
+eh_personality.o: unwind.h
+eh_personality.po: unwind.h
+eh_term_handler.So: unwind.h
+eh_term_handler.o: unwind.h
+eh_term_handler.po: unwind.h
+eh_terminate.So: unwind.h
+eh_terminate.o: unwind.h
+eh_terminate.po: unwind.h
+eh_throw.So: unwind.h
+eh_throw.o: unwind.h
+eh_throw.po: unwind.h
+eh_type.So: unwind.h
+eh_type.o: unwind.h
+eh_type.po: unwind.h
+eh_unex_handler.So: unwind.h
+eh_unex_handler.o: unwind.h
+eh_unex_handler.po: unwind.h
+pure.So: unwind.h
+pure.o: unwind.h
+pure.po: unwind.h
+vec.So: unwind.h
+vec.o: unwind.h
+vec.po: unwind.h
+.endif
diff --git a/gnu/lib/libsupc++/Makefile.depend b/gnu/lib/libsupc++/Makefile.depend
new file mode 100644
index 000000000000..f18f640b54c9
--- /dev/null
+++ b/gnu/lib/libsupc++/Makefile.depend
@@ -0,0 +1,65 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/lib/libstdc++ \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+eh_alloc.So: unwind.h
+eh_alloc.o: unwind.h
+eh_alloc.po: unwind.h
+eh_arm.So: unwind.h
+eh_arm.o: unwind.h
+eh_arm.po: unwind.h
+eh_aux_runtime.So: unwind.h
+eh_aux_runtime.o: unwind.h
+eh_aux_runtime.po: unwind.h
+eh_call.So: unwind.h
+eh_call.o: unwind.h
+eh_call.po: unwind.h
+eh_catch.So: unwind.h
+eh_catch.o: unwind.h
+eh_catch.po: unwind.h
+eh_exception.So: unwind.h
+eh_exception.o: unwind.h
+eh_exception.po: unwind.h
+eh_globals.So: unwind.h
+eh_globals.o: unwind.h
+eh_globals.po: unwind.h
+eh_personality.So: unwind.h
+eh_personality.o: unwind.h
+eh_personality.po: unwind.h
+eh_term_handler.So: unwind.h
+eh_term_handler.o: unwind.h
+eh_term_handler.po: unwind.h
+eh_terminate.So: unwind.h
+eh_terminate.o: unwind.h
+eh_terminate.po: unwind.h
+eh_throw.So: unwind.h
+eh_throw.o: unwind.h
+eh_throw.po: unwind.h
+eh_type.So: unwind.h
+eh_type.o: unwind.h
+eh_type.po: unwind.h
+eh_unex_handler.So: unwind.h
+eh_unex_handler.o: unwind.h
+eh_unex_handler.po: unwind.h
+pure.So: unwind.h
+pure.o: unwind.h
+pure.po: unwind.h
+vec.So: unwind.h
+vec.o: unwind.h
+vec.po: unwind.h
+.endif
diff --git a/gnu/usr.bin/binutils/addr2line/Makefile.depend b/gnu/usr.bin/binutils/addr2line/Makefile.depend
new file mode 100644
index 000000000000..18e83881148f
--- /dev/null
+++ b/gnu/usr.bin/binutils/addr2line/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libbinutils \
+ gnu/usr.bin/binutils/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/ar/Makefile.depend b/gnu/usr.bin/binutils/ar/Makefile.depend
new file mode 100644
index 000000000000..c4f26d419958
--- /dev/null
+++ b/gnu/usr.bin/binutils/ar/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libbinutils \
+ gnu/usr.bin/binutils/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/as/Makefile.depend b/gnu/usr.bin/binutils/as/Makefile.depend
new file mode 100644
index 000000000000..ee36db7f6a7b
--- /dev/null
+++ b/gnu/usr.bin/binutils/as/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libiberty \
+ gnu/usr.bin/binutils/libopcodes \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/ld/Makefile.depend.amd64 b/gnu/usr.bin/binutils/ld/Makefile.depend.amd64
new file mode 100644
index 000000000000..62067d81dafb
--- /dev/null
+++ b/gnu/usr.bin/binutils/ld/Makefile.depend.amd64
@@ -0,0 +1,54 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+eelf_i386_fbsd.o: eelf_i386_fbsd.c
+eelf_i386_fbsd.o: ldgram.h
+eelf_i386_fbsd.po: eelf_i386_fbsd.c
+eelf_i386_fbsd.po: ldgram.h
+eelf_x86_64_fbsd.o: eelf_x86_64_fbsd.c
+eelf_x86_64_fbsd.o: ldgram.h
+eelf_x86_64_fbsd.po: eelf_x86_64_fbsd.c
+eelf_x86_64_fbsd.po: ldgram.h
+ldctor.o: ldgram.h
+ldctor.po: ldgram.h
+ldemul.o: ldemul-list.h
+ldemul.po: ldemul-list.h
+ldexp.o: ldgram.h
+ldexp.po: ldgram.h
+ldfile.o: ldgram.h
+ldfile.po: ldgram.h
+ldgram.o: ldgram.c
+ldgram.po: ldgram.c
+ldlang.o: ldgram.h
+ldlang.po: ldgram.h
+ldlex.o: ldgram.h
+ldlex.o: ldlex.c
+ldlex.po: ldgram.h
+ldlex.po: ldlex.c
+ldmain.o: ldgram.h
+ldmain.po: ldgram.h
+ldmisc.o: ldgram.h
+ldmisc.po: ldgram.h
+ldwrite.o: ldgram.h
+ldwrite.po: ldgram.h
+lexsup.o: ldgram.h
+lexsup.po: ldgram.h
+mri.o: ldgram.h
+mri.po: ldgram.h
+.endif
diff --git a/gnu/usr.bin/binutils/libbfd/Makefile.depend.amd64 b/gnu/usr.bin/binutils/libbfd/Makefile.depend.amd64
new file mode 100644
index 000000000000..d47d5fbe56e2
--- /dev/null
+++ b/gnu/usr.bin/binutils/libbfd/Makefile.depend.amd64
@@ -0,0 +1,124 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+archive.o: config.h
+archive.po: config.h
+archive64.o: config.h
+archive64.po: config.h
+archures.o: config.h
+archures.po: config.h
+bfd.o: bfdver.h
+bfd.o: config.h
+bfd.po: bfdver.h
+bfd.po: config.h
+bfdio.o: config.h
+bfdio.po: config.h
+bfdwin.o: config.h
+bfdwin.po: config.h
+binary.o: config.h
+binary.po: config.h
+cache.o: config.h
+cache.po: config.h
+coffgen.o: config.h
+coffgen.po: config.h
+cofflink.o: config.h
+cofflink.po: config.h
+corefile.o: config.h
+corefile.po: config.h
+cpu-i386.o: config.h
+cpu-i386.po: config.h
+dwarf1.o: config.h
+dwarf1.po: config.h
+dwarf2.o: config.h
+dwarf2.po: config.h
+efi-app-ia32.o: config.h
+efi-app-ia32.po: config.h
+efi-app-x86_64.o: config.h
+efi-app-x86_64.po: config.h
+elf-attrs.o: config.h
+elf-attrs.po: config.h
+elf-eh-frame.o: config.h
+elf-eh-frame.po: config.h
+elf-strtab.o: config.h
+elf-strtab.po: config.h
+elf-vxworks.o: config.h
+elf-vxworks.po: config.h
+elf.o: config.h
+elf.po: config.h
+elf32-i386.o: config.h
+elf32-i386.o: elf32-target.h
+elf32-i386.po: config.h
+elf32-i386.po: elf32-target.h
+elf32.o: config.h
+elf32.po: config.h
+elf64-gen.o: config.h
+elf64-gen.o: elf64-target.h
+elf64-gen.po: config.h
+elf64-gen.po: elf64-target.h
+elf64-x86-64.o: config.h
+elf64-x86-64.o: elf64-target.h
+elf64-x86-64.po: config.h
+elf64-x86-64.po: elf64-target.h
+elf64.o: config.h
+elf64.po: config.h
+elflink.o: config.h
+elflink.po: config.h
+format.o: config.h
+format.po: config.h
+hash.o: config.h
+hash.po: config.h
+ihex.o: config.h
+ihex.po: config.h
+init.o: config.h
+init.po: config.h
+libbfd.o: config.h
+libbfd.po: config.h
+linker.o: config.h
+linker.po: config.h
+merge.o: config.h
+merge.po: config.h
+opncls.o: config.h
+opncls.po: config.h
+peigen.o: config.h
+peigen.o: peigen.c
+peigen.po: config.h
+peigen.po: peigen.c
+pepigen.o: config.h
+pepigen.o: pepigen.c
+pepigen.po: config.h
+pepigen.po: pepigen.c
+pex64igen.o: config.h
+pex64igen.o: pex64igen.c
+pex64igen.po: config.h
+pex64igen.po: pex64igen.c
+reloc.o: config.h
+reloc.po: config.h
+section.o: config.h
+section.po: config.h
+simple.o: config.h
+simple.po: config.h
+srec.o: config.h
+srec.po: config.h
+stabs.o: config.h
+stabs.po: config.h
+syms.o: config.h
+syms.po: config.h
+targets.o: config.h
+targets.o: targmatch.h
+targets.po: config.h
+targets.po: targmatch.h
+tekhex.o: config.h
+tekhex.po: config.h
+.endif
diff --git a/gnu/usr.bin/binutils/libbinutils/Makefile.depend b/gnu/usr.bin/binutils/libbinutils/Makefile.depend
new file mode 100644
index 000000000000..c3c47561d383
--- /dev/null
+++ b/gnu/usr.bin/binutils/libbinutils/Makefile.depend
@@ -0,0 +1,23 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/usr.bin/binutils/libbfd \
+ include \
+ include/xlocale \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+arlex.o: arlex.c
+arlex.o: arparse.h
+arlex.po: arlex.c
+arlex.po: arparse.h
+arparse.o: arparse.c
+arparse.po: arparse.c
+.endif
diff --git a/gnu/usr.bin/binutils/libiberty/Makefile.depend b/gnu/usr.bin/binutils/libiberty/Makefile.depend
new file mode 100644
index 000000000000..6a3fc332584d
--- /dev/null
+++ b/gnu/usr.bin/binutils/libiberty/Makefile.depend
@@ -0,0 +1,17 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/libopcodes/Makefile.depend b/gnu/usr.bin/binutils/libopcodes/Makefile.depend
new file mode 100644
index 000000000000..e248139c3a0e
--- /dev/null
+++ b/gnu/usr.bin/binutils/libopcodes/Makefile.depend
@@ -0,0 +1,16 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/nm/Makefile.depend b/gnu/usr.bin/binutils/nm/Makefile.depend
new file mode 100644
index 000000000000..18e83881148f
--- /dev/null
+++ b/gnu/usr.bin/binutils/nm/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libbinutils \
+ gnu/usr.bin/binutils/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/objcopy/Makefile.depend b/gnu/usr.bin/binutils/objcopy/Makefile.depend
new file mode 100644
index 000000000000..18e83881148f
--- /dev/null
+++ b/gnu/usr.bin/binutils/objcopy/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libbinutils \
+ gnu/usr.bin/binutils/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/objdump/Makefile.depend b/gnu/usr.bin/binutils/objdump/Makefile.depend
new file mode 100644
index 000000000000..ba1a3be8ed85
--- /dev/null
+++ b/gnu/usr.bin/binutils/objdump/Makefile.depend
@@ -0,0 +1,23 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libbinutils \
+ gnu/usr.bin/binutils/libiberty \
+ gnu/usr.bin/binutils/libopcodes \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/ranlib/Makefile.depend b/gnu/usr.bin/binutils/ranlib/Makefile.depend
new file mode 100644
index 000000000000..c4f26d419958
--- /dev/null
+++ b/gnu/usr.bin/binutils/ranlib/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libbinutils \
+ gnu/usr.bin/binutils/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/readelf/Makefile.depend b/gnu/usr.bin/binutils/readelf/Makefile.depend
new file mode 100644
index 000000000000..18e83881148f
--- /dev/null
+++ b/gnu/usr.bin/binutils/readelf/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libbinutils \
+ gnu/usr.bin/binutils/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/size/Makefile.depend b/gnu/usr.bin/binutils/size/Makefile.depend
new file mode 100644
index 000000000000..18e83881148f
--- /dev/null
+++ b/gnu/usr.bin/binutils/size/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libbinutils \
+ gnu/usr.bin/binutils/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/strings/Makefile.depend b/gnu/usr.bin/binutils/strings/Makefile.depend
new file mode 100644
index 000000000000..18e83881148f
--- /dev/null
+++ b/gnu/usr.bin/binutils/strings/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libbinutils \
+ gnu/usr.bin/binutils/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/binutils/strip/Makefile.depend b/gnu/usr.bin/binutils/strip/Makefile.depend
new file mode 100644
index 000000000000..18e83881148f
--- /dev/null
+++ b/gnu/usr.bin/binutils/strip/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/usr.bin/binutils/libbfd \
+ gnu/usr.bin/binutils/libbinutils \
+ gnu/usr.bin/binutils/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/cc/c++/Makefile.depend b/gnu/usr.bin/cc/c++/Makefile.depend
new file mode 100644
index 000000000000..e0c846e62e61
--- /dev/null
+++ b/gnu/usr.bin/cc/c++/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/usr.bin/cc/cc_tools \
+ gnu/usr.bin/cc/libcpp \
+ gnu/usr.bin/cc/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/cc/c++filt/Makefile.depend b/gnu/usr.bin/cc/c++filt/Makefile.depend
new file mode 100644
index 000000000000..763be51c55b7
--- /dev/null
+++ b/gnu/usr.bin/cc/c++filt/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/usr.bin/cc/cc_tools \
+ gnu/usr.bin/cc/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/cc/cc/Makefile.depend b/gnu/usr.bin/cc/cc/Makefile.depend
new file mode 100644
index 000000000000..ce7738d1ce5f
--- /dev/null
+++ b/gnu/usr.bin/cc/cc/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/usr.bin/cc/cc_tools \
+ gnu/usr.bin/cc/libcpp \
+ gnu/usr.bin/cc/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/cc/cc1/Makefile.depend b/gnu/usr.bin/cc/cc1/Makefile.depend
new file mode 100644
index 000000000000..2e76ab713a5a
--- /dev/null
+++ b/gnu/usr.bin/cc/cc1/Makefile.depend
@@ -0,0 +1,25 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/usr.bin/cc/cc_int \
+ gnu/usr.bin/cc/cc_tools \
+ gnu/usr.bin/cc/libcpp \
+ gnu/usr.bin/cc/libdecnumber \
+ gnu/usr.bin/cc/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+cc1-checksum.o: cc1-checksum.c
+cc1-checksum.po: cc1-checksum.c
+.endif
diff --git a/gnu/usr.bin/cc/cc1plus/Makefile.depend b/gnu/usr.bin/cc/cc1plus/Makefile.depend
new file mode 100644
index 000000000000..4d8689895e58
--- /dev/null
+++ b/gnu/usr.bin/cc/cc1plus/Makefile.depend
@@ -0,0 +1,27 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/usr.bin/cc/cc_int \
+ gnu/usr.bin/cc/cc_tools \
+ gnu/usr.bin/cc/libcpp \
+ gnu/usr.bin/cc/libdecnumber \
+ gnu/usr.bin/cc/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+cc1plus-checksum.o: cc1plus-checksum.c
+cc1plus-checksum.po: cc1plus-checksum.c
+except.o: cfns.h
+except.po: cfns.h
+.endif
diff --git a/gnu/usr.bin/cc/cc_int/Makefile.depend b/gnu/usr.bin/cc/cc_int/Makefile.depend
new file mode 100644
index 000000000000..e722b3998782
--- /dev/null
+++ b/gnu/usr.bin/cc/cc_int/Makefile.depend
@@ -0,0 +1,17 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/usr.bin/cc/cc_tools \
+ include \
+ include/xlocale \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile.depend b/gnu/usr.bin/cc/cc_tools/Makefile.depend
new file mode 100644
index 000000000000..0cbe1d7aa246
--- /dev/null
+++ b/gnu/usr.bin/cc/cc_tools/Makefile.depend
@@ -0,0 +1,250 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/msun \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+errors.o: bconfig.h
+errors.po: bconfig.h
+genattr.o: bconfig.h
+genattr.o: insn-modes.h
+genattr.o: options.h
+genattr.o: tm.h
+genattr.po: bconfig.h
+genattr.po: insn-modes.h
+genattr.po: options.h
+genattr.po: tm.h
+genattrtab.o: bconfig.h
+genattrtab.o: insn-modes.h
+genattrtab.o: options.h
+genattrtab.o: tm.h
+genattrtab.po: bconfig.h
+genattrtab.po: insn-modes.h
+genattrtab.po: options.h
+genattrtab.po: tm.h
+genautomata.o: bconfig.h
+genautomata.o: insn-modes.h
+genautomata.o: options.h
+genautomata.o: tm.h
+genautomata.po: bconfig.h
+genautomata.po: insn-modes.h
+genautomata.po: options.h
+genautomata.po: tm.h
+gencheck.o: bconfig.h
+gencheck.o: gencheck.h
+gencheck.o: options.h
+gencheck.o: tm.h
+gencheck.po: bconfig.h
+gencheck.po: gencheck.h
+gencheck.po: options.h
+gencheck.po: tm.h
+genchecksum.o: bconfig.h
+genchecksum.po: bconfig.h
+gencodes.o: bconfig.h
+gencodes.o: insn-modes.h
+gencodes.o: options.h
+gencodes.o: tm.h
+gencodes.po: bconfig.h
+gencodes.po: insn-modes.h
+gencodes.po: options.h
+gencodes.po: tm.h
+genconditions.o: bconfig.h
+genconditions.o: insn-modes.h
+genconditions.o: options.h
+genconditions.o: tm.h
+genconditions.po: bconfig.h
+genconditions.po: insn-modes.h
+genconditions.po: options.h
+genconditions.po: tm.h
+gencondmd.o: bconfig.h
+gencondmd.o: gencondmd.c
+gencondmd.o: insn-constants.h
+gencondmd.o: insn-modes.h
+gencondmd.o: options.h
+gencondmd.o: tm-constrs.h
+gencondmd.o: tm-preds.h
+gencondmd.o: tm.h
+gencondmd.o: tm_p.h
+gencondmd.o: tree-check.h
+gencondmd.po: bconfig.h
+gencondmd.po: gencondmd.c
+gencondmd.po: insn-constants.h
+gencondmd.po: insn-modes.h
+gencondmd.po: options.h
+gencondmd.po: tm-constrs.h
+gencondmd.po: tm-preds.h
+gencondmd.po: tm.h
+gencondmd.po: tm_p.h
+gencondmd.po: tree-check.h
+genconfig.o: bconfig.h
+genconfig.o: insn-modes.h
+genconfig.o: options.h
+genconfig.o: tm.h
+genconfig.po: bconfig.h
+genconfig.po: insn-modes.h
+genconfig.po: options.h
+genconfig.po: tm.h
+genconstants.o: bconfig.h
+genconstants.o: insn-modes.h
+genconstants.o: options.h
+genconstants.o: tm.h
+genconstants.po: bconfig.h
+genconstants.po: insn-modes.h
+genconstants.po: options.h
+genconstants.po: tm.h
+genemit.o: bconfig.h
+genemit.o: insn-modes.h
+genemit.o: options.h
+genemit.o: tm.h
+genemit.po: bconfig.h
+genemit.po: insn-modes.h
+genemit.po: options.h
+genemit.po: tm.h
+genextract.o: bconfig.h
+genextract.o: insn-modes.h
+genextract.o: options.h
+genextract.o: tm.h
+genextract.po: bconfig.h
+genextract.po: insn-modes.h
+genextract.po: options.h
+genextract.po: tm.h
+genflags.o: bconfig.h
+genflags.o: insn-modes.h
+genflags.o: options.h
+genflags.o: tm.h
+genflags.po: bconfig.h
+genflags.po: insn-modes.h
+genflags.po: options.h
+genflags.po: tm.h
+gengenrtl.o: bconfig.h
+gengenrtl.po: bconfig.h
+gengtype-lex.o: bconfig.h
+gengtype-lex.o: gengtype-lex.c
+gengtype-lex.o: gengtype-yacc.h
+gengtype-lex.po: bconfig.h
+gengtype-lex.po: gengtype-lex.c
+gengtype-lex.po: gengtype-yacc.h
+gengtype-yacc+%DIKED.o: bconfig.h
+gengtype-yacc+%DIKED.o: gengtype-yacc+%DIKED.c
+gengtype-yacc+%DIKED.o: options.h
+gengtype-yacc+%DIKED.o: tm.h
+gengtype-yacc+%DIKED.po: bconfig.h
+gengtype-yacc+%DIKED.po: gengtype-yacc+%DIKED.c
+gengtype-yacc+%DIKED.po: options.h
+gengtype-yacc+%DIKED.po: tm.h
+gengtype.o: bconfig.h
+gengtype.o: gtyp-gen.h
+gengtype.o: options.h
+gengtype.o: tm.h
+gengtype.po: bconfig.h
+gengtype.po: gtyp-gen.h
+gengtype.po: options.h
+gengtype.po: tm.h
+genmodes.o: bconfig.h
+genmodes.po: bconfig.h
+genopinit.o: bconfig.h
+genopinit.o: insn-modes.h
+genopinit.o: options.h
+genopinit.o: tm.h
+genopinit.po: bconfig.h
+genopinit.po: insn-modes.h
+genopinit.po: options.h
+genopinit.po: tm.h
+genoutput.o: bconfig.h
+genoutput.o: insn-modes.h
+genoutput.o: options.h
+genoutput.o: tm.h
+genoutput.po: bconfig.h
+genoutput.po: insn-modes.h
+genoutput.po: options.h
+genoutput.po: tm.h
+genpeep.o: bconfig.h
+genpeep.o: insn-modes.h
+genpeep.o: options.h
+genpeep.o: tm.h
+genpeep.po: bconfig.h
+genpeep.po: insn-modes.h
+genpeep.po: options.h
+genpeep.po: tm.h
+genpreds.o: bconfig.h
+genpreds.o: insn-modes.h
+genpreds.o: options.h
+genpreds.o: tm.h
+genpreds.po: bconfig.h
+genpreds.po: insn-modes.h
+genpreds.po: options.h
+genpreds.po: tm.h
+genrecog.o: bconfig.h
+genrecog.o: insn-modes.h
+genrecog.o: options.h
+genrecog.o: tm.h
+genrecog.po: bconfig.h
+genrecog.po: insn-modes.h
+genrecog.po: options.h
+genrecog.po: tm.h
+gensupport.o: bconfig.h
+gensupport.o: insn-modes.h
+gensupport.o: options.h
+gensupport.o: tm.h
+gensupport.po: bconfig.h
+gensupport.po: insn-modes.h
+gensupport.po: options.h
+gensupport.po: tm.h
+ggc-none.o: bconfig.h
+ggc-none.o: gtype-desc.h
+ggc-none.po: bconfig.h
+ggc-none.po: gtype-desc.h
+min-insn-modes.o: bconfig.h
+min-insn-modes.o: insn-modes.h
+min-insn-modes.o: min-insn-modes.c
+min-insn-modes.po: bconfig.h
+min-insn-modes.po: insn-modes.h
+min-insn-modes.po: min-insn-modes.c
+print-rtl.o: bconfig.h
+print-rtl.o: insn-modes.h
+print-rtl.o: options.h
+print-rtl.o: tm.h
+print-rtl.po: bconfig.h
+print-rtl.po: insn-modes.h
+print-rtl.po: options.h
+print-rtl.po: tm.h
+read-rtl.o: bconfig.h
+read-rtl.o: insn-modes.h
+read-rtl.o: options.h
+read-rtl.o: tm.h
+read-rtl.po: bconfig.h
+read-rtl.po: insn-modes.h
+read-rtl.po: options.h
+read-rtl.po: tm.h
+rtl.o: bconfig.h
+rtl.o: gtype-desc.h
+rtl.o: insn-modes.h
+rtl.o: options.h
+rtl.o: tm.h
+rtl.po: bconfig.h
+rtl.po: gtype-desc.h
+rtl.po: insn-modes.h
+rtl.po: options.h
+rtl.po: tm.h
+vec.o: bconfig.h
+vec.o: gtype-desc.h
+vec.o: insn-modes.h
+vec.o: tree-check.h
+vec.po: bconfig.h
+vec.po: gtype-desc.h
+vec.po: insn-modes.h
+vec.po: tree-check.h
+.endif
diff --git a/gnu/usr.bin/cc/cpp/Makefile.depend b/gnu/usr.bin/cc/cpp/Makefile.depend
new file mode 100644
index 000000000000..e0c846e62e61
--- /dev/null
+++ b/gnu/usr.bin/cc/cpp/Makefile.depend
@@ -0,0 +1,22 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DEP_MACHINE := ${.PARSEFILE:E}
+
+DIRDEPS = \
+ gnu/lib/libgcc \
+ gnu/usr.bin/cc/cc_tools \
+ gnu/usr.bin/cc/libcpp \
+ gnu/usr.bin/cc/libiberty \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/gnu/usr.bin/cc/gcov/Makefile.depend b/gnu/usr.bin/cc/gcov/Makefile.depend
new file mode 100644
index 000000000000..763be51c55b7
--- /dev/null
+++ b/gnu/usr.bin/cc/gcov/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S