Current Path : /sys/amd64/compile/hs32/modules/usr/src/sys/modules/libalias/modules/irc/@/amd64/compile/hs32/modules/usr/src/sys/modules/acpi/acpi_panasonic/@/tools/sound/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //sys/amd64/compile/hs32/modules/usr/src/sys/modules/libalias/modules/irc/@/amd64/compile/hs32/modules/usr/src/sys/modules/acpi/acpi_panasonic/@/tools/sound/emu10k1-mkalsa.sh |
# $FreeBSD: release/9.1.0/sys/tools/sound/emu10k1-mkalsa.sh 193889 2009-06-10 06:49:45Z ariff $ GREP=${GREP:-grep} CC=${CC:-cc} AWK=${AWK:-awk} MV=${MV:=mv} RM=${RM:=rm} IN=$1 OUT=$2 trap "${RM} -f $OUT.tmp" EXIT $GREP -v '#include' $IN | \ $CC -E -D__KERNEL__ -dM - | \ $AWK -F"[ (]" ' /define/ { print "#ifndef " $2; print; print "#endif"; }' > $OUT.tmp ${MV} -f $OUT.tmp $OUT