diff options
Diffstat (limited to 'sbin')
117 files changed, 3079 insertions, 4 deletions
diff --git a/sbin/adjkerntz/Makefile.depend b/sbin/adjkerntz/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/adjkerntz/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/atm/atmconfig/Makefile b/sbin/atm/atmconfig/Makefile index 34c2989..3e42d3f 100644 --- a/sbin/atm/atmconfig/Makefile +++ b/sbin/atm/atmconfig/Makefile @@ -9,7 +9,7 @@ PROG= atmconfig .ifndef RESCUE -SRCS= ${.OBJDIR}/oid.h +SRCS= oid.h .endif SRCS+= main.c diag.c natm.c .ifndef RESCUE @@ -18,7 +18,7 @@ SRCS+= atmconfig_device.c MAN= atmconfig.8 # CFLAGS+= -DPATH_HELP='".:/usr/share/doc/atm:/usr/local/share/doc/atm"' -CFLAGS+= -I${.OBJDIR} +CFLAGS+= -I. .ifndef RESCUE DPADD= ${LIBBSNMP} @@ -43,8 +43,8 @@ FILESDIR= /usr/share/doc/atm SNMP_ATM_DEF= ${.CURDIR}/../../../contrib/ngatm/snmp_atm/atm_tree.def \ ${.CURDIR}/../../../usr.sbin/bsnmpd/modules/snmp_atm/atm_freebsd.def -${.OBJDIR}/oid.h: atm_oid.list ${SNMP_ATM_DEF} +oid.h: atm_oid.list ${SNMP_ATM_DEF} cat ${SNMP_ATM_DEF} | gensnmptree -e `tail -n +2 ${.CURDIR}/atm_oid.list` \ - > ${.OBJDIR}/oid.h + > ${.TARGET} .include <bsd.prog.mk> diff --git a/sbin/atm/atmconfig/Makefile.depend b/sbin/atm/atmconfig/Makefile.depend new file mode 100644 index 0000000..42e5067 --- /dev/null +++ b/sbin/atm/atmconfig/Makefile.depend @@ -0,0 +1,26 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + bin/cat.host \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libbsnmp/libbsnmp \ + lib/libc \ + lib/libcompiler_rt \ + lib/libnetgraph \ + secure/lib/libcrypto \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +atmconfig_device.o: oid.h +atmconfig_device.po: oid.h +.endif diff --git a/sbin/badsect/Makefile.depend b/sbin/badsect/Makefile.depend new file mode 100644 index 0000000..66da85c --- /dev/null +++ b/sbin/badsect/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libufs \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/bsdlabel/Makefile.depend b/sbin/bsdlabel/Makefile.depend new file mode 100644 index 0000000..df63617 --- /dev/null +++ b/sbin/bsdlabel/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libexpat \ + lib/libgeom \ + lib/libsbuf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/camcontrol/Makefile.depend b/sbin/camcontrol/Makefile.depend new file mode 100644 index 0000000..981ec38 --- /dev/null +++ b/sbin/camcontrol/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcam \ + lib/libcompiler_rt \ + lib/libsbuf \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ccdconfig/Makefile.depend b/sbin/ccdconfig/Makefile.depend new file mode 100644 index 0000000..df63617 --- /dev/null +++ b/sbin/ccdconfig/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libexpat \ + lib/libgeom \ + lib/libsbuf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/clri/Makefile.depend b/sbin/clri/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/clri/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/comcontrol/Makefile.depend b/sbin/comcontrol/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/comcontrol/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/conscontrol/Makefile.depend b/sbin/conscontrol/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/conscontrol/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ddb/Makefile.depend b/sbin/ddb/Makefile.depend new file mode 100644 index 0000000..384b675 --- /dev/null +++ b/sbin/ddb/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkvm \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/devd/Makefile.depend b/sbin/devd/Makefile.depend new file mode 100644 index 0000000..adc7292 --- /dev/null +++ b/sbin/devd/Makefile.depend @@ -0,0 +1,28 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libc++ \ + lib/libcompiler_rt \ + lib/libutil \ + lib/msun \ + usr.bin/lex/lib \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +parse.o: parse.c +parse.po: parse.c +token.o: token.c +token.o: y.tab.h +token.po: token.c +token.po: y.tab.h +.endif diff --git a/sbin/devfs/Makefile.depend b/sbin/devfs/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/devfs/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/dhclient/Makefile.depend b/sbin/dhclient/Makefile.depend new file mode 100644 index 0000000..d9ecce6 --- /dev/null +++ b/sbin/dhclient/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/dmesg/Makefile.depend b/sbin/dmesg/Makefile.depend new file mode 100644 index 0000000..384b675 --- /dev/null +++ b/sbin/dmesg/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkvm \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/dump/Makefile.depend b/sbin/dump/Makefile.depend new file mode 100644 index 0000000..4a9f786 --- /dev/null +++ b/sbin/dump/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/protocols \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/dumpfs/Makefile.depend b/sbin/dumpfs/Makefile.depend new file mode 100644 index 0000000..66da85c --- /dev/null +++ b/sbin/dumpfs/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libufs \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/dumpon/Makefile.depend b/sbin/dumpon/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/dumpon/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/etherswitchcfg/Makefile.depend b/sbin/etherswitchcfg/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/etherswitchcfg/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/fdisk/Makefile.depend b/sbin/fdisk/Makefile.depend new file mode 100644 index 0000000..df63617 --- /dev/null +++ b/sbin/fdisk/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libexpat \ + lib/libgeom \ + lib/libsbuf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/fdisk_pc98/Makefile.depend b/sbin/fdisk_pc98/Makefile.depend new file mode 100644 index 0000000..25f093b --- /dev/null +++ b/sbin/fdisk_pc98/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/libgeom \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ffsinfo/Makefile.depend b/sbin/ffsinfo/Makefile.depend new file mode 100644 index 0000000..66da85c --- /dev/null +++ b/sbin/ffsinfo/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libufs \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/fsck/Makefile.depend b/sbin/fsck/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/fsck/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/fsck_ffs/Makefile.depend b/sbin/fsck_ffs/Makefile.depend new file mode 100644 index 0000000..66da85c --- /dev/null +++ b/sbin/fsck_ffs/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libufs \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/fsck_msdosfs/Makefile.depend b/sbin/fsck_msdosfs/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/fsck_msdosfs/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/fsdb/Makefile.depend b/sbin/fsdb/Makefile.depend new file mode 100644 index 0000000..6653b3c --- /dev/null +++ b/sbin/fsdb/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libedit \ + lib/libufs \ + lib/ncurses/ncursesw \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/fsirand/Makefile.depend b/sbin/fsirand/Makefile.depend new file mode 100644 index 0000000..78b235b --- /dev/null +++ b/sbin/fsirand/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/gbde/Makefile.depend b/sbin/gbde/Makefile.depend new file mode 100644 index 0000000..f30afe7 --- /dev/null +++ b/sbin/gbde/Makefile.depend @@ -0,0 +1,26 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libexpat \ + lib/libgeom \ + lib/libmd \ + lib/libsbuf \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +template.o: template.c +template.po: template.c +.endif diff --git a/sbin/geom/class/cache/Makefile.depend b/sbin/geom/class/cache/Makefile.depend new file mode 100644 index 0000000..b1d6d2c --- /dev/null +++ b/sbin/geom/class/cache/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/concat/Makefile.depend b/sbin/geom/class/concat/Makefile.depend new file mode 100644 index 0000000..b1d6d2c --- /dev/null +++ b/sbin/geom/class/concat/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/eli/Makefile.depend b/sbin/geom/class/eli/Makefile.depend new file mode 100644 index 0000000..2c7c316 --- /dev/null +++ b/sbin/geom/class/eli/Makefile.depend @@ -0,0 +1,23 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + lib/libmd \ + sbin/geom/core \ + secure/lib/libcrypto \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/journal/Makefile.depend b/sbin/geom/class/journal/Makefile.depend new file mode 100644 index 0000000..058f0d7 --- /dev/null +++ b/sbin/geom/class/journal/Makefile.depend @@ -0,0 +1,23 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + lib/libmd \ + lib/libufs \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/label/Makefile.depend b/sbin/geom/class/label/Makefile.depend new file mode 100644 index 0000000..b1d6d2c --- /dev/null +++ b/sbin/geom/class/label/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/mirror/Makefile.depend b/sbin/geom/class/mirror/Makefile.depend new file mode 100644 index 0000000..4fa8202 --- /dev/null +++ b/sbin/geom/class/mirror/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + lib/libmd \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/mountver/Makefile.depend b/sbin/geom/class/mountver/Makefile.depend new file mode 100644 index 0000000..b1d6d2c --- /dev/null +++ b/sbin/geom/class/mountver/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/multipath/Makefile.depend b/sbin/geom/class/multipath/Makefile.depend new file mode 100644 index 0000000..b1d6d2c --- /dev/null +++ b/sbin/geom/class/multipath/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/nop/Makefile.depend b/sbin/geom/class/nop/Makefile.depend new file mode 100644 index 0000000..b1d6d2c --- /dev/null +++ b/sbin/geom/class/nop/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/part/Makefile.depend b/sbin/geom/class/part/Makefile.depend new file mode 100644 index 0000000..ef3b57e --- /dev/null +++ b/sbin/geom/class/part/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + lib/libutil \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/raid/Makefile.depend b/sbin/geom/class/raid/Makefile.depend new file mode 100644 index 0000000..4fa8202 --- /dev/null +++ b/sbin/geom/class/raid/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + lib/libmd \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/raid3/Makefile.depend b/sbin/geom/class/raid3/Makefile.depend new file mode 100644 index 0000000..4fa8202 --- /dev/null +++ b/sbin/geom/class/raid3/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + lib/libmd \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/sched/Makefile.depend b/sbin/geom/class/sched/Makefile.depend new file mode 100644 index 0000000..b1d6d2c --- /dev/null +++ b/sbin/geom/class/sched/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/shsec/Makefile.depend b/sbin/geom/class/shsec/Makefile.depend new file mode 100644 index 0000000..b1d6d2c --- /dev/null +++ b/sbin/geom/class/shsec/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/stripe/Makefile.depend b/sbin/geom/class/stripe/Makefile.depend new file mode 100644 index 0000000..b1d6d2c --- /dev/null +++ b/sbin/geom/class/stripe/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/class/virstor/Makefile.depend b/sbin/geom/class/virstor/Makefile.depend new file mode 100644 index 0000000..b1d6d2c --- /dev/null +++ b/sbin/geom/class/virstor/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + sbin/geom/core \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/geom/core/Makefile.depend b/sbin/geom/core/Makefile.depend new file mode 100644 index 0000000..e20388c --- /dev/null +++ b/sbin/geom/core/Makefile.depend @@ -0,0 +1,23 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libexpat \ + lib/libgeom \ + lib/libsbuf \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ggate/ggatec/Makefile.depend b/sbin/ggate/ggatec/Makefile.depend new file mode 100644 index 0000000..c2834f3 --- /dev/null +++ b/sbin/ggate/ggatec/Makefile.depend @@ -0,0 +1,25 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libexpat \ + lib/libgeom \ + lib/libsbuf \ + lib/libthr \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ggate/ggated/Makefile.depend b/sbin/ggate/ggated/Makefile.depend new file mode 100644 index 0000000..375f95b --- /dev/null +++ b/sbin/ggate/ggated/Makefile.depend @@ -0,0 +1,23 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libgeom \ + lib/libthr \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ggate/ggatel/Makefile.depend b/sbin/ggate/ggatel/Makefile.depend new file mode 100644 index 0000000..4aa9870 --- /dev/null +++ b/sbin/ggate/ggatel/Makefile.depend @@ -0,0 +1,24 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libexpat \ + lib/libgeom \ + lib/libsbuf \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/growfs/Makefile.depend b/sbin/growfs/Makefile.depend new file mode 100644 index 0000000..78b235b --- /dev/null +++ b/sbin/growfs/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/gvinum/Makefile.depend b/sbin/gvinum/Makefile.depend new file mode 100644 index 0000000..95ff20c --- /dev/null +++ b/sbin/gvinum/Makefile.depend @@ -0,0 +1,27 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libdevstat \ + lib/libedit \ + lib/libedit/edit/readline \ + lib/libexpat \ + lib/libgeom \ + lib/libkvm \ + lib/libsbuf \ + lib/ncurses/ncursesw \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/hastctl/Makefile.depend b/sbin/hastctl/Makefile.depend new file mode 100644 index 0000000..55bb66c --- /dev/null +++ b/sbin/hastctl/Makefile.depend @@ -0,0 +1,28 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libutil \ + secure/lib/libcrypto \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +parse.o: parse.c +parse.po: parse.c +token.o: token.c +token.o: y.tab.h +token.po: token.c +token.po: y.tab.h +.endif diff --git a/sbin/hastd/Makefile.depend b/sbin/hastd/Makefile.depend new file mode 100644 index 0000000..8fc25fa --- /dev/null +++ b/sbin/hastd/Makefile.depend @@ -0,0 +1,32 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libexpat \ + lib/libgeom \ + lib/libsbuf \ + lib/libthr \ + lib/libutil \ + secure/lib/libcrypto \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +parse.o: parse.c +parse.po: parse.c +token.o: token.c +token.o: y.tab.h +token.po: token.c +token.po: y.tab.h +.endif diff --git a/sbin/ifconfig/Makefile.depend b/sbin/ifconfig/Makefile.depend new file mode 100644 index 0000000..300eacf --- /dev/null +++ b/sbin/ifconfig/Makefile.depend @@ -0,0 +1,23 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libexpat \ + lib/libjail \ + lib/libsbuf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/init/Makefile.depend b/sbin/init/Makefile.depend new file mode 100644 index 0000000..1b2a0bd --- /dev/null +++ b/sbin/init/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libcrypt \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ipf/ipf/Makefile.depend b/sbin/ipf/ipf/Makefile.depend new file mode 100644 index 0000000..f781eb1 --- /dev/null +++ b/sbin/ipf/ipf/Makefile.depend @@ -0,0 +1,33 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkvm \ + lib/libpcap \ + sbin/ipf/libipf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +ipf_l.o: ipf_l.c +ipf_l.o: ipf_l.h +ipf_l.o: ipf_y.h +ipf_l.po: ipf_l.c +ipf_l.po: ipf_l.h +ipf_l.po: ipf_y.h +ipf_y.o: ipf_l.h +ipf_y.o: ipf_y.c +ipf_y.po: ipf_l.h +ipf_y.po: ipf_y.c +.endif diff --git a/sbin/ipf/ipfs/Makefile.depend b/sbin/ipf/ipfs/Makefile.depend new file mode 100644 index 0000000..c096953 --- /dev/null +++ b/sbin/ipf/ipfs/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkvm \ + sbin/ipf/libipf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ipf/ipfstat/Makefile.depend b/sbin/ipf/ipfstat/Makefile.depend new file mode 100644 index 0000000..e2073f8 --- /dev/null +++ b/sbin/ipf/ipfstat/Makefile.depend @@ -0,0 +1,24 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkvm \ + lib/ncurses/ncurses \ + lib/ncurses/ncursesw \ + sbin/ipf/libipf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ipf/ipftest/Makefile.depend b/sbin/ipf/ipftest/Makefile.depend new file mode 100644 index 0000000..0ba17cd --- /dev/null +++ b/sbin/ipf/ipftest/Makefile.depend @@ -0,0 +1,52 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkvm \ + sbin/ipf/libipf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +ipf_l.o: ipf_l.c +ipf_l.o: ipf_l.h +ipf_l.o: ipf_y.h +ipf_l.po: ipf_l.c +ipf_l.po: ipf_l.h +ipf_l.po: ipf_y.h +ipf_y.o: ipf_l.h +ipf_y.o: ipf_y.c +ipf_y.po: ipf_l.h +ipf_y.po: ipf_y.c +ipnat_l.o: ipnat_l.c +ipnat_l.o: ipnat_l.h +ipnat_l.o: ipnat_y.h +ipnat_l.po: ipnat_l.c +ipnat_l.po: ipnat_l.h +ipnat_l.po: ipnat_y.h +ipnat_y.o: ipnat_l.h +ipnat_y.o: ipnat_y.c +ipnat_y.po: ipnat_l.h +ipnat_y.po: ipnat_y.c +ippool_l.o: ippool_l.c +ippool_l.o: ippool_l.h +ippool_l.o: ippool_y.h +ippool_l.po: ippool_l.c +ippool_l.po: ippool_l.h +ippool_l.po: ippool_y.h +ippool_y.o: ippool_l.h +ippool_y.o: ippool_y.c +ippool_y.po: ippool_l.h +ippool_y.po: ippool_y.c +.endif diff --git a/sbin/ipf/ipmon/Makefile.depend b/sbin/ipf/ipmon/Makefile.depend new file mode 100644 index 0000000..7f71b7a --- /dev/null +++ b/sbin/ipf/ipmon/Makefile.depend @@ -0,0 +1,32 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkvm \ + sbin/ipf/libipf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +ipmon_l.o: ipmon_l.c +ipmon_l.o: ipmon_l.h +ipmon_l.o: ipmon_y.h +ipmon_l.po: ipmon_l.c +ipmon_l.po: ipmon_l.h +ipmon_l.po: ipmon_y.h +ipmon_y.o: ipmon_l.h +ipmon_y.o: ipmon_y.c +ipmon_y.po: ipmon_l.h +ipmon_y.po: ipmon_y.c +.endif diff --git a/sbin/ipf/ipnat/Makefile.depend b/sbin/ipf/ipnat/Makefile.depend new file mode 100644 index 0000000..6ba8eba --- /dev/null +++ b/sbin/ipf/ipnat/Makefile.depend @@ -0,0 +1,32 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkvm \ + sbin/ipf/libipf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +ipnat_l.o: ipnat_l.c +ipnat_l.o: ipnat_l.h +ipnat_l.o: ipnat_y.h +ipnat_l.po: ipnat_l.c +ipnat_l.po: ipnat_l.h +ipnat_l.po: ipnat_y.h +ipnat_y.o: ipnat_l.h +ipnat_y.o: ipnat_y.c +ipnat_y.po: ipnat_l.h +ipnat_y.po: ipnat_y.c +.endif diff --git a/sbin/ipf/ippool/Makefile.depend b/sbin/ipf/ippool/Makefile.depend new file mode 100644 index 0000000..05af37b --- /dev/null +++ b/sbin/ipf/ippool/Makefile.depend @@ -0,0 +1,32 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkvm \ + sbin/ipf/libipf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +ippool_l.o: ippool_l.c +ippool_l.o: ippool_l.h +ippool_l.o: ippool_y.h +ippool_l.po: ippool_l.c +ippool_l.po: ippool_l.h +ippool_l.po: ippool_y.h +ippool_y.o: ippool_l.h +ippool_y.o: ippool_y.c +ippool_y.po: ippool_l.h +ippool_y.po: ippool_y.c +.endif diff --git a/sbin/ipf/ipresend/Makefile.depend b/sbin/ipf/ipresend/Makefile.depend new file mode 100644 index 0000000..7499c73 --- /dev/null +++ b/sbin/ipf/ipresend/Makefile.depend @@ -0,0 +1,23 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkvm \ + lib/msun \ + sbin/ipf/libipf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ipf/libipf/Makefile.depend b/sbin/ipf/libipf/Makefile.depend new file mode 100644 index 0000000..06fce29 --- /dev/null +++ b/sbin/ipf/libipf/Makefile.depend @@ -0,0 +1,16 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + include \ + include/arpa \ + include/xlocale \ + lib/libkvm \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ipfw/Makefile.depend b/sbin/ipfw/Makefile.depend new file mode 100644 index 0000000..a4fcbf0 --- /dev/null +++ b/sbin/ipfw/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libalias/libalias \ + lib/libc \ + lib/libcompiler_rt \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/iscontrol/Makefile.depend b/sbin/iscontrol/Makefile.depend new file mode 100644 index 0000000..bf26a6c --- /dev/null +++ b/sbin/iscontrol/Makefile.depend @@ -0,0 +1,23 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcam \ + lib/libcompiler_rt \ + lib/libmd \ + lib/libsbuf \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/kldconfig/Makefile.depend b/sbin/kldconfig/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/kldconfig/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/kldload/Makefile.depend b/sbin/kldload/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/kldload/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/kldstat/Makefile.depend b/sbin/kldstat/Makefile.depend new file mode 100644 index 0000000..2d9ec50 --- /dev/null +++ b/sbin/kldstat/Makefile.depend @@ -0,0 +1,18 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/kldunload/Makefile.depend b/sbin/kldunload/Makefile.depend new file mode 100644 index 0000000..2d9ec50 --- /dev/null +++ b/sbin/kldunload/Makefile.depend @@ -0,0 +1,18 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ldconfig/Makefile.depend b/sbin/ldconfig/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/ldconfig/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mca/Makefile b/sbin/mca/Makefile new file mode 100644 index 0000000..2616725 --- /dev/null +++ b/sbin/mca/Makefile @@ -0,0 +1,5 @@ +# $FreeBSD$ +PROG= mca +MAN= mca.8 + +.include <bsd.prog.mk> diff --git a/sbin/mca/Makefile.depend b/sbin/mca/Makefile.depend new file mode 100644 index 0000000..a839545 --- /dev/null +++ b/sbin/mca/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/sbin/mca/mca.8 b/sbin/mca/mca.8 new file mode 100644 index 0000000..e654d36 --- /dev/null +++ b/sbin/mca/mca.8 @@ -0,0 +1,73 @@ +.\" Copyright (c) 2006 Marcel Moolenaar +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd February 11, 2006 +.Dt MCA 8 +.Os +.Sh NAME +.Nm mca +.Nd "Machine Check Architecture control utility" +.Sh SYNOPSIS +.Nm +.Op Fl d +.Op Fl f Ar filename +.Sh DESCRIPTION +The +.Nm +utility provides minimal functionality to dump or display MCA records +that were saved by the kernel during boot. +The default behaviour of the +.Nm +utility is to display all new MCA records on stdout. +When the +.Fl d +option is given, the records are dumped in binary form. +The default file to which records are dumped is +.Pa /var/log/mca.log . +This can be changed by specifying the +.Fl f +option. +New records are appended to the dump file. +.Pp +Previously dumped records can be displayed by giving the name of +the dump file with the +.Fl f +option. +.Sh FILES +.Bl -tag -width ".Pa /var/log/mca.log" -compact +.It Pa /var/log/mca.log +default dump file +.El +.Sh HISTORY +The +.Nm +utility appeared in +.Fx 5.0 +for ia64. +.Sh BUGS +The development of the +.Nm +utility is still a work in progress. diff --git a/sbin/mca/mca.c b/sbin/mca/mca.c new file mode 100644 index 0000000..ed7bcff --- /dev/null +++ b/sbin/mca/mca.c @@ -0,0 +1,547 @@ +/* + * Copyright (c) 2002 Marcel Moolenaar + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + +#include <sys/types.h> +#include <sys/mman.h> +#include <sys/sysctl.h> +#include <sys/uuid.h> + +/* + * Hack to make this compile on non-ia64 machines. + */ +#ifdef __ia64__ +#include <machine/mca.h> +#else +#include "../../sys/ia64/include/mca.h" +#endif + +#include <err.h> +#include <errno.h> +#include <fcntl.h> +#include <stdarg.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <uuid.h> + +#define BCD(x) ((x >> 4) * 10 + (x & 15)) + +#define HW_MCA_MAX_CPUID 255 + +static const char hw_mca_count[] = "hw.mca.count"; +static const char hw_mca_first[] = "hw.mca.first"; +static const char hw_mca_last[] = "hw.mca.last"; +static const char hw_mca_recid[] = "hw.mca.%d.%u"; + +static char default_dumpfile[] = "/var/log/mca.log"; + +int fl_dump; +char *file; + +static const char * +severity(int error) +{ + + switch (error) { + case MCA_RH_ERROR_RECOVERABLE: + return ("recoverable"); + case MCA_RH_ERROR_FATAL: + return ("fatal"); + case MCA_RH_ERROR_CORRECTED: + return ("corrected"); + } + + return ("unknown"); +} + +static const char * +uuid(uuid_t *id) +{ + static char buffer[64]; + char *s; + + uuid_to_string(id, &s, NULL); + strcpy(buffer, s); + free(s); + return (buffer); +} + +static int +show_value(int indent, const char *var, const char *fmt, ...) +{ + va_list ap; + int len; + + len = indent; + while (indent--) + putchar(' '); + len += printf("<%s>", var); + va_start(ap, fmt); + len += vprintf(fmt, ap); + len += printf("</%s>\n", var); + return (len); +} + +static size_t +show_header(struct mca_record_header *rh) +{ + + printf(" <header>\n"); + show_value(4, "seqnr", "%lld", (long long)rh->rh_seqnr); + show_value(4, "revision", "%d.%d", BCD(rh->rh_major), + BCD(rh->rh_minor)); + show_value(4, "severity", "%s", severity(rh->rh_error)); + show_value(4, "length", "%lld", (long long)rh->rh_length); + show_value(4, "date", "%d%02d/%02d/%02d", + BCD(rh->rh_time[MCA_RH_TIME_CENT]), + BCD(rh->rh_time[MCA_RH_TIME_YEAR]), + BCD(rh->rh_time[MCA_RH_TIME_MON]), + BCD(rh->rh_time[MCA_RH_TIME_MDAY])); + show_value(4, "time", "%02d:%02d:%02d", + BCD(rh->rh_time[MCA_RH_TIME_HOUR]), + BCD(rh->rh_time[MCA_RH_TIME_MIN]), + BCD(rh->rh_time[MCA_RH_TIME_SEC])); + if (rh->rh_flags & MCA_RH_FLAGS_PLATFORM_ID) + show_value(4, "platform", "%s", uuid(&rh->rh_platform)); + printf(" </header>\n"); + return (rh->rh_length); +} + +static void +show_cpu_mod(const char *what, int idx, struct mca_cpu_mod *cpu_mod) +{ + printf(" <%s-%d>\n", what, idx); + if (cpu_mod->cpu_mod_flags & MCA_CPU_MOD_FLAGS_INFO) + show_value(8, "info", "0x%016llx", + (long long)cpu_mod->cpu_mod_info); + if (cpu_mod->cpu_mod_flags & MCA_CPU_MOD_FLAGS_REQID) + show_value(8, "requester", "0x%016llx", + (long long)cpu_mod->cpu_mod_reqid); + if (cpu_mod->cpu_mod_flags & MCA_CPU_MOD_FLAGS_RSPID) + show_value(8, "responder", "0x%016llx", + (long long)cpu_mod->cpu_mod_rspid); + if (cpu_mod->cpu_mod_flags & MCA_CPU_MOD_FLAGS_TGTID) + show_value(8, "target", "0x%016llx", + (long long)cpu_mod->cpu_mod_tgtid); + if (cpu_mod->cpu_mod_flags & MCA_CPU_MOD_FLAGS_IP) + show_value(8, "ip", "0x%016llx", + (long long)cpu_mod->cpu_mod_ip); + printf(" </%s-%d>\n", what, idx); +} + +static void +show_cpu(struct mca_cpu_record *cpu) +{ + char var[16]; + struct mca_cpu_mod *mod; + struct mca_cpu_cpuid *cpuid; +#ifdef notyet + struct mca_cpu_psi *psi; +#endif + int i, n; + + printf(" <cpu>\n"); + + if (cpu->cpu_flags & MCA_CPU_FLAGS_ERRMAP) + show_value(6, "errmap", "0x%016llx", + (long long)cpu->cpu_errmap); + if (cpu->cpu_flags & MCA_CPU_FLAGS_STATE) + show_value(6, "state", "0x%016llx", + (long long)cpu->cpu_state); + if (cpu->cpu_flags & MCA_CPU_FLAGS_CR_LID) + show_value(6, "cr_lid", "0x%016llx", + (long long)cpu->cpu_cr_lid); + + mod = (struct mca_cpu_mod*)(cpu + 1); + n = MCA_CPU_FLAGS_CACHE(cpu->cpu_flags); + for (i = 0; i < n; i++) + show_cpu_mod("cache", i, mod++); + n = MCA_CPU_FLAGS_TLB(cpu->cpu_flags); + for (i = 0; i < n; i++) + show_cpu_mod("tlb", i, mod++); + n = MCA_CPU_FLAGS_BUS(cpu->cpu_flags); + for (i = 0; i < n; i++) + show_cpu_mod("bus", i, mod++); + n = MCA_CPU_FLAGS_REG(cpu->cpu_flags); + for (i = 0; i < n; i++) + show_cpu_mod("reg", i, mod++); + n = MCA_CPU_FLAGS_MS(cpu->cpu_flags); + for (i = 0; i < n; i++) + show_cpu_mod("ms", i, mod++); + + cpuid = (struct mca_cpu_cpuid*)mod; + for (i = 0; i < 6; i++) { + sprintf(var, "cpuid-%d", i); + show_value(6, var, "0x%016llx", (long long)cpuid->cpuid[i]); + } + +#ifdef notyet + psi = (struct mca_cpu_psi*)(cpuid + 1); +#endif + /* TODO: Dump PSI */ + + printf(" </cpu>\n"); +} + +static void +show_memory(struct mca_mem_record *mem) +{ + printf(" <memory>\n"); + + if (mem->mem_flags & MCA_MEM_FLAGS_STATUS) + show_value(6, "status", "0x%016llx", + (long long)mem->mem_status); + if (mem->mem_flags & MCA_MEM_FLAGS_ADDR) + show_value(6, "address", "0x%016llx", + (long long)mem->mem_addr); + if (mem->mem_flags & MCA_MEM_FLAGS_ADDRMASK) + show_value(6, "mask", "0x%016llx", + (long long)mem->mem_addrmask); + if (mem->mem_flags & MCA_MEM_FLAGS_NODE) + show_value(6, "node", "0x%04x", mem->mem_node); + if (mem->mem_flags & MCA_MEM_FLAGS_CARD) + show_value(6, "card", "0x%04x", mem->mem_card); + if (mem->mem_flags & MCA_MEM_FLAGS_MODULE) + show_value(6, "module", "0x%04x", mem->mem_module); + if (mem->mem_flags & MCA_MEM_FLAGS_BANK) + show_value(6, "bank", "0x%04x", mem->mem_bank); + if (mem->mem_flags & MCA_MEM_FLAGS_DEVICE) + show_value(6, "device", "0x%04x", mem->mem_device); + if (mem->mem_flags & MCA_MEM_FLAGS_ROW) + show_value(6, "row", "0x%04x", mem->mem_row); + if (mem->mem_flags & MCA_MEM_FLAGS_COLUMN) + show_value(6, "column", "0x%04x", mem->mem_column); + if (mem->mem_flags & MCA_MEM_FLAGS_BITPOS) + show_value(6, "bit", "0x%04x", mem->mem_bitpos); + if (mem->mem_flags & MCA_MEM_FLAGS_REQID) + show_value(6, "requester", "0x%016llx", + (long long)mem->mem_reqid); + if (mem->mem_flags & MCA_MEM_FLAGS_RSPID) + show_value(6, "responder", "0x%016llx", + (long long)mem->mem_rspid); + if (mem->mem_flags & MCA_MEM_FLAGS_TGTID) + show_value(6, "target", "0x%016llx", + (long long)mem->mem_tgtid); + if (mem->mem_flags & MCA_MEM_FLAGS_BUSDATA) + show_value(6, "status", "0x%016llx", + (long long)mem->mem_busdata); + if (mem->mem_flags & MCA_MEM_FLAGS_OEM_ID) + show_value(6, "oem", "%s", uuid(&mem->mem_oem_id)); + /* TODO: Dump OEM data */ + + printf(" </memory>\n"); +} + +static void +show_sel(void) +{ + printf(" # SEL\n"); +} + +static void +show_pci_bus(struct mca_pcibus_record *pcibus) +{ + printf(" <pci-bus>\n"); + + if (pcibus->pcibus_flags & MCA_PCIBUS_FLAGS_STATUS) + show_value(6, "status", "0x%016llx", + (long long)pcibus->pcibus_status); + if (pcibus->pcibus_flags & MCA_PCIBUS_FLAGS_ERROR) + show_value(6, "error", "0x%04x", pcibus->pcibus_error); + if (pcibus->pcibus_flags & MCA_PCIBUS_FLAGS_BUS) + show_value(6, "bus", "0x%04x", pcibus->pcibus_bus); + if (pcibus->pcibus_flags & MCA_PCIBUS_FLAGS_ADDR) + show_value(6, "address", "0x%016llx", + (long long)pcibus->pcibus_addr); + if (pcibus->pcibus_flags & MCA_PCIBUS_FLAGS_DATA) + show_value(6, "data", "0x%016llx", + (long long)pcibus->pcibus_data); + if (pcibus->pcibus_flags & MCA_PCIBUS_FLAGS_CMD) + show_value(6, "cmd", "0x%016llx", + (long long)pcibus->pcibus_cmd); + if (pcibus->pcibus_flags & MCA_PCIBUS_FLAGS_REQID) + show_value(6, "requester", "0x%016llx", + (long long)pcibus->pcibus_reqid); + if (pcibus->pcibus_flags & MCA_PCIBUS_FLAGS_RSPID) + show_value(6, "responder", "0x%016llx", + (long long)pcibus->pcibus_rspid); + if (pcibus->pcibus_flags & MCA_PCIBUS_FLAGS_TGTID) + show_value(6, "target", "0x%016llx", + (long long)pcibus->pcibus_tgtid); + if (pcibus->pcibus_flags & MCA_PCIBUS_FLAGS_OEM_ID) + show_value(6, "oem", "%s", uuid(&pcibus->pcibus_oem_id)); + /* TODO: Dump OEM data */ + + printf(" </pci-bus>\n"); +} + +static void +show_smbios(void) +{ + printf(" # SMBIOS\n"); +} + +static void +show_pci_dev(struct mca_pcidev_record *pcidev) +{ + printf(" <pci-dev>\n"); + + if (pcidev->pcidev_flags & MCA_PCIDEV_FLAGS_STATUS) + show_value(6, "status", "0x%016llx", + (long long)pcidev->pcidev_status); + if (pcidev->pcidev_flags & MCA_PCIDEV_FLAGS_INFO) { + show_value(6, "vendor", "0x%04x", + pcidev->pcidev_info.info_vendor); + show_value(6, "device", "0x%04x", + pcidev->pcidev_info.info_device); + show_value(6, "class", "0x%06x", + MCA_PCIDEV_INFO_CLASS(pcidev->pcidev_info.info_ccfn)); + show_value(6, "function", "0x%02x", + MCA_PCIDEV_INFO_FUNCTION(pcidev->pcidev_info.info_ccfn)); + show_value(6, "slot", "0x%02x", pcidev->pcidev_info.info_slot); + show_value(6, "bus", "0x%04x", pcidev->pcidev_info.info_bus); + show_value(6, "segment", "0x%04x", + pcidev->pcidev_info.info_segment); + } + /* TODO: dump registers */ + /* TODO: Dump OEM data */ + + printf(" </pci-dev>\n"); +} + +static void +show_generic(void) +{ + printf(" # GENERIC\n"); +} + +static size_t +show_section(struct mca_section_header *sh) +{ + static uuid_t uuid_cpu = MCA_UUID_CPU; + static uuid_t uuid_memory = MCA_UUID_MEMORY; + static uuid_t uuid_sel = MCA_UUID_SEL; + static uuid_t uuid_pci_bus = MCA_UUID_PCI_BUS; + static uuid_t uuid_smbios = MCA_UUID_SMBIOS; + static uuid_t uuid_pci_dev = MCA_UUID_PCI_DEV; + static uuid_t uuid_generic = MCA_UUID_GENERIC; + + printf(" <section>\n"); + show_value(4, "uuid", "%s", uuid(&sh->sh_uuid)); + show_value(4, "revision", "%d.%d", BCD(sh->sh_major), + BCD(sh->sh_minor)); + + if (uuid_equal(&sh->sh_uuid, &uuid_cpu, NULL)) + show_cpu((void*)(sh + 1)); + else if (uuid_equal(&sh->sh_uuid, &uuid_memory, NULL)) + show_memory((void*)(sh + 1)); + else if (uuid_equal(&sh->sh_uuid, &uuid_sel, NULL)) + show_sel(); + else if (uuid_equal(&sh->sh_uuid, &uuid_pci_bus, NULL)) + show_pci_bus((void*)(sh + 1)); + else if (uuid_equal(&sh->sh_uuid, &uuid_smbios, NULL)) + show_smbios(); + else if (uuid_equal(&sh->sh_uuid, &uuid_pci_dev, NULL)) + show_pci_dev((void*)(sh + 1)); + else if (uuid_equal(&sh->sh_uuid, &uuid_generic, NULL)) + show_generic(); + + printf(" </section>\n"); + return (sh->sh_length); +} + +static void +show(char *data, const char *mib) +{ + size_t reclen, seclen; + + if (mib != NULL) + printf("<!-- MIB: %s -->\n", mib); + + printf("<record>\n"); + reclen = show_header((void*)data) - sizeof(struct mca_record_header); + data += sizeof(struct mca_record_header); + while (reclen > sizeof(struct mca_section_header)) { + seclen = show_section((void*)data); + reclen -= seclen; + data += seclen; + } + printf("</record>\n"); +} + +static void +showall(char *buf, size_t buflen) +{ + struct mca_record_header *rh; + size_t reclen; + + do { + if (buflen < sizeof(struct mca_record_header)) + return; + + rh = (void*)buf; + reclen = rh->rh_length; + if (buflen < reclen) + return; + + show(buf, NULL); + + buf += reclen; + buflen -= reclen; + } + while (1); +} + +static void +dump(char *data) +{ + struct mca_record_header *rh; + const char *fn; + int fd; + + rh = (void*)data; + fn = (file) ? file : default_dumpfile; + fd = open(fn, O_WRONLY|O_CREAT|O_APPEND, 0660); + if (fd == -1) + err(2, "open(%s)", fn); + if (write(fd, (void*)rh, rh->rh_length) == -1) + err(2, "write(%s)", fn); + close(fd); +} + +static void +usage(void) +{ + + fprintf(stderr, "usage: mca [-df]\n"); + exit (1); +} + +int +main(int argc, char **argv) +{ + char mib[32]; + char *buf; + size_t len; + int ch, error, fd; + int count, first, last, cpuid; + + while ((ch = getopt(argc, argv, "df:")) != -1) { + switch(ch) { + case 'd': /* dump */ + fl_dump = 1; + break; + case 'f': + if (file) + free(file); /* XXX complain! */ + file = strdup(optarg); + break; + default: + usage(); + } + } + + argc -= optind; + argv += optind; + + if (file == NULL || fl_dump) { + len = sizeof(count); + if (sysctlbyname(hw_mca_count, &count, &len, NULL, 0) == -1) + err(1, hw_mca_count); + + if (count == 0) + errx(0, "no error records found"); + + len = sizeof(first); + if (sysctlbyname(hw_mca_first, &first, &len, NULL, 0) == -1) + err(1, hw_mca_first); + + len = sizeof(last); + if (sysctlbyname(hw_mca_last, &last, &len, NULL, 0) == -1) + err(1, hw_mca_last); + + cpuid = 0; + error = 0; + while (count && first <= last) { + do { + sprintf(mib, hw_mca_recid, first, cpuid); + len = 0; + ch = sysctlbyname(mib, NULL, &len, NULL, 0); + error = (ch == -1) ? errno : 0; + if (error != ENOENT) + break; + cpuid++; + } while (cpuid <= HW_MCA_MAX_CPUID); + if (error == ENOENT && cpuid > HW_MCA_MAX_CPUID) { + first++; + cpuid = 0; + continue; + } + if (error) + errc(1, error, "%s(1)", mib); + + buf = malloc(len); + if (buf == NULL) + err(1, "buffer"); + + if (sysctlbyname(mib, buf, &len, NULL, 0) == -1) + err(1, "%s(2)", mib); + + if (fl_dump) + dump(buf); + else + show(buf, mib); + + free(buf); + count--; + if (cpuid == HW_MCA_MAX_CPUID) { + first++; + cpuid = 0; + } else + cpuid++; + } + } else { + fd = open(file, O_RDONLY); + if (fd == -1) + err(1, "open(%s)", file); + + len = lseek(fd, 0LL, SEEK_END); + buf = mmap(NULL, len, PROT_READ, 0U, fd, 0LL); + if (buf == MAP_FAILED) + err(1, "mmap(%s)", file); + + showall(buf, len); + + munmap(buf, len); + close(fd); + } + + return (0); +} diff --git a/sbin/md5/Makefile.depend b/sbin/md5/Makefile.depend new file mode 100644 index 0000000..50e2e74 --- /dev/null +++ b/sbin/md5/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libmd \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mdconfig/Makefile.depend b/sbin/mdconfig/Makefile.depend new file mode 100644 index 0000000..d6b21c7 --- /dev/null +++ b/sbin/mdconfig/Makefile.depend @@ -0,0 +1,25 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libdevstat \ + lib/libexpat \ + lib/libgeom \ + lib/libkvm \ + lib/libsbuf \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mdmfs/Makefile.depend b/sbin/mdmfs/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/mdmfs/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mknod/Makefile.depend b/sbin/mknod/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/mknod/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mksnap_ffs/Makefile.depend b/sbin/mksnap_ffs/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/mksnap_ffs/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mount/Makefile.depend b/sbin/mount/Makefile.depend new file mode 100644 index 0000000..78b235b --- /dev/null +++ b/sbin/mount/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mount_cd9660/Makefile.depend b/sbin/mount_cd9660/Makefile.depend new file mode 100644 index 0000000..69a5342 --- /dev/null +++ b/sbin/mount_cd9660/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkiconv \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mount_fusefs/Makefile.depend b/sbin/mount_fusefs/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/mount_fusefs/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mount_msdosfs/Makefile.depend b/sbin/mount_msdosfs/Makefile.depend new file mode 100644 index 0000000..6f58bd1 --- /dev/null +++ b/sbin/mount_msdosfs/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkiconv \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mount_nfs/Makefile.depend b/sbin/mount_nfs/Makefile.depend new file mode 100644 index 0000000..2a44c25 --- /dev/null +++ b/sbin/mount_nfs/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/rpc \ + include/rpcsvc \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mount_nullfs/Makefile.depend b/sbin/mount_nullfs/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/mount_nullfs/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mount_udf/Makefile.depend b/sbin/mount_udf/Makefile.depend new file mode 100644 index 0000000..24c6b24 --- /dev/null +++ b/sbin/mount_udf/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libkiconv \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/mount_unionfs/Makefile.depend b/sbin/mount_unionfs/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/mount_unionfs/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/natd/Makefile.depend b/sbin/natd/Makefile.depend new file mode 100644 index 0000000..0aa70db --- /dev/null +++ b/sbin/natd/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libalias/libalias \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/newfs/Makefile.depend b/sbin/newfs/Makefile.depend new file mode 100644 index 0000000..f94cc5e --- /dev/null +++ b/sbin/newfs/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libufs \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/newfs_msdos/Makefile.depend b/sbin/newfs_msdos/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/newfs_msdos/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/nfsiod/Makefile.depend b/sbin/nfsiod/Makefile.depend new file mode 100644 index 0000000..2d9ec50 --- /dev/null +++ b/sbin/nfsiod/Makefile.depend @@ -0,0 +1,18 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/nos-tun/Makefile.depend b/sbin/nos-tun/Makefile.depend new file mode 100644 index 0000000..b68b4bb --- /dev/null +++ b/sbin/nos-tun/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/nvmecontrol/Makefile.depend b/sbin/nvmecontrol/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/nvmecontrol/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/pfctl/Makefile.depend b/sbin/pfctl/Makefile.depend new file mode 100644 index 0000000..3114c66 --- /dev/null +++ b/sbin/pfctl/Makefile.depend @@ -0,0 +1,24 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libmd \ + lib/msun \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +parse.o: parse.c +parse.po: parse.c +.endif diff --git a/sbin/pflogd/Makefile.depend b/sbin/pflogd/Makefile.depend new file mode 100644 index 0000000..fb2e1ea --- /dev/null +++ b/sbin/pflogd/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libpcap \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ping/Makefile.depend b/sbin/ping/Makefile.depend new file mode 100644 index 0000000..aa5c26e --- /dev/null +++ b/sbin/ping/Makefile.depend @@ -0,0 +1,24 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcapsicum \ + lib/libcompiler_rt \ + lib/libipsec \ + lib/libnv \ + lib/msun \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/ping6/Makefile.depend b/sbin/ping6/Makefile.depend new file mode 100644 index 0000000..c657f0f --- /dev/null +++ b/sbin/ping6/Makefile.depend @@ -0,0 +1,23 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libipsec \ + lib/libmd \ + lib/msun \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/quotacheck/Makefile.depend b/sbin/quotacheck/Makefile.depend new file mode 100644 index 0000000..78b235b --- /dev/null +++ b/sbin/quotacheck/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/rcorder/Makefile.depend b/sbin/rcorder/Makefile.depend new file mode 100644 index 0000000..ed049c9 --- /dev/null +++ b/sbin/rcorder/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +rcorder.o: util.h +rcorder.po: util.h +.endif diff --git a/sbin/reboot/Makefile.depend b/sbin/reboot/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/reboot/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/recoverdisk/Makefile.depend b/sbin/recoverdisk/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/recoverdisk/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/resolvconf/Makefile.depend b/sbin/resolvconf/Makefile.depend new file mode 100644 index 0000000..57b7e10 --- /dev/null +++ b/sbin/resolvconf/Makefile.depend @@ -0,0 +1,12 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/restore/Makefile.depend b/sbin/restore/Makefile.depend new file mode 100644 index 0000000..4a9f786 --- /dev/null +++ b/sbin/restore/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/protocols \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/route/Makefile.depend b/sbin/route/Makefile.depend new file mode 100644 index 0000000..3276014 --- /dev/null +++ b/sbin/route/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +route.o: keywords.h +route.po: keywords.h +.endif diff --git a/sbin/routed/Makefile.depend b/sbin/routed/Makefile.depend new file mode 100644 index 0000000..2ceda9e --- /dev/null +++ b/sbin/routed/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/arpa \ + include/protocols \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libmd \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/routed/rtquery/Makefile.depend b/sbin/routed/rtquery/Makefile.depend new file mode 100644 index 0000000..beb04be --- /dev/null +++ b/sbin/routed/rtquery/Makefile.depend @@ -0,0 +1,22 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/protocols \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libmd \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/rtsol/Makefile.depend b/sbin/rtsol/Makefile.depend new file mode 100644 index 0000000..b68b4bb --- /dev/null +++ b/sbin/rtsol/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/savecore/Makefile.depend b/sbin/savecore/Makefile.depend new file mode 100644 index 0000000..4f4a210e3f --- /dev/null +++ b/sbin/savecore/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libz \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/sconfig/Makefile.depend b/sbin/sconfig/Makefile.depend new file mode 100644 index 0000000..a839545 --- /dev/null +++ b/sbin/sconfig/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/sbin/setkey/Makefile.depend b/sbin/setkey/Makefile.depend new file mode 100644 index 0000000..2c5ecea --- /dev/null +++ b/sbin/setkey/Makefile.depend @@ -0,0 +1,29 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/arpa \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libipsec \ + lib/liby \ + usr.bin/lex/lib \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +parse.o: parse.c +parse.po: parse.c +token.o: token.c +token.o: y.tab.h +token.po: token.c +token.po: y.tab.h +.endif diff --git a/sbin/shutdown/Makefile.depend b/sbin/shutdown/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/shutdown/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/spppcontrol/Makefile.depend b/sbin/spppcontrol/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/spppcontrol/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/sunlabel/Makefile.depend b/sbin/sunlabel/Makefile.depend new file mode 100644 index 0000000..25f093b --- /dev/null +++ b/sbin/sunlabel/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/libgeom \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/swapon/Makefile.depend b/sbin/swapon/Makefile.depend new file mode 100644 index 0000000..78b235b --- /dev/null +++ b/sbin/swapon/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libutil \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/sysctl/Makefile.depend b/sbin/sysctl/Makefile.depend new file mode 100644 index 0000000..96aa2a2 --- /dev/null +++ b/sbin/sysctl/Makefile.depend @@ -0,0 +1,19 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/tunefs/Makefile.depend b/sbin/tunefs/Makefile.depend new file mode 100644 index 0000000..66da85c --- /dev/null +++ b/sbin/tunefs/Makefile.depend @@ -0,0 +1,20 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/libufs \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/sbin/umount/Makefile.depend b/sbin/umount/Makefile.depend new file mode 100644 index 0000000..c1655db --- /dev/null +++ b/sbin/umount/Makefile.depend @@ -0,0 +1,21 @@ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/rpc \ + include/rpcsvc \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif |