code
stringlengths
3
1.03M
repo_name
stringlengths
5
84
path
stringlengths
4
233
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
3
1.03M
cmd_arch/arm/crypto/built-in.o := rm -f arch/arm/crypto/built-in.o; /home/icoolguy1995/Toolchains/toolchain-4.6.3/bin/arm-linux-androideabi-ar rcsD arch/arm/crypto/built-in.o
ansebovi/SmartDeviL_XMD
arch/arm/crypto/.built-in.o.cmd
bat
gpl-2.0
176
cmd_drivers/net/slhc.o := arm-eabi-gcc -Wp,-MD,drivers/net/.slhc.o.d -nostdinc -isystem /data/repos/cm/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/include -I/data/repos/kernels/arch/arm/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-msm/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -marm -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -Wframe-larger-than=1024 -fno-stack-protector -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(slhc)" -D"KBUILD_MODNAME=KBUILD_STR(slhc)" -D"DEBUG_HASH=36" -D"DEBUG_HASH2=16" -c -o drivers/net/slhc.o drivers/net/slhc.c deps_drivers/net/slhc.o := \ drivers/net/slhc.c \ $(wildcard include/config/inet.h) \ include/linux/module.h \ $(wildcard include/config/symbol/prefix.h) \ $(wildcard include/config/modules.h) \ $(wildcard include/config/modversions.h) \ $(wildcard include/config/unused/symbols.h) \ $(wildcard include/config/generic/bug.h) \ $(wildcard include/config/kallsyms.h) \ $(wildcard include/config/smp.h) \ $(wildcard include/config/tracepoints.h) \ $(wildcard include/config/tracing.h) \ $(wildcard include/config/event/tracing.h) \ $(wildcard include/config/ftrace/mcount/record.h) \ $(wildcard include/config/module/unload.h) \ $(wildcard include/config/constructors.h) \ $(wildcard include/config/sysfs.h) \ include/linux/list.h \ $(wildcard include/config/debug/list.h) \ include/linux/stddef.h \ include/linux/compiler.h \ $(wildcard include/config/trace/branch/profiling.h) \ $(wildcard include/config/profile/all/branches.h) \ $(wildcard include/config/enable/must/check.h) \ $(wildcard include/config/enable/warn/deprecated.h) \ include/linux/compiler-gcc.h \ $(wildcard include/config/arch/supports/optimized/inlining.h) \ $(wildcard include/config/optimize/inlining.h) \ include/linux/compiler-gcc4.h \ include/linux/poison.h \ $(wildcard include/config/illegal/pointer/value.h) \ include/linux/prefetch.h \ include/linux/types.h \ $(wildcard include/config/uid16.h) \ $(wildcard include/config/lbdaf.h) \ $(wildcard include/config/phys/addr/t/64bit.h) \ $(wildcard include/config/64bit.h) \ /data/repos/kernels/arch/arm/include/asm/types.h \ include/asm-generic/int-ll64.h \ /data/repos/kernels/arch/arm/include/asm/bitsperlong.h \ include/asm-generic/bitsperlong.h \ include/linux/posix_types.h \ /data/repos/kernels/arch/arm/include/asm/posix_types.h \ /data/repos/kernels/arch/arm/include/asm/processor.h \ $(wildcard include/config/mmu.h) \ /data/repos/kernels/arch/arm/include/asm/ptrace.h \ $(wildcard include/config/cpu/endian/be8.h) \ $(wildcard include/config/arm/thumb.h) \ /data/repos/kernels/arch/arm/include/asm/hwcap.h \ /data/repos/kernels/arch/arm/include/asm/cache.h \ $(wildcard include/config/arm/l1/cache/shift.h) \ $(wildcard include/config/aeabi.h) \ /data/repos/kernels/arch/arm/include/asm/system.h \ $(wildcard include/config/cpu/xsc3.h) \ $(wildcard include/config/cpu/fa526.h) \ $(wildcard include/config/arch/has/barriers.h) \ $(wildcard include/config/arm/dma/mem/bufferable.h) \ $(wildcard include/config/cpu/sa1100.h) \ $(wildcard include/config/cpu/sa110.h) \ $(wildcard include/config/cpu/32v6k.h) \ include/linux/linkage.h \ /data/repos/kernels/arch/arm/include/asm/linkage.h \ include/linux/irqflags.h \ $(wildcard include/config/trace/irqflags.h) \ $(wildcard include/config/irqsoff/tracer.h) \ $(wildcard include/config/preempt/tracer.h) \ $(wildcard include/config/trace/irqflags/support.h) \ include/linux/typecheck.h \ /data/repos/kernels/arch/arm/include/asm/irqflags.h \ /data/repos/kernels/arch/arm/include/asm/outercache.h \ $(wildcard include/config/outer/cache/sync.h) \ $(wildcard include/config/outer/cache.h) \ include/asm-generic/cmpxchg-local.h \ include/linux/stat.h \ /data/repos/kernels/arch/arm/include/asm/stat.h \ include/linux/time.h \ $(wildcard include/config/arch/uses/gettimeoffset.h) \ include/linux/cache.h \ $(wildcard include/config/arch/has/cache/line/size.h) \ include/linux/kernel.h \ $(wildcard include/config/preempt/voluntary.h) \ $(wildcard include/config/debug/spinlock/sleep.h) \ $(wildcard include/config/prove/locking.h) \ $(wildcard include/config/printk.h) \ $(wildcard include/config/dynamic/debug.h) \ $(wildcard include/config/ring/buffer.h) \ $(wildcard include/config/numa.h) \ /data/repos/cm/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/include/stdarg.h \ include/linux/bitops.h \ $(wildcard include/config/generic/find/first/bit.h) \ $(wildcard include/config/generic/find/last/bit.h) \ $(wildcard include/config/generic/find/next/bit.h) \ /data/repos/kernels/arch/arm/include/asm/bitops.h \ include/asm-generic/bitops/non-atomic.h \ include/asm-generic/bitops/fls64.h \ include/asm-generic/bitops/sched.h \ include/asm-generic/bitops/hweight.h \ include/asm-generic/bitops/arch_hweight.h \ include/asm-generic/bitops/const_hweight.h \ include/asm-generic/bitops/lock.h \ include/linux/log2.h \ $(wildcard include/config/arch/has/ilog2/u32.h) \ $(wildcard include/config/arch/has/ilog2/u64.h) \ include/linux/dynamic_debug.h \ /data/repos/kernels/arch/arm/include/asm/byteorder.h \ include/linux/byteorder/little_endian.h \ include/linux/swab.h \ /data/repos/kernels/arch/arm/include/asm/swab.h \ include/linux/byteorder/generic.h \ /data/repos/kernels/arch/arm/include/asm/bug.h \ $(wildcard include/config/bug.h) \ $(wildcard include/config/debug/bugverbose.h) \ include/asm-generic/bug.h \ $(wildcard include/config/generic/bug/relative/pointers.h) \ /data/repos/kernels/arch/arm/include/asm/div64.h \ include/linux/seqlock.h \ include/linux/spinlock.h \ $(wildcard include/config/debug/spinlock.h) \ $(wildcard include/config/generic/lockbreak.h) \ $(wildcard include/config/preempt.h) \ $(wildcard include/config/debug/lock/alloc.h) \ include/linux/preempt.h \ $(wildcard include/config/debug/preempt.h) \ $(wildcard include/config/preempt/notifiers.h) \ include/linux/thread_info.h \ $(wildcard include/config/compat.h) \ /data/repos/kernels/arch/arm/include/asm/thread_info.h \ $(wildcard include/config/arm/thumbee.h) \ /data/repos/kernels/arch/arm/include/asm/fpstate.h \ $(wildcard include/config/vfpv3.h) \ $(wildcard include/config/iwmmxt.h) \ /data/repos/kernels/arch/arm/include/asm/domain.h \ $(wildcard include/config/verify/permission/fault.h) \ $(wildcard include/config/io/36.h) \ $(wildcard include/config/emulate/domain/manager/v7.h) \ include/linux/stringify.h \ include/linux/bottom_half.h \ include/linux/spinlock_types.h \ /data/repos/kernels/arch/arm/include/asm/spinlock_types.h \ include/linux/lockdep.h \ $(wildcard include/config/lockdep.h) \ $(wildcard include/config/lock/stat.h) \ $(wildcard include/config/generic/hardirqs.h) \ $(wildcard include/config/prove/rcu.h) \ include/linux/rwlock_types.h \ /data/repos/kernels/arch/arm/include/asm/spinlock.h \ include/linux/rwlock.h \ include/linux/spinlock_api_smp.h \ $(wildcard include/config/inline/spin/lock.h) \ $(wildcard include/config/inline/spin/lock/bh.h) \ $(wildcard include/config/inline/spin/lock/irq.h) \ $(wildcard include/config/inline/spin/lock/irqsave.h) \ $(wildcard include/config/inline/spin/trylock.h) \ $(wildcard include/config/inline/spin/trylock/bh.h) \ $(wildcard include/config/inline/spin/unlock.h) \ $(wildcard include/config/inline/spin/unlock/bh.h) \ $(wildcard include/config/inline/spin/unlock/irq.h) \ $(wildcard include/config/inline/spin/unlock/irqrestore.h) \ include/linux/rwlock_api_smp.h \ $(wildcard include/config/inline/read/lock.h) \ $(wildcard include/config/inline/write/lock.h) \ $(wildcard include/config/inline/read/lock/bh.h) \ $(wildcard include/config/inline/write/lock/bh.h) \ $(wildcard include/config/inline/read/lock/irq.h) \ $(wildcard include/config/inline/write/lock/irq.h) \ $(wildcard include/config/inline/read/lock/irqsave.h) \ $(wildcard include/config/inline/write/lock/irqsave.h) \ $(wildcard include/config/inline/read/trylock.h) \ $(wildcard include/config/inline/write/trylock.h) \ $(wildcard include/config/inline/read/unlock.h) \ $(wildcard include/config/inline/write/unlock.h) \ $(wildcard include/config/inline/read/unlock/bh.h) \ $(wildcard include/config/inline/write/unlock/bh.h) \ $(wildcard include/config/inline/read/unlock/irq.h) \ $(wildcard include/config/inline/write/unlock/irq.h) \ $(wildcard include/config/inline/read/unlock/irqrestore.h) \ $(wildcard include/config/inline/write/unlock/irqrestore.h) \ /data/repos/kernels/arch/arm/include/asm/atomic.h \ $(wildcard include/config/generic/atomic64.h) \ include/asm-generic/atomic-long.h \ include/linux/math64.h \ include/linux/kmod.h \ include/linux/gfp.h \ $(wildcard include/config/kmemcheck.h) \ $(wildcard include/config/highmem.h) \ $(wildcard include/config/zone/dma.h) \ $(wildcard include/config/zone/dma32.h) \ $(wildcard include/config/debug/vm.h) \ include/linux/mmzone.h \ $(wildcard include/config/force/max/zoneorder.h) \ $(wildcard include/config/memory/hotplug.h) \ $(wildcard include/config/sparsemem.h) \ $(wildcard include/config/compaction.h) \ $(wildcard include/config/arch/populates/node/map.h) \ $(wildcard include/config/discontigmem.h) \ $(wildcard include/config/flat/node/mem/map.h) \ $(wildcard include/config/cgroup/mem/res/ctlr.h) \ $(wildcard include/config/no/bootmem.h) \ $(wildcard include/config/have/memory/present.h) \ $(wildcard include/config/have/memoryless/nodes.h) \ $(wildcard include/config/need/node/memmap/size.h) \ $(wildcard include/config/need/multiple/nodes.h) \ $(wildcard include/config/have/arch/early/pfn/to/nid.h) \ $(wildcard include/config/flatmem.h) \ $(wildcard include/config/sparsemem/extreme.h) \ $(wildcard include/config/nodes/span/other/nodes.h) \ $(wildcard include/config/holes/in/zone.h) \ $(wildcard include/config/arch/has/holes/memorymodel.h) \ include/linux/wait.h \ /data/repos/kernels/arch/arm/include/asm/current.h \ include/linux/threads.h \ $(wildcard include/config/nr/cpus.h) \ $(wildcard include/config/base/small.h) \ include/linux/numa.h \ $(wildcard include/config/nodes/shift.h) \ include/linux/init.h \ $(wildcard include/config/hotplug.h) \ include/linux/nodemask.h \ include/linux/bitmap.h \ include/linux/string.h \ $(wildcard include/config/binary/printf.h) \ /data/repos/kernels/arch/arm/include/asm/string.h \ include/linux/pageblock-flags.h \ $(wildcard include/config/hugetlb/page.h) \ $(wildcard include/config/hugetlb/page/size/variable.h) \ include/generated/bounds.h \ /data/repos/kernels/arch/arm/include/asm/page.h \ $(wildcard include/config/cpu/copy/v3.h) \ $(wildcard include/config/cpu/copy/v4wt.h) \ $(wildcard include/config/cpu/copy/v4wb.h) \ $(wildcard include/config/cpu/copy/feroceon.h) \ $(wildcard include/config/cpu/copy/fa.h) \ $(wildcard include/config/cpu/xscale.h) \ $(wildcard include/config/cpu/copy/v6.h) \ $(wildcard include/config/memory/hotplug/sparse.h) \ /data/repos/kernels/arch/arm/include/asm/glue.h \ $(wildcard include/config/cpu/arm610.h) \ $(wildcard include/config/cpu/arm710.h) \ $(wildcard include/config/cpu/abrt/lv4t.h) \ $(wildcard include/config/cpu/abrt/ev4.h) \ $(wildcard include/config/cpu/abrt/ev4t.h) \ $(wildcard include/config/cpu/abrt/ev5tj.h) \ $(wildcard include/config/cpu/abrt/ev5t.h) \ $(wildcard include/config/cpu/abrt/ev6.h) \ $(wildcard include/config/cpu/abrt/ev7.h) \ $(wildcard include/config/cpu/pabrt/legacy.h) \ $(wildcard include/config/cpu/pabrt/v6.h) \ $(wildcard include/config/cpu/pabrt/v7.h) \ /data/repos/kernels/arch/arm/include/asm/memory.h \ $(wildcard include/config/page/offset.h) \ $(wildcard include/config/thumb2/kernel.h) \ $(wildcard include/config/dram/size.h) \ $(wildcard include/config/dram/base.h) \ include/linux/const.h \ arch/arm/mach-msm/include/mach/memory.h \ $(wildcard include/config/phys/offset.h) \ $(wildcard include/config/arch/msm7x30.h) \ $(wildcard include/config/vmsplit/3g.h) \ $(wildcard include/config/arch/msm/arm11.h) \ $(wildcard include/config/arch/msm/cortex/a5.h) \ $(wildcard include/config/cache/l2x0.h) \ $(wildcard include/config/arch/msm/scorpion.h) \ $(wildcard include/config/arch/msm/scorpionmp.h) \ $(wildcard include/config/arch/msm7x27.h) \ /data/repos/kernels/arch/arm/include/asm/sizes.h \ include/asm-generic/memory_model.h \ $(wildcard include/config/sparsemem/vmemmap.h) \ include/asm-generic/getorder.h \ include/linux/memory_hotplug.h \ $(wildcard include/config/have/arch/nodedata/extension.h) \ $(wildcard include/config/memory/hotremove.h) \ include/linux/notifier.h \ include/linux/errno.h \ /data/repos/kernels/arch/arm/include/asm/errno.h \ include/asm-generic/errno.h \ include/asm-generic/errno-base.h \ include/linux/mutex.h \ $(wildcard include/config/debug/mutexes.h) \ include/linux/rwsem.h \ $(wildcard include/config/rwsem/generic/spinlock.h) \ /data/repos/kernels/arch/arm/include/asm/rwsem.h \ include/linux/srcu.h \ include/linux/topology.h \ $(wildcard include/config/sched/smt.h) \ $(wildcard include/config/sched/mc.h) \ $(wildcard include/config/use/percpu/numa/node/id.h) \ include/linux/cpumask.h \ $(wildcard include/config/cpumask/offstack.h) \ $(wildcard include/config/hotplug/cpu.h) \ $(wildcard include/config/debug/per/cpu/maps.h) \ $(wildcard include/config/disable/obsolete/cpumask/functions.h) \ include/linux/smp.h \ $(wildcard include/config/use/generic/smp/helpers.h) \ /data/repos/kernels/arch/arm/include/asm/smp.h \ arch/arm/mach-msm/include/mach/smp.h \ /data/repos/kernels/arch/arm/include/asm/hardware/gic.h \ include/linux/percpu.h \ $(wildcard include/config/need/per/cpu/embed/first/chunk.h) \ $(wildcard include/config/need/per/cpu/page/first/chunk.h) \ $(wildcard include/config/have/setup/per/cpu/area.h) \ include/linux/pfn.h \ /data/repos/kernels/arch/arm/include/asm/percpu.h \ include/asm-generic/percpu.h \ include/linux/percpu-defs.h \ $(wildcard include/config/debug/force/weak/per/cpu.h) \ /data/repos/kernels/arch/arm/include/asm/topology.h \ include/asm-generic/topology.h \ include/linux/mmdebug.h \ $(wildcard include/config/debug/virtual.h) \ include/linux/workqueue.h \ $(wildcard include/config/debug/objects/work.h) \ include/linux/timer.h \ $(wildcard include/config/timer/stats.h) \ $(wildcard include/config/debug/objects/timers.h) \ include/linux/ktime.h \ $(wildcard include/config/ktime/scalar.h) \ include/linux/jiffies.h \ include/linux/timex.h \ include/linux/param.h \ /data/repos/kernels/arch/arm/include/asm/param.h \ $(wildcard include/config/hz.h) \ /data/repos/kernels/arch/arm/include/asm/timex.h \ arch/arm/mach-msm/include/mach/timex.h \ include/linux/debugobjects.h \ $(wildcard include/config/debug/objects.h) \ $(wildcard include/config/debug/objects/free.h) \ include/linux/elf.h \ include/linux/elf-em.h \ /data/repos/kernels/arch/arm/include/asm/elf.h \ /data/repos/kernels/arch/arm/include/asm/user.h \ include/linux/kobject.h \ include/linux/sysfs.h \ include/linux/kref.h \ include/linux/moduleparam.h \ $(wildcard include/config/alpha.h) \ $(wildcard include/config/ia64.h) \ $(wildcard include/config/ppc64.h) \ include/linux/tracepoint.h \ include/linux/rcupdate.h \ $(wildcard include/config/rcu/torture/test.h) \ $(wildcard include/config/tree/rcu.h) \ $(wildcard include/config/tree/preempt/rcu.h) \ $(wildcard include/config/tiny/rcu.h) \ include/linux/completion.h \ include/linux/rcutree.h \ $(wildcard include/config/no/hz.h) \ /data/repos/kernels/arch/arm/include/asm/module.h \ $(wildcard include/config/arm/unwind.h) \ include/trace/events/module.h \ include/trace/define_trace.h \ include/linux/slab.h \ $(wildcard include/config/slab/debug.h) \ $(wildcard include/config/failslab.h) \ $(wildcard include/config/slub.h) \ $(wildcard include/config/slob.h) \ $(wildcard include/config/debug/slab.h) \ include/linux/slub_def.h \ $(wildcard include/config/slub/stats.h) \ $(wildcard include/config/slub/debug.h) \ include/linux/kmemtrace.h \ $(wildcard include/config/kmemtrace.h) \ include/trace/events/kmem.h \ include/linux/kmemleak.h \ $(wildcard include/config/debug/kmemleak.h) \ include/net/slhc_vj.h \ include/linux/ip.h \ include/linux/skbuff.h \ $(wildcard include/config/nf/conntrack.h) \ $(wildcard include/config/bridge/netfilter.h) \ $(wildcard include/config/xfrm.h) \ $(wildcard include/config/net/sched.h) \ $(wildcard include/config/net/cls/act.h) \ $(wildcard include/config/ipv6/ndisc/nodetype.h) \ $(wildcard include/config/net/dma.h) \ $(wildcard include/config/network/secmark.h) \ include/linux/kmemcheck.h \ include/linux/mm_types.h \ $(wildcard include/config/split/ptlock/cpus.h) \ $(wildcard include/config/want/page/debug/flags.h) \ $(wildcard include/config/aio.h) \ $(wildcard include/config/mm/owner.h) \ $(wildcard include/config/proc/fs.h) \ $(wildcard include/config/mmu/notifier.h) \ include/linux/auxvec.h \ /data/repos/kernels/arch/arm/include/asm/auxvec.h \ include/linux/prio_tree.h \ include/linux/rbtree.h \ include/linux/page-debug-flags.h \ $(wildcard include/config/page/poisoning.h) \ $(wildcard include/config/page/debug/something/else.h) \ /data/repos/kernels/arch/arm/include/asm/mmu.h \ $(wildcard include/config/cpu/has/asid.h) \ include/linux/net.h \ $(wildcard include/config/sysctl.h) \ include/linux/socket.h \ /data/repos/kernels/arch/arm/include/asm/socket.h \ /data/repos/kernels/arch/arm/include/asm/sockios.h \ include/linux/sockios.h \ include/linux/uio.h \ include/linux/random.h \ include/linux/ioctl.h \ /data/repos/kernels/arch/arm/include/asm/ioctl.h \ include/asm-generic/ioctl.h \ include/linux/irqnr.h \ include/linux/fcntl.h \ /data/repos/kernels/arch/arm/include/asm/fcntl.h \ include/asm-generic/fcntl.h \ include/linux/sysctl.h \ include/linux/ratelimit.h \ include/linux/textsearch.h \ include/linux/err.h \ include/net/checksum.h \ /data/repos/kernels/arch/arm/include/asm/uaccess.h \ /data/repos/kernels/arch/arm/include/asm/unified.h \ $(wildcard include/config/arm/asm/unified.h) \ /data/repos/kernels/arch/arm/include/asm/checksum.h \ include/linux/in6.h \ include/linux/dmaengine.h \ $(wildcard include/config/async/tx/disable/channel/switch.h) \ $(wildcard include/config/dma/engine.h) \ $(wildcard include/config/async/tx/dma.h) \ include/linux/device.h \ $(wildcard include/config/of.h) \ $(wildcard include/config/debug/devres.h) \ $(wildcard include/config/devtmpfs.h) \ include/linux/ioport.h \ include/linux/klist.h \ include/linux/pm.h \ $(wildcard include/config/pm/sleep.h) \ $(wildcard include/config/pm/runtime.h) \ $(wildcard include/config/pm/ops.h) \ /data/repos/kernels/arch/arm/include/asm/device.h \ $(wildcard include/config/dmabounce.h) \ include/linux/pm_wakeup.h \ $(wildcard include/config/pm.h) \ include/linux/dma-mapping.h \ $(wildcard include/config/has/dma.h) \ $(wildcard include/config/have/dma/attrs.h) \ $(wildcard include/config/need/dma/map/state.h) \ include/linux/dma-attrs.h \ include/linux/bug.h \ include/linux/scatterlist.h \ $(wildcard include/config/debug/sg.h) \ /data/repos/kernels/arch/arm/include/asm/scatterlist.h \ include/asm-generic/scatterlist.h \ $(wildcard include/config/need/sg/dma/length.h) \ include/linux/mm.h \ $(wildcard include/config/stack/growsup.h) \ $(wildcard include/config/ksm.h) \ $(wildcard include/config/debug/pagealloc.h) \ $(wildcard include/config/hibernation.h) \ include/linux/debug_locks.h \ $(wildcard include/config/debug/locking/api/selftests.h) \ include/linux/range.h \ /data/repos/kernels/arch/arm/include/asm/pgtable.h \ $(wildcard include/config/highpte.h) \ include/asm-generic/4level-fixup.h \ /data/repos/kernels/arch/arm/include/asm/proc-fns.h \ $(wildcard include/config/cpu/arm7tdmi.h) \ $(wildcard include/config/cpu/arm720t.h) \ $(wildcard include/config/cpu/arm740t.h) \ $(wildcard include/config/cpu/arm9tdmi.h) \ $(wildcard include/config/cpu/arm920t.h) \ $(wildcard include/config/cpu/arm922t.h) \ $(wildcard include/config/cpu/arm925t.h) \ $(wildcard include/config/cpu/arm926t.h) \ $(wildcard include/config/cpu/arm940t.h) \ $(wildcard include/config/cpu/arm946e.h) \ $(wildcard include/config/cpu/arm1020.h) \ $(wildcard include/config/cpu/arm1020e.h) \ $(wildcard include/config/cpu/arm1022.h) \ $(wildcard include/config/cpu/arm1026.h) \ $(wildcard include/config/cpu/mohawk.h) \ $(wildcard include/config/cpu/feroceon.h) \ $(wildcard include/config/cpu/v6.h) \ $(wildcard include/config/cpu/v7.h) \ /data/repos/kernels/arch/arm/include/asm/cpu-single.h \ arch/arm/mach-msm/include/mach/vmalloc.h \ $(wildcard include/config/vmsplit/2g.h) \ /data/repos/kernels/arch/arm/include/asm/pgtable-hwdef.h \ /data/repos/kernels/arch/arm/include/asm/tlbflush.h \ $(wildcard include/config/cpu/tlb/v3.h) \ $(wildcard include/config/cpu/tlb/v4wt.h) \ $(wildcard include/config/cpu/tlb/fa.h) \ $(wildcard include/config/cpu/tlb/v4wbi.h) \ $(wildcard include/config/cpu/tlb/feroceon.h) \ $(wildcard include/config/cpu/tlb/v4wb.h) \ $(wildcard include/config/cpu/tlb/v6.h) \ $(wildcard include/config/cpu/tlb/v7.h) \ $(wildcard include/config/arm/errata/720789.h) \ $(wildcard include/config/arch/msm8x60.h) \ include/linux/sched.h \ $(wildcard include/config/sched/debug.h) \ $(wildcard include/config/detect/softlockup.h) \ $(wildcard include/config/detect/hung/task.h) \ $(wildcard include/config/core/dump/default/elf/headers.h) \ $(wildcard include/config/virt/cpu/accounting.h) \ $(wildcard include/config/bsd/process/acct.h) \ $(wildcard include/config/taskstats.h) \ $(wildcard include/config/audit.h) \ $(wildcard include/config/inotify/user.h) \ $(wildcard include/config/epoll.h) \ $(wildcard include/config/posix/mqueue.h) \ $(wildcard include/config/keys.h) \ $(wildcard include/config/perf/events.h) \ $(wildcard include/config/schedstats.h) \ $(wildcard include/config/task/delay/acct.h) \ $(wildcard include/config/fair/group/sched.h) \ $(wildcard include/config/rt/group/sched.h) \ $(wildcard include/config/blk/dev/io/trace.h) \ $(wildcard include/config/cc/stackprotector.h) \ $(wildcard include/config/sysvipc.h) \ $(wildcard include/config/auditsyscall.h) \ $(wildcard include/config/rt/mutexes.h) \ $(wildcard include/config/task/xacct.h) \ $(wildcard include/config/cpusets.h) \ $(wildcard include/config/cgroups.h) \ $(wildcard include/config/futex.h) \ $(wildcard include/config/fault/injection.h) \ $(wildcard include/config/latencytop.h) \ $(wildcard include/config/function/graph/tracer.h) \ $(wildcard include/config/have/unstable/sched/clock.h) \ $(wildcard include/config/debug/stack/usage.h) \ $(wildcard include/config/cgroup/sched.h) \ include/linux/capability.h \ /data/repos/kernels/arch/arm/include/asm/cputime.h \ include/asm-generic/cputime.h \ include/linux/sem.h \ include/linux/ipc.h \ /data/repos/kernels/arch/arm/include/asm/ipcbuf.h \ /data/repos/kernels/arch/arm/include/asm/sembuf.h \ include/linux/signal.h \ /data/repos/kernels/arch/arm/include/asm/signal.h \ include/asm-generic/signal-defs.h \ /data/repos/kernels/arch/arm/include/asm/sigcontext.h \ /data/repos/kernels/arch/arm/include/asm/siginfo.h \ include/asm-generic/siginfo.h \ include/linux/path.h \ include/linux/pid.h \ include/linux/proportions.h \ include/linux/percpu_counter.h \ include/linux/seccomp.h \ $(wildcard include/config/seccomp.h) \ include/linux/rculist.h \ include/linux/rtmutex.h \ $(wildcard include/config/debug/rt/mutexes.h) \ include/linux/plist.h \ $(wildcard include/config/debug/pi/list.h) \ include/linux/resource.h \ /data/repos/kernels/arch/arm/include/asm/resource.h \ include/asm-generic/resource.h \ include/linux/hrtimer.h \ $(wildcard include/config/high/res/timers.h) \ include/linux/task_io_accounting.h \ $(wildcard include/config/task/io/accounting.h) \ include/linux/latencytop.h \ include/linux/cred.h \ $(wildcard include/config/debug/credentials.h) \ $(wildcard include/config/security.h) \ include/linux/key.h \ include/linux/selinux.h \ $(wildcard include/config/security/selinux.h) \ include/linux/aio.h \ include/linux/aio_abi.h \ include/asm-generic/pgtable.h \ include/linux/page-flags.h \ $(wildcard include/config/pageflags/extended.h) \ $(wildcard include/config/arch/uses/pg/uncached.h) \ $(wildcard include/config/memory/failure.h) \ $(wildcard include/config/swap.h) \ $(wildcard include/config/s390.h) \ include/linux/vmstat.h \ $(wildcard include/config/vm/event/counters.h) \ /data/repos/kernels/arch/arm/include/asm/io.h \ $(wildcard include/config/sec/debug/regrw/log.h) \ arch/arm/mach-msm/include/mach/sec_debug.h \ $(wildcard include/config/sec/debug.h) \ $(wildcard include/config/sec/debug/sched/log.h) \ $(wildcard include/config/sec/debug/irq/exit/log.h) \ $(wildcard include/config/sec/debug/semaphore/log.h) \ $(wildcard include/config/sec/debug/dcvs/log.h) \ $(wildcard include/config/sec/debug/fuelgauge/log.h) \ $(wildcard include/config/sec/debug/mdp/log.h) \ $(wildcard include/config/sec/debug/sdio/log.h) \ include/linux/semaphore.h \ arch/arm/mach-msm/include/mach/io.h \ /data/repos/kernels/arch/arm/include/asm/dma-mapping.h \ include/asm-generic/dma-coherent.h \ $(wildcard include/config/have/generic/dma/coherent.h) \ include/linux/tcp.h \ $(wildcard include/config/tcp/md5sig.h) \ include/net/sock.h \ $(wildcard include/config/net/ns.h) \ $(wildcard include/config/rps.h) \ include/linux/list_nulls.h \ include/linux/netdevice.h \ $(wildcard include/config/dcb.h) \ $(wildcard include/config/wlan.h) \ $(wildcard include/config/ax25.h) \ $(wildcard include/config/mac80211/mesh.h) \ $(wildcard include/config/tr.h) \ $(wildcard include/config/net/ipip.h) \ $(wildcard include/config/net/ipgre.h) \ $(wildcard include/config/ipv6/sit.h) \ $(wildcard include/config/ipv6/tunnel.h) \ $(wildcard include/config/netpoll.h) \ $(wildcard include/config/net/poll/controller.h) \ $(wildcard include/config/fcoe.h) \ $(wildcard include/config/wireless/ext.h) \ $(wildcard include/config/net/dsa.h) \ $(wildcard include/config/net/dsa/tag/dsa.h) \ $(wildcard include/config/net/dsa/tag/trailer.h) \ $(wildcard include/config/netpoll/trap.h) \ include/linux/if.h \ include/linux/hdlc/ioctl.h \ include/linux/if_ether.h \ include/linux/if_packet.h \ include/linux/if_link.h \ include/linux/netlink.h \ include/linux/pm_qos_params.h \ include/linux/miscdevice.h \ include/linux/major.h \ include/linux/delay.h \ /data/repos/kernels/arch/arm/include/asm/delay.h \ include/linux/ethtool.h \ include/net/net_namespace.h \ $(wildcard include/config/ipv6.h) \ $(wildcard include/config/ip/dccp.h) \ $(wildcard include/config/netfilter.h) \ $(wildcard include/config/wext/core.h) \ $(wildcard include/config/net.h) \ include/net/netns/core.h \ include/net/netns/mib.h \ $(wildcard include/config/xfrm/statistics.h) \ include/net/snmp.h \ include/linux/snmp.h \ include/linux/u64_stats_sync.h \ include/net/netns/unix.h \ include/net/netns/packet.h \ include/net/netns/ipv4.h \ $(wildcard include/config/ip/multiple/tables.h) \ $(wildcard include/config/ip/mroute.h) \ $(wildcard include/config/ip/mroute/multiple/tables.h) \ include/net/inet_frag.h \ include/net/netns/ipv6.h \ $(wildcard include/config/ipv6/multiple/tables.h) \ $(wildcard include/config/ipv6/mroute.h) \ $(wildcard include/config/ipv6/mroute/multiple/tables.h) \ include/net/dst_ops.h \ include/net/netns/dccp.h \ include/net/netns/x_tables.h \ $(wildcard include/config/bridge/nf/ebtables.h) \ include/linux/netfilter.h \ $(wildcard include/config/netfilter/debug.h) \ $(wildcard include/config/nf/nat/needed.h) \ include/linux/in.h \ include/net/flow.h \ include/linux/proc_fs.h \ $(wildcard include/config/proc/devicetree.h) \ $(wildcard include/config/proc/kcore.h) \ include/linux/fs.h \ $(wildcard include/config/dnotify.h) \ $(wildcard include/config/quota.h) \ $(wildcard include/config/fsnotify.h) \ $(wildcard include/config/inotify.h) \ $(wildcard include/config/fs/posix/acl.h) \ $(wildcard include/config/debug/writecount.h) \ $(wildcard include/config/file/locking.h) \ $(wildcard include/config/block.h) \ $(wildcard include/config/fs/xip.h) \ $(wildcard include/config/migration.h) \ include/linux/limits.h \ include/linux/kdev_t.h \ include/linux/dcache.h \ include/linux/radix-tree.h \ include/linux/fiemap.h \ include/linux/quota.h \ $(wildcard include/config/quota/netlink/interface.h) \ include/linux/dqblk_xfs.h \ include/linux/dqblk_v1.h \ include/linux/dqblk_v2.h \ include/linux/dqblk_qtree.h \ include/linux/nfs_fs_i.h \ include/linux/nfs.h \ include/linux/sunrpc/msg_prot.h \ include/linux/inet.h \ include/linux/magic.h \ include/net/netns/conntrack.h \ include/net/netns/xfrm.h \ include/linux/xfrm.h \ include/linux/seq_file_net.h \ include/linux/seq_file.h \ include/net/dsa.h \ include/linux/interrupt.h \ $(wildcard include/config/generic/irq/probe.h) \ include/linux/irqreturn.h \ include/linux/hardirq.h \ include/linux/smp_lock.h \ $(wildcard include/config/lock/kernel.h) \ include/linux/ftrace_irq.h \ $(wildcard include/config/ftrace/nmi/enter.h) \ /data/repos/kernels/arch/arm/include/asm/hardirq.h \ /data/repos/kernels/arch/arm/include/asm/irq.h \ arch/arm/mach-msm/include/mach/irqs.h \ $(wildcard include/config/arch/qsd8x50.h) \ $(wildcard include/config/arch/msm8960.h) \ arch/arm/mach-msm/include/mach/irqs-8x60.h \ include/linux/irq_cpustat.h \ include/linux/security.h \ $(wildcard include/config/security/path.h) \ $(wildcard include/config/security/network.h) \ $(wildcard include/config/security/network/xfrm.h) \ $(wildcard include/config/securityfs.h) \ include/linux/binfmts.h \ include/linux/shm.h \ /data/repos/kernels/arch/arm/include/asm/shmparam.h \ /data/repos/kernels/arch/arm/include/asm/shmbuf.h \ include/linux/msg.h \ /data/repos/kernels/arch/arm/include/asm/msgbuf.h \ include/linux/filter.h \ include/linux/rculist_nulls.h \ include/linux/poll.h \ /data/repos/kernels/arch/arm/include/asm/poll.h \ include/asm-generic/poll.h \ include/net/dst.h \ $(wildcard include/config/net/cls/route.h) \ include/linux/rtnetlink.h \ include/linux/if_addr.h \ include/linux/neighbour.h \ include/net/neighbour.h \ include/net/rtnetlink.h \ include/net/netlink.h \ include/net/inet_connection_sock.h \ include/net/inet_sock.h \ include/linux/jhash.h \ include/net/request_sock.h \ include/net/netns/hash.h \ include/net/inet_timewait_sock.h \ include/net/tcp_states.h \ include/net/timewait_sock.h \ include/linux/termios.h \ /data/repos/kernels/arch/arm/include/asm/termios.h \ /data/repos/kernels/arch/arm/include/asm/termbits.h \ /data/repos/kernels/arch/arm/include/asm/ioctls.h \ include/net/ip.h \ include/linux/ipv6.h \ $(wildcard include/config/ipv6/privacy.h) \ $(wildcard include/config/ipv6/router/pref.h) \ $(wildcard include/config/ipv6/route/info.h) \ $(wildcard include/config/ipv6/optimistic/dad.h) \ $(wildcard include/config/ipv6/mip6.h) \ $(wildcard include/config/ipv6/subtrees.h) \ include/linux/icmpv6.h \ include/linux/udp.h \ include/net/protocol.h \ include/net/icmp.h \ include/linux/icmp.h \ include/net/tcp.h \ $(wildcard include/config/kor/model/shv/e160l.h) \ include/linux/crypto.h \ include/linux/uaccess.h \ include/linux/cryptohash.h \ include/net/inet_hashtables.h \ include/linux/vmalloc.h \ include/net/route.h \ include/net/inetpeer.h \ include/linux/in_route.h \ include/linux/route.h \ include/net/inet_ecn.h \ include/net/dsfield.h \ /data/repos/kernels/arch/arm/include/asm/unaligned.h \ include/linux/unaligned/le_byteshift.h \ include/linux/unaligned/be_byteshift.h \ include/linux/unaligned/generic.h \ drivers/net/slhc.o: $(deps_drivers/net/slhc.o) $(deps_drivers/net/slhc.o):
bigbiff/i717-GB-Kernel
drivers/net/.slhc.o.cmd
bat
gpl-2.0
34,083
cmd_drivers/media/common/built-in.o := ../../CodeSourcery/CodeSourcery/bin/arm-none-eabi-ld -EL -r -o drivers/media/common/built-in.o drivers/media/common/tuners/built-in.o
spacecaker/CM7_Space_Kernel_Cooper
drivers/media/common/.built-in.o.cmd
bat
gpl-2.0
178
cmd_net/sunrpc/sched.o := ppc_4xx-gcc -m32 -Wp,-MD,net/sunrpc/.sched.o.d -nostdinc -isystem /tools/dev/eldk/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include -I/tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -Iarch/powerpc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -msoft-float -pipe -Iarch/powerpc -ffixed-r2 -mmultiple -mno-altivec -mno-spe -mspe=no -funit-at-a-time -mno-string -Wa,-m405 -fno-stack-protector -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(sched)" -D"KBUILD_MODNAME=KBUILD_STR(sunrpc)" -c -o net/sunrpc/.tmp_sched.o net/sunrpc/sched.c deps_net/sunrpc/sched.o := \ net/sunrpc/sched.c \ include/linux/module.h \ $(wildcard include/config/symbol/prefix.h) \ $(wildcard include/config/modules.h) \ $(wildcard include/config/modversions.h) \ $(wildcard include/config/unused/symbols.h) \ $(wildcard include/config/generic/bug.h) \ $(wildcard include/config/kallsyms.h) \ $(wildcard include/config/tracepoints.h) \ $(wildcard include/config/tracing.h) \ $(wildcard include/config/event/tracing.h) \ $(wildcard include/config/ftrace/mcount/record.h) \ $(wildcard include/config/module/unload.h) \ $(wildcard include/config/smp.h) \ $(wildcard include/config/constructors.h) \ $(wildcard include/config/sysfs.h) \ include/linux/list.h \ $(wildcard include/config/debug/list.h) \ include/linux/stddef.h \ include/linux/compiler.h \ $(wildcard include/config/trace/branch/profiling.h) \ $(wildcard include/config/profile/all/branches.h) \ $(wildcard include/config/enable/must/check.h) \ $(wildcard include/config/enable/warn/deprecated.h) \ include/linux/compiler-gcc.h \ $(wildcard include/config/arch/supports/optimized/inlining.h) \ $(wildcard include/config/optimize/inlining.h) \ include/linux/compiler-gcc4.h \ include/linux/poison.h \ $(wildcard include/config/illegal/pointer/value.h) \ include/linux/prefetch.h \ include/linux/types.h \ $(wildcard include/config/uid16.h) \ $(wildcard include/config/lbdaf.h) \ $(wildcard include/config/phys/addr/t/64bit.h) \ $(wildcard include/config/64bit.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/types.h \ $(wildcard include/config/phys/64bit.h) \ include/asm-generic/int-ll64.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/bitsperlong.h \ include/asm-generic/bitsperlong.h \ include/linux/posix_types.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/posix_types.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/processor.h \ $(wildcard include/config/vsx.h) \ $(wildcard include/config/ppc32.h) \ $(wildcard include/config/ppc/prep.h) \ $(wildcard include/config/task/size.h) \ $(wildcard include/config/kernel/start.h) \ $(wildcard include/config/ppc64.h) \ $(wildcard include/config/4xx.h) \ $(wildcard include/config/booke.h) \ $(wildcard include/config/altivec.h) \ $(wildcard include/config/spe.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/reg.h \ $(wildcard include/config/40x.h) \ $(wildcard include/config/fsl/emb/perfmon.h) \ $(wildcard include/config/8xx.h) \ $(wildcard include/config/ppc/book3s/64.h) \ $(wildcard include/config/ppc/book3s/32.h) \ $(wildcard include/config/ppc/book3e/64.h) \ $(wildcard include/config/e200.h) \ $(wildcard include/config/ppc/cell.h) \ include/linux/stringify.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/cputable.h \ $(wildcard include/config/mpc10x/bridge.h) \ $(wildcard include/config/ppc/83xx.h) \ $(wildcard include/config/8260.h) \ $(wildcard include/config/ppc/mpc52xx.h) \ $(wildcard include/config/bdi/switch.h) \ $(wildcard include/config/power3.h) \ $(wildcard include/config/power4.h) \ $(wildcard include/config/44x.h) \ $(wildcard include/config/e500.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/asm-compat.h \ $(wildcard include/config/power4/only.h) \ $(wildcard include/config/ibm405/err77.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/feature-fixups.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/reg_booke.h \ $(wildcard include/config/403gcx.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/ptrace.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/cache.h \ $(wildcard include/config/ppc/e500mc.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/system.h \ $(wildcard include/config/debugger.h) \ $(wildcard include/config/kexec.h) \ $(wildcard include/config/6xx.h) \ $(wildcard include/config/booke/wdt.h) \ $(wildcard include/config/virt/cpu/accounting.h) \ include/linux/kernel.h \ $(wildcard include/config/preempt/voluntary.h) \ $(wildcard include/config/debug/spinlock/sleep.h) \ $(wildcard include/config/prove/locking.h) \ $(wildcard include/config/printk.h) \ $(wildcard include/config/dynamic/debug.h) \ $(wildcard include/config/ring/buffer.h) \ $(wildcard include/config/numa.h) \ /tools/dev/eldk/usr/bin/../lib/gcc/powerpc-linux/4.2.2/include/stdarg.h \ include/linux/linkage.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/linkage.h \ include/linux/bitops.h \ $(wildcard include/config/generic/find/first/bit.h) \ $(wildcard include/config/generic/find/last/bit.h) \ $(wildcard include/config/generic/find/next/bit.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/bitops.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/synch.h \ include/asm-generic/bitops/non-atomic.h \ include/asm-generic/bitops/fls64.h \ include/asm-generic/bitops/hweight.h \ include/asm-generic/bitops/find.h \ include/asm-generic/bitops/sched.h \ include/linux/log2.h \ $(wildcard include/config/arch/has/ilog2/u32.h) \ $(wildcard include/config/arch/has/ilog2/u64.h) \ include/linux/typecheck.h \ include/linux/dynamic_debug.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/byteorder.h \ include/linux/byteorder/big_endian.h \ include/linux/swab.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/swab.h \ include/linux/byteorder/generic.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/bug.h \ $(wildcard include/config/bug.h) \ $(wildcard include/config/debug/bugverbose.h) \ include/asm-generic/bug.h \ $(wildcard include/config/generic/bug/relative/pointers.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/div64.h \ include/asm-generic/div64.h \ include/linux/irqflags.h \ $(wildcard include/config/trace/irqflags.h) \ $(wildcard include/config/irqsoff/tracer.h) \ $(wildcard include/config/preempt/tracer.h) \ $(wildcard include/config/trace/irqflags/support.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/irqflags.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/hw_irq.h \ $(wildcard include/config/ppc/book3e.h) \ $(wildcard include/config/perf/events.h) \ include/linux/errno.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/errno.h \ include/asm-generic/errno.h \ include/asm-generic/errno-base.h \ include/asm-generic/cmpxchg-local.h \ include/linux/stat.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/stat.h \ include/linux/time.h \ $(wildcard include/config/arch/uses/gettimeoffset.h) \ include/linux/cache.h \ $(wildcard include/config/arch/has/cache/line/size.h) \ include/linux/seqlock.h \ include/linux/spinlock.h \ $(wildcard include/config/debug/spinlock.h) \ $(wildcard include/config/generic/lockbreak.h) \ $(wildcard include/config/preempt.h) \ $(wildcard include/config/debug/lock/alloc.h) \ include/linux/preempt.h \ $(wildcard include/config/debug/preempt.h) \ $(wildcard include/config/preempt/notifiers.h) \ include/linux/thread_info.h \ $(wildcard include/config/compat.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/thread_info.h \ $(wildcard include/config/ppc/256k/pages.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/page.h \ $(wildcard include/config/ppc/64k/pages.h) \ $(wildcard include/config/ppc/16k/pages.h) \ $(wildcard include/config/page/offset.h) \ $(wildcard include/config/physical/start.h) \ $(wildcard include/config/relocatable.h) \ $(wildcard include/config/flatmem.h) \ $(wildcard include/config/ppc/std/mmu/64.h) \ $(wildcard include/config/hugetlb/page.h) \ $(wildcard include/config/ppc/smlpar.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/kdump.h \ $(wildcard include/config/crash/dump.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/page_32.h \ $(wildcard include/config/physical/align.h) \ $(wildcard include/config/not/coherent/cache.h) \ $(wildcard include/config/pte/64bit.h) \ include/asm-generic/getorder.h \ include/asm-generic/memory_model.h \ $(wildcard include/config/discontigmem.h) \ $(wildcard include/config/sparsemem/vmemmap.h) \ $(wildcard include/config/sparsemem.h) \ include/linux/bottom_half.h \ include/linux/spinlock_types.h \ include/linux/spinlock_types_up.h \ include/linux/lockdep.h \ $(wildcard include/config/lockdep.h) \ $(wildcard include/config/lock/stat.h) \ $(wildcard include/config/generic/hardirqs.h) \ include/linux/rwlock_types.h \ include/linux/spinlock_up.h \ include/linux/rwlock.h \ include/linux/spinlock_api_up.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/atomic.h \ include/asm-generic/atomic64.h \ include/asm-generic/atomic-long.h \ include/linux/math64.h \ include/linux/kmod.h \ include/linux/gfp.h \ $(wildcard include/config/kmemcheck.h) \ $(wildcard include/config/highmem.h) \ $(wildcard include/config/zone/dma.h) \ $(wildcard include/config/zone/dma32.h) \ $(wildcard include/config/debug/vm.h) \ include/linux/mmzone.h \ $(wildcard include/config/force/max/zoneorder.h) \ $(wildcard include/config/memory/hotplug.h) \ $(wildcard include/config/arch/populates/node/map.h) \ $(wildcard include/config/flat/node/mem/map.h) \ $(wildcard include/config/cgroup/mem/res/ctlr.h) \ $(wildcard include/config/have/memory/present.h) \ $(wildcard include/config/need/node/memmap/size.h) \ $(wildcard include/config/need/multiple/nodes.h) \ $(wildcard include/config/have/arch/early/pfn/to/nid.h) \ $(wildcard include/config/sparsemem/extreme.h) \ $(wildcard include/config/nodes/span/other/nodes.h) \ $(wildcard include/config/holes/in/zone.h) \ $(wildcard include/config/arch/has/holes/memorymodel.h) \ include/linux/wait.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/current.h \ include/linux/threads.h \ $(wildcard include/config/nr/cpus.h) \ $(wildcard include/config/base/small.h) \ include/linux/numa.h \ $(wildcard include/config/nodes/shift.h) \ include/linux/init.h \ $(wildcard include/config/hotplug.h) \ include/linux/nodemask.h \ include/linux/bitmap.h \ include/linux/string.h \ $(wildcard include/config/binary/printf.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/string.h \ include/linux/pageblock-flags.h \ $(wildcard include/config/hugetlb/page/size/variable.h) \ include/generated/bounds.h \ include/linux/memory_hotplug.h \ $(wildcard include/config/have/arch/nodedata/extension.h) \ $(wildcard include/config/memory/hotremove.h) \ include/linux/notifier.h \ include/linux/mutex.h \ $(wildcard include/config/debug/mutexes.h) \ include/linux/rwsem.h \ $(wildcard include/config/rwsem/generic/spinlock.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/rwsem.h \ include/linux/srcu.h \ include/linux/topology.h \ $(wildcard include/config/sched/smt.h) \ $(wildcard include/config/sched/mc.h) \ include/linux/cpumask.h \ $(wildcard include/config/cpumask/offstack.h) \ $(wildcard include/config/hotplug/cpu.h) \ $(wildcard include/config/debug/per/cpu/maps.h) \ $(wildcard include/config/disable/obsolete/cpumask/functions.h) \ include/linux/smp.h \ $(wildcard include/config/use/generic/smp/helpers.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/topology.h \ $(wildcard include/config/pci.h) \ include/asm-generic/topology.h \ include/linux/mmdebug.h \ $(wildcard include/config/debug/virtual.h) \ include/linux/elf.h \ include/linux/elf-em.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/elf.h \ $(wildcard include/config/spu/base.h) \ include/linux/sched.h \ $(wildcard include/config/sched/debug.h) \ $(wildcard include/config/no/hz.h) \ $(wildcard include/config/detect/softlockup.h) \ $(wildcard include/config/detect/hung/task.h) \ $(wildcard include/config/mmu.h) \ $(wildcard include/config/core/dump/default/elf/headers.h) \ $(wildcard include/config/bsd/process/acct.h) \ $(wildcard include/config/taskstats.h) \ $(wildcard include/config/audit.h) \ $(wildcard include/config/inotify/user.h) \ $(wildcard include/config/epoll.h) \ $(wildcard include/config/posix/mqueue.h) \ $(wildcard include/config/keys.h) \ $(wildcard include/config/user/sched.h) \ $(wildcard include/config/schedstats.h) \ $(wildcard include/config/task/delay/acct.h) \ $(wildcard include/config/fair/group/sched.h) \ $(wildcard include/config/rt/group/sched.h) \ $(wildcard include/config/blk/dev/io/trace.h) \ $(wildcard include/config/tree/preempt/rcu.h) \ $(wildcard include/config/cc/stackprotector.h) \ $(wildcard include/config/sysvipc.h) \ $(wildcard include/config/auditsyscall.h) \ $(wildcard include/config/rt/mutexes.h) \ $(wildcard include/config/task/xacct.h) \ $(wildcard include/config/cpusets.h) \ $(wildcard include/config/cgroups.h) \ $(wildcard include/config/futex.h) \ $(wildcard include/config/fault/injection.h) \ $(wildcard include/config/latencytop.h) \ $(wildcard include/config/function/graph/tracer.h) \ $(wildcard include/config/have/unstable/sched/clock.h) \ $(wildcard include/config/stack/growsup.h) \ $(wildcard include/config/debug/stack/usage.h) \ $(wildcard include/config/group/sched.h) \ $(wildcard include/config/mm/owner.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/param.h \ $(wildcard include/config/hz.h) \ include/linux/capability.h \ include/linux/timex.h \ include/linux/param.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/timex.h \ include/linux/jiffies.h \ include/linux/rbtree.h \ include/linux/mm_types.h \ $(wildcard include/config/split/ptlock/cpus.h) \ $(wildcard include/config/want/page/debug/flags.h) \ $(wildcard include/config/aio.h) \ $(wildcard include/config/proc/fs.h) \ $(wildcard include/config/mmu/notifier.h) \ include/linux/auxvec.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/auxvec.h \ include/linux/prio_tree.h \ include/linux/completion.h \ include/linux/page-debug-flags.h \ $(wildcard include/config/page/poisoning.h) \ $(wildcard include/config/page/debug/something/else.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/mmu.h \ $(wildcard include/config/ppc/std/mmu/32.h) \ $(wildcard include/config/ppc/book3e/mmu.h) \ $(wildcard include/config/ppc/8xx.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/mmu-44x.h \ $(wildcard include/config/ppc/early/debug/44x.h) \ $(wildcard include/config/ppc/early/debug/44x/physlow.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/cputime.h \ include/asm-generic/cputime.h \ include/linux/sem.h \ include/linux/ipc.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/ipcbuf.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/sembuf.h \ include/linux/rcupdate.h \ $(wildcard include/config/tree/rcu.h) \ $(wildcard include/config/tiny/rcu.h) \ include/linux/rcutree.h \ include/linux/signal.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/signal.h \ include/asm-generic/signal-defs.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/siginfo.h \ include/asm-generic/siginfo.h \ include/linux/path.h \ include/linux/pid.h \ include/linux/percpu.h \ $(wildcard include/config/need/per/cpu/embed/first/chunk.h) \ $(wildcard include/config/need/per/cpu/page/first/chunk.h) \ $(wildcard include/config/have/setup/per/cpu/area.h) \ include/linux/slab.h \ $(wildcard include/config/slab/debug.h) \ $(wildcard include/config/debug/objects.h) \ $(wildcard include/config/slub.h) \ $(wildcard include/config/slob.h) \ $(wildcard include/config/debug/slab.h) \ include/linux/slab_def.h \ include/linux/kmemtrace.h \ $(wildcard include/config/kmemtrace.h) \ include/trace/events/kmem.h \ include/linux/tracepoint.h \ include/trace/define_trace.h \ include/linux/kmalloc_sizes.h \ include/linux/pfn.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/percpu.h \ include/asm-generic/percpu.h \ include/linux/percpu-defs.h \ $(wildcard include/config/debug/force/weak/per/cpu.h) \ include/linux/proportions.h \ include/linux/percpu_counter.h \ include/linux/seccomp.h \ $(wildcard include/config/seccomp.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/seccomp.h \ include/linux/unistd.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/unistd.h \ include/linux/rculist.h \ include/linux/rtmutex.h \ $(wildcard include/config/debug/rt/mutexes.h) \ include/linux/plist.h \ $(wildcard include/config/debug/pi/list.h) \ include/linux/resource.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/resource.h \ include/asm-generic/resource.h \ include/linux/timer.h \ $(wildcard include/config/timer/stats.h) \ $(wildcard include/config/debug/objects/timers.h) \ include/linux/ktime.h \ $(wildcard include/config/ktime/scalar.h) \ include/linux/debugobjects.h \ $(wildcard include/config/debug/objects/free.h) \ include/linux/hrtimer.h \ $(wildcard include/config/high/res/timers.h) \ include/linux/task_io_accounting.h \ $(wildcard include/config/task/io/accounting.h) \ include/linux/kobject.h \ include/linux/sysfs.h \ include/linux/kref.h \ include/linux/latencytop.h \ include/linux/cred.h \ $(wildcard include/config/debug/credentials.h) \ $(wildcard include/config/security.h) \ include/linux/key.h \ $(wildcard include/config/sysctl.h) \ include/linux/sysctl.h \ include/linux/selinux.h \ $(wildcard include/config/security/selinux.h) \ include/linux/aio.h \ include/linux/workqueue.h \ $(wildcard include/config/debug/objects/work.h) \ include/linux/aio_abi.h \ include/linux/uio.h \ include/linux/moduleparam.h \ $(wildcard include/config/alpha.h) \ $(wildcard include/config/ia64.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/local.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/module.h \ $(wildcard include/config/dynamic/ftrace.h) \ include/trace/events/module.h \ include/linux/interrupt.h \ $(wildcard include/config/pm/sleep.h) \ $(wildcard include/config/generic/irq/probe.h) \ include/linux/irqreturn.h \ include/linux/irqnr.h \ include/linux/hardirq.h \ include/linux/smp_lock.h \ $(wildcard include/config/lock/kernel.h) \ include/linux/ftrace_irq.h \ $(wildcard include/config/ftrace/nmi/enter.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/hardirq.h \ include/asm-generic/hardirq.h \ include/linux/irq.h \ $(wildcard include/config/s390.h) \ $(wildcard include/config/irq/per/cpu.h) \ $(wildcard include/config/irq/release/method.h) \ $(wildcard include/config/intr/remap.h) \ $(wildcard include/config/generic/pending/irq.h) \ $(wildcard include/config/sparse/irq.h) \ $(wildcard include/config/numa/irq/desc.h) \ $(wildcard include/config/generic/hardirqs/no//do/irq.h) \ $(wildcard include/config/cpumasks/offstack.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/irq.h \ $(wildcard include/config/nr/irqs.h) \ $(wildcard include/config/irqstacks.h) \ include/linux/radix-tree.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/irq_regs.h \ include/asm-generic/irq_regs.h \ include/linux/irq_cpustat.h \ include/linux/mempool.h \ include/linux/sunrpc/clnt.h \ $(wildcard include/config/ipv6.h) \ include/linux/socket.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/socket.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/sockios.h \ include/linux/sockios.h \ include/linux/in.h \ include/linux/in6.h \ include/linux/sunrpc/msg_prot.h \ include/linux/inet.h \ include/linux/sunrpc/sched.h \ include/linux/sunrpc/types.h \ include/linux/sunrpc/debug.h \ include/linux/sunrpc/xdr.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/unaligned.h \ include/linux/unaligned/access_ok.h \ include/linux/unaligned/generic.h \ include/linux/scatterlist.h \ $(wildcard include/config/debug/sg.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/scatterlist.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/dma.h \ $(wildcard include/config/ppc/iseries.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/io.h \ $(wildcard include/config/ra.h) \ $(wildcard include/config/rd.h) \ $(wildcard include/config/ppc/indirect/io.h) \ $(wildcard include/config/eeh.h) \ include/linux/device.h \ $(wildcard include/config/debug/devres.h) \ $(wildcard include/config/devtmpfs.h) \ include/linux/ioport.h \ include/linux/klist.h \ include/linux/pm.h \ $(wildcard include/config/pm/runtime.h) \ include/linux/semaphore.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/device.h \ $(wildcard include/config/swiotlb.h) \ include/linux/pm_wakeup.h \ $(wildcard include/config/pm.h) \ include/linux/io.h \ $(wildcard include/config/has/ioport.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/delay.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/time.h \ $(wildcard include/config/power.h) \ $(wildcard include/config/8xx/cpu6.h) \ include/asm-generic/iomap.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/io-defs.h \ include/linux/mm.h \ $(wildcard include/config/ksm.h) \ $(wildcard include/config/debug/pagealloc.h) \ $(wildcard include/config/hibernation.h) \ include/linux/debug_locks.h \ $(wildcard include/config/debug/locking/api/selftests.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/pgtable.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/pgtable-ppc32.h \ $(wildcard include/config/consistent/size.h) \ $(wildcard include/config/fsl/booke.h) \ include/asm-generic/pgtable-nopmd.h \ include/asm-generic/pgtable-nopud.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/pte-44x.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/pte-common.h \ $(wildcard include/config/ppc/std/mmu.h) \ $(wildcard include/config/kgdb.h) \ $(wildcard include/config/xmon.h) \ $(wildcard include/config/kprobes.h) \ include/asm-generic/pgtable.h \ include/linux/page-flags.h \ $(wildcard include/config/pageflags/extended.h) \ $(wildcard include/config/arch/uses/pg/uncached.h) \ $(wildcard include/config/memory/failure.h) \ $(wildcard include/config/swap.h) \ include/linux/vmstat.h \ $(wildcard include/config/vm/event/counters.h) \ include/linux/sunrpc/xprt.h \ $(wildcard include/config/nfs/v4/1.h) \ include/linux/sunrpc/auth.h \ include/linux/sunrpc/stats.h \ include/linux/proc_fs.h \ $(wildcard include/config/proc/devicetree.h) \ $(wildcard include/config/proc/kcore.h) \ include/linux/fs.h \ $(wildcard include/config/dnotify.h) \ $(wildcard include/config/quota.h) \ $(wildcard include/config/fsnotify.h) \ $(wildcard include/config/inotify.h) \ $(wildcard include/config/fs/posix/acl.h) \ $(wildcard include/config/debug/writecount.h) \ $(wildcard include/config/file/locking.h) \ $(wildcard include/config/block.h) \ $(wildcard include/config/fs/xip.h) \ $(wildcard include/config/migration.h) \ include/linux/limits.h \ include/linux/ioctl.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/ioctl.h \ include/asm-generic/ioctl.h \ include/linux/kdev_t.h \ include/linux/dcache.h \ include/linux/fiemap.h \ include/linux/quota.h \ $(wildcard include/config/quota/netlink/interface.h) \ include/linux/dqblk_xfs.h \ include/linux/dqblk_v1.h \ include/linux/dqblk_v2.h \ include/linux/dqblk_qtree.h \ include/linux/nfs_fs_i.h \ include/linux/nfs.h \ include/linux/fcntl.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/fcntl.h \ include/asm-generic/fcntl.h \ include/linux/err.h \ include/linux/magic.h \ include/linux/sunrpc/timer.h \ include/net/ipv6.h \ include/linux/ipv6.h \ $(wildcard include/config/ipv6/privacy.h) \ $(wildcard include/config/ipv6/router/pref.h) \ $(wildcard include/config/ipv6/route/info.h) \ $(wildcard include/config/ipv6/optimistic/dad.h) \ $(wildcard include/config/ipv6/mroute.h) \ $(wildcard include/config/ipv6/mip6.h) \ $(wildcard include/config/ipv6/subtrees.h) \ include/linux/icmpv6.h \ include/linux/skbuff.h \ $(wildcard include/config/nf/conntrack.h) \ $(wildcard include/config/bridge/netfilter.h) \ $(wildcard include/config/has/dma.h) \ $(wildcard include/config/xfrm.h) \ $(wildcard include/config/net/sched.h) \ $(wildcard include/config/net/cls/act.h) \ $(wildcard include/config/ipv6/ndisc/nodetype.h) \ $(wildcard include/config/net/dma.h) \ $(wildcard include/config/network/secmark.h) \ include/linux/kmemcheck.h \ include/linux/net.h \ include/linux/random.h \ include/linux/ratelimit.h \ include/linux/textsearch.h \ include/net/checksum.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/uaccess.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/checksum.h \ include/linux/dmaengine.h \ $(wildcard include/config/dma/engine.h) \ $(wildcard include/config/async/tx/dma.h) \ $(wildcard include/config/async/tx/disable/channel/switch.h) \ include/linux/dma-mapping.h \ $(wildcard include/config/have/dma/attrs.h) \ include/linux/dma-attrs.h \ include/linux/bug.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/dma-mapping.h \ include/linux/dma-debug.h \ $(wildcard include/config/dma/api/debug.h) \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/swiotlb.h \ include/linux/swiotlb.h \ include/asm-generic/dma-mapping-common.h \ include/linux/netdevice.h \ $(wildcard include/config/dcb.h) \ $(wildcard include/config/wlan/80211.h) \ $(wildcard include/config/ax25.h) \ $(wildcard include/config/mac80211/mesh.h) \ $(wildcard include/config/tr.h) \ $(wildcard include/config/net/ipip.h) \ $(wildcard include/config/net/ipgre.h) \ $(wildcard include/config/ipv6/sit.h) \ $(wildcard include/config/ipv6/tunnel.h) \ $(wildcard include/config/netpoll.h) \ $(wildcard include/config/net/poll/controller.h) \ $(wildcard include/config/fcoe.h) \ $(wildcard include/config/wireless/ext.h) \ $(wildcard include/config/net/dsa.h) \ $(wildcard include/config/net/ns.h) \ $(wildcard include/config/net/dsa/tag/dsa.h) \ $(wildcard include/config/net/dsa/tag/trailer.h) \ $(wildcard include/config/netpoll/trap.h) \ include/linux/if.h \ include/linux/hdlc/ioctl.h \ include/linux/if_ether.h \ include/linux/if_packet.h \ include/linux/delay.h \ include/linux/ethtool.h \ include/net/net_namespace.h \ $(wildcard include/config/ip/dccp.h) \ $(wildcard include/config/netfilter.h) \ $(wildcard include/config/wext/core.h) \ $(wildcard include/config/net.h) \ include/net/netns/core.h \ include/net/netns/mib.h \ $(wildcard include/config/xfrm/statistics.h) \ include/net/snmp.h \ include/linux/snmp.h \ include/net/netns/unix.h \ include/net/netns/packet.h \ include/net/netns/ipv4.h \ $(wildcard include/config/ip/multiple/tables.h) \ $(wildcard include/config/ip/mroute.h) \ $(wildcard include/config/ip/pimsm/v1.h) \ $(wildcard include/config/ip/pimsm/v2.h) \ include/net/inet_frag.h \ include/net/netns/ipv6.h \ $(wildcard include/config/ipv6/multiple/tables.h) \ $(wildcard include/config/ipv6/pimsm/v2.h) \ include/net/dst_ops.h \ include/net/netns/dccp.h \ include/net/netns/x_tables.h \ $(wildcard include/config/bridge/nf/ebtables.h) \ include/linux/netfilter.h \ $(wildcard include/config/netfilter/debug.h) \ $(wildcard include/config/nf/nat/needed.h) \ include/net/flow.h \ include/net/netns/xfrm.h \ include/linux/xfrm.h \ include/linux/seq_file_net.h \ include/linux/seq_file.h \ include/net/dsa.h \ include/linux/tcp.h \ $(wildcard include/config/tcp/md5sig.h) \ include/net/sock.h \ include/linux/list_nulls.h \ include/linux/security.h \ $(wildcard include/config/security/path.h) \ $(wildcard include/config/security/network.h) \ $(wildcard include/config/security/network/xfrm.h) \ $(wildcard include/config/securityfs.h) \ include/linux/binfmts.h \ include/linux/shm.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/shmparam.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/shmbuf.h \ include/linux/msg.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/msgbuf.h \ include/linux/filter.h \ include/linux/rculist_nulls.h \ include/linux/poll.h \ /tools/dev/repos/linux-2.6-xlnx/arch/powerpc/include/asm/poll.h \ include/asm-generic/poll.h \ include/net/dst.h \ $(wildcard include/config/net/cls/route.h) \ include/linux/rtnetlink.h \ include/linux/netlink.h \ include/linux/if_link.h \ include/linux/if_addr.h \ include/linux/neighbour.h \ include/net/neighbour.h \ include/net/rtnetlink.h \ include/net/netlink.h \ include/net/inet_connection_sock.h \ include/net/inet_sock.h \ include/linux/jhash.h \ include/net/request_sock.h \ include/net/netns/hash.h \ include/net/inet_timewait_sock.h \ include/net/tcp_states.h \ include/net/timewait_sock.h \ include/linux/udp.h \ include/net/if_inet6.h \ include/net/ndisc.h \ net/sunrpc/sunrpc.h \ net/sunrpc/sched.o: $(deps_net/sunrpc/sched.o) $(deps_net/sunrpc/sched.o):
mattkelly/linux-2.6-xlnx
net/sunrpc/.sched.o.cmd
bat
gpl-2.0
31,335
cmd_kernel/resource.o := /pub/CIS520/usr/arm/bin/arm-angstrom-linux-gnueabi-gcc -Wp,-MD,kernel/.resource.o.d -nostdinc -isystem /net/files.cis.ksu.edu/exports/public/CIS520/usr/arm/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/include -Iinclude -I/net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include -include include/linux/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-goldfish/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(resource)" -D"KBUILD_MODNAME=KBUILD_STR(resource)" -c -o kernel/resource.o kernel/resource.c deps_kernel/resource.o := \ kernel/resource.c \ $(wildcard include/config/proc/fs.h) \ $(wildcard include/config/memory/hotplug.h) \ $(wildcard include/config/arch/has/walk/memory.h) \ $(wildcard include/config/strict/devmem.h) \ include/linux/module.h \ $(wildcard include/config/modules.h) \ $(wildcard include/config/modversions.h) \ $(wildcard include/config/unused/symbols.h) \ $(wildcard include/config/generic/bug.h) \ $(wildcard include/config/kallsyms.h) \ $(wildcard include/config/markers.h) \ $(wildcard include/config/tracepoints.h) \ $(wildcard include/config/module/unload.h) \ $(wildcard include/config/smp.h) \ $(wildcard include/config/sysfs.h) \ include/linux/list.h \ $(wildcard include/config/debug/list.h) \ include/linux/stddef.h \ include/linux/compiler.h \ $(wildcard include/config/trace/branch/profiling.h) \ $(wildcard include/config/profile/all/branches.h) \ $(wildcard include/config/enable/must/check.h) \ $(wildcard include/config/enable/warn/deprecated.h) \ include/linux/compiler-gcc.h \ $(wildcard include/config/arch/supports/optimized/inlining.h) \ $(wildcard include/config/optimize/inlining.h) \ include/linux/compiler-gcc4.h \ include/linux/poison.h \ include/linux/prefetch.h \ include/linux/types.h \ $(wildcard include/config/uid16.h) \ $(wildcard include/config/lbd.h) \ $(wildcard include/config/phys/addr/t/64bit.h) \ $(wildcard include/config/64bit.h) \ include/linux/posix_types.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/posix_types.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/types.h \ include/asm-generic/int-ll64.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/processor.h \ $(wildcard include/config/mmu.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/ptrace.h \ $(wildcard include/config/arm/thumb.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/hwcap.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/cache.h \ $(wildcard include/config/arm/l1/cache/shift.h) \ $(wildcard include/config/aeabi.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/system.h \ $(wildcard include/config/cpu/xsc3.h) \ $(wildcard include/config/cpu/sa1100.h) \ $(wildcard include/config/cpu/sa110.h) \ include/linux/linkage.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/linkage.h \ include/linux/irqflags.h \ $(wildcard include/config/trace/irqflags.h) \ $(wildcard include/config/irqsoff/tracer.h) \ $(wildcard include/config/preempt/tracer.h) \ $(wildcard include/config/trace/irqflags/support.h) \ $(wildcard include/config/x86.h) \ include/linux/typecheck.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/irqflags.h \ include/asm-generic/cmpxchg-local.h \ include/asm-generic/cmpxchg.h \ include/linux/stat.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/stat.h \ include/linux/time.h \ include/linux/cache.h \ $(wildcard include/config/arch/has/cache/line/size.h) \ include/linux/kernel.h \ $(wildcard include/config/preempt/voluntary.h) \ $(wildcard include/config/debug/spinlock/sleep.h) \ $(wildcard include/config/prove/locking.h) \ $(wildcard include/config/printk.h) \ $(wildcard include/config/dynamic/printk/debug.h) \ $(wildcard include/config/numa.h) \ $(wildcard include/config/ftrace/mcount/record.h) \ /net/files.cis.ksu.edu/exports/public/CIS520/usr/arm/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/include/stdarg.h \ include/linux/bitops.h \ $(wildcard include/config/generic/find/first/bit.h) \ $(wildcard include/config/generic/find/last/bit.h) \ $(wildcard include/config/generic/find/next/bit.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/bitops.h \ include/asm-generic/bitops/non-atomic.h \ include/asm-generic/bitops/fls64.h \ include/asm-generic/bitops/sched.h \ include/asm-generic/bitops/hweight.h \ include/asm-generic/bitops/lock.h \ include/linux/log2.h \ $(wildcard include/config/arch/has/ilog2/u32.h) \ $(wildcard include/config/arch/has/ilog2/u64.h) \ include/linux/ratelimit.h \ include/linux/param.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/param.h \ $(wildcard include/config/hz.h) \ include/linux/dynamic_printk.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/byteorder.h \ include/linux/byteorder/little_endian.h \ include/linux/swab.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/swab.h \ include/linux/byteorder/generic.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/bug.h \ $(wildcard include/config/bug.h) \ $(wildcard include/config/debug/bugverbose.h) \ include/asm-generic/bug.h \ $(wildcard include/config/generic/bug/relative/pointers.h) \ include/linux/seqlock.h \ include/linux/spinlock.h \ $(wildcard include/config/debug/spinlock.h) \ $(wildcard include/config/generic/lockbreak.h) \ $(wildcard include/config/preempt.h) \ $(wildcard include/config/debug/lock/alloc.h) \ include/linux/preempt.h \ $(wildcard include/config/debug/preempt.h) \ $(wildcard include/config/preempt/notifiers.h) \ include/linux/thread_info.h \ $(wildcard include/config/compat.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/thread_info.h \ $(wildcard include/config/arm/thumbee.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/fpstate.h \ $(wildcard include/config/vfpv3.h) \ $(wildcard include/config/iwmmxt.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/domain.h \ $(wildcard include/config/io/36.h) \ include/linux/stringify.h \ include/linux/bottom_half.h \ include/linux/spinlock_types.h \ include/linux/spinlock_types_up.h \ include/linux/lockdep.h \ $(wildcard include/config/lockdep.h) \ $(wildcard include/config/lock/stat.h) \ $(wildcard include/config/generic/hardirqs.h) \ include/linux/spinlock_up.h \ include/linux/spinlock_api_up.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/atomic.h \ include/asm-generic/atomic.h \ include/linux/math64.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/div64.h \ include/linux/kmod.h \ include/linux/gfp.h \ $(wildcard include/config/zone/dma.h) \ $(wildcard include/config/zone/dma32.h) \ $(wildcard include/config/highmem.h) \ include/linux/mmzone.h \ $(wildcard include/config/force/max/zoneorder.h) \ $(wildcard include/config/unevictable/lru.h) \ $(wildcard include/config/sparsemem.h) \ $(wildcard include/config/arch/populates/node/map.h) \ $(wildcard include/config/discontigmem.h) \ $(wildcard include/config/flat/node/mem/map.h) \ $(wildcard include/config/cgroup/mem/res/ctlr.h) \ $(wildcard include/config/have/memory/present.h) \ $(wildcard include/config/need/node/memmap/size.h) \ $(wildcard include/config/need/multiple/nodes.h) \ $(wildcard include/config/have/arch/early/pfn/to/nid.h) \ $(wildcard include/config/flatmem.h) \ $(wildcard include/config/sparsemem/extreme.h) \ $(wildcard include/config/nodes/span/other/nodes.h) \ $(wildcard include/config/holes/in/zone.h) \ include/linux/wait.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/current.h \ include/linux/threads.h \ $(wildcard include/config/nr/cpus.h) \ $(wildcard include/config/base/small.h) \ include/linux/numa.h \ $(wildcard include/config/nodes/shift.h) \ include/linux/init.h \ $(wildcard include/config/hotplug.h) \ include/linux/nodemask.h \ include/linux/bitmap.h \ include/linux/string.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/string.h \ include/linux/pageblock-flags.h \ $(wildcard include/config/hugetlb/page.h) \ $(wildcard include/config/hugetlb/page/size/variable.h) \ include/linux/bounds.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/page.h \ $(wildcard include/config/cpu/copy/v3.h) \ $(wildcard include/config/cpu/copy/v4wt.h) \ $(wildcard include/config/cpu/copy/v4wb.h) \ $(wildcard include/config/cpu/copy/feroceon.h) \ $(wildcard include/config/cpu/xscale.h) \ $(wildcard include/config/cpu/copy/v6.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/glue.h \ $(wildcard include/config/cpu/arm610.h) \ $(wildcard include/config/cpu/arm710.h) \ $(wildcard include/config/cpu/abrt/lv4t.h) \ $(wildcard include/config/cpu/abrt/ev4.h) \ $(wildcard include/config/cpu/abrt/ev4t.h) \ $(wildcard include/config/cpu/abrt/ev5tj.h) \ $(wildcard include/config/cpu/abrt/ev5t.h) \ $(wildcard include/config/cpu/abrt/ev6.h) \ $(wildcard include/config/cpu/abrt/ev7.h) \ $(wildcard include/config/cpu/pabrt/ifar.h) \ $(wildcard include/config/cpu/pabrt/noifar.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/memory.h \ $(wildcard include/config/page/offset.h) \ $(wildcard include/config/dram/size.h) \ $(wildcard include/config/dram/base.h) \ include/linux/const.h \ arch/arm/mach-goldfish/include/mach/memory.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/sizes.h \ include/asm-generic/memory_model.h \ $(wildcard include/config/sparsemem/vmemmap.h) \ include/asm-generic/page.h \ include/linux/memory_hotplug.h \ $(wildcard include/config/have/arch/nodedata/extension.h) \ $(wildcard include/config/memory/hotremove.h) \ include/linux/notifier.h \ include/linux/errno.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/errno.h \ include/asm-generic/errno.h \ include/asm-generic/errno-base.h \ include/linux/mutex.h \ $(wildcard include/config/debug/mutexes.h) \ include/linux/rwsem.h \ $(wildcard include/config/rwsem/generic/spinlock.h) \ include/linux/rwsem-spinlock.h \ include/linux/srcu.h \ include/linux/topology.h \ $(wildcard include/config/sched/smt.h) \ $(wildcard include/config/sched/mc.h) \ include/linux/cpumask.h \ $(wildcard include/config/disable/obsolete/cpumask/functions.h) \ $(wildcard include/config/hotplug/cpu.h) \ $(wildcard include/config/cpumask/offstack.h) \ $(wildcard include/config/debug/per/cpu/maps.h) \ include/linux/smp.h \ $(wildcard include/config/use/generic/smp/helpers.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/topology.h \ include/asm-generic/topology.h \ include/linux/elf.h \ include/linux/elf-em.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/elf.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/user.h \ include/linux/kobject.h \ include/linux/sysfs.h \ include/linux/kref.h \ include/linux/moduleparam.h \ $(wildcard include/config/alpha.h) \ $(wildcard include/config/ia64.h) \ $(wildcard include/config/ppc64.h) \ include/linux/marker.h \ include/linux/tracepoint.h \ include/linux/rcupdate.h \ $(wildcard include/config/classic/rcu.h) \ $(wildcard include/config/tree/rcu.h) \ $(wildcard include/config/preempt/rcu.h) \ include/linux/percpu.h \ include/linux/slab.h \ $(wildcard include/config/slab/debug.h) \ $(wildcard include/config/debug/objects.h) \ $(wildcard include/config/slub.h) \ $(wildcard include/config/slob.h) \ $(wildcard include/config/debug/slab.h) \ include/linux/slab_def.h \ include/linux/kmalloc_sizes.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/percpu.h \ include/asm-generic/percpu.h \ $(wildcard include/config/have/setup/per/cpu/area.h) \ include/linux/completion.h \ include/linux/rcuclassic.h \ $(wildcard include/config/rcu/cpu/stall/detector.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/local.h \ include/asm-generic/local.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/module.h \ include/linux/ioport.h \ include/linux/fs.h \ $(wildcard include/config/dnotify.h) \ $(wildcard include/config/quota.h) \ $(wildcard include/config/inotify.h) \ $(wildcard include/config/security.h) \ $(wildcard include/config/epoll.h) \ $(wildcard include/config/debug/writecount.h) \ $(wildcard include/config/file/locking.h) \ $(wildcard include/config/auditsyscall.h) \ $(wildcard include/config/block.h) \ $(wildcard include/config/fs/xip.h) \ $(wildcard include/config/migration.h) \ include/linux/limits.h \ include/linux/ioctl.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/ioctl.h \ include/asm-generic/ioctl.h \ include/linux/kdev_t.h \ include/linux/dcache.h \ include/linux/rculist.h \ include/linux/path.h \ include/linux/radix-tree.h \ include/linux/prio_tree.h \ include/linux/pid.h \ include/linux/capability.h \ $(wildcard include/config/security/file/capabilities.h) \ include/linux/semaphore.h \ include/linux/fiemap.h \ include/linux/quota.h \ include/linux/dqblk_xfs.h \ include/linux/dqblk_v1.h \ include/linux/dqblk_v2.h \ include/linux/dqblk_qtree.h \ include/linux/nfs_fs_i.h \ include/linux/nfs.h \ include/linux/sunrpc/msg_prot.h \ include/linux/fcntl.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/fcntl.h \ include/asm-generic/fcntl.h \ include/linux/err.h \ include/linux/proc_fs.h \ $(wildcard include/config/proc/devicetree.h) \ $(wildcard include/config/proc/kcore.h) \ include/linux/magic.h \ include/linux/seq_file.h \ include/linux/device.h \ $(wildcard include/config/debug/devres.h) \ include/linux/klist.h \ include/linux/pm.h \ $(wildcard include/config/pm/sleep.h) \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/device.h \ $(wildcard include/config/dmabounce.h) \ include/linux/pm_wakeup.h \ $(wildcard include/config/pm.h) \ include/linux/pfn.h \ /net/files.cis.ksu.edu/exports/home/p/phen/cis520/android/Kernel/arch/arm/include/asm/io.h \ arch/arm/mach-goldfish/include/mach/io.h \ kernel/resource.o: $(deps_kernel/resource.o) $(deps_kernel/resource.o):
mjmccall/Kernel
kernel/.resource.o.cmd
bat
gpl-2.0
16,263
cmd_util-linux/more.o := arm-linux-musleabihf-gcc -Wp,-MD,util-linux/.more.o.d -std=gnu99 -Iinclude -Ilibbb -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BB_VER=KBUILD_STR(1.22.1)" -DBB_BT=AUTOCONF_TIMESTAMP -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wdeclaration-after-statement -Wold-style-definition -fno-builtin-strlen -finline-limit=0 -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -static-libgcc -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -fno-unwind-tables -fno-asynchronous-unwind-tables -g -O0 -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(more)" -D"KBUILD_MODNAME=KBUILD_STR(more)" -c -o util-linux/more.o util-linux/more.c deps_util-linux/more.o := \ util-linux/more.c \ $(wildcard include/config/feature/use/termios.h) \ include/libbb.h \ $(wildcard include/config/feature/shadowpasswds.h) \ $(wildcard include/config/use/bb/shadow.h) \ $(wildcard include/config/selinux.h) \ $(wildcard include/config/feature/utmp.h) \ $(wildcard include/config/locale/support.h) \ $(wildcard include/config/use/bb/pwd/grp.h) \ $(wildcard include/config/lfs.h) \ $(wildcard include/config/feature/buffers/go/on/stack.h) \ $(wildcard include/config/feature/buffers/go/in/bss.h) \ $(wildcard include/config/feature/ipv6.h) \ $(wildcard include/config/feature/seamless/xz.h) \ $(wildcard include/config/feature/seamless/lzma.h) \ $(wildcard include/config/feature/seamless/bz2.h) \ $(wildcard include/config/feature/seamless/gz.h) \ $(wildcard include/config/feature/seamless/z.h) \ $(wildcard include/config/feature/check/names.h) \ $(wildcard include/config/feature/prefer/applets.h) \ $(wildcard include/config/long/opts.h) \ $(wildcard include/config/feature/getopt/long.h) \ $(wildcard include/config/feature/pidfile.h) \ $(wildcard include/config/feature/syslog.h) \ $(wildcard include/config/feature/individual.h) \ $(wildcard include/config/echo.h) \ $(wildcard include/config/printf.h) \ $(wildcard include/config/test.h) \ $(wildcard include/config/kill.h) \ $(wildcard include/config/chown.h) \ $(wildcard include/config/ls.h) \ $(wildcard include/config/xxx.h) \ $(wildcard include/config/route.h) \ $(wildcard include/config/feature/hwib.h) \ $(wildcard include/config/desktop.h) \ $(wildcard include/config/feature/crond/d.h) \ $(wildcard include/config/use/bb/crypt.h) \ $(wildcard include/config/feature/adduser/to/group.h) \ $(wildcard include/config/feature/del/user/from/group.h) \ $(wildcard include/config/ioctl/hex2str/error.h) \ $(wildcard include/config/feature/editing.h) \ $(wildcard include/config/feature/editing/history.h) \ $(wildcard include/config/feature/editing/savehistory.h) \ $(wildcard include/config/feature/tab/completion.h) \ $(wildcard include/config/feature/username/completion.h) \ $(wildcard include/config/feature/editing/vi.h) \ $(wildcard include/config/feature/editing/save/on/exit.h) \ $(wildcard include/config/pmap.h) \ $(wildcard include/config/feature/show/threads.h) \ $(wildcard include/config/feature/ps/additional/columns.h) \ $(wildcard include/config/feature/topmem.h) \ $(wildcard include/config/feature/top/smp/process.h) \ $(wildcard include/config/killall.h) \ $(wildcard include/config/pgrep.h) \ $(wildcard include/config/pkill.h) \ $(wildcard include/config/pidof.h) \ $(wildcard include/config/sestatus.h) \ $(wildcard include/config/unicode/support.h) \ $(wildcard include/config/feature/mtab/support.h) \ $(wildcard include/config/feature/clean/up.h) \ $(wildcard include/config/feature/devfs.h) \ include/platform.h \ $(wildcard include/config/werror.h) \ $(wildcard include/config/big/endian.h) \ $(wildcard include/config/little/endian.h) \ $(wildcard include/config/nommu.h) \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/limits.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/features.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/limits.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/byteswap.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/stdint.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/alltypes.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/stdint.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/endian.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/stdbool.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/unistd.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/posix.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/ctype.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/dirent.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/errno.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/errno.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/fcntl.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/fcntl.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/inttypes.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/netdb.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/netinet/in.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/socket.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/socket.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/setjmp.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/setjmp.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/signal.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/signal.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/stdio.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/stdlib.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/alloca.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/stdarg.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/stddef.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/string.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/strings.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/libgen.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/poll.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/ioctl.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/ioctl.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/mman.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/mman.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/stat.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/stat.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/time.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/select.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/types.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/sysmacros.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/wait.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/resource.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/resource.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/termios.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/termios.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/time.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/param.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/pwd.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/grp.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/mntent.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/statfs.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/sys/statvfs.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/bits/statfs.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/utmp.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/utmpx.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/locale.h \ /Volumes/ELFSOSX/tools/lib/gcc/arm-linux-musleabihf/4.7.3/../../../../arm-linux-musleabihf/include/arpa/inet.h \ include/pwd_.h \ include/grp_.h \ include/shadow_.h \ include/xatonum.h \ util-linux/more.o: $(deps_util-linux/more.o) $(deps_util-linux/more.o):
ThinkIntegrate/busybox
util-linux/.more.o.cmd
bat
gpl-2.0
11,406
cmd_coreutils/false.o := gcc -Wp,-MD,coreutils/.false.o.d -std=gnu99 -Iinclude -Ilibbb -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BB_VER=KBUILD_STR(1.18.4)" -DBB_BT=AUTOCONF_TIMESTAMP -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wold-style-definition -fno-builtin-strlen -finline-limit=0 -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -static-libgcc -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -Os -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(false)" -D"KBUILD_MODNAME=KBUILD_STR(false)" -c -o coreutils/false.o coreutils/false.c deps_coreutils/false.o := \ coreutils/false.c \ include/libbb.h \ $(wildcard include/config/selinux.h) \ $(wildcard include/config/locale/support.h) \ $(wildcard include/config/feature/shadowpasswds.h) \ $(wildcard include/config/use/bb/shadow.h) \ $(wildcard include/config/use/bb/pwd/grp.h) \ $(wildcard include/config/lfs.h) \ $(wildcard include/config/feature/buffers/go/on/stack.h) \ $(wildcard include/config/feature/buffers/go/in/bss.h) \ $(wildcard include/config/feature/ipv6.h) \ $(wildcard include/config/feature/seamless/lzma.h) \ $(wildcard include/config/feature/seamless/bz2.h) \ $(wildcard include/config/feature/seamless/gz.h) \ $(wildcard include/config/feature/seamless/z.h) \ $(wildcard include/config/feature/check/names.h) \ $(wildcard include/config/feature/utmp.h) \ $(wildcard include/config/feature/prefer/applets.h) \ $(wildcard include/config/busybox/exec/path.h) \ $(wildcard include/config/long/opts.h) \ $(wildcard include/config/feature/getopt/long.h) \ $(wildcard include/config/feature/pidfile.h) \ $(wildcard include/config/feature/syslog.h) \ $(wildcard include/config/feature/individual.h) \ $(wildcard include/config/echo.h) \ $(wildcard include/config/printf.h) \ $(wildcard include/config/test.h) \ $(wildcard include/config/kill.h) \ $(wildcard include/config/chown.h) \ $(wildcard include/config/ls.h) \ $(wildcard include/config/xxx.h) \ $(wildcard include/config/route.h) \ $(wildcard include/config/feature/hwib.h) \ $(wildcard include/config/desktop.h) \ $(wildcard include/config/feature/crond/d.h) \ $(wildcard include/config/use/bb/crypt.h) \ $(wildcard include/config/feature/adduser/to/group.h) \ $(wildcard include/config/feature/del/user/from/group.h) \ $(wildcard include/config/ioctl/hex2str/error.h) \ $(wildcard include/config/feature/editing.h) \ $(wildcard include/config/feature/editing/history.h) \ $(wildcard include/config/feature/editing/savehistory.h) \ $(wildcard include/config/feature/tab/completion.h) \ $(wildcard include/config/feature/username/completion.h) \ $(wildcard include/config/feature/editing/vi.h) \ $(wildcard include/config/pmap.h) \ $(wildcard include/config/feature/show/threads.h) \ $(wildcard include/config/feature/ps/additional/columns.h) \ $(wildcard include/config/feature/topmem.h) \ $(wildcard include/config/feature/top/smp/process.h) \ $(wildcard include/config/killall.h) \ $(wildcard include/config/pgrep.h) \ $(wildcard include/config/pkill.h) \ $(wildcard include/config/pidof.h) \ $(wildcard include/config/sestatus.h) \ $(wildcard include/config/feature/mtab/support.h) \ $(wildcard include/config/feature/devfs.h) \ include/platform.h \ $(wildcard include/config/werror.h) \ $(wildcard include/config/big/endian.h) \ $(wildcard include/config/little/endian.h) \ $(wildcard include/config/nommu.h) \ /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/syslimits.h \ /usr/include/limits.h \ /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ /usr/include/x86_64-linux-gnu/bits/local_lim.h \ /usr/include/linux/limits.h \ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \ /usr/include/x86_64-linux-gnu/bits/xopen_lim.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/byteswap.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stdint.h \ /usr/include/stdint.h \ /usr/include/x86_64-linux-gnu/bits/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stdbool.h \ /usr/include/ctype.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h \ /usr/include/xlocale.h \ /usr/include/dirent.h \ /usr/include/x86_64-linux-gnu/bits/dirent.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h \ /usr/include/errno.h \ /usr/include/x86_64-linux-gnu/bits/errno.h \ /usr/include/linux/errno.h \ /usr/include/x86_64-linux-gnu/asm/errno.h \ /usr/include/asm-generic/errno.h \ /usr/include/asm-generic/errno-base.h \ /usr/include/fcntl.h \ /usr/include/x86_64-linux-gnu/bits/fcntl.h \ /usr/include/x86_64-linux-gnu/sys/types.h \ /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ /usr/include/x86_64-linux-gnu/bits/uio.h \ /usr/include/x86_64-linux-gnu/bits/stat.h \ /usr/include/x86_64-linux-gnu/bits/fcntl2.h \ /usr/include/inttypes.h \ /usr/include/netdb.h \ /usr/include/netinet/in.h \ /usr/include/x86_64-linux-gnu/sys/socket.h \ /usr/include/x86_64-linux-gnu/sys/uio.h \ /usr/include/x86_64-linux-gnu/bits/socket.h \ /usr/include/x86_64-linux-gnu/bits/sockaddr.h \ /usr/include/x86_64-linux-gnu/asm/socket.h \ /usr/include/asm-generic/socket.h \ /usr/include/x86_64-linux-gnu/asm/sockios.h \ /usr/include/asm-generic/sockios.h \ /usr/include/x86_64-linux-gnu/bits/socket2.h \ /usr/include/x86_64-linux-gnu/bits/in.h \ /usr/include/rpc/netdb.h \ /usr/include/x86_64-linux-gnu/bits/siginfo.h \ /usr/include/x86_64-linux-gnu/bits/netdb.h \ /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h \ /usr/include/signal.h \ /usr/include/x86_64-linux-gnu/bits/signum.h \ /usr/include/x86_64-linux-gnu/bits/sigaction.h \ /usr/include/x86_64-linux-gnu/bits/sigcontext.h \ /usr/include/x86_64-linux-gnu/bits/sigstack.h \ /usr/include/x86_64-linux-gnu/sys/ucontext.h \ /usr/include/x86_64-linux-gnu/bits/sigthread.h \ /usr/include/stdio.h \ /usr/include/libio.h \ /usr/include/_G_config.h \ /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h \ /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h \ /usr/include/string.h \ /usr/include/x86_64-linux-gnu/bits/string3.h \ /usr/include/x86_64-linux-gnu/sys/poll.h \ /usr/include/x86_64-linux-gnu/bits/poll.h \ /usr/include/x86_64-linux-gnu/sys/ioctl.h \ /usr/include/x86_64-linux-gnu/bits/ioctls.h \ /usr/include/x86_64-linux-gnu/asm/ioctls.h \ /usr/include/asm-generic/ioctls.h \ /usr/include/linux/ioctl.h \ /usr/include/x86_64-linux-gnu/asm/ioctl.h \ /usr/include/asm-generic/ioctl.h \ /usr/include/x86_64-linux-gnu/bits/ioctl-types.h \ /usr/include/x86_64-linux-gnu/sys/ttydefaults.h \ /usr/include/x86_64-linux-gnu/sys/mman.h \ /usr/include/x86_64-linux-gnu/bits/mman.h \ /usr/include/x86_64-linux-gnu/sys/stat.h \ /usr/include/x86_64-linux-gnu/sys/time.h \ /usr/include/x86_64-linux-gnu/sys/wait.h \ /usr/include/x86_64-linux-gnu/sys/resource.h \ /usr/include/x86_64-linux-gnu/bits/resource.h \ /usr/include/termios.h \ /usr/include/x86_64-linux-gnu/bits/termios.h \ /usr/include/unistd.h \ /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ /usr/include/x86_64-linux-gnu/bits/environments.h \ /usr/include/x86_64-linux-gnu/bits/confname.h \ /usr/include/getopt.h \ /usr/include/x86_64-linux-gnu/bits/unistd.h \ /usr/include/x86_64-linux-gnu/sys/param.h \ /usr/include/linux/param.h \ /usr/include/x86_64-linux-gnu/asm/param.h \ /usr/include/asm-generic/param.h \ /usr/include/mntent.h \ /usr/include/paths.h \ /usr/include/x86_64-linux-gnu/sys/statfs.h \ /usr/include/x86_64-linux-gnu/bits/statfs.h \ /usr/include/pwd.h \ /usr/include/grp.h \ /usr/include/arpa/inet.h \ include/pwd_.h \ include/grp_.h \ include/shadow_.h \ include/xatonum.h \ coreutils/false.o: $(deps_coreutils/false.o) $(deps_coreutils/false.o):
muthumani2/Muthu-busybox
coreutils/.false.o.cmd
bat
gpl-2.0
9,367
@rem FTC Configure Helper - this provides some system checks and setup to various operating systems. @rem Copyright (C) 2015 David S. - FTC 5395 @rem @rem This program is free software: you can redistribute it and/or modify @rem it under the terms of the GNU General Public License as published by @rem the Free Software Foundation, either version 3 of the License, or @rem (at your option) any later version. @rem @rem This program is distributed in the hope that it will be useful, @rem but WITHOUT ANY WARRANTY; without even the implied warranty of @rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @rem GNU General Public License for more details. @rem @rem You should have received a copy of the GNU General Public License @rem along with this program. If not, see <http://www.gnu.org/licenses/>. @rem --- BEGIN SCRIPT --- @echo off setlocal enabledelayedexpansion set FILE= call %~dp0\includes\check_help_args.bat %1 if %errorlevel% == 0 ( goto :help ) if "%~1"=="" ( echo ERROR: please specify a filename goto :abort ) else ( set FILE=%~f1 ) if not "%~2"=="" ( echo ERROR: option %2 is not recognized goto :abort ) if not exist %FILE% ( echo ERROR: File does not exists goto :abort ) rem Begin writing type %~dp0help.stc >> %FILE% if not %errorlevel% == 0 ( echo Not Sucessful^^! Please check that "%~dp0help.stc" exists goto :abort ) type %~dp0defaults.post >> %FILE% if not %errorlevel% == 0 ( echo Not Sucessful^^! Please check that "%~dp0defaults.post" exists goto :abort ) rem Done! goto :exit :help more %~dp0docs\README\%~n0 goto :exit @rem --- END SCRIPT --- :abort exit /b 1 :exit exit /b
dmssargent/FTC-Configuration-Helper
windows/scripts/default-footer.bat
bat
gpl-3.0
1,658
w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org"
CHEF-KOCH/regtweaks
OS independent/Batch/pool.ntp.org Time Servers.bat
bat
mpl-2.0
113
@echo off :: Windows 10 build 19592+ REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V SearchBoxVisibleInTouchImprovement /T REG_DWORD /D 0 /F :: To kill and restart explorer taskkill /f /im explorer.exe start explorer.exe
CHEF-KOCH/regtweaks
Win 10/20H2 (2009)/Cortana/Taskbar/Search Icons/(default) Enable full search bar.bat
bat
mpl-2.0
254
:: To build extensions for 64 bit Python 3, we need to configure environment :: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of: :: MS Windows SDK for Windows 7 and .NET Framework 4 (SDK v7.1) :: :: To build extensions for 64 bit Python 2, we need to configure environment :: variables to use the MSVC 2008 C++ compilers from GRMSDKX_EN_DVD.iso of: :: MS Windows SDK for Windows 7 and .NET Framework 3.5 (SDK v7.0) :: :: 32 bit builds, and 64-bit builds for 3.5 and beyond, do not require specific :: environment configurations. :: :: Note: this script needs to be run with the /E:ON and /V:ON flags for the :: cmd interpreter, at least for (SDK v7.0) :: :: More details at: :: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows :: https://stackoverflow.com/questions/11267463/compiling-python-modules-on-windows-x64/13751649#13751649 :: :: Author: Olivier Grisel :: License: CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/ :: :: Notes about batch files for Python people: :: :: Quotes in values are literally part of the values: :: SET FOO="bar" :: FOO is now five characters long: " b a r " :: If you don't want quotes, don't include them on the right-hand side. :: :: The CALL lines at the end of this file look redundant, but if you move them :: outside of the IF clauses, they do not run properly in the SET_SDK_64==Y :: case, I don't know why. @ECHO OFF SET COMMAND_TO_RUN=%* SET WIN_SDK_ROOT=C:\Program Files\Microsoft SDKs\Windows SET WIN_WDK=c:\Program Files (x86)\Windows Kits\10\Include\wdf :: Extract the major and minor versions, and allow for the minor version to be :: more than 9. This requires the version number to have two dots in it. SET MAJOR_PYTHON_VERSION=%PYTHON_VERSION:~0,1% IF "%PYTHON_VERSION:~3,1%" == "." ( SET MINOR_PYTHON_VERSION=%PYTHON_VERSION:~2,1% ) ELSE ( SET MINOR_PYTHON_VERSION=%PYTHON_VERSION:~2,2% ) :: Based on the Python version, determine what SDK version to use, and whether :: to set the SDK for 64-bit. IF %MAJOR_PYTHON_VERSION% == 2 ( SET WINDOWS_SDK_VERSION="v7.0" SET SET_SDK_64=Y ) ELSE ( IF %MAJOR_PYTHON_VERSION% == 3 ( SET WINDOWS_SDK_VERSION="v7.1" IF %MINOR_PYTHON_VERSION% LEQ 4 ( SET SET_SDK_64=Y ) ELSE ( SET SET_SDK_64=N IF EXIST "%WIN_WDK%" ( :: See: https://connect.microsoft.com/VisualStudio/feedback/details/1610302/ REN "%WIN_WDK%" 0wdf ) ) ) ELSE ( ECHO Unsupported Python version: "%MAJOR_PYTHON_VERSION%" EXIT 1 ) ) IF %PYTHON_ARCH% == 64 ( IF %SET_SDK_64% == Y ( ECHO Configuring Windows SDK %WINDOWS_SDK_VERSION% for Python %MAJOR_PYTHON_VERSION% on a 64 bit architecture SET DISTUTILS_USE_SDK=1 SET MSSdk=1 "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Setup\WindowsSdkVer.exe" -q -version:%WINDOWS_SDK_VERSION% "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Bin\SetEnv.cmd" /x64 /release ECHO Executing: %COMMAND_TO_RUN% call %COMMAND_TO_RUN% || EXIT 1 ) ELSE ( ECHO Using default MSVC build environment for 64 bit architecture ECHO Executing: %COMMAND_TO_RUN% call %COMMAND_TO_RUN% || EXIT 1 ) ) ELSE ( ECHO Using default MSVC build environment for 32 bit architecture ECHO Executing: %COMMAND_TO_RUN% call %COMMAND_TO_RUN% || EXIT 1 )
kmike/datrie
continuous_integration/appveyor/run_with_env.cmd
bat
lgpl-2.1
3,427
call mxmlc PfApiTest.as -load-config flexcfg.xml echo Build Code is %errorlevel% if %errorlevel% EQU 0 ( call adl PfApiTest.xml -- C:\depot\pf-main\tools\SDKBuildScripts\testTitleData.json ) else pause echo Test Code is %errorlevel% if %errorlevel% NEQ 0 pause
player-03/SDKGenerator
targets/actionscript/source/buildTests.bat
bat
apache-2.0
266
powershell -command "& 'e:\utils\gs\cpu_stat.ps1'"
romeroj1/potential-batman
scripts/dos/cpu_stat.bat
bat
apache-2.0
50
@echo off python dev_server.py --mysql=root:[email protected]:3306 --storage-path=/sae-storage/mese2014/ pause @echo on
hfercc/mese2014
startup_server.bat
bat
apache-2.0
120
generate-exe.py py2exe mkdir i2DX move dist i2DX\server xcopy /e /i ..\client i2DX\client copy config.ini i2DX\server\
ilian000/i2DX-HID
i2DXWeb/server/bundle.bat
bat
apache-2.0
118
:: Batch file for generating CMSIS pack :: This batch file uses: :: 7-Zip for packaging :: Doxygen version 1.8.2 and Mscgen version 0.20 for generating html documentation. :: The generated pack and pdsc file are placed in folder %RELEASE_PATH% (../../Local_Release) @ECHO off SETLOCAL :: Tool path for zipping tool 7-Zip SET ZIPPATH=C:\Program Files\7-Zip :: Tool path for doxygen SET DOXYGENPATH=C:\Program Files\doxygen\bin :: Tool path for mscgen utility SET MSCGENPATH=C:\Program Files (x86)\Mscgen :: These settings should be passed on to subprocesses as well SET PATH=%ZIPPATH%;%DOXYGENPATH%;%MSCGENPATH%;%PATH% :: Pack Path (where generated pack is stored) SET RELEASE_PATH=..\..\Local_Release :: !!!!!!!!!!!!!!!!! :: DO NOT EDIT BELOW :: !!!!!!!!!!!!!!!!! :: Remove previous build IF EXIST %RELEASE_PATH% ( ECHO removing %RELEASE_PATH% RMDIR /Q /S %RELEASE_PATH% ) :: Create build output directory MKDIR %RELEASE_PATH% :: Copy PDSC file COPY ..\..\ARM.CMSIS.pdsc %RELEASE_PATH%\ARM.CMSIS.pdsc :: Copy LICENSE file COPY ..\..\LICENSE %RELEASE_PATH%\LICENSE :: Copy Device folder XCOPY /Q /S /Y ..\..\Device\*.* %RELEASE_PATH%\Device\*.* :: Copy CMSIS folder :: -- Core files XCOPY /Q /S /Y ..\..\CMSIS\Core\Include\*.* %RELEASE_PATH%\CMSIS\Include\*.* :: -- DAP files XCOPY /Q /S /Y ..\..\CMSIS\DAP\*.* %RELEASE_PATH%\CMSIS\DAP\*.* :: -- Driver files XCOPY /Q /S /Y ..\..\CMSIS\Driver\*.* %RELEASE_PATH%\CMSIS\Driver\*.* :: -- DSP files XCOPY /Q /S /Y ..\..\CMSIS\DSP\Include\*.* %RELEASE_PATH%\CMSIS\Include\*.* XCOPY /Q /S /Y ..\..\CMSIS\DSP\Source\*.* %RELEASE_PATH%\CMSIS\DSP_Lib\Source\*.* XCOPY /Q /S /Y ..\..\CMSIS\DSP\Examples\*.* %RELEASE_PATH%\CMSIS\DSP_Lib\Examples\*.* :: -- DSP libraries XCOPY /Q /S /Y ..\..\CMSIS\DSP\Lib\ARM\*.lib %RELEASE_PATH%\CMSIS\Lib\ARM\*.* XCOPY /Q /S /Y ..\..\CMSIS\DSP\Lib\GCC\*.a %RELEASE_PATH%\CMSIS\Lib\GCC\*.* :: -- Pack files XCOPY /Q /S /Y ..\..\CMSIS\Pack\Example\*.* %RELEASE_PATH%\CMSIS\Pack\Example\*.* XCOPY /Q /S /Y ..\..\CMSIS\Pack\Tutorials\*.* %RELEASE_PATH%\CMSIS\Pack\Tutorials\*.* :: -- RTOS files XCOPY /Q /S /Y ..\..\CMSIS\RTOS\Template\*.* %RELEASE_PATH%\CMSIS\RTOS\Template\*.* XCOPY /Q /S /Y ..\..\CMSIS\RTOS\RTX\*.* %RELEASE_PATH%\CMSIS\RTOS\RTX\*.* :: -- RTOS2 files XCOPY /Q /S /Y ..\..\CMSIS\RTOS2\Template\*.* %RELEASE_PATH%\CMSIS\RTOS2\Template\*.* :: -- SVD files XCOPY /Q /S /Y ..\..\CMSIS\Utilities\ARM_Example.* %RELEASE_PATH%\CMSIS\SVD\*.* :: -- Utilities files XCOPY /Q /S /Y ..\..\CMSIS\Utilities\CMSIS-SVD.xsd %RELEASE_PATH%\CMSIS\Utilities\*.* XCOPY /Q /S /Y ..\..\CMSIS\Utilities\PACK.xsd %RELEASE_PATH%\CMSIS\Utilities\*.* XCOPY /Q /S /Y ..\..\CMSIS\Utilities\PackChk.exe %RELEASE_PATH%\CMSIS\Utilities\*.* XCOPY /Q /S /Y ..\..\CMSIS\Utilities\SVDConv.exe %RELEASE_PATH%\CMSIS\Utilities\*.* XCOPY /Q /S /Y ..\..\CMSIS\Utilities\SVDConv.linux %RELEASE_PATH%\CMSIS\Utilities\*.* :: -- index file COPY ..\..\CMSIS\index.html %RELEASE_PATH%\CMSIS\index.html :: Generate Documentation :: -- Generate doxygen files PUSHD ..\DoxyGen :: -- Delete previous generated HTML files ECHO. ECHO Delete previous generated HTML files PUSHD ..\Documentation FOR %%A IN (Core, DAP, Driver, DSP, General, Pack, RTOS, RTOS2, SVD) DO IF EXIST %%A (RMDIR /S /Q %%A) POPD :: -- Generate HTML Files ECHO. ECHO Generate HTML Files pushd Core doxygen core.dxy popd pushd DAP doxygen dap.dxy popd pushd Driver doxygen Driver.dxy popd pushd DSP doxygen dsp.dxy popd pushd General doxygen general.dxy popd pushd Pack doxygen Pack.dxy popd pushd RTOS doxygen rtos.dxy popd pushd RTOS2 doxygen rtos.dxy popd pushd SVD doxygen svd.dxy popd :: -- Copy search style sheet ECHO. ECHO Copy search style sheets copy /Y Doxygen_Templates\search.css ..\Documentation\CORE\html\search\. copy /Y Doxygen_Templates\search.css ..\Documentation\Driver\html\search\. REM copy /Y Doxygen_Templates\search.css ..\Documentation\General\html\search\. copy /Y Doxygen_Templates\search.css ..\Documentation\Pack\html\search\. REM copy /Y Doxygen_Templates\search.css ..\Documentation\SVD\html\search\. copy /Y Doxygen_Templates\search.css ..\Documentation\DSP\html\search\. copy /Y Doxygen_Templates\search.css ..\Documentation\DAP\html\search\. ECHO. POPD :: -- Copy generated doxygen files XCOPY /Q /S /Y ..\Documentation\*.* %RELEASE_PATH%\CMSIS\Documentation\*.* :: -- Remove generated doxygen files PUSHD ..\Documentation FOR %%A IN (Core, DAP, Driver, DSP, General, Pack, RTOS, RTOS2, SVD) DO IF EXIST %%A (RMDIR /S /Q %%A) POPD :: Checking PackChk.exe %RELEASE_PATH%\ARM.CMSIS.pdsc -n %RELEASE_PATH%\PackName.txt -x M353 :: --Check if PackChk.exe has completed successfully IF %errorlevel% neq 0 GOTO ErrPackChk :: Packing PUSHD %RELEASE_PATH% :: -- Pipe Pack's Name into Variable SET /P PackName=<PackName.txt DEL /Q PackName.txt :: Pack files 7z.exe a %PackName% -tzip POPD GOTO End :ErrPackChk ECHO PackChk.exe has encountered an error! EXIT /b :End ECHO removing temporary folders RMDIR /Q /S %RELEASE_PATH%\CMSIS RMDIR /Q /S %RELEASE_PATH%\Device DEL %RELEASE_PATH%\LICENSE ECHO PACK generation completed.
MatthiasHertel80/CMSIS_5
CMSIS/Utilities/gen_pack.bat
bat
apache-2.0
5,152
rem _____ _ _ _____ _____ rem / ____| | | | | /\ | __ \_ _| rem | | __ __ _ _ __ ___ ___| | ___| |_ / \ | |__) || | rem | | |_ |/ _` | '_ ` _ \ / _ \ |/ _ \ __| / /\ \ | ___/ | | rem | |__| | (_| | | | | | | __/ | __/ |_ / ____ \| | _| |_ rem \_____|\__,_|_| |_| |_|\___|_|\___|\__/_/ \_\_| |_____| rem __ _ _ _ _ _ rem / _| (_) | | (_) | | rem | |_ _ __ _ ___ _ __ __| | |_ ___| |_ rem | _| '__| |/ _ \ '_ \ / _` | | / __| __| rem | | | | | | __/ | | | (_| | | \__ \ |_ rem |_| |_| |_|\___|_| |_|\__,_|_|_|___/\__| rem rem +-----------------------------------------+ rem | By Jamie Phan [Lovemelody]| rem | https://www.jamiephan.net| rem |tw.gamelet.com/user.do?username=jamiephan| rem +-----------------------------------------+ rem rem Copyright 2017 Jamie Phan rem Licensed under the Apache License, Version 2.0 (the "License"); rem you may not use this file except in compliance with the License. rem You may obtain a copy of the License at rem http://www.apache.org/licenses/LICENSE-2.0 rem Unless required by applicable law or agreed to in writing, software rem distributed under the License is distributed on an "AS IS" BASIS, rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. rem See the License for the specific language governing permissions and rem limitations under the License. @echo off del output.* php ../../cli/friendlist.php -h php ../../cli/friendlist.php -u jamiephan -o output.xml php ../../cli/friendlist.php -u jamiephan -o output.json php ../../cli/friendlist.php -u jamiephan -o output.php php ../../cli/friendlist.php -u jamiephan -o output.txt php ../../cli/friendlist.php -u jamiephan -o output.csv php ../../cli/friendlist.php -u jamiephan -o output.rAnDomFiLe
jamiephan/GameletAPI.friendlist
test/cli/test.bat
bat
apache-2.0
2,151
@echo off python -m unittest discover
TBIproject/WolfEyes
unittests.bat
bat
bsd-3-clause
38
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . set I18NSPHINXOPTS=%SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% ) if "%1" == "" goto help if "%1" == "help" ( :help echo.Please use `make ^<target^>` where ^<target^> is one of echo. html to make standalone HTML files echo. dirhtml to make HTML files named index.html in directories echo. singlehtml to make a single large HTML file echo. pickle to make pickle files echo. json to make JSON files echo. htmlhelp to make HTML files and a HTML help project echo. qthelp to make HTML files and a qthelp project echo. devhelp to make HTML files and a Devhelp project echo. epub to make an epub echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter echo. text to make text files echo. man to make manual pages echo. texinfo to make Texinfo files echo. gettext to make PO message catalogs echo. changes to make an overview over all changed/added/deprecated items echo. xml to make Docutils-native XML files echo. pseudoxml to make pseudoxml-XML files for display purposes echo. linkcheck to check all external links for integrity echo. doctest to run all doctests embedded in the documentation if enabled goto end ) if "%1" == "clean" ( for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i del /q /s %BUILDDIR%\* goto end ) %SPHINXBUILD% 2> nul if errorlevel 9009 ( echo. echo.The 'sphinx-build' command was not found. Make sure you have Sphinx echo.installed, then set the SPHINXBUILD environment variable to point echo.to the full path of the 'sphinx-build' executable. Alternatively you echo.may add the Sphinx directory to PATH. echo. echo.If you don't have Sphinx installed, grab it from echo.http://sphinx-doc.org/ exit /b 1 ) if "%1" == "html" ( %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/html. goto end ) if "%1" == "dirhtml" ( %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. goto end ) if "%1" == "singlehtml" ( %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. goto end ) if "%1" == "pickle" ( %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the pickle files. goto end ) if "%1" == "json" ( %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the JSON files. goto end ) if "%1" == "htmlhelp" ( %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run HTML Help Workshop with the ^ .hhp project file in %BUILDDIR%/htmlhelp. goto end ) if "%1" == "qthelp" ( %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run "qcollectiongenerator" with the ^ .qhcp project file in %BUILDDIR%/qthelp, like this: echo.^> qcollectiongenerator %BUILDDIR%\qthelp\pymaybe.qhcp echo.To view the help file: echo.^> assistant -collectionFile %BUILDDIR%\qthelp\pymaybe.ghc goto end ) if "%1" == "devhelp" ( %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp if errorlevel 1 exit /b 1 echo. echo.Build finished. goto end ) if "%1" == "epub" ( %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub if errorlevel 1 exit /b 1 echo. echo.Build finished. The epub file is in %BUILDDIR%/epub. goto end ) if "%1" == "latex" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex if errorlevel 1 exit /b 1 echo. echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. goto end ) if "%1" == "latexpdf" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex cd %BUILDDIR%/latex make all-pdf cd %BUILDDIR%/.. echo. echo.Build finished; the PDF files are in %BUILDDIR%/latex. goto end ) if "%1" == "latexpdfja" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex cd %BUILDDIR%/latex make all-pdf-ja cd %BUILDDIR%/.. echo. echo.Build finished; the PDF files are in %BUILDDIR%/latex. goto end ) if "%1" == "text" ( %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text if errorlevel 1 exit /b 1 echo. echo.Build finished. The text files are in %BUILDDIR%/text. goto end ) if "%1" == "man" ( %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man if errorlevel 1 exit /b 1 echo. echo.Build finished. The manual pages are in %BUILDDIR%/man. goto end ) if "%1" == "texinfo" ( %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo if errorlevel 1 exit /b 1 echo. echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo. goto end ) if "%1" == "gettext" ( %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale if errorlevel 1 exit /b 1 echo. echo.Build finished. The message catalogs are in %BUILDDIR%/locale. goto end ) if "%1" == "changes" ( %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes if errorlevel 1 exit /b 1 echo. echo.The overview file is in %BUILDDIR%/changes. goto end ) if "%1" == "linkcheck" ( %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck if errorlevel 1 exit /b 1 echo. echo.Link check complete; look for any errors in the above output ^ or in %BUILDDIR%/linkcheck/output.txt. goto end ) if "%1" == "doctest" ( %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest if errorlevel 1 exit /b 1 echo. echo.Testing of doctests in the sources finished, look at the ^ results in %BUILDDIR%/doctest/output.txt. goto end ) if "%1" == "xml" ( %SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml if errorlevel 1 exit /b 1 echo. echo.Build finished. The XML files are in %BUILDDIR%/xml. goto end ) if "%1" == "pseudoxml" ( %SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml if errorlevel 1 exit /b 1 echo. echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml. goto end ) :end
ekampf/pymaybe
docs/make.bat
bat
bsd-3-clause
6,461
tfx build tasks upload --task-path ./triggerbuildtask
nobitagamer/TfsExtensions
BuildTasks/testextension.bat
bat
mit
53
@echo off setlocal set REAMQUERY_ZIP=reamquery.zip rem CI builds must provide this file as well set OMNISHARP_ZIP=omnisharp-win-x64-netcoreapp1.0.zip if "%CI%" == "" (echo LOCAL BUILD) if "%CI%" == "" (set PACKAGE_BASE=build) if "%CI%" == "" (set ELECTRON_OUT=ream-editor-win32-x64) if "%CI%" == "" (set DOTNET_RUNTIME=win10-x64) if "%CI%" == "" (rmdir /s /q %ELECTRON_OUT%) if "%CI%" == "" (rmdir /s /q %PACKAGE_BASE%) if not "%CI%" == "" (call npm install -g gulp-cli) if not "%CI%" == "" (call npm install -g typings) if not "%CI%" == "" (call npm install) if not "%CI%" == "" (call typings install) if not "%CI%" == "" (dotnet restore query) if not "%CI%" == "" (set DOTNET_RUNTIME=win81-x64) mkdir %PACKAGE_BASE% rem https://github.com/npm/npm/issues/2938#issuecomment-11337463 call npm run gulp-build copy index.static.html %PACKAGE_BASE%\index.html copy bundle.js %PACKAGE_BASE%\bundle.js rem electron adds a LICSENSE as well copy LICENSE %PACKAGE_BASE%\ream-editor-license.txt copy electron-main.js %PACKAGE_BASE%\electron-main.js copy package.json %PACKAGE_BASE%\package.json xcopy resources %PACKAGE_BASE%\resources\ /S dotnet build query\src\ReamQuery --runtime %DOTNET_RUNTIME% dotnet publish query\src\ReamQuery --configuration Release --output %PACKAGE_BASE%\query --runtime %DOTNET_RUNTIME% copy query\src\ReamQuery\nlog.config %PACKAGE_BASE%\query\nlog.config 7z x %OMNISHARP_ZIP% -y -o"%PACKAGE_BASE%\omnisharp" echo Create a zip dist of reamquery that backends will run against cd query 7z a %REAMQUERY_ZIP% NuGet.config global.json src\**\*.cs src\**\*.json -r 7z d %REAMQUERY_ZIP% bin\ -r 7z d %REAMQUERY_ZIP% obj\ -r move %REAMQUERY_ZIP% ..\%PACKAGE_BASE% echo Install startup dependencies cd ..\scripts\startup call npm install xcopy node_modules ..\..\%PACKAGE_BASE%\node_modules\ /S /Y copy omnisharp-setup.js ..\..\%PACKAGE_BASE%\omnisharp-setup.js cd ..\.. call npm run-script package_electron_win32 endlocal echo Build success exit /b 0
stofte/linq-editor
scripts/build.cmd
bat
mit
1,964
@echo off pushd %~dp0 "%VS120COMNTOOLS%..\IDE\mstest" /test:Microsoft.Protocols.TestSuites.MS_SHDACCWS.S01_VerifyIsSingleClient.MSSHDACCWS_S01_TC04_FileNotExistOnServer /testcontainer:..\..\MS-SHDACCWS\TestSuite\bin\Debug\MS-SHDACCWS_TestSuite.dll /runconfig:..\..\MS-SHDACCWS\MS-SHDACCWS.testsettings /unique pause
XinwLi/Interop-TestSuites-1
SharePoint/Source/Scripts/MS-SHDACCWS/RunMSSHDACCWS_S01_TC04_FileNotExistOnServer.cmd
bat
mit
315
@echo off pushd %~dp0 "%VS120COMNTOOLS%..\IDE\mstest" /test:Microsoft.Protocols.TestSuites.MS_OXCMSG.S03_SetMessageFlags.MSOXCMSG_S03_TC03_RopSetReadFlagsAsyncDisable /testcontainer:..\..\MS-OXCMSG\TestSuite\bin\Debug\MS-OXCMSG_TestSuite.dll /runconfig:..\..\MS-OXCMSG\MS-OXCMSG.testsettings /unique pause
OfficeDev/Interop-TestSuites
ExchangeMAPI/Source/Scripts/MS-OXCMSG/RunMSOXCMSG_S03_TC03_RopSetReadFlagsAsyncDisable.cmd
bat
mit
305
@echo off pushd %~dp0 "%VS120COMNTOOLS%..\IDE\mstest" /test:Microsoft.Protocols.TestSuites.MS_OXWSMTGS.S01_CreateGetDeleteCalendarRelatedItem.MSOXWSMTGS_S01_TC12_ModifyOccurrenceWithAbsoluteMonthlyPatternAndNoEndRange /testcontainer:..\..\MS-OXWSMTGS\TestSuite\bin\Debug\MS-OXWSMTGS_TestSuite.dll /runconfig:..\..\MS-OXWSMTGS\MS-OXWSMTGS.testsettings /unique pause
XinwLi/Interop-TestSuites-1
ExchangeWebServices/Source/Scripts/MS-OXWSMTGS/RunMSOXWSMTGS_S01_TC12_ModifyOccurrenceWithAbsoluteMonthlyPatternAndNoEndRange.cmd
bat
mit
364
java -classpath ../lib/antlr-3.2.jar org.antlr.Tool -fo ../src/main/java/com/espertech/esper/epl/generated EsperEPL2Grammar.g EsperEPL2Ast.g -Xmaxinlinedfastates 2000 java -classpath ../target/classes com.espertech.esper.util.ParserTool ../src/main/java/com/espertech/esper/epl/generated/EsperEPL2GrammarParser.java
intelie/esper
esper/grammar/antlrtool.bat
bat
gpl-2.0
318
cmd_net/netfilter/netfilter.o := /media/sagformas/47f72a56-be22-485d-ba83-da42e0d4eb18/fuentes/Samsung/TrendPlus/GT-S7580_JB_Opensource/rk-prebuilts/bin/arm-eabi-ld.bfd -EL -r -o net/netfilter/netfilter.o net/netfilter/core.o net/netfilter/nf_log.o net/netfilter/nf_queue.o net/netfilter/nf_sockopt.o
EPDCenter/android_kernel_archos_97_titan
net/netfilter/.netfilter.o.cmd
bat
gpl-2.0
305
set batdir=%~dp0 cd %batdir% call ..\utilities\findJava.bat echo Starting: buffer/java/FilePlayback.jar %* %javaexe% -cp "buffer\java\BufferClient.jar;buffer\java\FilePlayback.jar" nl.dcc.buffer_bci.FilePlayback %*
jadref/buffer_bci
dataAcq/startJavaFileProxy.bat
bat
gpl-3.0
215
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . set I18NSPHINXOPTS=%SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% ) if "%1" == "" goto help if "%1" == "help" ( :help echo.Please use `make ^<target^>` where ^<target^> is one of echo. html to make standalone HTML files echo. dirhtml to make HTML files named index.html in directories echo. singlehtml to make a single large HTML file echo. pickle to make pickle files echo. json to make JSON files echo. htmlhelp to make HTML files and a HTML help project echo. qthelp to make HTML files and a qthelp project echo. devhelp to make HTML files and a Devhelp project echo. epub to make an epub echo. epub3 to make an epub3 echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter echo. text to make text files echo. man to make manual pages echo. texinfo to make Texinfo files echo. gettext to make PO message catalogs echo. changes to make an overview over all changed/added/deprecated items echo. xml to make Docutils-native XML files echo. pseudoxml to make pseudoxml-XML files for display purposes echo. linkcheck to check all external links for integrity echo. doctest to run all doctests embedded in the documentation if enabled echo. coverage to run coverage check of the documentation if enabled echo. dummy to check syntax errors of document sources goto end ) if "%1" == "clean" ( for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i del /q /s %BUILDDIR%\* goto end ) REM Check if sphinx-build is available and fallback to Python version if any %SPHINXBUILD% 1>NUL 2>NUL if errorlevel 9009 goto sphinx_python goto sphinx_ok :sphinx_python set SPHINXBUILD=python -m sphinx.__init__ %SPHINXBUILD% 2> nul if errorlevel 9009 ( echo. echo.The 'sphinx-build' command was not found. Make sure you have Sphinx echo.installed, then set the SPHINXBUILD environment variable to point echo.to the full path of the 'sphinx-build' executable. Alternatively you echo.may add the Sphinx directory to PATH. echo. echo.If you don't have Sphinx installed, grab it from echo.http://sphinx-doc.org/ exit /b 1 ) :sphinx_ok if "%1" == "html" ( %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/html. goto end ) if "%1" == "dirhtml" ( %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. goto end ) if "%1" == "singlehtml" ( %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. goto end ) if "%1" == "pickle" ( %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the pickle files. goto end ) if "%1" == "json" ( %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the JSON files. goto end ) if "%1" == "htmlhelp" ( %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run HTML Help Workshop with the ^ .hhp project file in %BUILDDIR%/htmlhelp. goto end ) if "%1" == "qthelp" ( %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run "qcollectiongenerator" with the ^ .qhcp project file in %BUILDDIR%/qthelp, like this: echo.^> qcollectiongenerator %BUILDDIR%\qthelp\BartacusBundle.qhcp echo.To view the help file: echo.^> assistant -collectionFile %BUILDDIR%\qthelp\BartacusBundle.ghc goto end ) if "%1" == "devhelp" ( %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp if errorlevel 1 exit /b 1 echo. echo.Build finished. goto end ) if "%1" == "epub" ( %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub if errorlevel 1 exit /b 1 echo. echo.Build finished. The epub file is in %BUILDDIR%/epub. goto end ) if "%1" == "epub3" ( %SPHINXBUILD% -b epub3 %ALLSPHINXOPTS% %BUILDDIR%/epub3 if errorlevel 1 exit /b 1 echo. echo.Build finished. The epub3 file is in %BUILDDIR%/epub3. goto end ) if "%1" == "latex" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex if errorlevel 1 exit /b 1 echo. echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. goto end ) if "%1" == "latexpdf" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex cd %BUILDDIR%/latex make all-pdf cd %~dp0 echo. echo.Build finished; the PDF files are in %BUILDDIR%/latex. goto end ) if "%1" == "latexpdfja" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex cd %BUILDDIR%/latex make all-pdf-ja cd %~dp0 echo. echo.Build finished; the PDF files are in %BUILDDIR%/latex. goto end ) if "%1" == "text" ( %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text if errorlevel 1 exit /b 1 echo. echo.Build finished. The text files are in %BUILDDIR%/text. goto end ) if "%1" == "man" ( %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man if errorlevel 1 exit /b 1 echo. echo.Build finished. The manual pages are in %BUILDDIR%/man. goto end ) if "%1" == "texinfo" ( %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo if errorlevel 1 exit /b 1 echo. echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo. goto end ) if "%1" == "gettext" ( %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale if errorlevel 1 exit /b 1 echo. echo.Build finished. The message catalogs are in %BUILDDIR%/locale. goto end ) if "%1" == "changes" ( %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes if errorlevel 1 exit /b 1 echo. echo.The overview file is in %BUILDDIR%/changes. goto end ) if "%1" == "linkcheck" ( %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck if errorlevel 1 exit /b 1 echo. echo.Link check complete; look for any errors in the above output ^ or in %BUILDDIR%/linkcheck/output.txt. goto end ) if "%1" == "doctest" ( %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest if errorlevel 1 exit /b 1 echo. echo.Testing of doctests in the sources finished, look at the ^ results in %BUILDDIR%/doctest/output.txt. goto end ) if "%1" == "coverage" ( %SPHINXBUILD% -b coverage %ALLSPHINXOPTS% %BUILDDIR%/coverage if errorlevel 1 exit /b 1 echo. echo.Testing of coverage in the sources finished, look at the ^ results in %BUILDDIR%/coverage/python.txt. goto end ) if "%1" == "xml" ( %SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml if errorlevel 1 exit /b 1 echo. echo.Build finished. The XML files are in %BUILDDIR%/xml. goto end ) if "%1" == "pseudoxml" ( %SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml if errorlevel 1 exit /b 1 echo. echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml. goto end ) if "%1" == "dummy" ( %SPHINXBUILD% -b dummy %ALLSPHINXOPTS% %BUILDDIR%/dummy if errorlevel 1 exit /b 1 echo. echo.Build finished. Dummy builder generates no files. goto end ) :end
Bartacus/BartacusPlatformshBundle
Resources/doc/make.bat
bat
gpl-3.0
7,467
#!/bin/bash # base-tool generated command file LANG=C PYTHONUNBUFFERED=True exec /var/tmp/pbench-test-tool-scripts/opt/pbench-agent/tool-scripts/datalog/virsh-migrate-datalog 42 vm42
portante/pbench
agent/tool-scripts/tests/virsh-migrate/gold/tools-group/virsh-migrate/virsh-migrate.cmd
bat
gpl-3.0
184
::http://ss64.org/viewtopic.php?id=1554 @echo on :: this prints for %%A in ((nul)) do echo %%A :: before command prompt crash break | for %%A in () do echo %%A
TheBigBear/batch.scripts
discovers_and_bugs/bugs/FORbreaker.bat
bat
mit
161
@echo off ::Creates NuGet packages. Assumes "..\src\build.cmd Release" has already been executed. call "%~dp0..\version.cmd" > NUL rem Project settings set TargetDir=%~dp0..\build\Packages rem Prepare clean output directory if not exist "%TargetDir%" mkdir "%TargetDir%" del /q "%TargetDir%\*" echo Building NuGet packages... FOR %%A IN ("%~dp0*.nuspec") DO ( nuget pack "%%A" -Symbols -NoPackageAnalysis -Version "%version%" -OutputDirectory "%TargetDir%" if errorlevel 1 pause )
clawplach/0install-win
nuget/build.cmd
bat
lgpl-3.0
504
@echo off rem Cheridan asked for this. - N3X call "%~dp0\bootstrap\python" ss13_genchangelog.py ../html/changelog.html ../html/changelogs pause
erwgd/-tg-station
tools/makeChangelog.bat
bat
agpl-3.0
144
@echo off setlocal if NOT "%JAVA_APP_DIR%"=="" goto CHECK_SETENV REM Discover JAVA_APP_DIR from the script's location. pushd . cd %~dp0.. set "JAVA_APP_DIR=%CD%" :CHECK_SETENV if EXIST %JAVA_APP_DIR%\bin\setenv.cmd call %JAVA_APP_DIR%\bin\setenv.cmd if "%JAVA_MAIN_CLASS%"=="" ( if "${hawtapp.mvn.main.property}"=="" ( echo "No JAVA_MAIN_CLASS specified" goto :EOF ) else ( set JAVA_MAIN_CLASS=${hawtapp.mvn.main.property} ) ) :CHECK_JAVA_CLASSPATH if NOT "%JAVA_CLASSPATH%"=="" goto CHECK_DEBUG for /F "tokens=*" %%A in ( %JAVA_APP_DIR%\lib\classpath ) do ( CALL SET JAVA_CLASSPATH=%%JAVA_CLASSPATH%%;%JAVA_APP_DIR%\lib\%%A ) SET JAVA_CLASSPATH=%JAVA_CLASSPATH:~1% :CHECK_DEBUG REM Set debug options if required if NOT "%JAVA_ENABLE_DEBUG%"=="" ( if NOT "%JAVA_ENABLE_DEBUG%"=="false" ( set java_debug_args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 ) ) REM Compose the command line set arg_list= %java_debug_args% %JAVA_OPTIONS% -classpath "%JAVA_CLASSPATH%" %JAVA_MAIN_CLASS% if NOT "%JAVA_MAIN_ARGS%"=="" ( set arg_list=%arg_list% %JAVA_MAIN_ARGS% ) else ( set arg_list=%arg_list% %* ) echo Launching application in folder: %JAVA_APP_DIR% cd %JAVA_APP_DIR% echo Running java %arg_list% java %arg_list% :EOF
KurtStam/fabric8
hawt-app-maven-plugin/src/main/resources/io/fabric8/maven/hawt/app/bin/run.cmd
bat
apache-2.0
1,329
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . set I18NSPHINXOPTS=%SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% ) if "%1" == "" goto help if "%1" == "help" ( :help echo.Please use `make ^<target^>` where ^<target^> is one of echo. html to make standalone HTML files echo. dirhtml to make HTML files named index.html in directories echo. singlehtml to make a single large HTML file echo. pickle to make pickle files echo. json to make JSON files echo. htmlhelp to make HTML files and a HTML help project echo. qthelp to make HTML files and a qthelp project echo. devhelp to make HTML files and a Devhelp project echo. epub to make an epub echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter echo. text to make text files echo. man to make manual pages echo. texinfo to make Texinfo files echo. gettext to make PO message catalogs echo. changes to make an overview over all changed/added/deprecated items echo. linkcheck to check all external links for integrity echo. doctest to run all doctests embedded in the documentation if enabled goto end ) if "%1" == "clean" ( for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i del /q /s %BUILDDIR%\* goto end ) if "%1" == "html" ( %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/html. goto end ) if "%1" == "dirhtml" ( %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. goto end ) if "%1" == "singlehtml" ( %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. goto end ) if "%1" == "pickle" ( %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the pickle files. goto end ) if "%1" == "json" ( %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the JSON files. goto end ) if "%1" == "htmlhelp" ( %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run HTML Help Workshop with the ^ .hhp project file in %BUILDDIR%/htmlhelp. goto end ) if "%1" == "qthelp" ( %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run "qcollectiongenerator" with the ^ .qhcp project file in %BUILDDIR%/qthelp, like this: echo.^> qcollectiongenerator %BUILDDIR%\qthelp\{{ cookiecutter.repo_name }}.qhcp echo.To view the help file: echo.^> assistant -collectionFile %BUILDDIR%\qthelp\{{ cookiecutter.repo_name }}.ghc goto end ) if "%1" == "devhelp" ( %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp if errorlevel 1 exit /b 1 echo. echo.Build finished. goto end ) if "%1" == "epub" ( %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub if errorlevel 1 exit /b 1 echo. echo.Build finished. The epub file is in %BUILDDIR%/epub. goto end ) if "%1" == "latex" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex if errorlevel 1 exit /b 1 echo. echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. goto end ) if "%1" == "text" ( %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text if errorlevel 1 exit /b 1 echo. echo.Build finished. The text files are in %BUILDDIR%/text. goto end ) if "%1" == "man" ( %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man if errorlevel 1 exit /b 1 echo. echo.Build finished. The manual pages are in %BUILDDIR%/man. goto end ) if "%1" == "texinfo" ( %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo if errorlevel 1 exit /b 1 echo. echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo. goto end ) if "%1" == "gettext" ( %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale if errorlevel 1 exit /b 1 echo. echo.Build finished. The message catalogs are in %BUILDDIR%/locale. goto end ) if "%1" == "changes" ( %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes if errorlevel 1 exit /b 1 echo. echo.The overview file is in %BUILDDIR%/changes. goto end ) if "%1" == "linkcheck" ( %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck if errorlevel 1 exit /b 1 echo. echo.Link check complete; look for any errors in the above output ^ or in %BUILDDIR%/linkcheck/output.txt. goto end ) if "%1" == "doctest" ( %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest if errorlevel 1 exit /b 1 echo. echo.Testing of doctests in the sources finished, look at the ^ results in %BUILDDIR%/doctest/output.txt. goto end ) :end
crdoconnor/cookiecutter-django
{{cookiecutter.repo_name}}/docs/make.bat
bat
bsd-3-clause
5,140
@echo off SET version=v1.0.1 SET for_minecraft=1.9 SET for_realms=1.8.3 :: Minecraft path SET minecraft=%appdata%\.minecraft echo Sphinx Client Patch Installer %version% echo For Minecraft %for_minecraft%. echo For Realms %for_realms%. echo. :: Check to see if Minecraft can run Sphinx. echo Checking system requirements... if not exist "%minecraft%\versions\1.9" ( echo Cannot install Sphinx! echo You must have Minecraft installed in the default location and Minecraft 1.9 installed. goto end ) if exist "%minecraft%\versions\1.9-Sphinx" ( echo Sphinx is already installed! goto end ) :: Create tempoary directory. If it already exists, delete it and recreate it. if exist tmp ( del /F /S /Q tmp 1>nul rmdir /S /Q tmp ) mkdir tmp :: Download Sphinx version json file. echo Downloading patch... powershell -Command "(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/mitchfizz05/Sphinx/master/Sphinx-Patch/patches/1.9/1.9-Sphinx.json', 'tmp/Sphinx.json')" :: Install the patch. echo Installing patch... mkdir "%minecraft%\versions\1.9-Sphinx" >NUL copy /Y "%minecraft%\versions\1.9\1.9.jar" "%minecraft%\versions\1.9-Sphinx\1.9-Sphinx.jar" >NUL copy /Y "tmp\Sphinx.json" "%minecraft%\versions\1.9-Sphinx\1.9-Sphinx.json" >NUL echo. echo Patch successfully installed! :: Remove tempoary directory. (with a short delay so files can be unlocked) ping localhost -n 1 >NUL del /F /S /Q tmp 1>NUL rmdir /S /Q tmp >NUL goto end :end echo. pause
mitchfizz05/Sphinx
Sphinx-Patch/Installer/1.9/Windows/install.bat
bat
mit
1,486
"%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe" --pack-extension=%CD%\app
philipproplesch/delegator
build.bat
bat
mit
85
@echo off LackedMagazines.exe "host=127.0.0.1;port=6666;user=1;password=1;db=IBIS;" "2017/0" "output.htm"
amironov73/ManagedIrbis
Source/Classic/Apps/LackedMagazines/run.cmd
bat
mit
106
cd SampleLibraryA call Build.bat cd .. cd SampleLibraryB call Build.bat cd .. cd SampleLibraryC call Build.bat cd ..
rsuter/SampleProjectRepository
src/BuildAll.bat
bat
mit
118
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source set I18NSPHINXOPTS=%SPHINXOPTS% source if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% ) if "%1" == "" goto help if "%1" == "help" ( :help echo.Please use `make ^<target^>` where ^<target^> is one of echo. html to make standalone HTML files echo. dirhtml to make HTML files named index.html in directories echo. singlehtml to make a single large HTML file echo. pickle to make pickle files echo. json to make JSON files echo. htmlhelp to make HTML files and a HTML help project echo. qthelp to make HTML files and a qthelp project echo. devhelp to make HTML files and a Devhelp project echo. epub to make an epub echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter echo. text to make text files echo. man to make manual pages echo. texinfo to make Texinfo files echo. gettext to make PO message catalogs echo. changes to make an overview over all changed/added/deprecated items echo. xml to make Docutils-native XML files echo. pseudoxml to make pseudoxml-XML files for display purposes echo. linkcheck to check all external links for integrity echo. doctest to run all doctests embedded in the documentation if enabled goto end ) if "%1" == "clean" ( for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i del /q /s %BUILDDIR%\* goto end ) %SPHINXBUILD% 2> nul if errorlevel 9009 ( echo. echo.The 'sphinx-build' command was not found. Make sure you have Sphinx echo.installed, then set the SPHINXBUILD environment variable to point echo.to the full path of the 'sphinx-build' executable. Alternatively you echo.may add the Sphinx directory to PATH. echo. echo.If you don't have Sphinx installed, grab it from echo.http://sphinx-doc.org/ exit /b 1 ) if "%1" == "html" ( %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/html. goto end ) if "%1" == "dirhtml" ( %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. goto end ) if "%1" == "singlehtml" ( %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. goto end ) if "%1" == "pickle" ( %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the pickle files. goto end ) if "%1" == "json" ( %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the JSON files. goto end ) if "%1" == "htmlhelp" ( %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run HTML Help Workshop with the ^ .hhp project file in %BUILDDIR%/htmlhelp. goto end ) if "%1" == "qthelp" ( %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run "qcollectiongenerator" with the ^ .qhcp project file in %BUILDDIR%/qthelp, like this: echo.^> qcollectiongenerator %BUILDDIR%\qthelp\SWFCI.qhcp echo.To view the help file: echo.^> assistant -collectionFile %BUILDDIR%\qthelp\SWFCI.ghc goto end ) if "%1" == "devhelp" ( %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp if errorlevel 1 exit /b 1 echo. echo.Build finished. goto end ) if "%1" == "epub" ( %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub if errorlevel 1 exit /b 1 echo. echo.Build finished. The epub file is in %BUILDDIR%/epub. goto end ) if "%1" == "latex" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex if errorlevel 1 exit /b 1 echo. echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. goto end ) if "%1" == "latexpdf" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex cd %BUILDDIR%/latex make all-pdf cd %BUILDDIR%/.. echo. echo.Build finished; the PDF files are in %BUILDDIR%/latex. goto end ) if "%1" == "latexpdfja" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex cd %BUILDDIR%/latex make all-pdf-ja cd %BUILDDIR%/.. echo. echo.Build finished; the PDF files are in %BUILDDIR%/latex. goto end ) if "%1" == "text" ( %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text if errorlevel 1 exit /b 1 echo. echo.Build finished. The text files are in %BUILDDIR%/text. goto end ) if "%1" == "man" ( %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man if errorlevel 1 exit /b 1 echo. echo.Build finished. The manual pages are in %BUILDDIR%/man. goto end ) if "%1" == "texinfo" ( %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo if errorlevel 1 exit /b 1 echo. echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo. goto end ) if "%1" == "gettext" ( %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale if errorlevel 1 exit /b 1 echo. echo.Build finished. The message catalogs are in %BUILDDIR%/locale. goto end ) if "%1" == "changes" ( %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes if errorlevel 1 exit /b 1 echo. echo.The overview file is in %BUILDDIR%/changes. goto end ) if "%1" == "linkcheck" ( %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck if errorlevel 1 exit /b 1 echo. echo.Link check complete; look for any errors in the above output ^ or in %BUILDDIR%/linkcheck/output.txt. goto end ) if "%1" == "doctest" ( %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest if errorlevel 1 exit /b 1 echo. echo.Testing of doctests in the sources finished, look at the ^ results in %BUILDDIR%/doctest/output.txt. goto end ) if "%1" == "xml" ( %SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml if errorlevel 1 exit /b 1 echo. echo.Build finished. The XML files are in %BUILDDIR%/xml. goto end ) if "%1" == "pseudoxml" ( %SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml if errorlevel 1 exit /b 1 echo. echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml. goto end ) :end
wscoble/swf-ci
docs/make.bat
bat
mit
6,708
rem Runs the build process that creates the NuGet and Umbraco packages rem to debug add /bl to the MSBuild.exe task and use http://msbuildlog.com/ to view the binary log del /S /Q ..\UmbracoContent\* rem Update this to copy the folder from your Umbraco solution that contains the DiploAuditLogViewer folder within App_Plugins. rem This copies the DiploAuditLogViewer folder from your Umbraco solution into a folder called Umbraco that is then used to create the packages xcopy ..\Umbraco8Sql\App_Plugins\DiploAuditLogViewer ..\Umbraco\App_Plugins\DiploAuditLogViewer /e /i /h /s /y rem Update this path to MSBuild if different on your system. Use a recent version that recognises latest C# syntax. Call "%programfiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" package.build.xml /bl /p:Configuration=Release
DanDiplo/Umbraco.AuditLogViewer
BuildPackage/Build.bat
bat
mit
848
@echo off set PROJECTFOLDER=_project REM try to find cmake.exe in src/external/cmake/cmake.exe first, then in the PATH set EXTERNAL=src\external pushd %EXTERNAL% set EXTERNAL=%CD% popd set CMAKEBIN=%EXTERNAL%\cmake\bin\cmake.exe if not exist %CMAKEBIN% ( set CMAKEBIN= for %%X in (cmake.exe) do (set CMAKEBIN=%%~$PATH:X) ) set OUTPUTPATH=%~dp0%PROJECTFOLDER% if defined CMAKEBIN ( REM run cmake if exist %OUTPUTPATH% rmdir %OUTPUTPATH% /s /q mkdir %OUTPUTPATH% pushd %OUTPUTPATH% %CMAKEBIN% -G"Visual Studio 14 2015 Win64" .. popd ) else ( REM print error message echo Couldn't locate cmake. echo Please make sure that cmake.exe is in the PATH or copy a cmake echo distribution into %EXTERNAL%\cmake\ echo In that case cmake.exe is expected to be located at: echo %EXTERNAL%\cmake\bin\cmake.exe ) pause
cperthuis/GameCode
generateProject.bat
bat
mit
854
CALL venv\Scripts\activate.bat python -m tools.build_cython build_ext --inplace pause
fp12/yahtr
xbuild_cython.bat
bat
mit
85
/*-------------------------------------------------------------------*/ /* */ /* Compile options: */ /* */ /* CrtCmd Cmd( WRKCMNE ) */ /* Pgm( CBX9971 ) */ /* SrcMbr( CBX9971X ) */ /* VldCkr( CBX9971V ) */ /* Allow( *INTERACT *IPGM *IREXX *IMOD ) */ /* AlwLmtUsr( *NO ) */ /* HlpPnlGrp( CBX9971H ) */ /* HlpId( *CMD ) */ /* */ /*-------------------------------------------------------------------*/ Cmd Prompt( 'Work with Communication Entrs' ) Parm SBS Q0001 + Min( 1 ) + Prompt( 'Subsystem' ) Q0001: Qual *Name + Expr( *YES ) Qual *Name + Dft( *LIBL ) + SpcVal(( *LIBL ) ( *CURLIB )) + Expr( *YES ) + Prompt( 'Library' )
ChrisHird/CF_API
cbx9971/wrkcmne.cmd
bat
mit
1,680
nuget restore -SolutionDirectory ../ ../Rock.Core.XSerializer/Rock.Core.XSerializer.csproj msbuild /p:Configuration=Release /t:Clean;Rebuildmsbuild /p:Configuration=Release ..\Rock.Core.XSerializer\Rock.Core.XSerializer.csproj nuget pack ..\Rock.Core.XSerializer\Rock.Core.XSerializer.csproj -Properties Configuration=Release
RockFramework/Rock.Core
build/buildRockCoreXSerializerNuget.bat
bat
mit
328
@echo off setlocal call "%%~dp0__init__\__init__.bat" || exit /b "%CALLF_EXE_PATH%" /v "TEST" "123" "" "cmd.exe /c echo.TEST=%%TEST%%" pause
andry81/contools
Utilities/tests/manual/contools/callf/06-test--02-set_env_var.bat
bat
mit
154
..\packages\Doxygen.1.8.9.2\tools\doxygen.exe Doxyfile
aquamoth/SocketMessaging
Doxygen/doxyfile.bat
bat
mit
54
cmd_sound/sh/built-in.o := rm -f sound/sh/built-in.o; /home/rittik/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-ar rcsD sound/sh/built-in.o
RittikBhowmik/Project-Crater-Kernel-GT-i9152
sound/sh/.built-in.o.cmd
bat
gpl-2.0
157
cmd_drivers/media/usb/stk1160/built-in.o := rm -f drivers/media/usb/stk1160/built-in.o; ../tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi-ar rcsD drivers/media/usb/stk1160/built-in.o
avareldalton85/rpi2-linux-rt
drivers/media/usb/stk1160/.built-in.o.cmd
bat
gpl-2.0
223
cmd_arch/arm/mm/init.o := arm-linux-gnueabi-gcc -Wp,-MD,arch/arm/mm/.init.o.d -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabi/4.6/include -I/root/linux-jps/arch/arm/include -Iarch/arm/include/generated -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-rk30/include -Iarch/arm/plat-rk/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -marm -fno-dwarf2-cfi-asm -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(init)" -D"KBUILD_MODNAME=KBUILD_STR(init)" -c -o arch/arm/mm/init.o arch/arm/mm/init.c source_arch/arm/mm/init.o := arch/arm/mm/init.c deps_arch/arm/mm/init.o := \ $(wildcard include/config/of/flattree.h) \ $(wildcard include/config/zone/dma.h) \ $(wildcard include/config/highmem.h) \ $(wildcard include/config/have/arch/pfn/valid.h) \ $(wildcard include/config/sparsemem.h) \ $(wildcard include/config/xip/kernel.h) \ $(wildcard include/config/blk/dev/initrd.h) \ $(wildcard include/config/have/tcm.h) \ $(wildcard include/config/sa1111.h) \ $(wildcard include/config/mmu.h) \ $(wildcard include/config/vectors/base.h) \ include/linux/kernel.h \ $(wildcard include/config/lbdaf.h) \ $(wildcard include/config/preempt/voluntary.h) \ $(wildcard include/config/debug/spinlock/sleep.h) \ $(wildcard include/config/prove/locking.h) \ $(wildcard include/config/ring/buffer.h) \ $(wildcard include/config/tracing.h) \ $(wildcard include/config/numa.h) \ $(wildcard include/config/compaction.h) \ $(wildcard include/config/ftrace/mcount/record.h) \ /usr/lib/gcc/arm-linux-gnueabi/4.6/include/stdarg.h \ include/linux/linkage.h \ include/linux/compiler.h \ $(wildcard include/config/sparse/rcu/pointer.h) \ $(wildcard include/config/trace/branch/profiling.h) \ $(wildcard include/config/profile/all/branches.h) \ $(wildcard include/config/enable/must/check.h) \ $(wildcard include/config/enable/warn/deprecated.h) \ include/linux/compiler-gcc.h \ $(wildcard include/config/arch/supports/optimized/inlining.h) \ $(wildcard include/config/optimize/inlining.h) \ include/linux/compiler-gcc4.h \ /root/linux-jps/arch/arm/include/asm/linkage.h \ include/linux/stddef.h \ include/linux/types.h \ $(wildcard include/config/uid16.h) \ $(wildcard include/config/arch/dma/addr/t/64bit.h) \ $(wildcard include/config/phys/addr/t/64bit.h) \ $(wildcard include/config/64bit.h) \ /root/linux-jps/arch/arm/include/asm/types.h \ include/asm-generic/int-ll64.h \ /root/linux-jps/arch/arm/include/asm/bitsperlong.h \ include/asm-generic/bitsperlong.h \ include/linux/posix_types.h \ /root/linux-jps/arch/arm/include/asm/posix_types.h \ include/linux/bitops.h \ /root/linux-jps/arch/arm/include/asm/bitops.h \ $(wildcard include/config/smp.h) \ /root/linux-jps/arch/arm/include/asm/system.h \ $(wildcard include/config/function/graph/tracer.h) \ $(wildcard include/config/cpu/32v6k.h) \ $(wildcard include/config/cpu/xsc3.h) \ $(wildcard include/config/cpu/fa526.h) \ $(wildcard include/config/arch/has/barriers.h) \ $(wildcard include/config/arm/dma/mem/bufferable.h) \ $(wildcard include/config/cpu/sa1100.h) \ $(wildcard include/config/cpu/sa110.h) \ $(wildcard include/config/cpu/v6.h) \ include/linux/irqflags.h \ $(wildcard include/config/trace/irqflags.h) \ $(wildcard include/config/irqsoff/tracer.h) \ $(wildcard include/config/preempt/tracer.h) \ $(wildcard include/config/trace/irqflags/support.h) \ include/linux/typecheck.h \ /root/linux-jps/arch/arm/include/asm/irqflags.h \ /root/linux-jps/arch/arm/include/asm/ptrace.h \ $(wildcard include/config/cpu/endian/be8.h) \ $(wildcard include/config/arm/thumb.h) \ /root/linux-jps/arch/arm/include/asm/hwcap.h \ /root/linux-jps/arch/arm/include/asm/outercache.h \ $(wildcard include/config/outer/cache/sync.h) \ $(wildcard include/config/outer/cache.h) \ include/asm-generic/cmpxchg-local.h \ include/asm-generic/bitops/non-atomic.h \ include/asm-generic/bitops/fls64.h \ include/asm-generic/bitops/sched.h \ include/asm-generic/bitops/hweight.h \ include/asm-generic/bitops/arch_hweight.h \ include/asm-generic/bitops/const_hweight.h \ include/asm-generic/bitops/lock.h \ include/asm-generic/bitops/le.h \ /root/linux-jps/arch/arm/include/asm/byteorder.h \ include/linux/byteorder/little_endian.h \ include/linux/swab.h \ /root/linux-jps/arch/arm/include/asm/swab.h \ include/linux/byteorder/generic.h \ include/linux/log2.h \ $(wildcard include/config/arch/has/ilog2/u32.h) \ $(wildcard include/config/arch/has/ilog2/u64.h) \ include/linux/printk.h \ $(wildcard include/config/printk.h) \ $(wildcard include/config/dynamic/debug.h) \ include/linux/init.h \ $(wildcard include/config/modules.h) \ $(wildcard include/config/hotplug.h) \ include/linux/dynamic_debug.h \ /root/linux-jps/arch/arm/include/asm/bug.h \ $(wildcard include/config/bug.h) \ $(wildcard include/config/debug/bugverbose.h) \ include/asm-generic/bug.h \ $(wildcard include/config/generic/bug.h) \ $(wildcard include/config/generic/bug/relative/pointers.h) \ /root/linux-jps/arch/arm/include/asm/div64.h \ include/linux/errno.h \ /root/linux-jps/arch/arm/include/asm/errno.h \ include/asm-generic/errno.h \ include/asm-generic/errno-base.h \ include/linux/swap.h \ $(wildcard include/config/migration.h) \ $(wildcard include/config/memory/failure.h) \ $(wildcard include/config/swap.h) \ $(wildcard include/config/cgroup/mem/res/ctlr.h) \ $(wildcard include/config/cgroup/mem/res/ctlr/swap.h) \ include/linux/spinlock.h \ $(wildcard include/config/debug/spinlock.h) \ $(wildcard include/config/generic/lockbreak.h) \ $(wildcard include/config/preempt.h) \ $(wildcard include/config/debug/lock/alloc.h) \ include/linux/preempt.h \ $(wildcard include/config/debug/preempt.h) \ $(wildcard include/config/preempt/notifiers.h) \ include/linux/thread_info.h \ $(wildcard include/config/compat.h) \ /root/linux-jps/arch/arm/include/asm/thread_info.h \ $(wildcard include/config/arm/thumbee.h) \ /root/linux-jps/arch/arm/include/asm/fpstate.h \ $(wildcard include/config/vfpv3.h) \ $(wildcard include/config/iwmmxt.h) \ /root/linux-jps/arch/arm/include/asm/domain.h \ $(wildcard include/config/io/36.h) \ $(wildcard include/config/cpu/use/domains.h) \ include/linux/list.h \ $(wildcard include/config/debug/list.h) \ include/linux/poison.h \ $(wildcard include/config/illegal/pointer/value.h) \ include/linux/const.h \ include/linux/stringify.h \ include/linux/bottom_half.h \ include/linux/spinlock_types.h \ /root/linux-jps/arch/arm/include/asm/spinlock_types.h \ include/linux/lockdep.h \ $(wildcard include/config/lockdep.h) \ $(wildcard include/config/lock/stat.h) \ $(wildcard include/config/prove/rcu.h) \ include/linux/rwlock_types.h \ /root/linux-jps/arch/arm/include/asm/spinlock.h \ $(wildcard include/config/thumb2/kernel.h) \ /root/linux-jps/arch/arm/include/asm/processor.h \ $(wildcard include/config/have/hw/breakpoint.h) \ $(wildcard include/config/arm/errata/754327.h) \ /root/linux-jps/arch/arm/include/asm/hw_breakpoint.h \ include/linux/rwlock.h \ include/linux/spinlock_api_smp.h \ $(wildcard include/config/inline/spin/lock.h) \ $(wildcard include/config/inline/spin/lock/bh.h) \ $(wildcard include/config/inline/spin/lock/irq.h) \ $(wildcard include/config/inline/spin/lock/irqsave.h) \ $(wildcard include/config/inline/spin/trylock.h) \ $(wildcard include/config/inline/spin/trylock/bh.h) \ $(wildcard include/config/inline/spin/unlock.h) \ $(wildcard include/config/inline/spin/unlock/bh.h) \ $(wildcard include/config/inline/spin/unlock/irq.h) \ $(wildcard include/config/inline/spin/unlock/irqrestore.h) \ include/linux/rwlock_api_smp.h \ $(wildcard include/config/inline/read/lock.h) \ $(wildcard include/config/inline/write/lock.h) \ $(wildcard include/config/inline/read/lock/bh.h) \ $(wildcard include/config/inline/write/lock/bh.h) \ $(wildcard include/config/inline/read/lock/irq.h) \ $(wildcard include/config/inline/write/lock/irq.h) \ $(wildcard include/config/inline/read/lock/irqsave.h) \ $(wildcard include/config/inline/write/lock/irqsave.h) \ $(wildcard include/config/inline/read/trylock.h) \ $(wildcard include/config/inline/write/trylock.h) \ $(wildcard include/config/inline/read/unlock.h) \ $(wildcard include/config/inline/write/unlock.h) \ $(wildcard include/config/inline/read/unlock/bh.h) \ $(wildcard include/config/inline/write/unlock/bh.h) \ $(wildcard include/config/inline/read/unlock/irq.h) \ $(wildcard include/config/inline/write/unlock/irq.h) \ $(wildcard include/config/inline/read/unlock/irqrestore.h) \ $(wildcard include/config/inline/write/unlock/irqrestore.h) \ /root/linux-jps/arch/arm/include/asm/atomic.h \ $(wildcard include/config/generic/atomic64.h) \ include/asm-generic/atomic-long.h \ include/linux/mmzone.h \ $(wildcard include/config/force/max/zoneorder.h) \ $(wildcard include/config/zone/dma32.h) \ $(wildcard include/config/memory/hotplug.h) \ $(wildcard include/config/arch/populates/node/map.h) \ $(wildcard include/config/discontigmem.h) \ $(wildcard include/config/flat/node/mem/map.h) \ $(wildcard include/config/no/bootmem.h) \ $(wildcard include/config/have/memory/present.h) \ $(wildcard include/config/have/memoryless/nodes.h) \ $(wildcard include/config/need/node/memmap/size.h) \ $(wildcard include/config/need/multiple/nodes.h) \ $(wildcard include/config/have/arch/early/pfn/to/nid.h) \ $(wildcard include/config/flatmem.h) \ $(wildcard include/config/sparsemem/extreme.h) \ $(wildcard include/config/nodes/span/other/nodes.h) \ $(wildcard include/config/holes/in/zone.h) \ $(wildcard include/config/arch/has/holes/memorymodel.h) \ include/linux/wait.h \ /root/linux-jps/arch/arm/include/asm/current.h \ include/linux/cache.h \ $(wildcard include/config/arch/has/cache/line/size.h) \ /root/linux-jps/arch/arm/include/asm/cache.h \ $(wildcard include/config/arm/l1/cache/shift.h) \ $(wildcard include/config/aeabi.h) \ include/linux/threads.h \ $(wildcard include/config/nr/cpus.h) \ $(wildcard include/config/base/small.h) \ include/linux/numa.h \ $(wildcard include/config/nodes/shift.h) \ include/linux/seqlock.h \ include/linux/nodemask.h \ include/linux/bitmap.h \ include/linux/string.h \ $(wildcard include/config/binary/printf.h) \ /root/linux-jps/arch/arm/include/asm/string.h \ include/linux/pageblock-flags.h \ $(wildcard include/config/hugetlb/page.h) \ $(wildcard include/config/hugetlb/page/size/variable.h) \ include/generated/bounds.h \ /root/linux-jps/arch/arm/include/asm/page.h \ $(wildcard include/config/cpu/copy/v3.h) \ $(wildcard include/config/cpu/copy/v4wt.h) \ $(wildcard include/config/cpu/copy/v4wb.h) \ $(wildcard include/config/cpu/copy/feroceon.h) \ $(wildcard include/config/cpu/copy/fa.h) \ $(wildcard include/config/cpu/xscale.h) \ $(wildcard include/config/cpu/copy/v6.h) \ /root/linux-jps/arch/arm/include/asm/glue.h \ /root/linux-jps/arch/arm/include/asm/memory.h \ $(wildcard include/config/page/offset.h) \ $(wildcard include/config/dram/size.h) \ $(wildcard include/config/dram/base.h) \ $(wildcard include/config/arm/patch/phys/virt.h) \ $(wildcard include/config/arm/patch/phys/virt/16bit.h) \ arch/arm/mach-rk30/include/mach/memory.h \ include/linux/version.h \ arch/arm/mach-rk30/include/mach/io.h \ $(wildcard include/config/rk/debug/uart.h) \ /root/linux-jps/arch/arm/include/asm/sizes.h \ include/asm-generic/sizes.h \ include/asm-generic/memory_model.h \ $(wildcard include/config/sparsemem/vmemmap.h) \ include/asm-generic/getorder.h \ include/linux/memory_hotplug.h \ $(wildcard include/config/memory/hotremove.h) \ $(wildcard include/config/have/arch/nodedata/extension.h) \ include/linux/notifier.h \ include/linux/mutex.h \ $(wildcard include/config/debug/mutexes.h) \ $(wildcard include/config/have/arch/mutex/cpu/relax.h) \ include/linux/rwsem.h \ $(wildcard include/config/rwsem/generic/spinlock.h) \ include/linux/rwsem-spinlock.h \ include/linux/srcu.h \ include/linux/memcontrol.h \ $(wildcard include/config/transparent/hugepage.h) \ $(wildcard include/config/debug/vm.h) \ $(wildcard include/config/cgroup/mem/cont.h) \ include/linux/cgroup.h \ $(wildcard include/config/cgroups.h) \ include/linux/sched.h \ $(wildcard include/config/sched/debug.h) \ $(wildcard include/config/no/hz.h) \ $(wildcard include/config/lockup/detector.h) \ $(wildcard include/config/detect/hung/task.h) \ $(wildcard include/config/core/dump/default/elf/headers.h) \ $(wildcard include/config/sched/autogroup.h) \ $(wildcard include/config/virt/cpu/accounting.h) \ $(wildcard include/config/bsd/process/acct.h) \ $(wildcard include/config/taskstats.h) \ $(wildcard include/config/audit.h) \ $(wildcard include/config/inotify/user.h) \ $(wildcard include/config/fanotify.h) \ $(wildcard include/config/epoll.h) \ $(wildcard include/config/posix/mqueue.h) \ $(wildcard include/config/keys.h) \ $(wildcard include/config/perf/events.h) \ $(wildcard include/config/schedstats.h) \ $(wildcard include/config/task/delay/acct.h) \ $(wildcard include/config/fair/group/sched.h) \ $(wildcard include/config/rt/group/sched.h) \ $(wildcard include/config/blk/dev/io/trace.h) \ $(wildcard include/config/preempt/rcu.h) \ $(wildcard include/config/rcu/boost.h) \ $(wildcard include/config/tree/preempt/rcu.h) \ $(wildcard include/config/compat/brk.h) \ $(wildcard include/config/cc/stackprotector.h) \ $(wildcard include/config/sysvipc.h) \ $(wildcard include/config/auditsyscall.h) \ $(wildcard include/config/generic/hardirqs.h) \ $(wildcard include/config/rt/mutexes.h) \ $(wildcard include/config/block.h) \ $(wildcard include/config/task/xacct.h) \ $(wildcard include/config/cpusets.h) \ $(wildcard include/config/futex.h) \ $(wildcard include/config/fault/injection.h) \ $(wildcard include/config/latencytop.h) \ $(wildcard include/config/cpumask/offstack.h) \ $(wildcard include/config/have/unstable/sched/clock.h) \ $(wildcard include/config/irq/time/accounting.h) \ $(wildcard include/config/hotplug/cpu.h) \ $(wildcard include/config/proc/fs.h) \ $(wildcard include/config/stack/growsup.h) \ $(wildcard include/config/debug/stack/usage.h) \ $(wildcard include/config/cgroup/sched.h) \ $(wildcard include/config/mm/owner.h) \ /root/linux-jps/arch/arm/include/asm/param.h \ $(wildcard include/config/hz.h) \ include/linux/capability.h \ include/linux/timex.h \ include/linux/time.h \ $(wildcard include/config/arch/uses/gettimeoffset.h) \ include/linux/math64.h \ include/linux/param.h \ /root/linux-jps/arch/arm/include/asm/timex.h \ arch/arm/mach-rk30/include/mach/timex.h \ include/linux/jiffies.h \ include/linux/rbtree.h \ include/linux/cpumask.h \ $(wildcard include/config/debug/per/cpu/maps.h) \ $(wildcard include/config/disable/obsolete/cpumask/functions.h) \ include/linux/mm_types.h \ $(wildcard include/config/split/ptlock/cpus.h) \ $(wildcard include/config/want/page/debug/flags.h) \ $(wildcard include/config/kmemcheck.h) \ $(wildcard include/config/aio.h) \ $(wildcard include/config/mmu/notifier.h) \ include/linux/auxvec.h \ /root/linux-jps/arch/arm/include/asm/auxvec.h \ include/linux/prio_tree.h \ include/linux/completion.h \ include/linux/page-debug-flags.h \ $(wildcard include/config/page/poisoning.h) \ $(wildcard include/config/page/debug/something/else.h) \ /root/linux-jps/arch/arm/include/asm/mmu.h \ $(wildcard include/config/cpu/has/asid.h) \ /root/linux-jps/arch/arm/include/asm/cputime.h \ include/asm-generic/cputime.h \ include/linux/smp.h \ $(wildcard include/config/use/generic/smp/helpers.h) \ /root/linux-jps/arch/arm/include/asm/smp.h \ include/linux/sem.h \ include/linux/ipc.h \ /root/linux-jps/arch/arm/include/asm/ipcbuf.h \ /root/linux-jps/arch/arm/include/asm/sembuf.h \ include/linux/rcupdate.h \ $(wildcard include/config/rcu/torture/test.h) \ $(wildcard include/config/tree/rcu.h) \ $(wildcard include/config/tiny/rcu.h) \ $(wildcard include/config/tiny/preempt/rcu.h) \ $(wildcard include/config/debug/objects/rcu/head.h) \ $(wildcard include/config/preempt/rt.h) \ include/linux/debugobjects.h \ $(wildcard include/config/debug/objects.h) \ $(wildcard include/config/debug/objects/free.h) \ include/linux/rcutree.h \ include/linux/signal.h \ /root/linux-jps/arch/arm/include/asm/signal.h \ include/asm-generic/signal-defs.h \ /root/linux-jps/arch/arm/include/asm/sigcontext.h \ /root/linux-jps/arch/arm/include/asm/siginfo.h \ include/asm-generic/siginfo.h \ include/linux/pid.h \ include/linux/percpu.h \ $(wildcard include/config/need/per/cpu/embed/first/chunk.h) \ $(wildcard include/config/need/per/cpu/page/first/chunk.h) \ $(wildcard include/config/have/setup/per/cpu/area.h) \ include/linux/pfn.h \ /root/linux-jps/arch/arm/include/asm/percpu.h \ include/asm-generic/percpu.h \ include/linux/percpu-defs.h \ $(wildcard include/config/debug/force/weak/per/cpu.h) \ include/linux/topology.h \ $(wildcard include/config/sched/smt.h) \ $(wildcard include/config/sched/mc.h) \ $(wildcard include/config/sched/book.h) \ $(wildcard include/config/use/percpu/numa/node/id.h) \ /root/linux-jps/arch/arm/include/asm/topology.h \ include/asm-generic/topology.h \ include/linux/proportions.h \ include/linux/percpu_counter.h \ include/linux/seccomp.h \ $(wildcard include/config/seccomp.h) \ include/linux/rculist.h \ include/linux/rtmutex.h \ $(wildcard include/config/debug/rt/mutexes.h) \ include/linux/plist.h \ $(wildcard include/config/debug/pi/list.h) \ include/linux/resource.h \ /root/linux-jps/arch/arm/include/asm/resource.h \ include/asm-generic/resource.h \ include/linux/timer.h \ $(wildcard include/config/timer/stats.h) \ $(wildcard include/config/debug/objects/timers.h) \ include/linux/ktime.h \ $(wildcard include/config/ktime/scalar.h) \ include/linux/hrtimer.h \ $(wildcard include/config/high/res/timers.h) \ $(wildcard include/config/timerfd.h) \ include/linux/timerqueue.h \ include/linux/task_io_accounting.h \ $(wildcard include/config/task/io/accounting.h) \ include/linux/latencytop.h \ include/linux/cred.h \ $(wildcard include/config/debug/credentials.h) \ $(wildcard include/config/security.h) \ $(wildcard include/config/user/ns.h) \ include/linux/key.h \ $(wildcard include/config/sysctl.h) \ include/linux/sysctl.h \ include/linux/selinux.h \ $(wildcard include/config/security/selinux.h) \ include/linux/aio.h \ include/linux/workqueue.h \ $(wildcard include/config/debug/objects/work.h) \ $(wildcard include/config/freezer.h) \ include/linux/aio_abi.h \ include/linux/uio.h \ include/linux/cgroupstats.h \ include/linux/taskstats.h \ include/linux/prio_heap.h \ include/linux/gfp.h \ include/linux/mmdebug.h \ $(wildcard include/config/debug/virtual.h) \ include/linux/idr.h \ include/linux/cgroup_subsys.h \ $(wildcard include/config/cgroup/debug.h) \ $(wildcard include/config/cgroup/cpuacct.h) \ $(wildcard include/config/cgroup/device.h) \ $(wildcard include/config/cgroup/freezer.h) \ $(wildcard include/config/net/cls/cgroup.h) \ $(wildcard include/config/blk/cgroup.h) \ $(wildcard include/config/cgroup/perf.h) \ include/linux/vm_event_item.h \ include/linux/node.h \ $(wildcard include/config/memory/hotplug/sparse.h) \ $(wildcard include/config/hugetlbfs.h) \ include/linux/sysdev.h \ include/linux/kobject.h \ include/linux/sysfs.h \ $(wildcard include/config/sysfs.h) \ include/linux/kobject_ns.h \ include/linux/kref.h \ include/linux/module.h \ $(wildcard include/config/symbol/prefix.h) \ $(wildcard include/config/modversions.h) \ $(wildcard include/config/unused/symbols.h) \ $(wildcard include/config/kallsyms.h) \ $(wildcard include/config/tracepoints.h) \ $(wildcard include/config/event/tracing.h) \ $(wildcard include/config/module/unload.h) \ $(wildcard include/config/constructors.h) \ $(wildcard include/config/debug/set/module/ronx.h) \ include/linux/stat.h \ /root/linux-jps/arch/arm/include/asm/stat.h \ include/linux/kmod.h \ include/linux/elf.h \ include/linux/elf-em.h \ /root/linux-jps/arch/arm/include/asm/elf.h \ /root/linux-jps/arch/arm/include/asm/user.h \ include/linux/moduleparam.h \ $(wildcard include/config/alpha.h) \ $(wildcard include/config/ia64.h) \ $(wildcard include/config/ppc64.h) \ include/linux/tracepoint.h \ include/linux/jump_label.h \ $(wildcard include/config/jump/label.h) \ /root/linux-jps/arch/arm/include/asm/module.h \ $(wildcard include/config/arm/unwind.h) \ include/trace/events/module.h \ include/trace/define_trace.h \ include/linux/pm.h \ $(wildcard include/config/pm.h) \ $(wildcard include/config/pm/sleep.h) \ $(wildcard include/config/pm/runtime.h) \ include/linux/bootmem.h \ $(wildcard include/config/have/arch/bootmem/node.h) \ $(wildcard include/config/have/arch/alloc/remap.h) \ /root/linux-jps/arch/arm/include/asm/dma.h \ $(wildcard include/config/isa/dma/api.h) \ $(wildcard include/config/pci.h) \ include/linux/mman.h \ /root/linux-jps/arch/arm/include/asm/mman.h \ include/asm-generic/mman.h \ include/asm-generic/mman-common.h \ $(wildcard include/config/mmap/allow/uninitialized.h) \ include/linux/mm.h \ $(wildcard include/config/ksm.h) \ $(wildcard include/config/debug/pagealloc.h) \ $(wildcard include/config/hibernation.h) \ include/linux/debug_locks.h \ $(wildcard include/config/debug/locking/api/selftests.h) \ include/linux/range.h \ include/linux/bit_spinlock.h \ /root/linux-jps/arch/arm/include/asm/pgtable.h \ $(wildcard include/config/highpte.h) \ include/asm-generic/4level-fixup.h \ /root/linux-jps/arch/arm/include/asm/proc-fns.h \ /root/linux-jps/arch/arm/include/asm/glue-proc.h \ $(wildcard include/config/cpu/arm610.h) \ $(wildcard include/config/cpu/arm7tdmi.h) \ $(wildcard include/config/cpu/arm710.h) \ $(wildcard include/config/cpu/arm720t.h) \ $(wildcard include/config/cpu/arm740t.h) \ $(wildcard include/config/cpu/arm9tdmi.h) \ $(wildcard include/config/cpu/arm920t.h) \ $(wildcard include/config/cpu/arm922t.h) \ $(wildcard include/config/cpu/arm925t.h) \ $(wildcard include/config/cpu/arm926t.h) \ $(wildcard include/config/cpu/arm940t.h) \ $(wildcard include/config/cpu/arm946e.h) \ $(wildcard include/config/cpu/arm1020.h) \ $(wildcard include/config/cpu/arm1020e.h) \ $(wildcard include/config/cpu/arm1022.h) \ $(wildcard include/config/cpu/arm1026.h) \ $(wildcard include/config/cpu/mohawk.h) \ $(wildcard include/config/cpu/feroceon.h) \ $(wildcard include/config/cpu/v6k.h) \ $(wildcard include/config/cpu/v7.h) \ arch/arm/mach-rk30/include/mach/vmalloc.h \ /root/linux-jps/arch/arm/include/asm/pgtable-hwdef.h \ include/asm-generic/pgtable.h \ include/linux/page-flags.h \ $(wildcard include/config/pageflags/extended.h) \ $(wildcard include/config/arch/uses/pg/uncached.h) \ $(wildcard include/config/s390.h) \ include/linux/huge_mm.h \ include/linux/vmstat.h \ $(wildcard include/config/vm/event/counters.h) \ include/linux/initrd.h \ include/linux/of_fdt.h \ include/linux/highmem.h \ $(wildcard include/config/x86/32.h) \ $(wildcard include/config/debug/highmem.h) \ include/linux/fs.h \ $(wildcard include/config/quota.h) \ $(wildcard include/config/fsnotify.h) \ $(wildcard include/config/ima.h) \ $(wildcard include/config/fs/posix/acl.h) \ $(wildcard include/config/debug/writecount.h) \ $(wildcard include/config/file/locking.h) \ $(wildcard include/config/fs/xip.h) \ include/linux/limits.h \ include/linux/ioctl.h \ /root/linux-jps/arch/arm/include/asm/ioctl.h \ include/asm-generic/ioctl.h \ include/linux/blk_types.h \ $(wildcard include/config/blk/dev/integrity.h) \ include/linux/kdev_t.h \ include/linux/dcache.h \ include/linux/rculist_bl.h \ include/linux/list_bl.h \ include/linux/path.h \ include/linux/radix-tree.h \ include/linux/semaphore.h \ include/linux/fiemap.h \ include/linux/quota.h \ $(wildcard include/config/quota/netlink/interface.h) \ include/linux/dqblk_xfs.h \ include/linux/dqblk_v1.h \ include/linux/dqblk_v2.h \ include/linux/dqblk_qtree.h \ include/linux/nfs_fs_i.h \ include/linux/nfs.h \ include/linux/sunrpc/msg_prot.h \ include/linux/inet.h \ include/linux/fcntl.h \ /root/linux-jps/arch/arm/include/asm/fcntl.h \ include/asm-generic/fcntl.h \ include/linux/err.h \ include/linux/uaccess.h \ /root/linux-jps/arch/arm/include/asm/uaccess.h \ /root/linux-jps/arch/arm/include/asm/unified.h \ $(wildcard include/config/arm/asm/unified.h) \ include/linux/hardirq.h \ include/linux/ftrace_irq.h \ $(wildcard include/config/ftrace/nmi/enter.h) \ /root/linux-jps/arch/arm/include/asm/hardirq.h \ $(wildcard include/config/local/timers.h) \ /root/linux-jps/arch/arm/include/asm/irq.h \ arch/arm/mach-rk30/include/mach/irqs.h \ include/linux/irq_cpustat.h \ /root/linux-jps/arch/arm/include/asm/cacheflush.h \ $(wildcard include/config/smp/on/up.h) \ $(wildcard include/config/arm/errata/411920.h) \ $(wildcard include/config/cpu/cache/vipt.h) \ /root/linux-jps/arch/arm/include/asm/glue-cache.h \ $(wildcard include/config/cpu/cache/v3.h) \ $(wildcard include/config/cpu/cache/v4.h) \ $(wildcard include/config/cpu/cache/v4wb.h) \ /root/linux-jps/arch/arm/include/asm/shmparam.h \ /root/linux-jps/arch/arm/include/asm/cachetype.h \ $(wildcard include/config/cpu/cache/vivt.h) \ /root/linux-jps/arch/arm/include/asm/kmap_types.h \ /root/linux-jps/arch/arm/include/asm/highmem.h \ $(wildcard include/config/cpu/tlb/v6.h) \ include/linux/memblock.h \ $(wildcard include/config/have/memblock.h) \ /root/linux-jps/arch/arm/include/asm/memblock.h \ include/linux/sort.h \ /root/linux-jps/arch/arm/include/asm/mach-types.h \ include/generated/mach-types.h \ $(wildcard include/config/arch/ebsa110.h) \ $(wildcard include/config/arch/rpc.h) \ $(wildcard include/config/arch/ebsa285.h) \ $(wildcard include/config/arch/netwinder.h) \ $(wildcard include/config/arch/cats.h) \ $(wildcard include/config/arch/shark.h) \ $(wildcard include/config/sa1100/brutus.h) \ $(wildcard include/config/arch/personal/server.h) \ $(wildcard include/config/arch/l7200.h) \ $(wildcard include/config/sa1100/pleb.h) \ $(wildcard include/config/arch/integrator.h) \ $(wildcard include/config/sa1100/h3600.h) \ $(wildcard include/config/arch/p720t.h) \ $(wildcard include/config/sa1100/assabet.h) \ $(wildcard include/config/sa1100/lart.h) \ $(wildcard include/config/sa1100/graphicsclient.h) \ $(wildcard include/config/sa1100/xp860.h) \ $(wildcard include/config/sa1100/cerf.h) \ $(wildcard include/config/sa1100/nanoengine.h) \ $(wildcard include/config/sa1100/jornada720.h) \ $(wildcard include/config/arch/edb7211.h) \ $(wildcard include/config/sa1100/pfs168.h) \ $(wildcard include/config/sa1100/flexanet.h) \ $(wildcard include/config/sa1100/simpad.h) \ $(wildcard include/config/arch/lubbock.h) \ $(wildcard include/config/arch/clep7212.h) \ $(wildcard include/config/sa1100/shannon.h) \ $(wildcard include/config/sa1100/consus.h) \ $(wildcard include/config/arch/aaed2000.h) \ $(wildcard include/config/arch/cdb89712.h) \ $(wildcard include/config/sa1100/graphicsmaster.h) \ $(wildcard include/config/sa1100/adsbitsy.h) \ $(wildcard include/config/arch/pxa/idp.h) \ $(wildcard include/config/sa1100/pt/system3.h) \ $(wildcard include/config/arch/autcpu12.h) \ $(wildcard include/config/sa1100/h3100.h) \ $(wildcard include/config/sa1100/collie.h) \ $(wildcard include/config/sa1100/badge4.h) \ $(wildcard include/config/arch/fortunet.h) \ $(wildcard include/config/arch/mx1ads.h) \ $(wildcard include/config/arch/h7201.h) \ $(wildcard include/config/arch/h7202.h) \ $(wildcard include/config/arch/iq80321.h) \ $(wildcard include/config/arch/ks8695.h) \ $(wildcard include/config/arch/smdk2410.h) \ $(wildcard include/config/arch/ceiva.h) \ $(wildcard include/config/mach/voiceblue.h) \ $(wildcard include/config/arch/h5400.h) \ $(wildcard include/config/mach/omap/innovator.h) \ $(wildcard include/config/arch/ixdp2400.h) \ $(wildcard include/config/arch/ixdp2800.h) \ $(wildcard include/config/arch/ixdp425.h) \ $(wildcard include/config/sa1100/hackkit.h) \ $(wildcard include/config/arch/ixcdp1100.h) \ $(wildcard include/config/arch/at91rm9200dk.h) \ $(wildcard include/config/arch/cintegrator.h) \ $(wildcard include/config/arch/viper.h) \ $(wildcard include/config/arch/adi/coyote.h) \ $(wildcard include/config/arch/ixdp2401.h) \ $(wildcard include/config/arch/ixdp2801.h) \ $(wildcard include/config/arch/iq31244.h) \ $(wildcard include/config/arch/bast.h) \ $(wildcard include/config/arch/h1940.h) \ $(wildcard include/config/arch/enp2611.h) \ $(wildcard include/config/arch/s3c2440.h) \ $(wildcard include/config/arch/gumstix.h) \ $(wildcard include/config/mach/omap/h2.h) \ $(wildcard include/config/mach/e740.h) \ $(wildcard include/config/arch/iq80331.h) \ $(wildcard include/config/arch/versatile/pb.h) \ $(wildcard include/config/mach/kev7a400.h) \ $(wildcard include/config/mach/lpd7a400.h) \ $(wildcard include/config/mach/lpd7a404.h) \ $(wildcard include/config/mach/csb337.h) \ $(wildcard include/config/mach/mainstone.h) \ $(wildcard include/config/mach/xcep.h) \ $(wildcard include/config/mach/arcom/vulcan.h) \ $(wildcard include/config/mach/nomadik.h) \ $(wildcard include/config/mach/corgi.h) \ $(wildcard include/config/mach/poodle.h) \ $(wildcard include/config/mach/armcore.h) \ $(wildcard include/config/mach/mx31ads.h) \ $(wildcard include/config/mach/himalaya.h) \ $(wildcard include/config/mach/edb9312.h) \ $(wildcard include/config/mach/omap/generic.h) \ $(wildcard include/config/mach/edb9301.h) \ $(wildcard include/config/mach/edb9315.h) \ $(wildcard include/config/mach/vr1000.h) \ $(wildcard include/config/mach/omap/perseus2.h) \ $(wildcard include/config/mach/e800.h) \ $(wildcard include/config/mach/e750.h) \ $(wildcard include/config/mach/scb9328.h) \ $(wildcard include/config/mach/omap/h3.h) \ $(wildcard include/config/mach/omap/h4.h) \ $(wildcard include/config/mach/omap/osk.h) \ $(wildcard include/config/mach/tosa.h) \ $(wildcard include/config/mach/avila.h) \ $(wildcard include/config/mach/edb9302.h) \ $(wildcard include/config/mach/husky.h) \ $(wildcard include/config/mach/shepherd.h) \ $(wildcard include/config/mach/h4700.h) \ $(wildcard include/config/mach/rx3715.h) \ $(wildcard include/config/mach/nslu2.h) \ $(wildcard include/config/mach/e400.h) \ $(wildcard include/config/mach/ixdpg425.h) \ $(wildcard include/config/mach/versatile/ab.h) \ $(wildcard include/config/mach/edb9307.h) \ $(wildcard include/config/mach/kb9200.h) \ $(wildcard include/config/mach/sx1.h) \ $(wildcard include/config/mach/ixdp465.h) \ $(wildcard include/config/mach/ixdp2351.h) \ $(wildcard include/config/mach/iq80332.h) \ $(wildcard include/config/mach/gtwx5715.h) \ $(wildcard include/config/mach/csb637.h) \ $(wildcard include/config/mach/n30.h) \ $(wildcard include/config/mach/nec/mp900.h) \ $(wildcard include/config/mach/kafa.h) \ $(wildcard include/config/mach/ts72xx.h) \ $(wildcard include/config/mach/otom.h) \ $(wildcard include/config/mach/nexcoder/2440.h) \ $(wildcard include/config/mach/eco920.h) \ $(wildcard include/config/mach/roadrunner.h) \ $(wildcard include/config/mach/at91rm9200ek.h) \ $(wildcard include/config/mach/spitz.h) \ $(wildcard include/config/mach/adssphere.h) \ $(wildcard include/config/mach/colibri.h) \ $(wildcard include/config/mach/gateway7001.h) \ $(wildcard include/config/mach/pcm027.h) \ $(wildcard include/config/mach/anubis.h) \ $(wildcard include/config/mach/akita.h) \ $(wildcard include/config/mach/e330.h) \ $(wildcard include/config/mach/nokia770.h) \ $(wildcard include/config/mach/carmeva.h) \ $(wildcard include/config/mach/edb9315a.h) \ $(wildcard include/config/mach/stargate2.h) \ $(wildcard include/config/mach/intelmote2.h) \ $(wildcard include/config/mach/trizeps4.h) \ $(wildcard include/config/mach/pnx4008.h) \ $(wildcard include/config/mach/cpuat91.h) \ $(wildcard include/config/mach/iq81340sc.h) \ $(wildcard include/config/mach/iq81340mc.h) \ $(wildcard include/config/mach/micro9.h) \ $(wildcard include/config/mach/micro9l.h) \ $(wildcard include/config/mach/omap/palmte.h) \ $(wildcard include/config/mach/realview/eb.h) \ $(wildcard include/config/mach/borzoi.h) \ $(wildcard include/config/mach/palmld.h) \ $(wildcard include/config/mach/ixdp28x5.h) \ $(wildcard include/config/mach/omap/palmtt.h) \ $(wildcard include/config/mach/arcom/zeus.h) \ $(wildcard include/config/mach/osiris.h) \ $(wildcard include/config/mach/palmte2.h) \ $(wildcard include/config/mach/mx27ads.h) \ $(wildcard include/config/mach/at91sam9261ek.h) \ $(wildcard include/config/mach/loft.h) \ $(wildcard include/config/mach/mx21ads.h) \ $(wildcard include/config/mach/ams/delta.h) \ $(wildcard include/config/mach/nas100d.h) \ $(wildcard include/config/mach/magician.h) \ $(wildcard include/config/mach/nxdkn.h) \ $(wildcard include/config/mach/palmtx.h) \ $(wildcard include/config/mach/s3c2413.h) \ $(wildcard include/config/mach/wg302v2.h) \ $(wildcard include/config/mach/omap/2430sdp.h) \ $(wildcard include/config/mach/davinci/evm.h) \ $(wildcard include/config/mach/palmz72.h) \ $(wildcard include/config/mach/nxdb500.h) \ $(wildcard include/config/mach/palmt5.h) \ $(wildcard include/config/mach/palmtc.h) \ $(wildcard include/config/mach/omap/apollon.h) \ $(wildcard include/config/mach/ateb9200.h) \ $(wildcard include/config/mach/n35.h) \ $(wildcard include/config/mach/logicpd/pxa270.h) \ $(wildcard include/config/mach/nxeb500hmi.h) \ $(wildcard include/config/mach/espresso.h) \ $(wildcard include/config/mach/rx1950.h) \ $(wildcard include/config/mach/gesbc9312.h) \ $(wildcard include/config/mach/picotux2xx.h) \ $(wildcard include/config/mach/dsmg600.h) \ $(wildcard include/config/mach/omap/fsample.h) \ $(wildcard include/config/mach/snapper/cl15.h) \ $(wildcard include/config/mach/omap/palmz71.h) \ $(wildcard include/config/mach/smdk2412.h) \ $(wildcard include/config/mach/smdk2413.h) \ $(wildcard include/config/mach/aml/m5900.h) \ $(wildcard include/config/mach/balloon3.h) \ $(wildcard include/config/mach/ecbat91.h) \ $(wildcard include/config/mach/onearm.h) \ $(wildcard include/config/mach/smdk2443.h) \ $(wildcard include/config/mach/fsg.h) \ $(wildcard include/config/mach/at91sam9260ek.h) \ $(wildcard include/config/mach/glantank.h) \ $(wildcard include/config/mach/n2100.h) \ $(wildcard include/config/mach/qt2410.h) \ $(wildcard include/config/mach/kixrp435.h) \ $(wildcard include/config/mach/cc9p9360dev.h) \ $(wildcard include/config/mach/edb9302a.h) \ $(wildcard include/config/mach/edb9307a.h) \ $(wildcard include/config/mach/omap/3430sdp.h) \ $(wildcard include/config/mach/vstms.h) \ $(wildcard include/config/mach/micro9m.h) \ $(wildcard include/config/mach/bug.h) \ $(wildcard include/config/mach/at91sam9263ek.h) \ $(wildcard include/config/mach/em7210.h) \ $(wildcard include/config/mach/vpac270.h) \ $(wildcard include/config/mach/treo680.h) \ $(wildcard include/config/mach/zylonite.h) \ $(wildcard include/config/mach/mx31lite.h) \ $(wildcard include/config/mach/mioa701.h) \ $(wildcard include/config/mach/armadillo5x0.h) \ $(wildcard include/config/mach/cc9p9360js.h) \ $(wildcard include/config/mach/smdk6400.h) \ $(wildcard include/config/mach/nokia/n800.h) \ $(wildcard include/config/mach/ep80219.h) \ $(wildcard include/config/mach/goramo/mlr.h) \ $(wildcard include/config/mach/em/x270.h) \ $(wildcard include/config/mach/neo1973/gta02.h) \ $(wildcard include/config/mach/at91sam9rlek.h) \ $(wildcard include/config/mach/colibri320.h) \ $(wildcard include/config/mach/cam60.h) \ $(wildcard include/config/mach/at91eb01.h) \ $(wildcard include/config/mach/db88f5281.h) \ $(wildcard include/config/mach/csb726.h) \ $(wildcard include/config/mach/davinci/dm6467/evm.h) \ $(wildcard include/config/mach/davinci/dm355/evm.h) \ $(wildcard include/config/mach/littleton.h) \ $(wildcard include/config/mach/realview/pb11mp.h) \ $(wildcard include/config/mach/mx27/3ds.h) \ $(wildcard include/config/mach/halibut.h) \ $(wildcard include/config/mach/trout.h) \ $(wildcard include/config/mach/tct/hammer.h) \ $(wildcard include/config/mach/herald.h) \ $(wildcard include/config/mach/sim/one.h) \ $(wildcard include/config/mach/jive.h) \ $(wildcard include/config/mach/sam9/l9260.h) \ $(wildcard include/config/mach/realview/pb1176.h) \ $(wildcard include/config/mach/yl9200.h) \ $(wildcard include/config/mach/rd88f5182.h) \ $(wildcard include/config/mach/kurobox/pro.h) \ $(wildcard include/config/mach/mx31/3ds.h) \ $(wildcard include/config/mach/qong.h) \ $(wildcard include/config/mach/omap2evm.h) \ $(wildcard include/config/mach/omap3evm.h) \ $(wildcard include/config/mach/dns323.h) \ $(wildcard include/config/mach/omap3/beagle.h) \ $(wildcard include/config/mach/nokia/n810.h) \ $(wildcard include/config/mach/pcm038.h) \ $(wildcard include/config/mach/ts209.h) \ $(wildcard include/config/mach/at91cap9adk.h) \ $(wildcard include/config/mach/mx31moboard.h) \ $(wildcard include/config/mach/terastation/pro2.h) \ $(wildcard include/config/mach/linkstation/pro.h) \ $(wildcard include/config/mach/e350.h) \ $(wildcard include/config/mach/ts409.h) \ $(wildcard include/config/mach/cm/x300.h) \ $(wildcard include/config/mach/at91sam9g20ek.h) \ $(wildcard include/config/mach/smdk6410.h) \ $(wildcard include/config/mach/u300.h) \ $(wildcard include/config/mach/wrt350n/v2.h) \ $(wildcard include/config/mach/omap/ldp.h) \ $(wildcard include/config/mach/mx35/3ds.h) \ $(wildcard include/config/mach/neuros/osd2.h) \ $(wildcard include/config/mach/trizeps4wl.h) \ $(wildcard include/config/mach/ts78xx.h) \ $(wildcard include/config/mach/sffsdr.h) \ $(wildcard include/config/mach/pcm037.h) \ $(wildcard include/config/mach/db88f6281/bp.h) \ $(wildcard include/config/mach/rd88f6192/nas.h) \ $(wildcard include/config/mach/rd88f6281.h) \ $(wildcard include/config/mach/db78x00/bp.h) \ $(wildcard include/config/mach/smdk2416.h) \ $(wildcard include/config/mach/wbd111.h) \ $(wildcard include/config/mach/mv2120.h) \ $(wildcard include/config/mach/mx51/3ds.h) \ $(wildcard include/config/mach/imx27lite.h) \ $(wildcard include/config/mach/usb/a9260.h) \ $(wildcard include/config/mach/usb/a9263.h) \ $(wildcard include/config/mach/qil/a9260.h) \ $(wildcard include/config/mach/kzm/arm11/01.h) \ $(wildcard include/config/mach/nokia/n810/wimax.h) \ $(wildcard include/config/mach/sapphire.h) \ $(wildcard include/config/mach/stmp37xx.h) \ $(wildcard include/config/mach/stmp378x.h) \ $(wildcard include/config/mach/ezx/a780.h) \ $(wildcard include/config/mach/ezx/e680.h) \ $(wildcard include/config/mach/ezx/a1200.h) \ $(wildcard include/config/mach/ezx/e6.h) \ $(wildcard include/config/mach/ezx/e2.h) \ $(wildcard include/config/mach/ezx/a910.h) \ $(wildcard include/config/mach/edmini/v2.h) \ $(wildcard include/config/mach/zipit2.h) \ $(wildcard include/config/mach/omap3/pandora.h) \ $(wildcard include/config/mach/mss2.h) \ $(wildcard include/config/mach/lb88rc8480.h) \ $(wildcard include/config/mach/mx25/3ds.h) \ $(wildcard include/config/mach/omap3530/lv/som.h) \ $(wildcard include/config/mach/davinci/da830/evm.h) \ $(wildcard include/config/mach/at572d940hfeb.h) \ $(wildcard include/config/mach/dove/db.h) \ $(wildcard include/config/mach/overo.h) \ $(wildcard include/config/mach/at2440evb.h) \ $(wildcard include/config/mach/neocore926.h) \ $(wildcard include/config/mach/wnr854t.h) \ $(wildcard include/config/mach/rd88f5181l/ge.h) \ $(wildcard include/config/mach/rd88f5181l/fxo.h) \ $(wildcard include/config/mach/stamp9g20.h) \ $(wildcard include/config/mach/smdkc100.h) \ $(wildcard include/config/mach/tavorevb.h) \ $(wildcard include/config/mach/saar.h) \ $(wildcard include/config/mach/at91sam9m10g45ek.h) \ $(wildcard include/config/mach/mxlads.h) \ $(wildcard include/config/mach/linkstation/mini.h) \ $(wildcard include/config/mach/afeb9260.h) \ $(wildcard include/config/mach/imx27ipcam.h) \ $(wildcard include/config/mach/rd88f6183ap/ge.h) \ $(wildcard include/config/mach/realview/pba8.h) \ $(wildcard include/config/mach/realview/pbx.h) \ $(wildcard include/config/mach/micro9s.h) \ $(wildcard include/config/mach/rut100.h) \ $(wildcard include/config/mach/g3evm.h) \ $(wildcard include/config/mach/w90p910evb.h) \ $(wildcard include/config/mach/w90p950evb.h) \ $(wildcard include/config/mach/w90n960evb.h) \ $(wildcard include/config/mach/mv88f6281gtw/ge.h) \ $(wildcard include/config/mach/ncp.h) \ $(wildcard include/config/mach/davinci/dm365/evm.h) \ $(wildcard include/config/mach/centro.h) \ $(wildcard include/config/mach/nokia/rx51.h) \ $(wildcard include/config/mach/omap/zoom2.h) \ $(wildcard include/config/mach/cpuat9260.h) \ $(wildcard include/config/mach/cpuimx27.h) \ $(wildcard include/config/mach/acs5k.h) \ $(wildcard include/config/mach/snapper/9260.h) \ $(wildcard include/config/mach/dsm320.h) \ $(wildcard include/config/mach/exeda.h) \ $(wildcard include/config/mach/mini2440.h) \ $(wildcard include/config/mach/colibri300.h) \ $(wildcard include/config/mach/linkstation/ls/hgl.h) \ $(wildcard include/config/mach/cpuat9g20.h) \ $(wildcard include/config/mach/smdk6440.h) \ $(wildcard include/config/mach/nas4220b.h) \ $(wildcard include/config/mach/zylonite2.h) \ $(wildcard include/config/mach/aspenite.h) \ $(wildcard include/config/mach/ttc/dkb.h) \ $(wildcard include/config/mach/pcm043.h) \ $(wildcard include/config/mach/sheevaplug.h) \ $(wildcard include/config/mach/avengers/lite.h) \ $(wildcard include/config/mach/mx51/babbage.h) \ $(wildcard include/config/mach/rd78x00/masa.h) \ $(wildcard include/config/mach/dm355/leopard.h) \ $(wildcard include/config/mach/ts219.h) \ $(wildcard include/config/mach/pca100.h) \ $(wildcard include/config/mach/davinci/da850/evm.h) \ $(wildcard include/config/mach/at91sam9g10ek.h) \ $(wildcard include/config/mach/omap/4430sdp.h) \ $(wildcard include/config/mach/magx/zn5.h) \ $(wildcard include/config/mach/btmavb101.h) \ $(wildcard include/config/mach/btmawb101.h) \ $(wildcard include/config/mach/omap3/torpedo.h) \ $(wildcard include/config/mach/anw6410.h) \ $(wildcard include/config/mach/imx27/visstrim/m10.h) \ $(wildcard include/config/mach/portuxg20.h) \ $(wildcard include/config/mach/smdkc110.h) \ $(wildcard include/config/mach/omap3517evm.h) \ $(wildcard include/config/mach/netspace/v2.h) \ $(wildcard include/config/mach/netspace/max/v2.h) \ $(wildcard include/config/mach/d2net/v2.h) \ $(wildcard include/config/mach/net2big/v2.h) \ $(wildcard include/config/mach/net5big/v2.h) \ $(wildcard include/config/mach/inetspace/v2.h) \ $(wildcard include/config/mach/at91sam9g45ekes.h) \ $(wildcard include/config/mach/pc7302.h) \ $(wildcard include/config/mach/spear600.h) \ $(wildcard include/config/mach/spear300.h) \ $(wildcard include/config/mach/lilly1131.h) \ $(wildcard include/config/mach/hmt.h) \ $(wildcard include/config/mach/vexpress.h) \ $(wildcard include/config/mach/d2net.h) \ $(wildcard include/config/mach/bigdisk.h) \ $(wildcard include/config/mach/at91sam9g20ek/2mmc.h) \ $(wildcard include/config/mach/bcmring.h) \ $(wildcard include/config/mach/dp6xx.h) \ $(wildcard include/config/mach/mahimahi.h) \ $(wildcard include/config/mach/smdk6442.h) \ $(wildcard include/config/mach/openrd/base.h) \ $(wildcard include/config/mach/devkit8000.h) \ $(wildcard include/config/mach/mx51/efikamx.h) \ $(wildcard include/config/mach/cm/t35.h) \ $(wildcard include/config/mach/net2big.h) \ $(wildcard include/config/mach/igep0020.h) \ $(wildcard include/config/mach/nuc932evb.h) \ $(wildcard include/config/mach/openrd/client.h) \ $(wildcard include/config/mach/u8500.h) \ $(wildcard include/config/mach/mx51/efikasb.h) \ $(wildcard include/config/mach/marvell/jasper.h) \ $(wildcard include/config/mach/flint.h) \ $(wildcard include/config/mach/tavorevb3.h) \ $(wildcard include/config/mach/touchbook.h) \ $(wildcard include/config/mach/raumfeld/rc.h) \ $(wildcard include/config/mach/raumfeld/connector.h) \ $(wildcard include/config/mach/raumfeld/speaker.h) \ $(wildcard include/config/mach/tnetv107x.h) \ $(wildcard include/config/mach/smdkv210.h) \ $(wildcard include/config/mach/omap/zoom3.h) \ $(wildcard include/config/mach/omap/3630sdp.h) \ $(wildcard include/config/mach/smartq7.h) \ $(wildcard include/config/mach/watson/efm/plugin.h) \ $(wildcard include/config/mach/g4evm.h) \ $(wildcard include/config/mach/omapl138/hawkboard.h) \ $(wildcard include/config/mach/ts41x.h) \ $(wildcard include/config/mach/phy3250.h) \ $(wildcard include/config/mach/mini6410.h) \ $(wildcard include/config/mach/mx28evk.h) \ $(wildcard include/config/mach/smartq5.h) \ $(wildcard include/config/mach/davinci/dm6467tevm.h) \ $(wildcard include/config/mach/mxt/td60.h) \ $(wildcard include/config/mach/riot/bei2.h) \ $(wildcard include/config/mach/riot/x37.h) \ $(wildcard include/config/mach/capc7117.h) \ $(wildcard include/config/mach/icontrol.h) \ $(wildcard include/config/mach/qsd8x50a/st1/5.h) \ $(wildcard include/config/mach/mx23evk.h) \ $(wildcard include/config/mach/ap4evb.h) \ $(wildcard include/config/mach/mityomapl138.h) \ $(wildcard include/config/mach/guruplug.h) \ $(wildcard include/config/mach/spear310.h) \ $(wildcard include/config/mach/spear320.h) \ $(wildcard include/config/mach/aquila.h) \ $(wildcard include/config/mach/esata/sheevaplug.h) \ $(wildcard include/config/mach/msm7x30/surf.h) \ $(wildcard include/config/mach/ea2478devkit.h) \ $(wildcard include/config/mach/terastation/wxl.h) \ $(wildcard include/config/mach/msm7x25/surf.h) \ $(wildcard include/config/mach/msm7x25/ffa.h) \ $(wildcard include/config/mach/msm7x27/surf.h) \ $(wildcard include/config/mach/msm7x27/ffa.h) \ $(wildcard include/config/mach/msm7x30/ffa.h) \ $(wildcard include/config/mach/qsd8x50/surf.h) \ $(wildcard include/config/mach/mx53/evk.h) \ $(wildcard include/config/mach/igep0030.h) \ $(wildcard include/config/mach/sbc3530.h) \ $(wildcard include/config/mach/saarb.h) \ $(wildcard include/config/mach/harmony.h) \ $(wildcard include/config/mach/msm7x30/fluid.h) \ $(wildcard include/config/mach/cm/t3517.h) \ $(wildcard include/config/mach/wbd222.h) \ $(wildcard include/config/mach/msm8x60/surf.h) \ $(wildcard include/config/mach/msm8x60/sim.h) \ $(wildcard include/config/mach/tcc8000/sdk.h) \ $(wildcard include/config/mach/nanos.h) \ $(wildcard include/config/mach/stamp9g45.h) \ $(wildcard include/config/mach/cns3420vb.h) \ $(wildcard include/config/mach/omap4/panda.h) \ $(wildcard include/config/mach/ti8168evm.h) \ $(wildcard include/config/mach/teton/bga.h) \ $(wildcard include/config/mach/eukrea/cpuimx25.h) \ $(wildcard include/config/mach/eukrea/cpuimx35.h) \ $(wildcard include/config/mach/eukrea/cpuimx51sd.h) \ $(wildcard include/config/mach/eukrea/cpuimx51.h) \ $(wildcard include/config/mach/smdkc210.h) \ $(wildcard include/config/mach/omap3/braillo.h) \ $(wildcard include/config/mach/spyplug.h) \ $(wildcard include/config/mach/ginger.h) \ $(wildcard include/config/mach/tny/t3530.h) \ $(wildcard include/config/mach/pca102.h) \ $(wildcard include/config/mach/spade.h) \ $(wildcard include/config/mach/mxc25/topaz.h) \ $(wildcard include/config/mach/t5325.h) \ $(wildcard include/config/mach/gw2361.h) \ $(wildcard include/config/mach/elog.h) \ $(wildcard include/config/mach/income.h) \ $(wildcard include/config/mach/bcm589x.h) \ $(wildcard include/config/mach/etna.h) \ $(wildcard include/config/mach/hawks.h) \ $(wildcard include/config/mach/meson.h) \ $(wildcard include/config/mach/xsbase255.h) \ $(wildcard include/config/mach/pvm2030.h) \ $(wildcard include/config/mach/mioa502.h) \ $(wildcard include/config/mach/vvbox/sdorig2.h) \ $(wildcard include/config/mach/vvbox/sdlite2.h) \ $(wildcard include/config/mach/vvbox/sdpro4.h) \ $(wildcard include/config/mach/htc/spv/m700.h) \ $(wildcard include/config/mach/mx257sx.h) \ $(wildcard include/config/mach/goni.h) \ $(wildcard include/config/mach/msm8x55/svlte/ffa.h) \ $(wildcard include/config/mach/msm8x55/svlte/surf.h) \ $(wildcard include/config/mach/quickstep.h) \ $(wildcard include/config/mach/dmw96.h) \ $(wildcard include/config/mach/hammerhead.h) \ $(wildcard include/config/mach/trident.h) \ $(wildcard include/config/mach/lightning.h) \ $(wildcard include/config/mach/iconnect.h) \ $(wildcard include/config/mach/autobot.h) \ $(wildcard include/config/mach/coconut.h) \ $(wildcard include/config/mach/durian.h) \ $(wildcard include/config/mach/cayenne.h) \ $(wildcard include/config/mach/fuji.h) \ $(wildcard include/config/mach/synology/6282.h) \ $(wildcard include/config/mach/em1sy.h) \ $(wildcard include/config/mach/m502.h) \ $(wildcard include/config/mach/matrix518.h) \ $(wildcard include/config/mach/tiny/gurnard.h) \ $(wildcard include/config/mach/spear1310.h) \ $(wildcard include/config/mach/bv07.h) \ $(wildcard include/config/mach/mxt/td61.h) \ $(wildcard include/config/mach/openrd/ultimate.h) \ $(wildcard include/config/mach/devixp.h) \ $(wildcard include/config/mach/miccpt.h) \ $(wildcard include/config/mach/mic256.h) \ $(wildcard include/config/mach/as1167.h) \ $(wildcard include/config/mach/omap3/ibiza.h) \ $(wildcard include/config/mach/u5500.h) \ $(wildcard include/config/mach/davinci/picto.h) \ $(wildcard include/config/mach/mecha.h) \ $(wildcard include/config/mach/bubba3.h) \ $(wildcard include/config/mach/pupitre.h) \ $(wildcard include/config/mach/tegra/vogue.h) \ $(wildcard include/config/mach/tegra/e1165.h) \ $(wildcard include/config/mach/simplenet.h) \ $(wildcard include/config/mach/ec4350tbm.h) \ $(wildcard include/config/mach/pec/tc.h) \ $(wildcard include/config/mach/pec/hc2.h) \ $(wildcard include/config/mach/esl/mobilis/a.h) \ $(wildcard include/config/mach/esl/mobilis/b.h) \ $(wildcard include/config/mach/esl/wave/a.h) \ $(wildcard include/config/mach/esl/wave/b.h) \ $(wildcard include/config/mach/unisense/mmm.h) \ $(wildcard include/config/mach/blueshark.h) \ $(wildcard include/config/mach/e10.h) \ $(wildcard include/config/mach/app3k/robin.h) \ $(wildcard include/config/mach/pov15hd.h) \ $(wildcard include/config/mach/stella.h) \ $(wildcard include/config/mach/linkstation/lschl.h) \ $(wildcard include/config/mach/netwalker.h) \ $(wildcard include/config/mach/acsx106.h) \ $(wildcard include/config/mach/atlas5/c1.h) \ $(wildcard include/config/mach/nsb3ast.h) \ $(wildcard include/config/mach/gnet/slc.h) \ $(wildcard include/config/mach/af4000.h) \ $(wildcard include/config/mach/ark9431.h) \ $(wildcard include/config/mach/fs/s5pc100.h) \ $(wildcard include/config/mach/omap3505nova8.h) \ $(wildcard include/config/mach/omap3621/edp1.h) \ $(wildcard include/config/mach/oratisaes.h) \ $(wildcard include/config/mach/smdkv310.h) \ $(wildcard include/config/mach/siemens/l0.h) \ $(wildcard include/config/mach/ventana.h) \ $(wildcard include/config/mach/wm8505/7in/netbook.h) \ $(wildcard include/config/mach/rk29.h) \ $(wildcard include/config/arch/rk30.h) \ $(wildcard include/config/mach/mimas.h) \ $(wildcard include/config/mach/titan.h) \ $(wildcard include/config/mach/craneboard.h) \ $(wildcard include/config/mach/es2440.h) \ $(wildcard include/config/mach/najay/a9263.h) \ $(wildcard include/config/mach/htctornado.h) \ $(wildcard include/config/mach/dimm/mx257.h) \ $(wildcard include/config/mach/jigen.h) \ $(wildcard include/config/mach/smdk6450.h) \ $(wildcard include/config/mach/meno/qng.h) \ $(wildcard include/config/mach/ns2416.h) \ $(wildcard include/config/mach/rpc353.h) \ $(wildcard include/config/mach/tq6410.h) \ $(wildcard include/config/mach/sky6410.h) \ $(wildcard include/config/mach/dynasty.h) \ $(wildcard include/config/mach/vivo.h) \ $(wildcard include/config/mach/bury/bl7582.h) \ $(wildcard include/config/mach/bury/bps5270.h) \ $(wildcard include/config/mach/basi.h) \ $(wildcard include/config/mach/tn200.h) \ $(wildcard include/config/mach/c2mmi.h) \ $(wildcard include/config/mach/meson/6236m.h) \ $(wildcard include/config/mach/meson/8626m.h) \ $(wildcard include/config/mach/tube.h) \ $(wildcard include/config/mach/messina.h) \ $(wildcard include/config/mach/mx50/arm2.h) \ $(wildcard include/config/mach/cetus9263.h) \ $(wildcard include/config/mach/brownstone.h) \ $(wildcard include/config/mach/vmx25.h) \ $(wildcard include/config/mach/vmx51.h) \ $(wildcard include/config/mach/abacus.h) \ $(wildcard include/config/mach/cm4745.h) \ $(wildcard include/config/mach/oratislink.h) \ $(wildcard include/config/mach/davinci/dm365/dvr.h) \ $(wildcard include/config/mach/netviz.h) \ $(wildcard include/config/mach/flexibity.h) \ $(wildcard include/config/mach/wlan/computer.h) \ $(wildcard include/config/mach/lpc24xx.h) \ $(wildcard include/config/mach/spica.h) \ $(wildcard include/config/mach/gpsdisplay.h) \ $(wildcard include/config/mach/bipnet.h) \ $(wildcard include/config/mach/overo/ctu/inertial.h) \ $(wildcard include/config/mach/davinci/dm355/mmm.h) \ $(wildcard include/config/mach/pc9260/v2.h) \ $(wildcard include/config/mach/ptx7545.h) \ $(wildcard include/config/mach/tm/efdc.h) \ $(wildcard include/config/mach/omap3/waldo1.h) \ $(wildcard include/config/mach/flyer.h) \ $(wildcard include/config/mach/tornado3240.h) \ $(wildcard include/config/mach/soli/01.h) \ $(wildcard include/config/mach/omapl138/europalc.h) \ $(wildcard include/config/mach/helios/v1.h) \ $(wildcard include/config/mach/netspace/lite/v2.h) \ $(wildcard include/config/mach/ssc.h) \ $(wildcard include/config/mach/premierwave/en.h) \ $(wildcard include/config/mach/wasabi.h) \ $(wildcard include/config/mach/mx50/rdp.h) \ $(wildcard include/config/mach/universal/c210.h) \ $(wildcard include/config/mach/real6410.h) \ $(wildcard include/config/mach/spx/sakura.h) \ $(wildcard include/config/mach/ij3k/2440.h) \ $(wildcard include/config/mach/omap3/bc10.h) \ $(wildcard include/config/mach/thebe.h) \ $(wildcard include/config/mach/rv082.h) \ $(wildcard include/config/mach/armlguest.h) \ $(wildcard include/config/mach/tjinc1000.h) \ $(wildcard include/config/mach/dockstar.h) \ $(wildcard include/config/mach/ax8008.h) \ $(wildcard include/config/mach/gnet/sgce.h) \ $(wildcard include/config/mach/pxwnas/500/1000.h) \ $(wildcard include/config/mach/ea20.h) \ $(wildcard include/config/mach/awm2.h) \ $(wildcard include/config/mach/ti8148evm.h) \ $(wildcard include/config/mach/seaboard.h) \ $(wildcard include/config/mach/linkstation/chlv2.h) \ $(wildcard include/config/mach/tera/pro2/rack.h) \ $(wildcard include/config/mach/rubys.h) \ $(wildcard include/config/mach/aquarius.h) \ $(wildcard include/config/mach/mx53/ard.h) \ $(wildcard include/config/mach/mx53/smd.h) \ $(wildcard include/config/mach/lswxl.h) \ $(wildcard include/config/mach/dove/avng/v3.h) \ $(wildcard include/config/mach/sdi/ess/9263.h) \ $(wildcard include/config/mach/jocpu550.h) \ $(wildcard include/config/mach/msm8x60/rumi3.h) \ $(wildcard include/config/mach/msm8x60/ffa.h) \ $(wildcard include/config/mach/yanomami.h) \ $(wildcard include/config/mach/gta04.h) \ $(wildcard include/config/mach/cm/a510.h) \ $(wildcard include/config/mach/omap3/rfs200.h) \ $(wildcard include/config/mach/kx33xx.h) \ $(wildcard include/config/mach/ptx7510.h) \ $(wildcard include/config/mach/top9000.h) \ $(wildcard include/config/mach/teenote.h) \ $(wildcard include/config/mach/ts3.h) \ $(wildcard include/config/mach/a0.h) \ $(wildcard include/config/mach/fsm9xxx/surf.h) \ $(wildcard include/config/mach/fsm9xxx/ffa.h) \ $(wildcard include/config/mach/frrhwcdma60w.h) \ $(wildcard include/config/mach/remus.h) \ $(wildcard include/config/mach/at91cap7xdk.h) \ $(wildcard include/config/mach/at91cap7stk.h) \ $(wildcard include/config/mach/kt/sbc/sam9/1.h) \ $(wildcard include/config/mach/armada/xp/db.h) \ $(wildcard include/config/mach/spdm.h) \ $(wildcard include/config/mach/gtib.h) \ $(wildcard include/config/mach/dgm3240.h) \ $(wildcard include/config/mach/htcmega.h) \ $(wildcard include/config/mach/tricorder.h) \ $(wildcard include/config/mach/tx28.h) \ $(wildcard include/config/mach/bstbrd.h) \ $(wildcard include/config/mach/pwb3090.h) \ $(wildcard include/config/mach/idea6410.h) \ $(wildcard include/config/mach/qbc9263.h) \ $(wildcard include/config/mach/borabora.h) \ $(wildcard include/config/mach/valdez.h) \ $(wildcard include/config/mach/ls9g20.h) \ $(wildcard include/config/mach/mios/v1.h) \ $(wildcard include/config/mach/s5pc110/crespo.h) \ $(wildcard include/config/mach/controltek9g20.h) \ $(wildcard include/config/mach/tin307.h) \ $(wildcard include/config/mach/tin510.h) \ $(wildcard include/config/mach/bluecheese.h) \ $(wildcard include/config/mach/tem3x30.h) \ $(wildcard include/config/mach/harvest/desoto.h) \ $(wildcard include/config/mach/msm8x60/qrdc.h) \ $(wildcard include/config/mach/spear900.h) \ $(wildcard include/config/mach/pcontrol/g20.h) \ $(wildcard include/config/mach/rdstor.h) \ $(wildcard include/config/mach/usdloader.h) \ $(wildcard include/config/mach/tsoploader.h) \ $(wildcard include/config/mach/kronos.h) \ $(wildcard include/config/mach/ffcore.h) \ $(wildcard include/config/mach/mone.h) \ $(wildcard include/config/mach/unit2s.h) \ $(wildcard include/config/mach/acer/a5.h) \ $(wildcard include/config/mach/etherpro/isp.h) \ $(wildcard include/config/mach/stretchs7000.h) \ $(wildcard include/config/mach/p87/smartsim.h) \ $(wildcard include/config/mach/tulip.h) \ $(wildcard include/config/mach/sunflower.h) \ $(wildcard include/config/mach/rib.h) \ $(wildcard include/config/mach/clod.h) \ $(wildcard include/config/mach/rump.h) \ $(wildcard include/config/mach/tenderloin.h) \ $(wildcard include/config/mach/shortloin.h) \ $(wildcard include/config/mach/antares.h) \ $(wildcard include/config/mach/wb40n.h) \ $(wildcard include/config/mach/herring.h) \ $(wildcard include/config/mach/naxy400.h) \ $(wildcard include/config/mach/naxy1200.h) \ $(wildcard include/config/mach/vpr200.h) \ $(wildcard include/config/mach/bug20.h) \ $(wildcard include/config/mach/goflexnet.h) \ $(wildcard include/config/mach/torbreck.h) \ $(wildcard include/config/mach/saarb/mg1.h) \ $(wildcard include/config/mach/callisto.h) \ $(wildcard include/config/mach/multhsu.h) \ $(wildcard include/config/mach/saluda.h) \ $(wildcard include/config/mach/pemp/omap3/apollo.h) \ $(wildcard include/config/mach/vc0718.h) \ $(wildcard include/config/mach/mvblx.h) \ $(wildcard include/config/mach/inhand/apeiron.h) \ $(wildcard include/config/mach/inhand/fury.h) \ $(wildcard include/config/mach/inhand/siren.h) \ $(wildcard include/config/mach/hdnvp.h) \ $(wildcard include/config/mach/softwinner.h) \ $(wildcard include/config/mach/prima2/evb.h) \ $(wildcard include/config/mach/nas6210.h) \ $(wildcard include/config/mach/unisdev.h) \ $(wildcard include/config/mach/sbca11.h) \ $(wildcard include/config/mach/saga.h) \ $(wildcard include/config/mach/ns/k330.h) \ $(wildcard include/config/mach/tanna.h) \ $(wildcard include/config/mach/imate8502.h) \ $(wildcard include/config/mach/aspen.h) \ $(wildcard include/config/mach/daintree/cwac.h) \ $(wildcard include/config/mach/zmx25.h) \ $(wildcard include/config/mach/maple1.h) \ $(wildcard include/config/mach/qsd8x72/surf.h) \ $(wildcard include/config/mach/qsd8x72/ffa.h) \ $(wildcard include/config/mach/abilene.h) \ $(wildcard include/config/mach/eigen/ttr.h) \ $(wildcard include/config/mach/iomega/ix2/200.h) \ $(wildcard include/config/mach/coretec/vcx7400.h) \ $(wildcard include/config/mach/santiago.h) \ $(wildcard include/config/mach/mx257sol.h) \ $(wildcard include/config/mach/strasbourg.h) \ $(wildcard include/config/mach/msm8x60/fluid.h) \ $(wildcard include/config/mach/smartqv5.h) \ $(wildcard include/config/mach/smartqv3.h) \ $(wildcard include/config/mach/smartqv7.h) \ $(wildcard include/config/mach/paz00.h) \ $(wildcard include/config/mach/acmenetusfoxg20.h) \ $(wildcard include/config/mach/fwbd/0404.h) \ $(wildcard include/config/mach/hdgu.h) \ $(wildcard include/config/mach/pyramid.h) \ $(wildcard include/config/mach/epiphan.h) \ $(wildcard include/config/mach/omap/bender.h) \ $(wildcard include/config/mach/gurnard.h) \ $(wildcard include/config/mach/gtl/it5100.h) \ $(wildcard include/config/mach/bcm2708.h) \ $(wildcard include/config/mach/mx51/ggc.h) \ $(wildcard include/config/mach/sharespace.h) \ $(wildcard include/config/mach/haba/knx/explorer.h) \ $(wildcard include/config/mach/simtec/kirkmod.h) \ $(wildcard include/config/mach/crux.h) \ $(wildcard include/config/mach/mx51/bravo.h) \ $(wildcard include/config/mach/charon.h) \ $(wildcard include/config/mach/picocom3.h) \ $(wildcard include/config/mach/picocom4.h) \ $(wildcard include/config/mach/serrano.h) \ $(wildcard include/config/mach/doubleshot.h) \ $(wildcard include/config/mach/evsy.h) \ $(wildcard include/config/mach/huashan.h) \ $(wildcard include/config/mach/lausanne.h) \ $(wildcard include/config/mach/emerald.h) \ $(wildcard include/config/mach/tqma35.h) \ $(wildcard include/config/mach/marvel.h) \ $(wildcard include/config/mach/manuae.h) \ $(wildcard include/config/mach/chacha.h) \ $(wildcard include/config/mach/lemon.h) \ $(wildcard include/config/mach/csc.h) \ $(wildcard include/config/mach/gira/knxip/router.h) \ $(wildcard include/config/mach/t20.h) \ $(wildcard include/config/mach/hdmini.h) \ $(wildcard include/config/mach/sciphone/g2.h) \ $(wildcard include/config/mach/express.h) \ $(wildcard include/config/mach/express/kt.h) \ $(wildcard include/config/mach/maximasp.h) \ $(wildcard include/config/mach/nitrogen/imx51.h) \ $(wildcard include/config/mach/nitrogen/imx53.h) \ $(wildcard include/config/mach/sunfire.h) \ $(wildcard include/config/mach/arowana.h) \ $(wildcard include/config/mach/tegra/daytona.h) \ $(wildcard include/config/mach/tegra/swordfish.h) \ $(wildcard include/config/mach/edison.h) \ $(wildcard include/config/mach/svp8500v1.h) \ $(wildcard include/config/mach/svp8500v2.h) \ $(wildcard include/config/mach/svp5500.h) \ $(wildcard include/config/mach/b5500.h) \ $(wildcard include/config/mach/s5500.h) \ $(wildcard include/config/mach/icon.h) \ $(wildcard include/config/mach/elephant.h) \ $(wildcard include/config/mach/shooter.h) \ $(wildcard include/config/mach/spade/lte.h) \ $(wildcard include/config/mach/philhwani.h) \ $(wildcard include/config/mach/gsncomm.h) \ $(wildcard include/config/mach/strasbourg/a2.h) \ $(wildcard include/config/mach/mmm.h) \ $(wildcard include/config/mach/davinci/dm365/bv.h) \ $(wildcard include/config/mach/ag5evm.h) \ $(wildcard include/config/mach/sc575plc.h) \ $(wildcard include/config/mach/sc575ipc.h) \ $(wildcard include/config/mach/omap3/tdm3730.h) \ $(wildcard include/config/mach/top9000/eval.h) \ $(wildcard include/config/mach/top9000/su.h) \ $(wildcard include/config/mach/utm300.h) \ $(wildcard include/config/mach/tsunagi.h) \ $(wildcard include/config/mach/ts75xx.h) \ $(wildcard include/config/mach/ts47xx.h) \ $(wildcard include/config/mach/da850/k5.h) \ $(wildcard include/config/mach/ax502.h) \ $(wildcard include/config/mach/igep0032.h) \ $(wildcard include/config/mach/antero.h) \ $(wildcard include/config/mach/synergy.h) \ $(wildcard include/config/mach/ics/if/voip.h) \ $(wildcard include/config/mach/wlf/cragg/6410.h) \ $(wildcard include/config/mach/punica.h) \ $(wildcard include/config/mach/trimslice.h) \ $(wildcard include/config/mach/mx27/wmultra.h) \ $(wildcard include/config/mach/mackerel.h) \ $(wildcard include/config/mach/fa9x27.h) \ $(wildcard include/config/mach/ns2816tb.h) \ $(wildcard include/config/mach/ns2816/ntpad.h) \ $(wildcard include/config/mach/ns2816/ntnb.h) \ $(wildcard include/config/mach/kaen.h) \ $(wildcard include/config/mach/nv1000.h) \ $(wildcard include/config/mach/nuc950ts.h) \ $(wildcard include/config/mach/nokia/rm680.h) \ $(wildcard include/config/mach/ast2200.h) \ $(wildcard include/config/mach/lead.h) \ $(wildcard include/config/mach/unino1.h) \ $(wildcard include/config/mach/greeco.h) \ $(wildcard include/config/mach/verdi.h) \ $(wildcard include/config/mach/dm6446/adbox.h) \ $(wildcard include/config/mach/quad/salsa.h) \ $(wildcard include/config/mach/abb/gma/1/1.h) \ $(wildcard include/config/mach/svcid.h) \ $(wildcard include/config/mach/msm8960/sim.h) \ $(wildcard include/config/mach/msm8960/rumi3.h) \ $(wildcard include/config/mach/icon/g.h) \ $(wildcard include/config/mach/mb3.h) \ $(wildcard include/config/mach/gsia18s.h) \ $(wildcard include/config/mach/pivicc.h) \ $(wildcard include/config/mach/pcm048.h) \ $(wildcard include/config/mach/dds.h) \ $(wildcard include/config/mach/chalten/xa1.h) \ $(wildcard include/config/mach/ts48xx.h) \ $(wildcard include/config/mach/tonga2/tfttimer.h) \ $(wildcard include/config/mach/whistler.h) \ $(wildcard include/config/mach/asl/phoenix.h) \ $(wildcard include/config/mach/at91sam9263otlite.h) \ $(wildcard include/config/mach/ddplug.h) \ $(wildcard include/config/mach/d2plug.h) \ $(wildcard include/config/mach/kzm9d.h) \ $(wildcard include/config/mach/verdi/lte.h) \ $(wildcard include/config/mach/nanozoom.h) \ $(wildcard include/config/mach/dm3730/som/lv.h) \ $(wildcard include/config/mach/dm3730/torpedo.h) \ $(wildcard include/config/mach/anchovy.h) \ $(wildcard include/config/mach/re2rev20.h) \ $(wildcard include/config/mach/re2rev21.h) \ $(wildcard include/config/mach/cns21xx.h) \ $(wildcard include/config/mach/rider.h) \ $(wildcard include/config/mach/nsk330.h) \ $(wildcard include/config/mach/cns2133evb.h) \ $(wildcard include/config/mach/z3/816x/mod.h) \ $(wildcard include/config/mach/z3/814x/mod.h) \ $(wildcard include/config/mach/beect.h) \ $(wildcard include/config/mach/dma/thunderbug.h) \ $(wildcard include/config/mach/omn/at91sam9g20.h) \ $(wildcard include/config/mach/mx25/e2s/uc.h) \ $(wildcard include/config/mach/mione.h) \ $(wildcard include/config/mach/top9000/tcu.h) \ $(wildcard include/config/mach/top9000/bsl.h) \ $(wildcard include/config/mach/kingdom.h) \ $(wildcard include/config/mach/armadillo460.h) \ $(wildcard include/config/mach/lq2.h) \ $(wildcard include/config/mach/sweda/tms2.h) \ $(wildcard include/config/mach/mx53/loco.h) \ $(wildcard include/config/mach/acer/a8.h) \ $(wildcard include/config/mach/acer/gauguin.h) \ $(wildcard include/config/mach/guppy.h) \ $(wildcard include/config/mach/mx61/ard.h) \ $(wildcard include/config/mach/tx53.h) \ $(wildcard include/config/mach/omapl138/case/a3.h) \ $(wildcard include/config/mach/uemd.h) \ $(wildcard include/config/mach/ccwmx51mut.h) \ $(wildcard include/config/mach/rockhopper.h) \ $(wildcard include/config/mach/nookcolor.h) \ $(wildcard include/config/mach/hkdkc100.h) \ $(wildcard include/config/mach/ts42xx.h) \ $(wildcard include/config/mach/aebl.h) \ $(wildcard include/config/mach/wario.h) \ $(wildcard include/config/mach/gfs/spm.h) \ $(wildcard include/config/mach/cm/t3730.h) \ $(wildcard include/config/mach/isc3.h) \ $(wildcard include/config/mach/rascal.h) \ $(wildcard include/config/mach/hrefv60.h) \ $(wildcard include/config/mach/tpt/2/0.h) \ $(wildcard include/config/mach/splendor.h) \ $(wildcard include/config/mach/msm8x60/qt.h) \ $(wildcard include/config/mach/htc/hd/mini.h) \ $(wildcard include/config/mach/athene.h) \ $(wildcard include/config/mach/deep/r/ek/1.h) \ $(wildcard include/config/mach/vivow/ct.h) \ $(wildcard include/config/mach/nery/1000.h) \ $(wildcard include/config/mach/rfl109145/ssrv.h) \ $(wildcard include/config/mach/nmh.h) \ $(wildcard include/config/mach/wn802t.h) \ $(wildcard include/config/mach/dragonet.h) \ $(wildcard include/config/mach/at91sam9263desk16l.h) \ $(wildcard include/config/mach/bcmhana/sv.h) \ $(wildcard include/config/mach/bcmhana/tablet.h) \ $(wildcard include/config/mach/koi.h) \ $(wildcard include/config/mach/ts4800.h) \ $(wildcard include/config/mach/tqma9263.h) \ $(wildcard include/config/mach/holiday.h) \ $(wildcard include/config/mach/dma6410.h) \ $(wildcard include/config/mach/pcats/overlay.h) \ $(wildcard include/config/mach/hwgw6410.h) \ $(wildcard include/config/mach/shenzhou.h) \ $(wildcard include/config/mach/cwme9210.h) \ $(wildcard include/config/mach/cwme9210js.h) \ $(wildcard include/config/mach/pgs/sitara.h) \ $(wildcard include/config/mach/colibri/tegra2.h) \ $(wildcard include/config/mach/w21.h) \ $(wildcard include/config/mach/polysat1.h) \ $(wildcard include/config/mach/dataway.h) \ $(wildcard include/config/mach/cobral138.h) \ $(wildcard include/config/mach/roverpcs8.h) \ $(wildcard include/config/mach/marvelc.h) \ $(wildcard include/config/mach/navefihid.h) \ $(wildcard include/config/mach/dm365/cv100.h) \ $(wildcard include/config/mach/able.h) \ $(wildcard include/config/mach/legacy.h) \ $(wildcard include/config/mach/icong.h) \ $(wildcard include/config/mach/rover/g8.h) \ $(wildcard include/config/mach/t5388p.h) \ $(wildcard include/config/mach/dingo.h) \ $(wildcard include/config/mach/goflexhome.h) \ $(wildcard include/config/mach/lanreadyfn511.h) \ $(wildcard include/config/mach/omap3/baia.h) \ $(wildcard include/config/mach/omap3smartdisplay.h) \ $(wildcard include/config/mach/xilinx.h) \ $(wildcard include/config/mach/a2f.h) \ $(wildcard include/config/mach/sky25.h) \ $(wildcard include/config/mach/ccmx53.h) \ $(wildcard include/config/mach/ccmx53js.h) \ $(wildcard include/config/mach/ccwmx53.h) \ $(wildcard include/config/mach/ccwmx53js.h) \ $(wildcard include/config/mach/frisms.h) \ $(wildcard include/config/mach/msm7x27a/ffa.h) \ $(wildcard include/config/mach/msm7x27a/surf.h) \ $(wildcard include/config/mach/msm7x27a/rumi3.h) \ $(wildcard include/config/mach/dimmsam9g20.h) \ $(wildcard include/config/mach/dimm/imx28.h) \ $(wildcard include/config/mach/amk/a4.h) \ $(wildcard include/config/mach/gnet/sgme.h) \ $(wildcard include/config/mach/shooter/u.h) \ $(wildcard include/config/mach/vmx53.h) \ $(wildcard include/config/mach/rhino.h) \ $(wildcard include/config/mach/armlex4210.h) \ $(wildcard include/config/mach/swarcoextmodem.h) \ $(wildcard include/config/mach/snowball.h) \ $(wildcard include/config/mach/pcm049.h) \ $(wildcard include/config/mach/vigor.h) \ $(wildcard include/config/mach/oslo/amundsen.h) \ $(wildcard include/config/mach/gsl/diamond.h) \ $(wildcard include/config/mach/cv2201.h) \ $(wildcard include/config/mach/cv2202.h) \ $(wildcard include/config/mach/cv2203.h) \ $(wildcard include/config/mach/vit/ibox.h) \ $(wildcard include/config/mach/dm6441/esp.h) \ $(wildcard include/config/mach/at91sam9x5ek.h) \ $(wildcard include/config/mach/libra.h) \ $(wildcard include/config/mach/easycrrh.h) \ $(wildcard include/config/mach/tripel.h) \ $(wildcard include/config/mach/endian/mini.h) \ $(wildcard include/config/mach/xilinx/ep107.h) \ $(wildcard include/config/mach/nuri.h) \ $(wildcard include/config/mach/janus.h) \ $(wildcard include/config/mach/ddnas.h) \ $(wildcard include/config/mach/tag.h) \ $(wildcard include/config/mach/tagw.h) \ $(wildcard include/config/mach/nitrogen/vm/imx51.h) \ $(wildcard include/config/mach/viprinet.h) \ $(wildcard include/config/mach/bockw.h) \ $(wildcard include/config/mach/eva2000.h) \ $(wildcard include/config/mach/steelyard.h) \ $(wildcard include/config/mach/mach/sdh001.h) \ $(wildcard include/config/mach/nsslsboard.h) \ $(wildcard include/config/mach/geneva/b5.h) \ $(wildcard include/config/mach/spear1340.h) \ $(wildcard include/config/mach/rexmas.h) \ $(wildcard include/config/mach/msm8960/cdp.h) \ $(wildcard include/config/mach/msm8960/mdp.h) \ $(wildcard include/config/mach/msm8960/fluid.h) \ $(wildcard include/config/mach/msm8960/apq.h) \ $(wildcard include/config/mach/helios/v2.h) \ $(wildcard include/config/mach/mif10p.h) \ $(wildcard include/config/mach/iam28.h) \ $(wildcard include/config/mach/picasso.h) \ $(wildcard include/config/mach/mr301a.h) \ $(wildcard include/config/mach/notle.h) \ $(wildcard include/config/mach/eelx2.h) \ $(wildcard include/config/mach/moon.h) \ $(wildcard include/config/mach/ruby.h) \ $(wildcard include/config/mach/goldengate.h) \ $(wildcard include/config/mach/ctbu/gen2.h) \ $(wildcard include/config/mach/kmp/am17/01.h) \ $(wildcard include/config/mach/wtplug.h) \ $(wildcard include/config/mach/mx27su2.h) \ $(wildcard include/config/mach/nb31.h) \ $(wildcard include/config/mach/hjsdu.h) \ $(wildcard include/config/mach/td3/rev1.h) \ $(wildcard include/config/mach/eag/ci4000.h) \ $(wildcard include/config/mach/net5big/nand/v2.h) \ $(wildcard include/config/mach/cpx2.h) \ $(wildcard include/config/mach/net2big/nand/v2.h) \ $(wildcard include/config/mach/ecuv5.h) \ $(wildcard include/config/mach/hsgx6d.h) \ $(wildcard include/config/mach/dawad7.h) \ $(wildcard include/config/mach/sam9repeater.h) \ $(wildcard include/config/mach/gt/i5700.h) \ $(wildcard include/config/mach/ctera/plug/c2.h) \ $(wildcard include/config/mach/marvelct.h) \ $(wildcard include/config/mach/ag11005.h) \ $(wildcard include/config/mach/vangogh.h) \ $(wildcard include/config/mach/matrix505.h) \ $(wildcard include/config/mach/oce/nigma.h) \ $(wildcard include/config/mach/t55.h) \ $(wildcard include/config/mach/bio3k.h) \ $(wildcard include/config/mach/expressct.h) \ $(wildcard include/config/mach/cardhu.h) \ $(wildcard include/config/mach/aruba.h) \ $(wildcard include/config/mach/bonaire.h) \ $(wildcard include/config/mach/nuc700evb.h) \ $(wildcard include/config/mach/nuc710evb.h) \ $(wildcard include/config/mach/nuc740evb.h) \ $(wildcard include/config/mach/nuc745evb.h) \ $(wildcard include/config/mach/transcede.h) \ $(wildcard include/config/mach/mora.h) \ $(wildcard include/config/mach/nda/evm.h) \ $(wildcard include/config/mach/timu.h) \ $(wildcard include/config/mach/expressh.h) \ $(wildcard include/config/mach/veridis/a300.h) \ $(wildcard include/config/mach/dm368/leopard.h) \ $(wildcard include/config/mach/omap/mcop.h) \ $(wildcard include/config/mach/tritip.h) \ $(wildcard include/config/mach/sm1k.h) \ $(wildcard include/config/mach/monch.h) \ $(wildcard include/config/mach/curacao.h) \ $(wildcard include/config/mach/origen.h) \ $(wildcard include/config/mach/epc10.h) \ $(wildcard include/config/mach/sgh/i740.h) \ $(wildcard include/config/mach/tuna.h) \ $(wildcard include/config/mach/mx51/tulip.h) \ $(wildcard include/config/mach/mx51/aster7.h) \ $(wildcard include/config/mach/acro37xbrd.h) \ $(wildcard include/config/mach/elke.h) \ $(wildcard include/config/mach/sbc6000x.h) \ $(wildcard include/config/mach/r1801e.h) \ $(wildcard include/config/mach/h1600.h) \ $(wildcard include/config/mach/mini210.h) \ $(wildcard include/config/mach/mini8168.h) \ $(wildcard include/config/mach/pc7308.h) \ $(wildcard include/config/mach/kmm2m01.h) \ $(wildcard include/config/mach/mx51erebus.h) \ $(wildcard include/config/mach/wm8650refboard.h) \ $(wildcard include/config/mach/tuxrail.h) \ $(wildcard include/config/mach/arthur.h) \ $(wildcard include/config/mach/doorboy.h) \ $(wildcard include/config/mach/xarina.h) \ $(wildcard include/config/mach/roverx7.h) \ $(wildcard include/config/mach/sdvr.h) \ $(wildcard include/config/mach/acer/maya.h) \ $(wildcard include/config/mach/pico.h) \ $(wildcard include/config/mach/cwmx233.h) \ $(wildcard include/config/mach/cwam1808.h) \ $(wildcard include/config/mach/cwdm365.h) \ $(wildcard include/config/mach/mx51/moray.h) \ $(wildcard include/config/mach/thales/cbc.h) \ $(wildcard include/config/mach/bluepoint.h) \ $(wildcard include/config/mach/dir665.h) \ $(wildcard include/config/mach/acmerover1.h) \ $(wildcard include/config/mach/shooter/ct.h) \ $(wildcard include/config/mach/bliss.h) \ $(wildcard include/config/mach/blissc.h) \ $(wildcard include/config/mach/thales/adc.h) \ $(wildcard include/config/mach/ubisys/p9d/evp.h) \ $(wildcard include/config/mach/atdgp318.h) \ /root/linux-jps/arch/arm/include/asm/prom.h \ $(wildcard include/config/of.h) \ /root/linux-jps/arch/arm/include/asm/sections.h \ include/asm-generic/sections.h \ /root/linux-jps/arch/arm/include/asm/setup.h \ /root/linux-jps/arch/arm/include/asm/tlb.h \ $(wildcard include/config/cpu/32v7.h) \ /root/linux-jps/arch/arm/include/asm/pgalloc.h \ include/linux/pagemap.h \ include/linux/hugetlb_inline.h \ /root/linux-jps/arch/arm/include/asm/tlbflush.h \ $(wildcard include/config/cpu/tlb/v3.h) \ $(wildcard include/config/cpu/tlb/v4wt.h) \ $(wildcard include/config/cpu/tlb/fa.h) \ $(wildcard include/config/cpu/tlb/v4wbi.h) \ $(wildcard include/config/cpu/tlb/feroceon.h) \ $(wildcard include/config/cpu/tlb/v4wb.h) \ $(wildcard include/config/cpu/tlb/v7.h) \ $(wildcard include/config/arm/errata/720789.h) \ /root/linux-jps/arch/arm/include/asm/fixmap.h \ /root/linux-jps/arch/arm/include/asm/mach/arch.h \ $(wildcard include/config/multi/irq/handler.h) \ /root/linux-jps/arch/arm/include/asm/mach/map.h \ /root/linux-jps/arch/arm/include/asm/io.h \ arch/arm/mm/mm.h \ arch/arm/mm/init.o: $(deps_arch/arm/mm/init.o) $(deps_arch/arm/mm/init.o):
jpsminix/minix5
arch/arm/mm/.init.o.cmd
bat
gpl-2.0
82,793
cmd_net/ipv4/netfilter/nf_conntrack_ipv4.o := /opt/arm-2009q3/bin/arm-none-eabi-ld -EL -r -o net/ipv4/netfilter/nf_conntrack_ipv4.o net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o net/ipv4/netfilter/nf_conntrack_proto_icmp.o net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o
sembre/kernel_totoro_update3
common/net/ipv4/netfilter/.nf_conntrack_ipv4.o.cmd
bat
gpl-2.0
282
@echo off set BOOST_ROOT=E:/jarl/boost_1_35_0 set BUILD_DIR=E:\RB\B350 env-common.bat
mkotsbak/librcf-cpp
test/bbv2/env.generic.bat
bat
gpl-2.0
90
cmd_lib/idr.o := arm-none-linux-gnueabi-gcc -Wp,-MD,lib/.idr.o.d -nostdinc -isystem /opt/CodeSourcery/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include -I/home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-davinci/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=arm9tdmi -msoft-float -Uarm -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(idr)" -D"KBUILD_MODNAME=KBUILD_STR(idr)" -c -o lib/.tmp_idr.o lib/idr.c deps_lib/idr.o := \ lib/idr.c \ include/linux/slab.h \ $(wildcard include/config/slab/debug.h) \ $(wildcard include/config/debug/objects.h) \ $(wildcard include/config/kmemcheck.h) \ $(wildcard include/config/slub.h) \ $(wildcard include/config/slob.h) \ $(wildcard include/config/numa.h) \ $(wildcard include/config/debug/slab.h) \ include/linux/gfp.h \ $(wildcard include/config/highmem.h) \ $(wildcard include/config/zone/dma.h) \ $(wildcard include/config/zone/dma32.h) \ $(wildcard include/config/debug/vm.h) \ include/linux/mmzone.h \ $(wildcard include/config/force/max/zoneorder.h) \ $(wildcard include/config/smp.h) \ $(wildcard include/config/memory/hotplug.h) \ $(wildcard include/config/sparsemem.h) \ $(wildcard include/config/arch/populates/node/map.h) \ $(wildcard include/config/discontigmem.h) \ $(wildcard include/config/flat/node/mem/map.h) \ $(wildcard include/config/cgroup/mem/res/ctlr.h) \ $(wildcard include/config/have/memory/present.h) \ $(wildcard include/config/need/node/memmap/size.h) \ $(wildcard include/config/need/multiple/nodes.h) \ $(wildcard include/config/have/arch/early/pfn/to/nid.h) \ $(wildcard include/config/flatmem.h) \ $(wildcard include/config/sparsemem/extreme.h) \ $(wildcard include/config/nodes/span/other/nodes.h) \ $(wildcard include/config/holes/in/zone.h) \ $(wildcard include/config/arch/has/holes/memorymodel.h) \ include/linux/spinlock.h \ $(wildcard include/config/debug/spinlock.h) \ $(wildcard include/config/generic/lockbreak.h) \ $(wildcard include/config/preempt.h) \ $(wildcard include/config/debug/lock/alloc.h) \ include/linux/typecheck.h \ include/linux/preempt.h \ $(wildcard include/config/debug/preempt.h) \ $(wildcard include/config/preempt/tracer.h) \ $(wildcard include/config/preempt/notifiers.h) \ include/linux/thread_info.h \ $(wildcard include/config/compat.h) \ include/linux/types.h \ $(wildcard include/config/uid16.h) \ $(wildcard include/config/lbdaf.h) \ $(wildcard include/config/phys/addr/t/64bit.h) \ $(wildcard include/config/64bit.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/types.h \ include/asm-generic/int-ll64.h \ include/asm-generic/bitsperlong.h \ include/linux/posix_types.h \ include/linux/stddef.h \ include/linux/compiler.h \ $(wildcard include/config/trace/branch/profiling.h) \ $(wildcard include/config/profile/all/branches.h) \ $(wildcard include/config/enable/must/check.h) \ $(wildcard include/config/enable/warn/deprecated.h) \ include/linux/compiler-gcc.h \ $(wildcard include/config/arch/supports/optimized/inlining.h) \ $(wildcard include/config/optimize/inlining.h) \ include/linux/compiler-gcc4.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/posix_types.h \ include/linux/bitops.h \ $(wildcard include/config/generic/find/first/bit.h) \ $(wildcard include/config/generic/find/last/bit.h) \ $(wildcard include/config/generic/find/next/bit.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/bitops.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/system.h \ $(wildcard include/config/cpu/xsc3.h) \ $(wildcard include/config/cpu/fa526.h) \ $(wildcard include/config/cpu/sa1100.h) \ $(wildcard include/config/cpu/sa110.h) \ $(wildcard include/config/cpu/32v6k.h) \ include/linux/linkage.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/linkage.h \ include/linux/irqflags.h \ $(wildcard include/config/trace/irqflags.h) \ $(wildcard include/config/irqsoff/tracer.h) \ $(wildcard include/config/trace/irqflags/support.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/irqflags.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/ptrace.h \ $(wildcard include/config/cpu/endian/be8.h) \ $(wildcard include/config/arm/thumb.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/hwcap.h \ include/asm-generic/cmpxchg-local.h \ include/asm-generic/cmpxchg.h \ include/asm-generic/bitops/non-atomic.h \ include/asm-generic/bitops/fls64.h \ include/asm-generic/bitops/sched.h \ include/asm-generic/bitops/hweight.h \ include/asm-generic/bitops/lock.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/thread_info.h \ $(wildcard include/config/arm/thumbee.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/fpstate.h \ $(wildcard include/config/vfpv3.h) \ $(wildcard include/config/iwmmxt.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/domain.h \ $(wildcard include/config/io/36.h) \ $(wildcard include/config/mmu.h) \ include/linux/list.h \ $(wildcard include/config/debug/list.h) \ include/linux/poison.h \ $(wildcard include/config/illegal/pointer/value.h) \ include/linux/prefetch.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/processor.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/cache.h \ $(wildcard include/config/arm/l1/cache/shift.h) \ $(wildcard include/config/aeabi.h) \ include/linux/kernel.h \ $(wildcard include/config/preempt/voluntary.h) \ $(wildcard include/config/debug/spinlock/sleep.h) \ $(wildcard include/config/prove/locking.h) \ $(wildcard include/config/printk.h) \ $(wildcard include/config/dynamic/debug.h) \ $(wildcard include/config/ring/buffer.h) \ $(wildcard include/config/tracing.h) \ $(wildcard include/config/ftrace/mcount/record.h) \ /opt/CodeSourcery/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include/stdarg.h \ include/linux/log2.h \ $(wildcard include/config/arch/has/ilog2/u32.h) \ $(wildcard include/config/arch/has/ilog2/u64.h) \ include/linux/dynamic_debug.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/byteorder.h \ include/linux/byteorder/little_endian.h \ include/linux/swab.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/swab.h \ include/linux/byteorder/generic.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/bug.h \ $(wildcard include/config/bug.h) \ $(wildcard include/config/debug/bugverbose.h) \ include/asm-generic/bug.h \ $(wildcard include/config/generic/bug.h) \ $(wildcard include/config/generic/bug/relative/pointers.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/div64.h \ include/linux/stringify.h \ include/linux/bottom_half.h \ include/linux/spinlock_types.h \ include/linux/spinlock_types_up.h \ include/linux/lockdep.h \ $(wildcard include/config/lockdep.h) \ $(wildcard include/config/lock/stat.h) \ $(wildcard include/config/generic/hardirqs.h) \ include/linux/rwlock_types.h \ include/linux/spinlock_up.h \ include/linux/rwlock.h \ include/linux/spinlock_api_up.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/atomic.h \ include/asm-generic/atomic-long.h \ include/linux/wait.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/current.h \ include/linux/cache.h \ $(wildcard include/config/arch/has/cache/line/size.h) \ include/linux/threads.h \ $(wildcard include/config/nr/cpus.h) \ $(wildcard include/config/base/small.h) \ include/linux/numa.h \ $(wildcard include/config/nodes/shift.h) \ include/linux/init.h \ $(wildcard include/config/modules.h) \ $(wildcard include/config/hotplug.h) \ include/linux/seqlock.h \ include/linux/nodemask.h \ include/linux/bitmap.h \ include/linux/string.h \ $(wildcard include/config/binary/printf.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/string.h \ include/linux/pageblock-flags.h \ $(wildcard include/config/hugetlb/page.h) \ $(wildcard include/config/hugetlb/page/size/variable.h) \ include/generated/bounds.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/page.h \ $(wildcard include/config/cpu/copy/v3.h) \ $(wildcard include/config/cpu/copy/v4wt.h) \ $(wildcard include/config/cpu/copy/v4wb.h) \ $(wildcard include/config/cpu/copy/feroceon.h) \ $(wildcard include/config/cpu/copy/fa.h) \ $(wildcard include/config/cpu/xscale.h) \ $(wildcard include/config/cpu/copy/v6.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/glue.h \ $(wildcard include/config/cpu/arm610.h) \ $(wildcard include/config/cpu/arm710.h) \ $(wildcard include/config/cpu/abrt/lv4t.h) \ $(wildcard include/config/cpu/abrt/ev4.h) \ $(wildcard include/config/cpu/abrt/ev4t.h) \ $(wildcard include/config/cpu/abrt/ev5tj.h) \ $(wildcard include/config/cpu/abrt/ev5t.h) \ $(wildcard include/config/cpu/abrt/ev6.h) \ $(wildcard include/config/cpu/abrt/ev7.h) \ $(wildcard include/config/cpu/pabrt/legacy.h) \ $(wildcard include/config/cpu/pabrt/v6.h) \ $(wildcard include/config/cpu/pabrt/v7.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/memory.h \ $(wildcard include/config/page/offset.h) \ $(wildcard include/config/thumb2/kernel.h) \ $(wildcard include/config/dram/size.h) \ $(wildcard include/config/dram/base.h) \ include/linux/const.h \ arch/arm/mach-davinci/include/mach/memory.h \ $(wildcard include/config/arch/davinci/da8xx.h) \ $(wildcard include/config/arch/davinci/dmx.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/sizes.h \ include/asm-generic/memory_model.h \ $(wildcard include/config/sparsemem/vmemmap.h) \ include/asm-generic/getorder.h \ include/linux/memory_hotplug.h \ $(wildcard include/config/have/arch/nodedata/extension.h) \ $(wildcard include/config/memory/hotremove.h) \ include/linux/notifier.h \ include/linux/errno.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/errno.h \ include/asm-generic/errno.h \ include/asm-generic/errno-base.h \ include/linux/mutex.h \ $(wildcard include/config/debug/mutexes.h) \ include/linux/rwsem.h \ $(wildcard include/config/rwsem/generic/spinlock.h) \ include/linux/rwsem-spinlock.h \ include/linux/srcu.h \ include/linux/topology.h \ $(wildcard include/config/sched/smt.h) \ $(wildcard include/config/sched/mc.h) \ include/linux/cpumask.h \ $(wildcard include/config/cpumask/offstack.h) \ $(wildcard include/config/hotplug/cpu.h) \ $(wildcard include/config/debug/per/cpu/maps.h) \ $(wildcard include/config/disable/obsolete/cpumask/functions.h) \ include/linux/smp.h \ $(wildcard include/config/use/generic/smp/helpers.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/topology.h \ include/asm-generic/topology.h \ include/linux/mmdebug.h \ $(wildcard include/config/debug/virtual.h) \ include/linux/slub_def.h \ $(wildcard include/config/slub/stats.h) \ $(wildcard include/config/slub/debug.h) \ include/linux/workqueue.h \ $(wildcard include/config/debug/objects/work.h) \ include/linux/timer.h \ $(wildcard include/config/timer/stats.h) \ $(wildcard include/config/debug/objects/timers.h) \ include/linux/ktime.h \ $(wildcard include/config/ktime/scalar.h) \ include/linux/time.h \ $(wildcard include/config/arch/uses/gettimeoffset.h) \ include/linux/math64.h \ include/linux/jiffies.h \ include/linux/timex.h \ include/linux/param.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/param.h \ $(wildcard include/config/hz.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/timex.h \ arch/arm/mach-davinci/include/mach/timex.h \ include/linux/debugobjects.h \ $(wildcard include/config/debug/objects/free.h) \ include/linux/kobject.h \ include/linux/sysfs.h \ $(wildcard include/config/sysfs.h) \ include/linux/kref.h \ include/linux/kmemtrace.h \ $(wildcard include/config/kmemtrace.h) \ include/trace/events/kmem.h \ include/linux/tracepoint.h \ $(wildcard include/config/tracepoints.h) \ include/linux/rcupdate.h \ $(wildcard include/config/tree/rcu.h) \ $(wildcard include/config/tree/preempt/rcu.h) \ $(wildcard include/config/tiny/rcu.h) \ include/linux/completion.h \ include/linux/rcutree.h \ $(wildcard include/config/no/hz.h) \ include/trace/define_trace.h \ $(wildcard include/config/event/tracing.h) \ include/linux/kmemleak.h \ $(wildcard include/config/debug/kmemleak.h) \ include/linux/module.h \ $(wildcard include/config/symbol/prefix.h) \ $(wildcard include/config/modversions.h) \ $(wildcard include/config/unused/symbols.h) \ $(wildcard include/config/kallsyms.h) \ $(wildcard include/config/module/unload.h) \ $(wildcard include/config/constructors.h) \ include/linux/stat.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/stat.h \ include/linux/kmod.h \ include/linux/elf.h \ include/linux/elf-em.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/elf.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/user.h \ include/linux/moduleparam.h \ $(wildcard include/config/alpha.h) \ $(wildcard include/config/ia64.h) \ $(wildcard include/config/ppc64.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/local.h \ include/asm-generic/local.h \ include/linux/percpu.h \ $(wildcard include/config/need/per/cpu/embed/first/chunk.h) \ $(wildcard include/config/need/per/cpu/page/first/chunk.h) \ $(wildcard include/config/have/setup/per/cpu/area.h) \ include/linux/pfn.h \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/percpu.h \ include/asm-generic/percpu.h \ include/linux/percpu-defs.h \ $(wildcard include/config/debug/force/weak/per/cpu.h) \ /home/maximilian/projects/git-clean/ev3sources/extra/linux-03.20.00.13/arch/arm/include/asm/module.h \ $(wildcard include/config/arm/unwind.h) \ include/trace/events/module.h \ include/linux/err.h \ include/linux/idr.h \ lib/idr.o: $(deps_lib/idr.o) $(deps_lib/idr.o):
EAVR/EV3.14
ev3sources/extra/linux-03.20.00.13/lib/.idr.o.cmd
bat
gpl-2.0
16,164
@ECHO=OFF rem The following path is for x86 processor builds. PATH=\Tornado2\host\x86-win32\bin;\Tornado2\host\x86-win32\i386-wrs-vxworks\bin;\Tornado2\host\x86-win32\lib\gcc-lib\i386-wrs-vxworks\cygnus-2.7.2-960126;%PATH% path
18959263172/httpserver
VXWORKS/setpath.bat
bat
gpl-2.0
229
cmd_net/netfilter/xt_tcpmss.ko := mips-openwrt-linux-uclibc-ld -r -m elf32btsmip -T /home/shizhai/new_zhongwang/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.10.4/scripts/module-common.lds -s --build-id -o net/netfilter/xt_tcpmss.ko net/netfilter/xt_tcpmss.o net/netfilter/xt_tcpmss.mod.o
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.10.4/net/netfilter/.xt_tcpmss.ko.cmd
bat
gpl-2.0
321
cmd_fs/nfsd/nfscache.o := gcc -Wp,-MD,fs/nfsd/.nfscache.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -Wframe-larger-than=2048 -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(nfscache)" -D"KBUILD_MODNAME=KBUILD_STR(nfsd)" -c -o fs/nfsd/nfscache.o fs/nfsd/nfscache.c deps_fs/nfsd/nfscache.o := \ fs/nfsd/nfscache.c \ include/linux/kernel.h \ $(wildcard include/config/lbd.h) \ $(wildcard include/config/preempt/voluntary.h) \ $(wildcard include/config/debug/spinlock/sleep.h) \ $(wildcard include/config/printk.h) \ $(wildcard include/config/numa.h) \ /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdarg.h \ include/linux/linkage.h \ include/asm/linkage.h \ $(wildcard include/config/x86/64.h) \ $(wildcard include/config/x86/32.h) \ $(wildcard include/config/x86/alignment/16.h) \ include/linux/stddef.h \ include/linux/compiler.h \ $(wildcard include/config/enable/must/check.h) \ $(wildcard include/config/enable/warn/deprecated.h) \ include/linux/compiler-gcc4.h \ include/linux/compiler-gcc.h \ $(wildcard include/config/arch/supports/optimized/inlining.h) \ $(wildcard include/config/optimize/inlining.h) \ include/linux/types.h \ $(wildcard include/config/uid16.h) \ $(wildcard include/config/lsf.h) \ $(wildcard include/config/resources/64bit.h) \ include/linux/posix_types.h \ include/asm/posix_types.h \ include/asm/posix_types_32.h \ include/asm/types.h \ $(wildcard include/config/highmem64g.h) \ include/asm-generic/int-ll64.h \ include/linux/bitops.h \ $(wildcard include/config/generic/find/first/bit.h) \ $(wildcard include/config/generic/find/next/bit.h) \ include/asm/bitops.h \ $(wildcard include/config/x86/cmov.h) \ include/asm/alternative.h \ $(wildcard include/config/smp.h) \ $(wildcard include/config/paravirt.h) \ include/asm/asm.h \ include/asm/cpufeature.h \ $(wildcard include/config/x86/invlpg.h) \ include/asm/required-features.h \ $(wildcard include/config/x86/minimum/cpu/family.h) \ $(wildcard include/config/math/emulation.h) \ $(wildcard include/config/x86/pae.h) \ $(wildcard include/config/x86/use/3dnow.h) \ include/asm-generic/bitops/sched.h \ include/asm-generic/bitops/hweight.h \ include/asm-generic/bitops/fls64.h \ include/asm-generic/bitops/ext2-non-atomic.h \ include/asm-generic/bitops/le.h \ include/asm/byteorder.h \ $(wildcard include/config/x86/bswap.h) \ include/linux/byteorder/little_endian.h \ include/linux/byteorder/swab.h \ include/linux/byteorder/generic.h \ include/asm-generic/bitops/minix.h \ include/linux/log2.h \ $(wildcard include/config/arch/has/ilog2/u32.h) \ $(wildcard include/config/arch/has/ilog2/u64.h) \ include/asm/bug.h \ $(wildcard include/config/bug.h) \ $(wildcard include/config/debug/bugverbose.h) \ include/asm-generic/bug.h \ $(wildcard include/config/generic/bug.h) \ include/linux/time.h \ include/linux/cache.h \ $(wildcard include/config/arch/has/cache/line/size.h) \ include/asm/cache.h \ $(wildcard include/config/x86/l1/cache/shift.h) \ $(wildcard include/config/x86/vsmp.h) \ include/linux/seqlock.h \ include/linux/spinlock.h \ $(wildcard include/config/debug/spinlock.h) \ $(wildcard include/config/generic/lockbreak.h) \ $(wildcard include/config/preempt.h) \ $(wildcard include/config/debug/lock/alloc.h) \ include/linux/preempt.h \ $(wildcard include/config/debug/preempt.h) \ $(wildcard include/config/preempt/notifiers.h) \ include/linux/thread_info.h \ $(wildcard include/config/compat.h) \ include/asm/thread_info.h \ include/asm/thread_info_32.h \ $(wildcard include/config/4kstacks.h) \ $(wildcard include/config/debug/stack/usage.h) \ include/asm/page.h \ include/linux/const.h \ include/asm/page_32.h \ $(wildcard include/config/highmem4g.h) \ $(wildcard include/config/page/offset.h) \ $(wildcard include/config/hugetlb/page.h) \ $(wildcard include/config/flatmem.h) \ $(wildcard include/config/x86/3dnow.h) \ include/linux/string.h \ include/asm/string.h \ include/asm/string_32.h \ include/asm-generic/pgtable-nopmd.h \ include/asm-generic/pgtable-nopud.h \ include/asm-generic/memory_model.h \ $(wildcard include/config/discontigmem.h) \ $(wildcard include/config/sparsemem/vmemmap.h) \ $(wildcard include/config/sparsemem.h) \ $(wildcard include/config/out/of/line/pfn/to/page.h) \ include/asm-generic/page.h \ include/asm/processor.h \ $(wildcard include/config/x86/ht.h) \ $(wildcard include/config/x86/debugctlmsr.h) \ include/asm/processor-flags.h \ include/asm/vm86.h \ $(wildcard include/config/vm86.h) \ include/asm/ptrace.h \ include/asm/ptrace-abi.h \ include/asm/segment.h \ include/asm/ds.h \ include/linux/init.h \ $(wildcard include/config/modules.h) \ $(wildcard include/config/hotplug.h) \ include/asm/math_emu.h \ include/asm/sigcontext.h \ include/asm/current.h \ include/asm/current_32.h \ include/asm/percpu.h \ include/asm-generic/percpu.h \ $(wildcard include/config/have/setup/per/cpu/area.h) \ include/linux/threads.h \ $(wildcard include/config/nr/cpus.h) \ $(wildcard include/config/base/small.h) \ include/asm/system.h \ $(wildcard include/config/ia32/emulation.h) \ $(wildcard include/config/x86/ppro/fence.h) \ $(wildcard include/config/x86/oostore.h) \ include/asm/cmpxchg.h \ include/asm/cmpxchg_32.h \ $(wildcard include/config/x86/cmpxchg.h) \ $(wildcard include/config/x86/cmpxchg64.h) \ include/asm/nops.h \ $(wildcard include/config/mk7.h) \ $(wildcard include/config/x86/p6/nop.h) \ include/linux/irqflags.h \ $(wildcard include/config/trace/irqflags.h) \ $(wildcard include/config/trace/irqflags/support.h) \ $(wildcard include/config/x86.h) \ include/asm/irqflags.h \ include/asm/msr.h \ include/asm/msr-index.h \ include/asm/errno.h \ include/asm-generic/errno.h \ include/asm-generic/errno-base.h \ include/linux/errno.h \ include/asm/desc_defs.h \ include/linux/personality.h \ include/linux/cpumask.h \ $(wildcard include/config/have/cpumask/of/cpu/map.h) \ $(wildcard include/config/hotplug/cpu.h) \ include/linux/bitmap.h \ include/linux/list.h \ $(wildcard include/config/debug/list.h) \ include/linux/poison.h \ include/linux/prefetch.h \ include/linux/stringify.h \ include/linux/bottom_half.h \ include/linux/spinlock_types.h \ include/asm/spinlock_types.h \ include/linux/lockdep.h \ $(wildcard include/config/lockdep.h) \ $(wildcard include/config/lock/stat.h) \ $(wildcard include/config/generic/hardirqs.h) \ $(wildcard include/config/prove/locking.h) \ include/asm/spinlock.h \ include/asm/atomic.h \ include/asm/atomic_32.h \ $(wildcard include/config/m386.h) \ include/asm-generic/atomic.h \ include/asm/rwlock.h \ include/linux/spinlock_api_smp.h \ include/linux/math64.h \ include/asm/div64.h \ include/linux/slab.h \ $(wildcard include/config/slab/debug.h) \ $(wildcard include/config/debug/objects.h) \ $(wildcard include/config/slub.h) \ $(wildcard include/config/slob.h) \ $(wildcard include/config/debug/slab.h) \ $(wildcard include/config/slabinfo.h) \ include/linux/gfp.h \ $(wildcard include/config/zone/dma.h) \ $(wildcard include/config/zone/dma32.h) \ $(wildcard include/config/highmem.h) \ include/linux/mmzone.h \ $(wildcard include/config/force/max/zoneorder.h) \ $(wildcard include/config/memory/hotplug.h) \ $(wildcard include/config/arch/populates/node/map.h) \ $(wildcard include/config/flat/node/mem/map.h) \ $(wildcard include/config/have/memory/present.h) \ $(wildcard include/config/need/node/memmap/size.h) \ $(wildcard include/config/need/multiple/nodes.h) \ $(wildcard include/config/have/arch/early/pfn/to/nid.h) \ $(wildcard include/config/sparsemem/extreme.h) \ $(wildcard include/config/nodes/span/other/nodes.h) \ $(wildcard include/config/holes/in/zone.h) \ include/linux/wait.h \ include/linux/numa.h \ $(wildcard include/config/nodes/shift.h) \ include/linux/nodemask.h \ include/linux/pageblock-flags.h \ $(wildcard include/config/hugetlb/page/size/variable.h) \ include/linux/bounds.h \ include/linux/memory_hotplug.h \ $(wildcard include/config/have/arch/nodedata/extension.h) \ include/linux/notifier.h \ include/linux/mutex.h \ $(wildcard include/config/debug/mutexes.h) \ include/linux/rwsem.h \ $(wildcard include/config/rwsem/generic/spinlock.h) \ include/asm/rwsem.h \ include/linux/srcu.h \ include/linux/topology.h \ $(wildcard include/config/sched/smt.h) \ $(wildcard include/config/sched/mc.h) \ include/linux/smp.h \ include/asm/smp.h \ $(wildcard include/config/x86/local/apic.h) \ $(wildcard include/config/x86/io/apic.h) \ $(wildcard include/config/x86/32/smp.h) \ $(wildcard include/config/x86/64/smp.h) \ include/asm/mpspec.h \ $(wildcard include/config/mca.h) \ $(wildcard include/config/eisa.h) \ $(wildcard include/config/acpi.h) \ include/asm/mpspec_def.h \ include/asm-x86/mach-default/mach_mpspec.h \ include/asm/apic.h \ $(wildcard include/config/x86/good/apic.h) \ include/linux/pm.h \ $(wildcard include/config/pm/sleep.h) \ include/linux/delay.h \ include/asm/delay.h \ include/asm/fixmap.h \ include/asm/fixmap_32.h \ $(wildcard include/config/x86/visws/apic.h) \ $(wildcard include/config/x86/f00f/bug.h) \ $(wildcard include/config/x86/cyclone/timer.h) \ $(wildcard include/config/pci/mmconfig.h) \ $(wildcard include/config/provide/ohci1394/dma/init.h) \ include/asm/acpi.h \ $(wildcard include/config/acpi/numa.h) \ include/acpi/pdc_intel.h \ include/asm/numa.h \ include/asm/numa_32.h \ include/asm/mmu.h \ include/asm/apicdef.h \ include/asm/kmap_types.h \ $(wildcard include/config/debug/highmem.h) \ include/asm/io_apic.h \ include/asm/pda.h \ $(wildcard include/config/cc/stackprotector.h) \ include/asm-x86/mach-default/mach_apicdef.h \ include/asm/topology.h \ $(wildcard include/config/debug/per/cpu/maps.h) \ $(wildcard include/config/x86/64/acpi/numa.h) \ include/asm-generic/topology.h \ include/asm/sparsemem.h \ include/linux/slab_def.h \ include/linux/kmalloc_sizes.h \ include/linux/sunrpc/svc.h \ include/linux/in.h \ include/linux/socket.h \ $(wildcard include/config/proc/fs.h) \ include/asm/socket.h \ include/asm/sockios.h \ include/linux/sockios.h \ include/linux/uio.h \ include/linux/in6.h \ include/linux/sunrpc/types.h \ include/linux/timer.h \ $(wildcard include/config/timer/stats.h) \ $(wildcard include/config/debug/objects/timers.h) \ include/linux/ktime.h \ $(wildcard include/config/ktime/scalar.h) \ include/linux/jiffies.h \ include/linux/timex.h \ $(wildcard include/config/no/hz.h) \ include/asm/param.h \ $(wildcard include/config/hz.h) \ include/asm/timex.h \ $(wildcard include/config/x86/elan.h) \ $(wildcard include/config/x86/rdc321x.h) \ include/asm/tsc.h \ $(wildcard include/config/x86/tsc.h) \ include/linux/debugobjects.h \ $(wildcard include/config/debug/objects/free.h) \ include/linux/workqueue.h \ include/linux/sunrpc/debug.h \ $(wildcard include/config/sysctl.h) \ include/linux/sunrpc/xdr.h \ include/linux/scatterlist.h \ $(wildcard include/config/debug/sg.h) \ include/asm/scatterlist.h \ include/linux/mm.h \ $(wildcard include/config/mmu.h) \ $(wildcard include/config/stack/growsup.h) \ $(wildcard include/config/debug/vm.h) \ $(wildcard include/config/security.h) \ $(wildcard include/config/swap.h) \ $(wildcard include/config/shmem.h) \ $(wildcard include/config/split/ptlock/cpus.h) \ $(wildcard include/config/ia64.h) \ $(wildcard include/config/debug/pagealloc.h) \ $(wildcard include/config/hibernation.h) \ include/linux/rbtree.h \ include/linux/prio_tree.h \ include/linux/debug_locks.h \ $(wildcard include/config/debug/locking/api/selftests.h) \ include/linux/mm_types.h \ $(wildcard include/config/cgroup/mem/res/ctlr.h) \ $(wildcard include/config/mm/owner.h) \ include/linux/auxvec.h \ include/asm/auxvec.h \ include/linux/completion.h \ include/asm/pgtable.h \ include/asm/pgtable_32.h \ $(wildcard include/config/highpte.h) \ include/asm/paravirt.h \ include/asm/pgtable-2level-defs.h \ include/asm/pgtable-2level.h \ include/asm-generic/pgtable.h \ include/linux/page-flags.h \ $(wildcard include/config/pageflags/extended.h) \ $(wildcard include/config/ia64/uncached/allocator.h) \ $(wildcard include/config/s390.h) \ include/linux/vmstat.h \ $(wildcard include/config/vm/event/counters.h) \ include/linux/percpu.h \ include/asm/io.h \ include/asm/io_32.h \ include/asm-generic/iomap.h \ include/linux/vmalloc.h \ include/linux/smp_lock.h \ $(wildcard include/config/lock/kernel.h) \ include/linux/sched.h \ $(wildcard include/config/sched/debug.h) \ $(wildcard include/config/detect/softlockup.h) \ $(wildcard include/config/keys.h) \ $(wildcard include/config/bsd/process/acct.h) \ $(wildcard include/config/taskstats.h) \ $(wildcard include/config/audit.h) \ $(wildcard include/config/inotify/user.h) \ $(wildcard include/config/posix/mqueue.h) \ $(wildcard include/config/user/sched.h) \ $(wildcard include/config/sysfs.h) \ $(wildcard include/config/schedstats.h) \ $(wildcard include/config/task/delay/acct.h) \ $(wildcard include/config/fair/group/sched.h) \ $(wildcard include/config/rt/group/sched.h) \ $(wildcard include/config/blk/dev/io/trace.h) \ $(wildcard include/config/preempt/rcu.h) \ $(wildcard include/config/sysvipc.h) \ $(wildcard include/config/auditsyscall.h) \ $(wildcard include/config/rt/mutexes.h) \ $(wildcard include/config/task/xacct.h) \ $(wildcard include/config/cpusets.h) \ $(wildcard include/config/cgroups.h) \ $(wildcard include/config/futex.h) \ $(wildcard include/config/fault/injection.h) \ $(wildcard include/config/latencytop.h) \ $(wildcard include/config/have/unstable/sched/clock.h) \ $(wildcard include/config/preempt/bkl.h) \ $(wildcard include/config/group/sched.h) \ include/linux/capability.h \ include/asm/cputime.h \ include/asm-generic/cputime.h \ include/linux/sem.h \ include/linux/ipc.h \ include/asm/ipcbuf.h \ include/linux/kref.h \ include/asm/sembuf.h \ include/linux/signal.h \ include/asm/signal.h \ include/asm-generic/signal.h \ include/asm/siginfo.h \ include/asm-generic/siginfo.h \ include/linux/fs_struct.h \ include/linux/path.h \ include/linux/pid.h \ include/linux/rcupdate.h \ $(wildcard include/config/classic/rcu.h) \ include/linux/rcuclassic.h \ include/linux/proportions.h \ include/linux/percpu_counter.h \ include/linux/seccomp.h \ $(wildcard include/config/seccomp.h) \ include/asm/seccomp.h \ include/asm/seccomp_32.h \ include/linux/unistd.h \ include/asm/unistd.h \ include/asm/unistd_32.h \ include/linux/rtmutex.h \ $(wildcard include/config/debug/rt/mutexes.h) \ include/linux/plist.h \ $(wildcard include/config/debug/pi/list.h) \ include/linux/param.h \ include/linux/resource.h \ include/asm/resource.h \ include/asm-generic/resource.h \ include/linux/hrtimer.h \ $(wildcard include/config/high/res/timers.h) \ include/linux/task_io_accounting.h \ $(wildcard include/config/task/io/accounting.h) \ include/linux/kobject.h \ include/linux/sysfs.h \ include/linux/latencytop.h \ include/linux/aio.h \ include/linux/aio_abi.h \ include/linux/sunrpc/auth.h \ include/linux/sunrpc/sched.h \ include/linux/sunrpc/msg_prot.h \ include/linux/sunrpc/svcauth.h \ include/linux/sunrpc/cache.h \ include/linux/proc_fs.h \ $(wildcard include/config/proc/devicetree.h) \ $(wildcard include/config/proc/kcore.h) \ include/linux/fs.h \ $(wildcard include/config/dnotify.h) \ $(wildcard include/config/quota.h) \ $(wildcard include/config/inotify.h) \ $(wildcard include/config/epoll.h) \ $(wildcard include/config/debug/writecount.h) \ $(wildcard include/config/block.h) \ $(wildcard include/config/fs/xip.h) \ $(wildcard include/config/migration.h) \ include/linux/limits.h \ include/linux/ioctl.h \ include/asm/ioctl.h \ include/asm-generic/ioctl.h \ include/linux/kdev_t.h \ include/linux/dcache.h \ $(wildcard include/config/profiling.h) \ include/linux/namei.h \ include/linux/stat.h \ include/asm/stat.h \ include/linux/radix-tree.h \ include/linux/semaphore.h \ include/linux/quota.h \ include/linux/dqblk_xfs.h \ include/linux/dqblk_v1.h \ include/linux/dqblk_v2.h \ include/linux/nfs_fs_i.h \ include/linux/nfs.h \ include/linux/fcntl.h \ include/asm/fcntl.h \ include/asm-generic/fcntl.h \ $(wildcard include/config/64bit.h) \ include/linux/err.h \ include/linux/magic.h \ include/linux/hash.h \ include/linux/nfsd/nfsd.h \ $(wildcard include/config/nfsd/v4.h) \ $(wildcard include/config/nfsd/v3.h) \ $(wildcard include/config/nfsd/v2/acl.h) \ $(wildcard include/config/nfsd/v3/acl.h) \ include/linux/dirent.h \ include/linux/posix_acl.h \ include/linux/mount.h \ include/linux/nfsd/debug.h \ include/linux/nfsd/nfsfh.h \ include/linux/nfsd/const.h \ include/linux/nfs2.h \ include/linux/nfs3.h \ include/linux/nfs4.h \ include/linux/nfsd/export.h \ include/linux/nfsd/stats.h \ include/linux/nfsd/cache.h \ fs/nfsd/nfscache.o: $(deps_fs/nfsd/nfscache.o) $(deps_fs/nfsd/nfscache.o):
namgk/kernel-tut
fs/nfsd/.nfscache.o.cmd
bat
gpl-2.0
18,474
@echo off echo Making HEXEN.WAD echo Preprocessing: wadlink.txt to wadlink.wl wcc386 /dNOMAPS /dREGISTERED /p /fo=wadlink.wl \data\wadlink.txt echo wadlinking ... \tools\exe\wadlink
ioan-chera/hexen
hexen source/w.bat
bat
gpl-2.0
182
cmd_arch/arm/lib/ashldi3.o := ccache /home/friedrich420/kernel/sm-arm-eabi-4.10/bin/arm-eabi-gcc -Wp,-MD,arch/arm/lib/.ashldi3.o.d -nostdinc -isystem /home/friedrich420/kernel/sm-arm-eabi-4.10/bin/../lib/gcc/arm-eabi/4.10.0/include -I/home/friedrich420/kernel/note3/N3NB7KernelGIT2/arch/arm/include -Iarch/arm/include/generated -Iinclude -include /home/friedrich420/kernel/note3/N3NB7KernelGIT2/include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-msm/include -D__ASSEMBLY__ -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -mcpu=cortex-a15 -include asm/unified.h -msoft-float -gdwarf-2 -O2 -mtune=cortex-a15 -mfpu=neon -fgcse-las -fpredictive-commoning -c -o arch/arm/lib/ashldi3.o arch/arm/lib/ashldi3.S source_arch/arm/lib/ashldi3.o := arch/arm/lib/ashldi3.S deps_arch/arm/lib/ashldi3.o := \ /home/friedrich420/kernel/note3/N3NB7KernelGIT2/arch/arm/include/asm/unified.h \ $(wildcard include/config/arm/asm/unified.h) \ $(wildcard include/config/thumb2/kernel.h) \ include/linux/linkage.h \ include/linux/compiler.h \ $(wildcard include/config/sparse/rcu/pointer.h) \ $(wildcard include/config/trace/branch/profiling.h) \ $(wildcard include/config/profile/all/branches.h) \ $(wildcard include/config/enable/must/check.h) \ $(wildcard include/config/enable/warn/deprecated.h) \ /home/friedrich420/kernel/note3/N3NB7KernelGIT2/arch/arm/include/asm/linkage.h \ arch/arm/lib/ashldi3.o: $(deps_arch/arm/lib/ashldi3.o) $(deps_arch/arm/lib/ashldi3.o):
friedrich420/Note-3-Kernel
arch/arm/lib/.ashldi3.o.cmd
bat
gpl-2.0
1,543
@rem Save the starting directory @for /F %%A in ('cd') do @set STARTDIR=%%A @if %1x==x goto nomungedir @if %2x==x goto nosourcedir @if %3x==x goto nooverridedir @if %4x==x goto noplatform @if %5x==x goto nomungelogdir @if %6x==x goto noleveldir @if %7x==x goto nolevelsrcdir @if %8x==x goto nolevelfile @rem Setup directories @set MUNGEDIR=%STARTDIR%\%1 @set SOURCEDIR=%STARTDIR%\%2 @set PLATFORMDIR=%STARTDIR%\%3 @set LOGDIR=%STARTDIR%\%5 @set LEVELDIR=%STARTDIR%\%6 @set LEVELFILEREQ=%8%.req @set LEVELFILELVL=%MUNGEDIR%\%8%.lvl @set CHECKDATE=-checkdate @set CHECKID=-checkid @if %SOUNDNODATECHECK%x==1x @set CHECKDATE= @rem Build up a list of directories for level pack to search for source files @Setlocal enabledelayedexpansion @set LEVELSRCDIR= @set PATH="%CD%"\..\ToolsFL\Bin;%PATH% @rem Should we munge this level ? @if /i not "%SOUNDLVL%"=="" ( @for %%A in (%SOUNDLVL%) do @if /i "%%A"=="%8" @goto mungeit @goto exit ) :mungeit @if "%MUNGE_LOG%"=="" set MUNGE_LOG=%LOGDIR%\%4%_MungeLog.txt @if not EXIST %SOURCEDIR% ( @echo Unable to munge %SOURCEDIR% as it doesn't exist! 1>> %MUNGE_LOG% @goto exit ) @goto nodebug @echo Current Directory = %CD% @echo Sound level filter = %SOUNDLVL% @echo Munge output directory = %MUNGEDIR% @echo Source directory = %SOURCEDIR% @echo Platform override directory = %PLATFORMDIR% @echo Selected platform = %4 @echo Munge logs directory = %LOGDIR% @echo Level file output directory = %LEVELDIR% @echo Final req file = %LEVELFILEREQ% @echo Output level file = %LEVELFILELVL% @echo Additional stream options = %STREAMOPT% @pause :nodebug @if EXIST %MUNGEDIR% goto skipcreatemungedir @mkdir %MUNGEDIR% :skipcreatemungedir @cd %SOURCEDIR% @rem Munge configuration files @rem *.snd - sound library @rem *.mus - dynamic music configuration @rem *.ffx - foley effects @rem *.tsr - sound regions @configmunge -inputfile *.snd *.mus *.ffx *.tsr -platform %4 -sourcedir %PLATFORMDIR% %SOURCEDIR% -outputdir %MUNGEDIR% -hashstrings %CHECKDATE% -continue 2>>%MUNGE_LOG% @if %SOUNDLOG%x==1x ( @set SOUNDOPT=-verbose & @set SOUNDLOGOUT=%LOGDIR%\SoundBankLog.txt ) else ( @set SOUNDOPT= & @set SOUNDLOGOUT=NUL ) @rem Munge sound banks @for /R %%A in (*.sfx) do @echo Munging %%~nA%%~xA & @soundflmunge -platform %4 -banklistinput %%A -bankoutput %MUNGEDIR%\ %CHECKDATE% -resample %CHECKID% noabort %SOUNDOPT% %BANKOPT% 2>>%MUNGE_LOG% 1>>%SOUNDLOGOUT% @rem Munge streams @rem Localization @rem Setup the extension of localized stream files (if it's english we'll just use the default extension) @set LANGVERSION= @rem @for /F %%A in (%MUNGE_LANGVERSION%) do @set LANGVERSION=%%~A @set LANGVERSION=%MUNGE_LANGVERSION% @if /i %LANGVERSION%x==Englishx ( @set LOCALIZEEXT= ) else ( @set LOCALIZEEXT=stm_%LANGVERSION% ) @rem make the directory for language-specific stuff if it doesn't exist - H8 h8 h8! @if EXIST %MUNGEDIR%\%LANGVERSION% goto skipcreatelangdir @echo Creating dir %MUNGEDIR%\%LANGVERSION%\ @mkdir %MUNGEDIR%\%LANGVERSION% :skipcreatelangdir @rem Munge localized stream files @if /i not %MUNGESTREAMS%x==0x @if /i not %LANGVERSION%x==Englishx @for /R %%A in (*.%LOCALIZEEXT%) do @echo Munging %%~nA%%~xA to %MUNGEDIR%\%LANGVERSION%\ & soundflmunge -platform %4 -banklistinput %%A -bankoutput %MUNGEDIR%\%LANGVERSION%\%%~nA.str -stream %CHECKDATE% -resample %CHECKID% noabort %SOUNDOPT% %STREAMOPT% 2>>%MUNGE_LOG% 1>>%SOUNDLOGOUT% @set MUNGE2SUBSTREAMS=0 @if /i %4==XBOX @set MUNGE2SUBSTREAMS=1 @if /i %4==PC @set MUNGE2SUBSTREAMS=1 @rem Build up a list of 1 substream streams to munge, @rem Filtering the localize streams and if on xbox 4 channel streams @set MUNGESUBSTREAM1= @if /i not %MUNGESTREAMS%x==0x @for /R %%A in (*.stm) do @if /i %%~xA==.stm ( @if not EXIST %%~dA%%~pA%%~nA.%LOCALIZEEXT% ( @if /i %MUNGE2SUBSTREAMS%==1 ( @if not EXIST %%~dA%%~pA%%~nA.st4 @set MUNGESUBSTREAM1=!MUNGESUBSTREAM1! %%A ) else ( @set MUNGESUBSTREAM1=!MUNGESUBSTREAM1! %%A ) ) ) @rem Munge 1 substream streams @if /i not %MUNGESTREAMS%x==0x @for %%A in (%MUNGESUBSTREAM1%) do @echo Munging %%~nA%%~xA & soundflmunge -platform %4 -banklistinput %%A -bankoutput %MUNGEDIR%\ -stream %CHECKDATE% -resample %CHECKID% noabort %SOUNDOPT% %STREAMOPT% 2>>%MUNGE_LOG% 1>>%SOUNDLOGOUT% @rem Munge 2 substream streams @if /i not %MUNGESTREAMS%x==0x @if %MUNGE2SUBSTREAMS%==1 @for /R %%A in (*.st4) do @echo Munging %%~nA%%~xA & soundflmunge -platform %4 -banklistinput %%A -bankoutput %MUNGEDIR%\ -stream %CHECKDATE% -resample %CHECKID% noabort %SOUNDOPT% %STREAMOPT% -substream 2 2>>%MUNGE_LOG% 1>>%SOUNDLOGOUT% @rem Build level files @if EXIST %LEVELDIR% goto skipcreateleveldir @mkdir %LEVELDIR% :skipcreateleveldir @if %SOUNDNOLVL%x==1x @goto exit @rem build up a list of include directories for levelpack @rem language overrides first! @if %LANGVERSION%x==x goto skiplang @for /F %%A in ('dir /AD /B %STARTDIR%\%7') do @set LANGSRCDIR=!LANGSRCDIR! %STARTDIR%\%7\%%A\MUNGED\%4\%LANGVERSION% @for /F %%A in ('dir /AD /B %STARTDIR%\%7\Worlds') do @set LANGSRCDIR=!LANGSRCDIR! %STARTDIR%\%7\Worlds\%%A\MUNGED\%4\%LANGVERSION% :skiplang @for /F %%A in ('dir /AD /B %STARTDIR%\%7') do @set LEVELSRCDIR=!LEVELSRCDIR! %STARTDIR%\%7\%%A\MUNGED\%4 @for /F %%A in ('dir /AD /B %STARTDIR%\%7\Worlds') do @set LEVELSRCDIR=!LEVELSRCDIR! %STARTDIR%\%7\Worlds\%%A\MUNGED\%4 @for /R %%A in (*.req) do @if /i not %%A==%SOURCEDIR%\%LEVELFILEREQ% levelpack -inputfile %%~nA%%~xA -platform %4 -sourcedir %SOURCEDIR% %LANGSRCDIR% %PLATFORMDIR% -inputdir %LEVELSRCDIR% -outputdir %MUNGEDIR% -continue %CHECKDATE% @if EXIST %LEVELFILEREQ% levelpack -inputfile %LEVELFILEREQ% -platform %4 -sourcedir %SOURCEDIR% %LANGSRCDIR% %PLATFORMDIR% -inputdir %LEVELSRCDIR% -outputdir %LEVELDIR% -continue %CHECKDATE% @goto exit :nomungedir @echo Munge directory must be specified as the first argument @goto exit :nosourcedir @echo Source data directory must be specified as the second argument @goto exit :nooverridedir @echo Platform specific source data directory must be specified as the third argument @goto exit :noplatform @echo Platform must be specified as the fourth argument @goto exit :nomungelogdir @echo Munge log directory must be specified as the fifth argument @goto exit :noleveldir @echo Level output directory must be specified as the sixth argument @goto exit :nolevelsrcdir @echo Level source direct must be specified as the seventh argument @goto exit :nolevelfile @echo Final output level file must be specified as the eighth argument @goto exit :exit @endlocal @cd %STARTDIR%
Kfm946/data_HG2
soundmungedir.bat
bat
gpl-3.0
6,602
C:/VulkanSDK/1.2.131.1/Bin32/glslc.exe shader.vert -o vert.spv C:/VulkanSDK/1.2.131.1/Bin32/glslc.exe shader.frag -o frag.spv pause
Toffanim/ToffanimEngine
sideProjects/VulkanProject/shaders/compile.bat
bat
gpl-3.0
131
@REM php on line loader for windows @echo off set ponlpath=%~dp0 set ponlbasename=ponl.php set ponlfile=%ponlpath%%ponlbasename% REM Concats all arguments to pass them to php set args= :argactionstart if -%1-==-- goto argactionend set args=%args% %1 shift goto argactionstart :argactionend php "%ponlfile%"%args% set args=
jaraonthe-dot-net/PONL
ponl.bat
bat
gpl-3.0
342
tools\mksquashfs.exe %1 %2 -nopad -no-recovery -noappend PAUSE
foxblock/PNDTools
tools/mksquashfs.bat
bat
gpl-3.0
62
@echo off ::Run this as administrator! ::then visit https://diafygi.github.io/webrtc-ips/ to verify ::no more public IP leaking :-D :: Original by https://github.com/stunner all credits goes to him netsh advfirewall firewall add rule name="No STUN leak for j00!" dir=out action=block protocol=UDP localport=3478 netsh advfirewall firewall add rule name="No STUN leak for j00!" dir=out action=block protocol=UDP remoteport=3478 netsh advfirewall firewall add rule name="No STUN leak for j00!" dir=in action=block protocol=UDP localport=3478 netsh advfirewall firewall add rule name="No STUN leak for j00!" dir=in action=block protocol=UDP remoteport=3478 netsh advfirewall firewall add rule name="No STUN leak for j00!" dir=out action=block protocol=UDP localport=19302 netsh advfirewall firewall add rule name="No STUN leak for j00!" dir=out action=block protocol=UDP remoteport=19302 netsh advfirewall firewall add rule name="No STUN leak for j00!" dir=in action=block protocol=UDP localport=19302 netsh advfirewall firewall add rule name="No STUN leak for j00!" dir=in action=block protocol=UDP remoteport=19302
CHEF-KOCH/regtweaks
OS independent/Security/WEBRTC browser IP leak fix/webrtc_firewall.bat
bat
mpl-2.0
1,130
/****************************************************************************** * * usb_dev_bulk_ccs.cmd - CCS linker configuration file for usb_dev_bulk. * * Copyright (c) 2011-2013 Texas Instruments Incorporated. All rights reserved. * Software License Agreement * * Texas Instruments (TI) is supplying this software for use solely and * exclusively on TI's microcontroller products. The software is owned by * TI and/or its suppliers, and is protected under applicable copyright * laws. You may not combine this software with "viral" open-source * software in order to form a larger program. * * THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS. * NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT * NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY * CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL * DAMAGES, FOR ANY REASON WHATSOEVER. * * This is part of revision 2.0.1.11577 of the EK-LM4F232 Firmware Package. * *****************************************************************************/ --retain=g_pfnVectors /* The following command line options are set as part of the CCS project. */ /* If you are building using the command line, or for some reason want to */ /* define them here, you can uncomment and modify these lines as needed. */ /* If you are using CCS for building, it is probably better to make any such */ /* modifications in your CCS project and leave this file alone. */ /* */ /* --heap_size=0 */ /* --stack_size=256 */ /* --library=rtsv7M3_T_le_eabi.lib */ /* The starting address of the application. Normally the interrupt vectors */ /* must be located at the beginning of the application. */ #define APP_BASE 0x00000000 #define RAM_BASE 0x20000000 /* System memory map */ MEMORY { /* Application stored in and executes from internal flash */ FLASH (RX) : origin = APP_BASE, length = 0x00040000 /* Application uses internal RAM for data */ SRAM (RWX) : origin = 0x20000000, length = 0x00008000 } /* Section allocation in memory */ SECTIONS { .intvecs: > APP_BASE .text : > FLASH .const : > FLASH .cinit : > FLASH .pinit : > FLASH .init_array : > FLASH .vtable : > RAM_BASE .data : > SRAM .bss : > SRAM .sysmem : > SRAM .stack : > SRAM } __STACK_TOP = __stack + 1024;
trfiladelfo/unesp_mdt
boards/SW-TM4C-2.0.1.11577/examples/boards/ek-lm4f232/usb_dev_bulk/usb_dev_bulk_ccs.cmd
bat
mpl-2.0
2,805
java -jar jbpt-pm-entropia-1.5.jar -r -rel=examples\icpm2020_E2.xes -ret=examples\icpm2020_fig4.sdfa pause
jbpt/codebase
jbpt-pm/target/r_ICPM2020_A1E2.bat
bat
lgpl-3.0
106
cd ..\work\test python run_tests.py mypy test_mypy_classic_occ_bottle.py python core_display_pyqt5_unittest.py python core_display_pyside2_unittest.py python core_display_wx_unittest.py
tpaviot/pythonocc-core
ci/conda/run_test.bat
bat
lgpl-3.0
192
del *.aux /s del *.bak /s del *.log /s del *.bbl /s del *.dvi /s del *.blg /s del *.thm /s del *.toc /s del *.toe /s del *.lof del *.lot del *.out del *.fen del *.ten del *.ps del *.gz del *.gz(busy) del *.synctex del *.loa
raohuaming/njust_thesis_template
clean.bat
bat
apache-2.0
230
@ECHO OFF "D:\Program_Files\Atmel\AVR Studio 4\AvrAssembler2\avrasm2.exe" -S "E:\AVR_PROJECT\Assembler\PWM_MUSIC_ATmega8535\labels.tmp" -fI -W+ie -C V2E -o "E:\AVR_PROJECT\Assembler\PWM_MUSIC_ATmega8535\rgb.hex" -d "E:\AVR_PROJECT\Assembler\PWM_MUSIC_ATmega8535\rgb.obj" -e "E:\AVR_PROJECT\Assembler\PWM_MUSIC_ATmega8535\rgb.eep" -m "E:\AVR_PROJECT\Assembler\PWM_MUSIC_ATmega8535\rgb.map" "E:\AVR_PROJECT\Assembler\PWM_MUSIC_ATmega8535\rgb.asm"
edosedgar/avr_8bit
Assembler/PWM_MUSIC_ATmega8535/AvrBuild.bat
bat
apache-2.0
447
@echo off echo. & echo Starting the frontend... cd frontend npm start pause>nul
yashdsaraf/reimagined-eureka
start-frontend.bat
bat
apache-2.0
82
@echo off :############################################################################## :# # :# Filename library.cmd # :# # :# Description A library of useful batch routines for Windows NT cmd.exe # :# # :# Notes Use this file as a template for new batch files: # :# Copy this whole file into the new batch file. # :# Remove all unused code (possibly everything) from the end # :# of the debugging library to the header of the main routine# :# (Always keep the whole debugging library at the beginning,# :# even if you have no immediate need for it. The first time # :# you'll have a bug, it'll be priceless!) # :# Update the header and the main routine. # :# # :# Microsoft reference page on batch files: # :# http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/batch.mspx :# Excellent sources of tips and examples: # :# http://www.dostips.com/ # :# http://www.robvanderwoude.com/batchfiles.php # :# # :# Reserved characters that affect batch files: # :# Command sequencing (escaped by ^ and ""): & | ( ) < > ^ # :# Echo control (escaped by enclosing command in ""): @ # :# Argument delim. (escaped by enclosing in ""): , ; = blanks# :# Environment variables (escaped by %): % # :# Delayed variables (escaped by ^): ! # :# Wildcards: * ? # :# Some internal commands also use: [ ] { } = ' + ` ~ # :# # :# Filenames cannot contain characters: \ / : * ? " < > | # :# But they can contain: & ( ) ^ @ , ; % ! [ ] { } = ' + ` ~ # :# Conclusion: Always put "quotes" around file names. # :# Warning: Even "quotes" do not resolve issues with: ^ % ! # :# Files containing these 3 characters will not be processed # :# correctly, except in a for loop with delayed expansion off. :# # :# When cmd parses a line, it does the following steps: # :# 1) Replace %N arguments. # :# 2) Replace %VARIABLES%. # :# 3) Tokenization. Separate command sequencing tokens, # :# using "" and ^ as escape characters. (See above) # :# 4) Replace for %%V variables # :# 5) Replace !VARIABLES!. # :# If any ! is present in the command, remove another # :# set of ^ escape characters. # :# 6) If tokenization finds a pipe, and if one of the # :# commands is an internal command (ex: echo), a # :# subshell is executed and passed the processed tokens. # :# This subshell repeats steps 1 to 4 or 5 while parsing # :# its own arguments. (Depending on /V:OFF or /V:ON) # :# Note: Most internals command, like cd or set, have no # :# effect in this case on the original shell. # :# For a complete description of the cmd line parser, see: # :# https://stackoverflow.com/a/4095133 # :# # :# Steps 4 & 5 are not done for the call command. # :# Step 3 is done, but the redirections are ignored. # :# # :# The following four instructions are equivalent: # :# echo !%VAR_NAME%! # :# call echo %%%VAR_NAME%%% # :# echo %%%VAR_NAME%%% | more # :# cmd /c echo %%%VAR_NAME%%% # :# # :# During the tokenization step, the analyser switches # :# between a normal mode and a string mode after every ". # :# In normal mode, the command sequencing characters (see # :# above) may be escaped using the ^ character. # :# In string mode, they are stored in the string token # :# without escaping. The ^ itself is stored without escaping.# :# The " character itself can be escaped, to avoid switching # :# mode. Ex: # :# echo "^^" outputs "^^" ; set "A=^^" stores ^^ in A # :# echo ^"^^" outputs "^" ; set ^"A=^^" stores ^ in A # :# # :# Good practice: # :# * Use :# for comments instead of rem. # :# + The # sign is the standard comment marker for most # :# other scripting languages. # :# + This stands out better than the :: used by many. # :# + This avoids echoing the comment in echo on mode. # :# + Gotcha: A :# comment in a ( block of code ) must be # :# followed by a valid command. No blank line allowed. # :# Also it cannot be at the last line of the block. # :# + Gotcha: Be ware of undefined variables with substring # :# replacements. Ex, this will fail with a syntax error:# :# if "%ARG:-=%"=="v" ( :# -v or v- # :# Protecting that code in an 'if defined ARG (code)' # :# does not help. The root cause is not the comment, # :# but the ':'. Changing the comment to 'rem -v or v-' # :# fixes the issue, but 'rem -v : v-' would also fail. # :# * Always enquote args sent, and dequote args received. # :# + Best strategy for preserving reserved chars across. # :# * Always enclose the set command in quotes: set "VAR=val" # :# + Best strategy for preserving reserved chars in val. # :# * Always use echo.%STRING% instead of echo %STRING% # :# + This will work even for empty strings. # :# * Do not worry about strings with unbalanced quotes. # :# + File names cannot contain quotes. # :# + This is not a general purpose language anyway. # :# * Do worry about arguments with unbalanced quotes. # :# + The last argument can contain unbalanced quotes. # :# * Always surround routines by init call and protection # :# jump. This allows using it by just cutting and pasting # :# it. Example: # :# call :MyFunc.Init # :# goto :MyFunc.End # :# :MyFunc.Init # :# ... # :# goto :eof # :# :MyFunc # :# ... # :# goto :eof # :# :MyFunc.End # :# # :# Gotcha: # :# * It is not possible a call a subroutine from inside a # :# for /f ('command pipeline'). This is because this # :# command pipeline is executed in a sub-shell, and has # :# no access to the rest of the batch file. # :# # :# Author Jean-François Larvoire, [email protected] # :# # :# History # :# 2012-07-10 JFL Updated the debugging framework. # :# Added routine get_IP_address. # :# Added a factorial routine, to test the tracing framework # :# 2012-07-11 JFL Added options -c and -C to respectively test the command # :# tail as one, or as N separate, commands. # :# 2012-07-19 JFL Added debug optimizations. # :# 2012-10-02 JFL Added options -a and -b. # :# Added the Echo.Color functions. # :# 2013-12-05 JFL Improved the :Exec routine. # :# Added :Firewall.GetRules # :# 2014-05-13 JFL Added EnableExpansion and EnableExpansion.Test routines. # :# Fixed the self-test mode. # :# 2014-09-30 JFL Added macro system from dostips.com forum topics 5374,5411. :# Added tee routine from dostips.com forum topic #32615. # :# 2014-11-19 JFL Added routine PopArg, and use it in the main routine. # :# 2015-03-02 JFL Added routine GetServerAddress. # :# 2015-03-18 JFL Rewrote PopArg, which did not process quotes properly. # :# 2015-04-16 JFL Added my own version of macro management macros, working # :# with DelayedExpansion enabled. # :# 2015-10-18 JFL Bug fix: Function :now output date was incorrect if loop # :# variables %%a, %%b, or %%c existed already. # :# Renamed macros SET_ERR_0,SET_ERR_1 as TRUE.EXE,FALSE.EXE. # :# 2015-10-29 JFL Added macro %RETURN#% to return with a comment. # :# 2015-11-19 JFL %FUNCTION% now automatically generates its name & %* args.# :# Removed args for all %FUNCTION% invokations. # :# Added an %UPVAR% macro allowing to define the list of # :# variables that need to make it back to the caller. # :# Updated all functions that return such variables. # :# 2015-11-23 JFL Added routines :extensions.* to detect the extension # :# and expansion modes, and option -qe to display it. # :# 2015-11-25 JFL Changed the default for %LOGFILE% from NUL to undefined. # :# Rewrote the %FUNCTION% and %RETURN% macros to manage # :# most common cases without calling a subroutine. # :# 2015-11-27 JFL Added a macro debugging capability. # :# Redesigned the problematic character return mechanism # :# using a table of predefined generic entities. Includes # :# support for returning strings with CR & LF. Also use this # :# to expand input entities in -a, -b, and -c commands. # :# 2015-11-29 JFL Made the RETURN macro better and simpler. # :# Added a backspace entity. # :# 2015-12-01 JFL Rewrote :extensions.get and :extensions.show. # :# Fixed a bug in the %FUNCTION% macro. # :# 2016-09-01 JFL Bug fix: %RETURN% incorrectly returned empty variables. # :# Added registry access routines. # :# 2016-10-19 JFL Bug fix: Routine :Exec now preserves initial errorlevel. # :# 2016-11-02 JFL Bug fix: Avoid log file redirection failures in recursive # :# scripts. # :# 2016-11-05 JFL Fixed :Exec bug in XP/64. # :# Indent sub-scripts output in debug mode. # :# 2016-11-06 JFL Updated the 10/19 errorlevel fix to work for DO and EXEC. # :# 2016-11-09 JFL Bug fix: %RETURN% failed if an UPVAR contained a '?'. # :# Added routine :lsort. # :# Fixed :condquote, which was severely broken :-( # :# 2016-11-10 JFL Added another implementation for routine :now. # :# 2016-11-11 JFL Simplified routine :strlen, now 5% faster. # :# Added routine :strlen.q. No tracing but twice as fast. # :# 2016-11-12 JFL Added routines :ReplaceChars, :ReplaceDelims, etc. # :# 2016-11-13 JFL Bug fix: Correctly return special characters & | < > ? * # :# 2016-11-17 JFL Fixed tracing %EXEC% command exit code when exp. disabled.# :# Several other :Exec bug fixes and perf. improvements. # :# 2016-11-21 JFL Fixed ! quoting and added |&<> quoting to :CondQuote. # :# 2016-11-24 JFL Added %XCALL% for calling functions in a 2nd script inst. # :# Fixed %EXEC% with commands containing a ^ character. # :# Fixed tracing %FUNCTION% arguments with ^ and % chars. # :# Updated %POPARG% to work with trick characters ! and ^ in # :# delayed expansion mode. The old and faster version is now # :# called %POPSARG%. # :# Moved character entity definitions from the :Debug section# :# to the :PopArg section, where they're now needed first. # :# Added routine :Prep2ExpandVars allowing to pass any # :# tricky string across call or endlocal barriers. # :# 2016-12-07 JFL Added a source command for using debug functions in this # :# library from an outside script. # :# 2016-12-08 JFL Moved the most common initializations into :Library.Init. # :# 2016-12-12 JFL Fixed function call/return logging when sourcing this lib.# :# 2016-12-14 JFL Fixed macros RETURN0 and RETURN#. # :# 2016-12-16 JFL Changed %EXEC% to not capture commands output by default. # :# 2017-01-13 JFL Added option -f to routine :Exec. # :# 2017-01-16 JFL Use bright colors for [Success]/[Warning]/[Failure] in # :# :Echo.Color, and added an optional suffix and end of line.# :# 2017-01-17 JFL Renamed %ARG0% as %SFULL%, and added a new %ARG0% with # :# the actual invokation pathname, possibly relative. # :# 2017-05-11 JFL Removed rscp which was trivial and useless. # :# Changed chcp into GetCP, returning the current code page. # :# Added GetACP, GetOEMCP. # :# 2018-03-01 JFL New faster version of the FALSE.EXE macro. # :# Simpler and faster versions of function is_dir. # :# Added functions dirname, filename, has_wildcards. # :# 2019-10-02 JFL Disable delayed expansion when capturing cmd-line args. # :# 2019-10-03 JFL Added macros ECHOSVARS, ECHOSVARS.V, ECHOSVARS.D. # :# Fixed the passing of ^ ! arguments in options -c, -C, -M. # :# 2019-10-04 JFL Added routines :EscapeCmdString & :TestEscapeCmdString. # :# Rewrote routine :convert_entities as :ConvertEntities. # :# 2019-10-05 JFL Finalized :TestEscapeCmdString & :TestConvertEntities. # :# 2019-12-03 JFL Added routines :condquote4PS and :GetFullPathName. # :# 2019-12-13 JFL Fix :condquote to always return 0, to prevent false alarms# :# 2019-12-26 JFL Added routines :strchr, :streq, :strstr, and :PopCArg. # :# Added argument -tca and routine :test_CArg. # :# Added macros %+INDENT% and %-INDENT%. # :# 2020-01-13 JFL Added routine :is_newer. # :# 2020-02-14 JFL Added routines :is_empty_dir, :has_files, :has_dirs, # :# :test_errorlevel # :# 2020-03-13 JFL Added routines :EchoVal[.Debug] and macros %ECHOVAL[.D]%. # :# 2020-04-26 JFL Renamed EchoVal* & ECHOVAL* as EchoVals* & ECHOVALS* resp.# :# Added routines :EchoStrings* and macro %ECHOSTRINGS*%. # :# Fixed the %LCALL% mechanism in the absence of any arg. # :# 2020-06-03 JFL Added a new version of :basename. # :# 2020-06-04 JFL Split :noww into :Now.wmic and :GetWeekDay. # :# 2020-06-03 JFL Added a :return routine, for lightweight debugging. # :# 2021-03-04 JFL Fixed %ECHO.V% and %ECHO.D% too agressive optimization. # :# 2021-07-09 JFL Added routine :Prep2ExpandVar. # :# New %^1!% ... %^6!% expand to (2^n)-1 hats before a !. # :# Fixed the :Return routine in Windows XP. # :# 2021-09-15 JFL Renamed character entities from DEBUG.entity to @entity. # :# Rewrote :Prep2ExpandVars based on :Prep2ExpandVar. # :# Added routine :ConvertEntitiesNoDebug & use it for -c, -C.# :# # :# © Copyright 2016 Hewlett Packard Enterprise Development LP # :# Licensed under the Apache 2.0 license www.apache.org/licenses/LICENSE-2.0 # :############################################################################## :# Check Windows version: minimum requirement Windows :# 2000, but useful only for Windows XP SP2 and later if not "%OS%"=="Windows_NT" goto Err9X ver | find "Windows NT" >NUL && goto ErrNT :# Mechanism for calling subroutines in this library, either locally or from another script. :# Called by (%LCALL% :label [arguments]), with LCALL defined in the "sourcing" block below. if '%1'=='call' goto :call setlocal EnableExtensions DisableDelayedExpansion &:# Make sure ! characters are preserved set "VERSION=2021-12-06" set "SCRIPT=%~nx0" &:# Script name set "SNAME=%~n0" &:# Script name, without its extension set "SPATH=%~dp0" &:# Script path set "SPATH=%SPATH:~0,-1%" &:# Script path, without the trailing \ set "SFULL=%~f0" &:# Script full pathname set ^"ARG0=%0^" &:# Script invokation name set ^"ARGS=%*^" &:# Argument line setlocal EnableExtensions EnableDelayedExpansion &:# Use the ! expansion now on :# Mechanism for calling subroutines in a second instance of a script, from its main instance. :# Done by (%XCALL% :label [arguments]), with XCALL defined in the Call module below. if '%1'=='-call' !ARGS:~1!& exit /b :# Mechanism for "sourcing" this library from another script. if '%1'=='source' ( endlocal & endlocal &:# Define everything in the context of the caller script if not "!!"=="" >&2 echo "%SFULL%" %1 Error: Must be called with DelayedExpansion ENABLED. & exit /b 1 set ^"LCALL=call "%SFULL%" call^" &rem :# This is the full path of this library's ARG0 ) else ( set "LCALL=call" ) &:# Now initialize the library modules, then return to the parent script. :# Initialize the most commonly used library components. call :Library.Init if '%1'=='source' exit /b 0 &:# If we're sourcing this lib, we're done. :# Go process command-line arguments goto Main :# Mechanism for calling subroutines in this library, either locally or from another script. :# Called by (%LCALL% :label [arguments]), with LCALL defined in the "sourcing" block above. :# Note: We cannot do (if '%1'=='call' %*&exit /b) above, as this fails if %* is empty. :call %* exit /b :Err9X echo Error: Does not work on Windows 9x goto eof :ErrNT >&2 echo Error: Works only on Windows 2000 and later goto :eof :#----------------------------------------------------------------------------# :# # :# Function Library.Init # :# # :# Description Initialize the most commonly used library components # :# # :#----------------------------------------------------------------------------# :Library.Init :# Initialize this library modules definitions. :# Each one depends on the preceding ones, so if you need one, you need all the preceding ones as well. call :Call.Init &:# Function calls and argument extraction call :Macro.Init &:# Inline macros generation call :Debug.Init &:# Debug routines call :Exec.Init &:# Conditional execution routines :# call :Echo.Color.Init :# FOREACHLINE macro. (Changes the delimiter to none to catch the whole lines.) set FOREACHLINE=for /f "delims=" :# HOME variable. For analogy with Unix systems. if not defined HOME set "HOME=%HOMEDRIVE%%HOMEPATH%" goto :eof :#----------------------------------------------------------------------------# :# # :# Module Call # :# # :# Description Manage function calls and argument extraction # :# # :# Functions PopArg Pop the first argument from %ARGS% into # :# %ARG% and %"ARG"% # :# PopSimpleArg Simpler and faster version, incompatible # :# with ! or ^ characters in ARG values. # :# Prep2ExpandVars Prepare variables to return from the # :# local scope (with expansion on or off) # :# to a parent scope with expansion on. # :# PrepArgVars Prepare variables containing pathnames # :# that will be passed as arguments. # :# # :# Macros %POPARG% Pop one argument using :PopArg # :# %POPSARG% Pop one argument using :PopSimpleArg # :# %LCALL% Call a routine in this library, either # :# locally, or from an outside script. # :# %XCALL% Call an outside script routine, from # :# another instance of that outside script. # :# %XCALL@% Idem, but with all args stored in one var.# :# # :# Variables %ARG% The unquoted argument # :# %"ARG"% The actual argument, possibly quoted # :# %ARGS% Remaining command line arguments # :# # :# %CR% An ASCII Carrier Return character '\x0D' # :# %LF% An ASCII Line Feed character '\x0A' # :# %BS% An ASCII Back Space character '\x08' # :# %FF% An ASCII Form Feed character '\x0C' # :# # :# Notes PopArg works around the defect of the shift command, # :# which pops the first argument from the %* list, but does # :# not remove it from %*. # :# Also works around another defect with tricky characters # :# like ! or ^ being lost when variable expansion is on. # :# # :# Important: The performance of this routine is much better # :# when invoked with variable expansion disabled. This is # :# due to the complex processing done to avoid issues with # :# tricky characters like ! or ^ when expansion is enabled. # :# If you're sure that NONE of the arguments contain such # :# tricky characters, then call :PopSimpleArg. # :# # :# Uses an inner call to make sure the argument parsing is # :# done by the actual cmd.exe parser. This guaranties that # :# arguments are split exactly as shift would have done. # :# # :# But call itself has a quirk, which requires a convoluted # :# workaround to process the /? argument. # :# # :# Known limitation: Special character ^ is preserved within # :# "quoted" arguments, but not within unquoted arguments. # :# # :# Known limitation: After using :PopArg, all consecutive # :# argument separators in %ARGS% are replaced by one space. # :# For example: "A==B" becomes "A B" # :# This does not change the result of subsequent calls to # :# :PopArg, but this prevents from using the tail itself as # :# an argument. => Do not use :PopArg to get :Exec args! # :# # :# To do: Detect if the last arg has mismatched quotes, and # :# if it does, append one. # :# Right now such mismatched quotes will cause an error here.# :# Do not work around this error to only pass back the bad # :# argument, as this will only cause more errors further down# :# # :# History # :# 2015-04-03 JFL Bug fix: Quoted args with an & inside failed to be poped. # :# 2015-07-06 JFL Bug fix: Call quirk prevented inner call from popping /?. # :# 2016-11-18 JFL Fixed popping arguments containing % characters. # :# 2016-11-21 JFL Fixed popping quoted arguments containing &|<> characters.# :# 2016-11-22 JFL Fixed popping arguments containing ^ characters. # :# 2016-11-24 JFL Updated %POPARG% to work with trick characters ! and ^ in # :# delayed expansion mode. The old and faster version is now # :# called %POPSARG%. # :# Added routine :Prep2ExpandVars allowing to pass any # :# tricky string across call or endlocal barriers. # :# 2016-12-01 JFL Added a %FF% Form Feed character variable. # :# # :#----------------------------------------------------------------------------# call :Call.Init goto Call.end :Sub.Init # Create a SUB variable containing a SUB (Ctrl-Z) character >NUL copy /y NUL + NUL /a "%TEMP%\1A.chr" /a for /f %%c in (%TEMP%\1A.chr) do set "SUB=%%c" exit /b :Call.Init if not defined LCALL set "LCALL=call" &:# Macro to call functions in this library set "POPARG=%LCALL% :PopArg" set "POPSARG=%LCALL% :PopSimpleArg" :# Mechanism for calling subroutines in a second external instance of the top script. set ^"XCALL=call "!SFULL!" -call^" &:# This is the full path to the top script's (or this lib's if called directly) ARG0 set ^"XCALL@=!XCALL! :CallVar^" &:# Indirect call, with the label and arguments in a variable :# Define a LF variable containing a Line Feed ('\x0A') set LF=^ %# The two blank lines here are necessary. #% %# The two blank lines here are necessary. #% :# Define a CR variable containing a Carriage Return ('\x0D') for /f %%a in ('copy /Z %COMSPEC% nul') do set "CR=%%a" :# Define a BS variable containing a BackSpace ('\x08') :# Use prompt to store a backspace+space+backspace into a DEL variable. for /F "tokens=1 delims=#" %%a in ('"prompt #$H# & echo on & for %%b in (1) do rem"') do set "DEL=%%a" :# Then extract the first backspace set "BS=%DEL:~0,1%" :# Define a FF variable containing a Form Feed ('\x0C') for /f %%A in ('cls') do set "FF=%%A" :# Define variables for problematic characters, that cause parsing issues. :# Use the ASCII control character name, or the HTML entity name. :# Warning: The excl and hat characters need different quoting depending on context. set "@percnt=%%" &:# One percent sign set "@excl=^!" &:# One exclamation mark set "@hat=^" &:# One caret, aka. circumflex accent, or hat sign set ^"@quot="" &:# One double quote set "@apos='" &:# One apostrophe set "@amp=&" &:# One ampersand set "@vert=|" &:# One vertical bar set "@gt=>" &:# One greater than sign set "@lt=<" &:# One less than sign set "@lpar=(" &:# One left parenthesis set "@rpar=)" &:# One right parenthesis set "@lbrack=[" &:# One left bracket set "@rbrack=]" &:# One right bracket set "@sp= " &:# One space set "@tab= " &:# One tabulation set "@quest=?" &:# One question mark set "@ast=*" &:# One asterisk set "@cr=!CR!" &:# One carrier return set "@lf=!LF!" &:# One line feed set "@bs=!BS!" &:# One backspace set "@ff=!FF!" &:# One form feed goto :eof :PopArg if "!!"=="" goto :PopArg.Eon :PopArg.Eoff :PopSimpleArg :# Will corrupt result if expansion is on and ARG contains ^ or ! characters. :# Gotcha: The call parser first scans its command line for an unquoted /?. :# If it finds one anywhere on the command line, then it ignores the target label and displays call help. :# To work around that, we initialize %ARG% and %"ARG"% with an impossible combination of values. set "ARG=Yes" set ""ARG"=No" set "PopArg.ARGS=" if defined ARGS ( setlocal EnableDelayedExpansion for /f "delims=" %%a in ("!ARGS:%%=%%%%!") do endlocal & set ^"PopArg.ARGS=%%a^" ) :# Note: The following call doubles ^ within "quotes", but not those outside of quotes. :# So :PopArg.Helper will correctly record ^ within quotes, but miss those outside. (Unless quadrupled!) :# The only way to fix this would be to completely rewrite :PopArg as a full fledged batch parser written in batch! call :PopArg.Helper %PopArg.ARGS% >NUL 2>NUL &:# Output redirections ensure the call help is not actually output. :# Finding that impossible combination now is proof that the call was not executed. :# In this case, try again with the /? quoted, to prevent the call parser from processing it. :# Note that we can not systematically do this /? enquoting, else it's "/?" that would break the call. if "%ARG%"=="Yes" if [%"ARG"%]==[No] call :PopArg.Helper %PopArg.ARGS:/?="/?"% set "PopArg.ARGS=" goto :eof :PopArg.Helper set "ARG=%~1" &:# Remove quotes from the argument set ^""ARG"=%1^" &:# The same with quotes, if any, should we need them if defined ARG set "ARG=%ARG:^^=^%" if defined "ARG" set ^""ARG"=%"ARG":^^=^%^" :# Rebuild the tail of the argument line, as shift does not do it :# Never quote the set ARGS command, else some complex quoted strings break set ARGS=%2 :PopArg.GetNext shift if defined ARGS set ^"ARGS=%ARGS:^^=^%^" if [%2]==[] goto :eof :# Leave quotes in the tail of the argument line set ARGS=%ARGS% %2 goto :PopArg.GetNext :PopArg.Eon setlocal DisableDelayedExpansion call :PopArg.Eoff call :Prep2ExpandVars ARG ^""ARG"^" ARGS setlocal EnableDelayedExpansion for /f %%a in ("-!ARG!") do for /f %%b in ("-!"ARG"!") do for /f %%c in ("-!ARGS!") do ( endlocal endlocal set "ARG=%%a" set "ARG=!ARG:~1!" set ^""ARG"=%%b^" set ^""ARG"=!"ARG":~1!^" set ^"ARGS=%%c^" set "ARGS=!ARGS:~1!" ) goto :eof :# Prepare one variable, in a local scope with !expansion! either on or off, for %expansion% in another scope with !expansion! on :Prep2ExpandVar INVAR [OUTVAR] if "!!"=="" ( :# The local scope has expansion on :# Prepare one variable, in a local scope with !expansion! on, for %expansion% in another scope with !expansion! on :Prep2ExpandVar.Eon INVAR [OUTVAR] if not "%~2"=="" set "%~2=!%~1!" & shift if defined %1 ( for %%e in (sp tab cr lf quot amp vert lt gt hat percnt) do ( :# Encode named character entities for %%c in ("!@%%e!") do ( set "%~1=!%~1:%%~c= @%%e !" ) ) call set "%~1=%%%~1:^!= @excl %%" & rem :# Encode exclamation points call set "%~1=%%%~1: =^!%%" & rem :# Encode final expandable entities ) exit /b ) else ( :# The local scope has expansion off :# Prepare one variable, in a local scope with !expansion! off, for %expansion% in another scope with !expansion! on :Prep2ExpandVar.Eoff INVAR [OUTVAR] setlocal EnableDelayedExpansion set "VALUE=!%~1!" call :Prep2ExpandVar.Eon VALUE if not "%~2"=="" shift endlocal & set "%~1=%VALUE%" exit /b ) :# Prepare variables, in a local scope with !expansion! either on or off, for %expansion% in another scope with !expansion! on :Prep2ExpandVars VAR [VAR ...] if "!!"=="" ( :# The local scope has expansion on :# Prepare variables, in a local scope with !expansion! on, for %expansion% in another scope with !expansion! on :Prep2ExpandVars.Eon VAR [VAR ...] for %%v in (%*) do call :Prep2ExpandVar.Eon %%v exit /b ) else ( :# The local scope has expansion off :# Prepare variables, in a local scope with !expansion! off, for %expansion% in another scope with !expansion! on :Prep2ExpandVars.Eoff for %%v in (%*) do call :Prep2ExpandVar.Eoff %%v exit /b ) :# Prepare variables containing pathnames that will be passed as "arguments" :PrepArgVars set "%~1=!%~1:%%=%%%%!" &:# Escape percent signs if not [%2]==[] shift & goto :PrepArgVars goto :eof :# Indirect call, with the label and arguments in a variable :CallVar CMDVAR call !%1:%%=%%%%! exit /b :Call.end :#----------------------------------------------------------------------------# :# # :# Module Macro # :# # :# Description Tools for defining inline functions, # :# also known as macros by analogy with Unix shells macros # :# # :# Macros %MACRO% Define the prolog code of a macro # :# %/MACRO% Define the epilog code of a macro # :# # :# Variables %LF1% A Line Feed ASCII character '\x0A' # :# %LF2% Generates a LF when expanded twice # :# %LF3% Generates a LF when expanded 3 times # :# Etc... # :# %\n% Macro command line separator # :# # :# Notes The principle is to define a variable containing the # :# complete body of a function, like this: # :# set $macro=for %%$ in (1 2) do if %%$==2 ( %\n% # :# :# Define the body of your macro here %\n% # :# :# Then return the result to the caller %\n% # :# for /f "delims=" %%r in ('echo.%!%RETVAL%!%') do ( %\n% # :# endlocal %&% set "RETVAL=%%~r" %\n% # :# ) %\n% # :# ) else setlocal enableDelayedExpansion %&% set ARGS= # :# # :# It is then invoked just like an external command: # :# %$macro% ARG1 ARG2 ... # :# # :# The ideas that make all this possible were published on # :# the dostips.com web site, in multiple messages exchanged # :# by community experts. # :# By convention on the dostips.com web site, macro names # :# begin by a $ character; And the %\n% variable ends lines. # :# The other variables are mine. # :# # :# The use of a for loop executed twice, is critical for # :# allowing to place arguments behind the macro. # :# The first loop executes only the tail line, which defines # :# the arguments; The second loop executes the main body of # :# the macro, which processes the arguments, and returns the # :# result(s). # :# To improve the readability of macros, replace the code in # :# the first line by %MACRO%, and the code in the last line # :# by %/MACRO% # :# # :# The use of the Line Feed character as command separator # :# within macros is a clever trick, that helps debugging, # :# but it is not necessary for macros to work. # :# This helps debugging, because this allows to output the # :# macro definition as a structured string spanning several # :# lines, looking exactly like a normal function with one # :# instruction per line. # :# But it would be equally possible to define macros using # :# the documented & character as command separator. # :# # :# Limitations: # :# - A macro cannot call another macro. # :# (This would require escaping all control characters in # :# the sub-macro, so that they survive an additional # :# level of expansion.) # :# # :# History # :# 2015-04-15 JFL Initial version, based on dostips.com samples, with # :# changes so that they work with DelayedExpansion on. # :# 2015-11-27 JFL Added a primitive macro debugging capability. # :# # :#----------------------------------------------------------------------------# call :Macro.Init goto :Macro.End :Macro.Init :# LF generator variables, that become an LF after N expansions :# %LF1% == %LF% ; %LF2% == To expand twice ; %LF3% == To expand 3 times ; Etc :# Starting with LF2, the right # of ^ doubles on every line, :# and the left # of ^ is 3 times the right # of ^. set ^"LF1=^%LF%%LF%" set ^"LF2=^^^%LF1%%LF1%^%LF1%%LF1%" set ^"LF3=^^^^^^%LF2%%LF2%^^%LF2%%LF2%" set ^"LF4=^^^^^^^^^^^^%LF3%%LF3%^^^^%LF3%%LF3%" set ^"LF5=^^^^^^^^^^^^^^^^^^^^^^^^%LF4%%LF4%^^^^^^^^%LF4%%LF4%" :# Variables for use in inline macro functions set ^"\n=%LF3%^^^" &:# Insert a LF and continue macro on next line set "^!=^^^^^^^!" &:# Define a %!%DelayedExpansion%!% variable set "'^!=^^^!" &:# Idem, but inside a quoted string set ">=^^^>" &:# Insert a redirection character set "<=^^^<" &:# Insert a redirection character set "&=^^^&" &:# Insert a command separator in a macro :# Idem, to be expanded twice, for use in macros within macros set "^!2=^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!" set "'^!2=^^^^^^^!" set "&2=^^^^^^^^^^^^^^^&" :# Define a ! protected by an exponential number of hats set "^^1^!=^^^!" &:# %^1!% expands to (2^1)-1 hats before the ! set "^^2^!=^^^^^^^!" &:# %^2!% expands to (2^2)-1 hats before the ! set "^^3^!=^^^^^^^^^^^^^^^!" &:# %^3!% expands to (2^3)-1 hats before the ! set "^^4^!=^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!" &:# %^4!% expands to (2^4)-1 hats before the ! set "^^5^!=^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!" &:# Etc... set "^^6^!=^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!" set "MACRO=for %%$ in (1 2) do if %%$==2" &:# Prolog code of a macro set "/MACRO=else setlocal enableDelayedExpansion %&% set MACRO.ARGS=" &:# Epilog code of a macro set "ENDMACRO=endlocal" &:# Ends the macro local scope started in /MACRO. Necessary before macro exit. set "ON_MACRO_EXIT=for /f "delims=" %%r in ('echo" &:# Begin the return variables definitions set "/ON_MACRO_EXIT=') do %ENDMACRO% %&% %%r" &:# End the return variables definitions :# Primitive macro debugging definitions :# Macros, usable anywhere, including within other macros, for conditionally displaying debug information :# Use option -xd to set a > 0 macro debugging level. :# Usage: %IF_XDLEVEL% N command :# Runs command if the current macro debugging level is at least N. :# Ex: %IF_XDLEVEL% 2 set VARIABLE :# Recommended: Use set, instead of echo, to display variable values. This is sometimes :# annoying because this displays other unwanted variables. But this is the only way :# to be sure to display _all_ tricky characters correctly in any expansion mode. :# Note: These debugging macros slow down a lot their enclosing macro. :# They should be removed from the released code. set "XDLEVEL=0" &:# 0=No macro debug; 1=medium debug; 2=full debug; 3=Even more debug set "IF_XDLEVEL=for /f %%' in ('call echo.%%XDLEVEL%%') do if %%' GEQ" goto :eof :Macro.end :#----------------------------------------------------------------------------# :# # :# Module Debug # :# # :# Description A collection of debug routines # :# # :# Functions Debug.Init Initialize debugging. Call once at first. # :# Debug.Off Disable the debugging mode # :# Debug.On Enable the debugging mode # :# Debug.SetLog Set the log file # :# Debug.Entry Log entry into a routine # :# Debug.Return Log exit from a routine # :# Verbose.Off Disable the verbose mode # :# Verbose.On Enable the verbose mode # :# # :# Echo Echo and log strings, indented # :# EchoVars Display a set of variables name=value # :# EchoStringVars Display a string, then a set of variables # :# EchoArgs Display all arguments name=value # :# EchoVals Display the value of multiple variables # :# All functions in that series have two other derivatives, # :# with the .debug and .verbose suffix. Ex: Echo.Debug # :# These display only in debug and verbose mode respectively,# :# but always log the string (if a log file is defined). # :# # :# Macros %FUNCTION% Define and trace the entry in a function. # :# %UPVAR% Declare a var. to pass back to the caller.# :# %RETURN% Return from a function and trace it # :# # :# Always match uses of %FUNCTION% and %RETURN%. That is # :# never use %RETURN% if there was no %FUNCTION% before it. # :# # :# :# Example of a factorial routine using this framework # :# :Fact # :# %FUNCTION% enableextensions enabledelayedexpansion # :# %UPVAR% RETVAL # :# set N=%1 # :# if .%N%.==.0. ( # :# set RETVAL=1 # :# ) else ( # :# set /A M=N-1 # :# call :Fact !M! # :# set /A RETVAL=N*RETVAL # :# ) # :# %RETURN% # :# # :# %ECHO% Echo and log a string, indented # :# %LOG% Log a string, indented # :# %ECHO.V% Idem, but display it in verbose mode only # :# %ECHO.D% Idem, but display it in debug mode only # :# # :# %ECHOVARS% Indent, echo and log variables values # :# %ECHOVARS.V% Idem, but display them in verb. mode only # :# %ECHOVARS.D% Idem, but display them in debug mode only # :# # :# %ECHOSVARS% Echo ARG1 before each variable. # :# %ECHOSVARS.V% Idem, but display them in verb. mode only # :# %ECHOSVARS.D% Idem, but display them in debug mode only # :# # :# %ECHOVALS% Echo the value of multiple variables # :# %ECHOVALS.V% Idem, but display them in verb. mode only # :# %ECHOVALS.D% Idem, but display them in debug mode only # :# # :# %ECHOSTRINGS% Echo the value of multiple quoted strings # :# %ECHOSTRINGS.V% Idem, but display them in verb. mode only # :# %ECHOSTRINGS.D% Idem, but display them in debug mode only # :# # :# %IF_DEBUG% Execute a command in debug mode only # :# %IF_VERBOSE% Execute a command in verbose mode only # :# # :# %FUNCTION0% Weak functions with no local variables. # :# %RETURN0% Return from a %FUNCTION0% and trace it # :# %RETURN#% Idem, with comments after the return # :# # :# %+INDENT% Manually increase the debug INDENT # :# %-INDENT% Manually decrease the debug INDENT # :# # :# Variables %>DEBUGOUT% Debug output redirect. Either "" or ">&2".# :# %LOGFILE% Log file name. Inherited. Default=""==NUL # :# Always set using call :Debug.SetLog # :# %DEBUG% Debug mode. 0=Off; 1=On. Use functions # :# Debug.Off and Debug.On to change it. # :# Inherited. Default=0. # :# %VERBOSE% Verbose mode. 0=Off; 1=On. Use functions # :# Verbose.Off and Verbose.On to change it. # :# Inherited. Default=0. # :# %INDENT% Spaces to put ahead of all debug output. # :# Inherited. Default=. (empty string) # :# # :# Notes All output from these routines is sent to the log file. # :# The debug output is sent stdout or stderr, depending on # :# variable %>DEBUGOUT%. # :# # :# Traced functions are indented, based on the call depth. # :# Use %ECHO% to get the same indentation of normal output. # :# # :# The output format matches the batch language syntax # :# exactly. This allows copying the debug output directly # :# into another command window, to check troublesome code. # :# # :# History # :# 2011-11-15 JFL Split Debug.Init from Debug.Off, to improve clarity. # :# 2011-12-12 JFL Output debug information to stderr, so that stdout can be # :# used for returning information from the subroutine. # :# 2011-12-13 JFL Standardize use of RETVAR/RETVAL, and display it on return. :# 2012-07-09 JFL Restructured functions to a more "object-like" style. # :# Added the three flavors of the Echo and EchoVars routines.# :# 2012-07-19 JFL Added optimizations to improve performance in non-debug # :# and non-verbose mode. Added routine Debug.SetLog. # :# 2012-11-13 JFL Added macro LOG. Fixed setlocal bug in :EchoVars. # :# 2013-08-27 JFL Changed %RETURN% to do exit /b. This allows returning # :# an errorlevel by doing: %RETURN% %ERRORLEVEL% # :# 2013-11-12 JFL Added macros %IF_DEBUG% and %IF_VERBOSE%. # :# 2013-12-04 JFL Added variable %>DEBUGOUT% to allow sending debug output # :# either to stdout or to stderr. # :# 2015-10-29 JFL Added macro %RETURN#% to return with a comment. # :# 2015-11-19 JFL %FUNCTION% now automatically generates its name & %* args.# :# (Simplifies usage, but comes at a cost of about a 5% slow # :# down when running in debug mode.) # :# Added an %UPVAR% macro allowing to define the list of # :# variables that need to make it back to the caller. # :# %RETURN% (Actually the Debug.return routine) now handles # :# this variable back propagation using the (goto) trick. # :# This works well, but the performance is poor. # :# 2015-11-25 JFL Rewrote the %FUNCTION% and %RETURN% macros to manage # :# most common cases without calling a subroutine. This # :# resolves the performance issues of the previous version. # :# 2015-11-27 JFL Redesigned the problematic character return mechanism # :# using a table of predefined generic entities. Includes # :# support for returning strings with CR & LF. # :# 2015-11-29 JFL Streamlined the macros and added lots of comments. # :# The FUNCTION macro now runs with expansion enabled, then # :# does a second setlocal in the end as requested. # :# The RETURN macro now displays strings in debug mode with # :# delayed expansion enabled. This fixes issues with CR & LF.# :# Added a backspace entity. # :# 2015-12-01 JFL Bug fix: %FUNCTION% with no arg did change the exp. mode. # :# 2016-09-01 JFL Bug fix: %RETURN% incorrectly returned empty variables. # :# 2016-11-02 JFL Bug fix: Avoid log file redirection failures in recursive # :# scripts. # :# 2016-11-13 JFL Bug fix: Correctly return special characters & | < > ? * # :# 2016-11-24 JFL Fixed tracing %FUNCTION% arguments with ^ and % chars. # :# # :#----------------------------------------------------------------------------# call :Debug.Init goto :Debug.End :Debug.Init :# Preliminary checks to catch common problems if exist echo >&2 echo WARNING: The file "echo" in the current directory will cause problems. Please delete it and retry. :# Inherited variables from the caller: DEBUG, VERBOSE, INDENT, >DEBUGOUT :# Initialize other debug variables set "ECHO=%LCALL% :Echo" set "ECHOVARS=%LCALL% :EchoVars" set "ECHOSVARS=%LCALL% :EchoStringVars" :# The FUNCTION, UPVAR, and RETURN macros should work with delayed expansion on or off set MACRO.GETEXP=(if "%'!2%%'!2%"=="" (set MACRO.EXP=EnableDelayedExpansion) else set MACRO.EXP=DisableDelayedExpansion) set UPVAR=call set DEBUG.RETVARS=%%DEBUG.RETVARS%% set RETURN=call set "DEBUG.ERRORLEVEL=%%ERRORLEVEL%%" %&% %MACRO% ( %\n% set DEBUG.EXITCODE=%!%MACRO.ARGS%!%%\n% if defined DEBUG.EXITCODE set DEBUG.EXITCODE=%!%DEBUG.EXITCODE: =%!%%\n% if not defined DEBUG.EXITCODE set DEBUG.EXITCODE=%!%DEBUG.ERRORLEVEL%!%%\n% for %%l in ("%'!%LF%'!%") do ( %# Make it easy to insert line-feeds in any mode #% %\n% set "DEBUG.SETARGS=""" %# The initial "" makes sure that for loops below never get an empty arg list #% %\n% for %%v in (%!%DEBUG.RETVARS%!%) do ( %\n% set "DEBUG.VALUE=%'!%%%v%'!%" %# We must remove problematic characters in that value #% %\n% if defined DEBUG.VALUE ( %# Else the following lines will generate phantom characters #% %\n% set "DEBUG.VALUE=%'!%DEBUG.VALUE:%%=%%@percnt%%%'!%" %# Encode percent #% %\n% for %%e in (sp tab cr lf quot amp vert lt gt) do for %%c in ("%'!%@%%e%'!%") do ( %# Encode named character entities #% %\n% set "DEBUG.VALUE=%'!%DEBUG.VALUE:%%~c=%%@%%e%%%'!%" %\n% ) %\n% set "DEBUG.VALUE=%'!%DEBUG.VALUE:^^=%%@hat%%%'!%" %# Encode carets #% %\n% call set "DEBUG.VALUE=%%DEBUG.VALUE:%!%=^^^^%%" %# Encode exclamation points #% %\n% set "DEBUG.VALUE=%'!%DEBUG.VALUE:^^^^=%%@excl%%%'!%" %# Encode exclamation points #% %\n% ) %\n% set DEBUG.SETARGS=%!%DEBUG.SETARGS%!% "%%v=%'!%DEBUG.VALUE%'!%"%\n% ) %\n% if %!%DEBUG%!%==1 ( %# Build the debug message and display it #% %\n% set "DEBUG.MSG=return %'!%DEBUG.EXITCODE%'!%" %\n% for /f "delims=" %%v in ("%'!%DEBUG.SETARGS: =%%~l%'!%") do if not %%v=="" ( %# for /f avoids issues with ? and * #% %\n% set "DEBUG.MSG=%'!%DEBUG.MSG%'!% %%@amp%% set %%v" %!% %\n% ) %\n% call set "DEBUG.MSG=%'!%DEBUG.MSG:%%=%%@excl%%%'!%" %# Change all percent to ! #% %\n% if defined ^^%>%DEBUGOUT ( %# If we use a debugging stream distinct from stdout #% %\n% %LCALL% :Echo.Eval2DebugOut DEBUG.MSG %# Use a helper routine, as delayed redirection does not work #% %\n% ) else ( %# Output directly here, which is faster #% %\n% for /f "delims=" %%c in ("%'!%INDENT%'!%%'!%DEBUG.MSG%'!%") do echo %%c%# Use a for loop to do a double !variable! expansion #%%\n% ) %\n% if defined LOGFILE ( %# If we have to send a copy to a log file #% %\n% %LCALL% :Echo.Eval2LogFile DEBUG.MSG %# Use a helper routine, as delayed redirection does not work #% %\n% ) %\n% ) %\n% for %%r in (%!%DEBUG.EXITCODE%!%) do ( %# Carry the return values through the endlocal barriers #% %\n% for /f "delims=" %%a in ("%'!%DEBUG.SETARGS%'!%") do ( %\n% endlocal %&% endlocal %&% endlocal %# Exit the RETURN and FUNCTION local scopes #% %\n% set "DEBUG.SETARGS=%%a" %\n% if "%'!%%'!%"=="" ( %# Delayed expansion is ON #% %\n% call set "DEBUG.SETARGS=%'!%DEBUG.SETARGS:%%=%%@excl%%%'!%" %# Change all percent to ! #% %\n% for /f "delims=" %%v in ("%'!%DEBUG.SETARGS: =%%~l%'!%") do if not %%v=="" ( %# for /f avoids issues with ? and * #% %\n% set %%v %# Set each upvar variable in the caller's scope #% %\n% ) %\n% ) else ( %# Delayed expansion is OFF #% %\n% setlocal EnableDelayedExpansion %\n% for /f "delims=" %%v in ("%'!%DEBUG.SETARGS: =%%~l%'!%") do if %%v=="" ( %# for /f avoids issues with ? and * #% %\n% endlocal %\n% ) else ( %\n% call set %%v %# Set each upvar variable in the caller's scope #% %\n% ) %\n% ) %\n% set "DEBUG.SETARGS=" %\n% exit /b %%r %# Return to the caller #% %\n% ) %\n% ) %\n% ) %\n% ) %/MACRO% :Debug.Init.2 set "LOG=%LCALL% :Echo.Log" set ">>LOGFILE=>>%LOGFILE%" if not defined LOGFILE set "LOG=rem" & set ">>LOGFILE=rem" if .%LOGFILE%.==.NUL. set "LOG=rem" & set ">>LOGFILE=rem" if .%NOREDIR%.==.1. set "LOG=rem" & set ">>LOGFILE=rem" &:# A parent script is already redirecting output. Trying to do it again here would fail. set "ECHO.V=%LCALL% :Echo.Verbose" set "ECHO.D=%LCALL% :Echo.Debug" set "ECHOVARS.V=%LCALL% :EchoVars.Verbose" set "ECHOVARS.D=%LCALL% :EchoVars.Debug" set "ECHOSVARS.V=%LCALL% :EchoStringVars.Verbose" set "ECHOSVARS.D=%LCALL% :EchoStringVars.Debug" set "ECHOVARS.XD=rem" &:# Keep old debug directives, but don't output them anymore set "ECHOVALS=%LCALL% :EchoVals" set "ECHOVALS.V=%LCALL% :EchoVals.Verbose" set "ECHOVALS.D=%LCALL% :EchoVals.Debug" set "ECHOSTRINGS=%LCALL% :EchoStrings" set "ECHOSTRINGS.V=%LCALL% :EchoStrings.Verbose" set "ECHOSTRINGS.D=%LCALL% :EchoStrings.Debug" set "+INDENT=%LCALL% :Debug.IncIndent" set "-INDENT=%LCALL% :Debug.DecIndent" set ">MSGOUT.V[0]=rem" set ">MSGOUT.V[1]=" set ">MSGOUT.D[0]=rem" set ">MSGOUT.D[1]=%>DEBUGOUT%" :# Variables inherited from the caller... :# Preserve INDENT if it contains just spaces, else clear it. for /f %%s in ('echo.%INDENT%') do set "INDENT=" :# Preserve the log file name, else by default use NUL. :# if not defined LOGFILE set "LOGFILE=NUL" :# VERBOSE mode can only be 0 or 1. Default is 0. if not .%VERBOSE%.==.1. set "VERBOSE=0" call :Verbose.%VERBOSE% :# DEBUG mode can only be 0 or 1. Default is 0. if not .%DEBUG%.==.1. set "DEBUG=0" goto :Debug.%DEBUG% :Debug.SetLog set "LOGFILE=%~1" goto :Debug.Init.2 :Debug.Off :Debug.0 set "DEBUG=0" set "DEBUG.ENTRY=rem" set "IF_DEBUG=if .%DEBUG%.==.1." set "FUNCTION0=rem" set FUNCTION=%MACRO.GETEXP% %&% %MACRO% ( %\n% call set "FUNCTION.NAME=%%0" %\n% call set ARGS=%%*%# Do not quote this, to keep string/non string alternance #%%\n% if defined ARGS set ARGS=%!%ARGS:^^^^^^^^^^^^^^^^=^^^^^^^^%!%%# ^carets are doubled in quoted strings, halved outside. => Quadruple them if using unquoted ones #%%\n% set "DEBUG.RETVARS=" %\n% if not defined MACRO.ARGS set "MACRO.ARGS=%'!%MACRO.EXP%'!%" %\n% setlocal %!%MACRO.ARGS%!% %\n% ) %/MACRO% set "RETURN0=exit /b" set "RETURN#=exit /b & rem" set "EXEC.ARGS= %EXEC.ARGS%" set "EXEC.ARGS=%EXEC.ARGS: -d=%" set "EXEC.ARGS=%EXEC.ARGS:~1%" :# Optimization to speed things up in non-debug mode if not defined LOGFILE set "ECHO.D=echo >NUL" if .%LOGFILE%.==.NUL. set "ECHO.D=echo >NUL" if not defined LOGFILE set "ECHOVARS.D=echo >NUL" if .%LOGFILE%.==.NUL. set "ECHOVARS.D=echo >NUL" goto :eof :Debug.On :Debug.1 set "DEBUG=1" set "DEBUG.ENTRY=:Debug.Entry" set "IF_DEBUG=if .%DEBUG%.==.1." set "FUNCTION0=call %LCALL% :Debug.Entry0 %%0 %%*" set FUNCTION=%MACRO.GETEXP% %&% %MACRO% ( %\n% call set "FUNCTION.NAME=%%0" %\n% call set ARGS=%%*%# Do not quote this, to keep string/non string aternance #%%\n% if defined ARGS set ARGS=%!%ARGS:^^^^^^^^^^^^^^^^=^^^^^^^^%!%%# ^carets are doubled in quoted strings, halved outside. => Quadruple them if using unquoted ones #%%\n% if %!%DEBUG%!%==1 ( %# Build the debug message and display it #% %\n% set DEBUG.MSG=call %!%FUNCTION.NAME%!% %!%ARGS%!%%\n% if defined ^^%>%DEBUGOUT ( %# If we use a debugging stream distinct from stdout #% %\n% %LCALL% :Echo.2DebugOut DEBUG.MSG %# Use a helper routine, as delayed redirection does not work #% %\n% ) else ( %# Output directly here, which is faster #% %\n% echo%!%INDENT%!% %!%DEBUG.MSG%!%%\n% ) %\n% if defined LOGFILE ( %# If we have to send a copy to a log file #% %\n% %LCALL% :Echo.2LogFile DEBUG.MSG %# Use a helper routine, as delayed redirection does not work #% %\n% ) %\n% call set "INDENT=%'!%INDENT%'!% " %\n% ) %\n% set "DEBUG.RETVARS=" %\n% if not defined MACRO.ARGS set "MACRO.ARGS=%'!%MACRO.EXP%'!%" %\n% setlocal %!%MACRO.ARGS%!% %\n% ) %/MACRO% set "RETURN0=call %LCALL% :Debug.Return0 %%ERRORLEVEL%% & exit /b" :# Macro for displaying comments on the return log line set RETURN#=call set "RETURN.ERR=%%ERRORLEVEL%%" %&% %MACRO% ( %\n% %LCALL% :Debug.Return# %# Redirections can't work in macro. Do it in a function. #% %\n% for %%r in (%!%RETURN.ERR%!%) do %ENDMACRO% %&% set "RETURN.ERR=" %&% call set "INDENT=%%INDENT:~2%%" %&% exit /b %%r %\n% ) %/MACRO% set "EXEC.ARGS= %EXEC.ARGS%" set "EXEC.ARGS=%EXEC.ARGS: -d=% -d" set "EXEC.ARGS=%EXEC.ARGS:~1%" :# Reverse the above optimization set "ECHO.D=%LCALL% :Echo.Debug" set "ECHOVARS.D=%LCALL% :EchoVars.Debug" goto :eof :Debug.Entry0 setlocal DisableDelayedExpansion %>DEBUGOUT% echo %INDENT%call %* if defined LOGFILE %>>LOGFILE% echo %INDENT%call %* endlocal :Debug.IncIndent set "INDENT=%INDENT% " goto :eof :Debug.Entry setlocal DisableDelayedExpansion %>DEBUGOUT% echo %INDENT%call %FUNCTION.NAME% %ARGS% if defined LOGFILE %>>LOGFILE% echo %INDENT%call %FUNCTION.NAME% %ARGS% endlocal set "INDENT=%INDENT% " goto :eof :Debug.Return0 %1=Exit code %>DEBUGOUT% echo %INDENT%return %1 if defined LOGFILE %>>LOGFILE% echo %INDENT%return %1 :Debug.DecIndent if defined INDENT set "INDENT=%INDENT:~2%" exit /b %1 :Debug.Return# :# %RETURN.ERR% %MACRO.ARGS% setlocal DisableDelayedExpansion %>DEBUGOUT% echo %INDENT%return %RETURN.ERR% ^&:#%MACRO.ARGS% if defined LOGFILE %>>LOGFILE% echo %INDENT%return %RETURN.ERR% ^&:#%MACRO.ARGS% endlocal goto :eof &:# %RETURN.ERR% will be processed in the %DEBUG#% macro. :# A lightweight alternative for the %RETURN% macro. :# Only traces the %ERRORLEVEL%, but not the variables returned. :# Trace the return from a subroutine, and do the actual return, in a single call :Return :# gotcha: setlocal sometimes clears %ERRORLEVEL%, so the reading must be on same line setlocal & set "ERR=%~1" & if not defined ERR set "ERR=%ERRORLEVEL%" %IF_DEBUG% %>DEBUGOUT% echo exit /b %ERR% :# An explicit endlocal isn't required, as (goto) does it automatically. 2>NUL (goto) & exit /b %ERR% &:# Endlocal and pop one call stack, then return to the upper level :# Routine to set the VERBOSE mode, in response to the -v argument. :Verbose.Off :Verbose.0 set "VERBOSE=0" set "IF_VERBOSE=if .%VERBOSE%.==.1." set "EXEC.ARGS= %EXEC.ARGS%" set "EXEC.ARGS=%EXEC.ARGS: -v=%" set "EXEC.ARGS=%EXEC.ARGS:~1%" :# Optimization to speed things up in non-verbose mode if not defined LOGFILE set "ECHO.V=echo >NUL" if .%LOGFILE%.==.NUL. set "ECHO.V=echo >NUL" if not defined LOGFILE set "ECHOVARS.V=echo >NUL" if .%LOGFILE%.==.NUL. set "ECHOVARS.V=echo >NUL" goto :eof :Verbose.On :Verbose.1 set "VERBOSE=1" set "IF_VERBOSE=if .%VERBOSE%.==.1." set "EXEC.ARGS= %EXEC.ARGS%" set "EXEC.ARGS=%EXEC.ARGS: -v=% -v" set "EXEC.ARGS=%EXEC.ARGS:~1%" :# Reverse the above optimization set "ECHO.V=%LCALL% :Echo.Verbose" set "ECHOVARS.V=%LCALL% :EchoVars.Verbose" goto :eof :# Echo and log a string, indented at the same level as the debug output. :Echo echo.%INDENT%%* :Echo.Log if defined LOGFILE %>>LOGFILE% echo.%INDENT%%* goto :eof :Echo.Verbose :Echo.V %IF_VERBOSE% goto :Echo goto :Echo.Log :Echo.Debug :Echo.D %IF_DEBUG% %>DEBUGOUT% echo.%INDENT%%* goto :Echo.Log :Echo.Eval2DebugOut %1=Name of string, with !variables! that need to be evaluated first setlocal EnableDelayedExpansion &:# Make sure that !variables! get expanded set "STRING=!%1!" &:# !variables! not yet expanded; They will be on next line %>DEBUGOUT% echo.%INDENT%%STRING% goto :eof :Echo.2DebugOut %1=Name of string to output to the DEBUGOUT stream setlocal EnableDelayedExpansion &:# Make sure that !variables! get expanded %>DEBUGOUT% echo.%INDENT%!%1! goto :eof :Echo.Eval2LogFile %1=Name of string, with variables that need to be evaluated first setlocal EnableDelayedExpansion &:# Make sure that !variables! get expanded set "STRING=!%1!" &:# !variables! not yet expanded; They will be on next line %>>LOGFILE% echo.%INDENT%%STRING% goto :eof :Echo.2LogFile %1=Name of string to output to the LOGFILE setlocal EnableDelayedExpansion &:# Make sure that !variables! get expanded %>>LOGFILE% echo.%INDENT%!%1! goto :eof :# Echo and log variable values, indented at the same level as the debug output. :EchoStringVars %1=string %2=VARNAME %3=VARNAME ... setlocal EnableExtensions EnableDelayedExpansion set "INDENT=%INDENT%%~1 " shift goto :EchoVars.loop :EchoVars %1=VARNAME %2=VARNAME %3=VARNAME ... setlocal EnableExtensions EnableDelayedExpansion :EchoVars.loop if "%~1"=="" endlocal & goto :eof %>DEBUGOUT% echo %INDENT%set "%~1=!%~1!" if defined LOGFILE %>>LOGFILE% echo %INDENT%set "%~1=!%~1!" shift goto EchoVars.loop :EchoVars.Verbose %IF_VERBOSE% ( call :EchoVars %* ) else ( :# Make sure the variables are logged call :EchoVars %* >NUL 2>NUL ) goto :eof :EchoVars.Debug %IF_DEBUG% ( call :EchoVars %* ) else ( :# Make sure the variables are logged call :EchoVars %* >NUL 2>NUL ) goto :eof :EchoStringVars.Verbose %IF_VERBOSE% ( call :EchoStringVars %* ) else ( :# Make sure the variables are logged call :EchoStringVars %* >NUL 2>NUL ) goto :eof :EchoStringVars.Debug %IF_DEBUG% ( call :EchoStringVars %* ) else ( :# Make sure the variables are logged call :EchoStringVars %* >NUL 2>NUL ) goto :eof :# Echo a list of arguments. :EchoArgs setlocal EnableExtensions DisableDelayedExpansion set N=0 :EchoArgs.loop if .%1.==.. endlocal & goto :eof set /a N=N+1 %>DEBUGOUT% echo %INDENT%set "ARG%N%=%1" shift goto EchoArgs.loop :# Echo the value of multiple variables on the same line :EchoVals %1=VARNAME, %2=VARNAME, ... setlocal EnableDelayedExpansion set ">MSGOUT=" :EchoVals.1 set "EchoVals.LINE=" &:# Use a qualified name, in case the caller passes a variable called LINE for %%v in (%*) do set "EchoVals.LINE=!EchoVals.LINE! !%%v!" if not defined EchoVals.LINE set "EchoVals.LINE= " &:# Make sure there's a head space even if the variable list was empty %>MSGOUT% echo.%INDENT%!EchoVals.LINE:~1! if defined LOGFILE %>>LOGFILE% echo.%INDENT%!EchoVals.LINE:~1! endlocal & exit /b :EchoVals.Verbose setlocal EnableDelayedExpansion set ">MSGOUT=!>MSGOUT.V[%VERBOSE%]!" goto :EchoVals.1 :EchoVals.Debug setlocal EnableDelayedExpansion set ">MSGOUT=!>MSGOUT.D[%DEBUG%]!" goto :EchoVals.1 :# Echo the value of multiple strings on the same line. They must not contain double quotes. :EchoStrings %1=Quoted_String, %2=Quoted_String, ... setlocal DisableDelayedExpansion set ">MSGOUT=" :EchoStrings.1 set "LINE=" &:# No need for a qualified name, since we don't use caller variables for %%v in (%*) do set "LINE=%LINE% %%~v" if not defined LINE set "LINE= " &:# Make sure there's a head space even if the string list was empty %>MSGOUT% echo.%INDENT%%LINE:~1% if defined LOGFILE %>>LOGFILE% echo.%INDENT%%LINE:~1% endlocal & exit /b :EchoStrings.Verbose setlocal DisableDelayedExpansion %IF_VERBOSE% ( set ">MSGOUT=" ) else ( :# Make sure the variables are logged set ">MSGOUT=rem" ) goto :EchoStrings.1 :EchoString1.Debug setlocal DisableDelayedExpansion %IF_DEBUG% ( set ">MSGOUT=%>DEBUGOUT%" ) else ( :# Make sure the variables are logged set ">MSGOUT=rem" ) goto :EchoStrings.1 :Debug.End :#----------------------------------------------------------------------------# :# # :# Module Exec # :# # :# Description Run a command, logging its output to the log file. # :# # :# In VERBOSE mode, display the command line first. # :# In DEBUG mode, display the command line and the exit code.# :# In NOEXEC mode, display the command line, but don't run it. :# # :# Functions Exec.Init Initialize Exec routines. Call once at 1st # :# Exec.Off Disable execution of commands # :# Exec.On Enable execution of commands # :# Do Always execute a command, logging its output # :# Exec Conditionally execute a command, logging it. # :# Exec.SetErrorLevel Change the current ERRORLEVEL # :# # :# Exec Arguments -l Log the output to the log file. # :# -L Do not send the output to the log file. (Dflt)# :# -t Tee all output to the log file if there's a # :# usable tee.exe. # :# Known limitation: The exit code is always 0. # :# -e Always echo the command. # :# -f Force executing the command, even in NOEXEC m.# :# -v Trace the command in verbose mode. (Default) # :# -V Do not trace the command in verbose mode. # :# %* The command and its arguments # :# Quote redirection operators. Ex: # :# %EXEC% find /I "error" "<"logfile.txt ">"NUL # :# Note: Quote redirections, NOT file numbers. # :# Ex: 2">&"1 will work; "2>&1" will NOT work. # :# # :# Macros %DO% Always execute a command, logging its output # :# %EXEC% Conditionally execute a command, logging it. # :# %ECHO.X% Echo a string indented in -X mode, and log it.# :# %ECHO.XD% Idem in -X or -D modes. # :# %ECHO.XVD% Idem in -X or -V or -D modes. # :# Useful to display commands in cases where # :# %EXEC% can't be used, like in for ('cmd') ... # :# %IF_EXEC% Execute a command if _not_ in NOEXEC mode # :# %IF_NOEXEC% Execute a command in NOEXEC mode only # :# %_DO% Echo and run a command. No opts. No logging. # :# %_DO.D% Idem, echoing it in debug mode only. # :# %_DO.XVD% Idem, echoing it in -X or -V or -D modes only.# :# %XEXEC% Call :Exec from an external scriptlet, such # :# one in a (for /f in ('commands')) block. # :# %XEXEC@% Idem, but with all args stored in one var. # :# # :# Variables %NOEXEC% Exec mode. 0=Execute commands; 1=Don't. Use # :# functions Exec.Off and Exec.On to change it. # :# Inherited from the caller. Default=On. # :# %NOREDIR% 0=Log command output to the log file; 1=Don't # :# Inherited. Default=0. # :# Useful in cases where the output must be # :# shown to the user, and no tee.exe is available. :# %EXEC.ARGS% Arguments to recursively pass to subcommands # :# with the same execution options conventions. # :# # :# Notes %EXEC% can't be used from inside ('command') blocks. # :# This is because these blocks are executed separately in # :# a child shell. Use %XEXEC% or %XEXEC@% instead. # :# These macros rely on the %XCALL% mechanism for calling # :# subroutines in a second instance of a script. They depend # :# on the following line being present after the ARGS # :# variable definition at the top of your script: # :# if '%1'=='-call' !ARGS:~1!& exit /b # :# # :# History # :# 2010-05-19 JFL Created this routine. # :# 2012-05-04 JFL Support logging ">" redirections. # :# 2012-07-09 JFL Restructured functions to a more "object-like" style. # :# 2012-07-11 JFL Support logging both "<" and ">" redirections. # :# 2012-09-18 JFL Added macro %ECHO.X% for cases where %EXEC% can't be used.# :# 2012-11-13 JFL Support for "|" pipes too. # :# 2013-11-12 JFL Added macro %IF_NOEXEC%. # :# 2013-12-04 JFL Added option -t to tee the output if possible. # :# Split %ECHO.X% and %ECHO.XVD%. # :# 2014-05-13 JFL Call tee.exe explicitely, to avoid problems if there's # :# also a tee.bat script in the path. # :# 2015-03-12 JFL If there are output redirections, then cancel any attempt # :# at redirecting output to the log file. # :# 2016-10-19 JFL Bug fix: Make sure the :Exec initialization preserves the # :# errorlevel that was there on entrance. # :# 2016-11-02 JFL Bug fix: Avoid log file redirection failures in recursive # :# scripts. # :# 2016-11-05 JFL Fixed :Exec bug in XP/64. # :# Indent sub-scripts output in debug mode. # :# 2016-11-06 JFL Updated the 10/19 errorlevel fix to work for DO and EXEC. # :# 2016-11-17 JFL Fixed tracing the exit code when caller has exp. disabled.# :# Added option -V to disable tracing exec in verbose mode. # :# Added macro %ECHO.XD%. # :# Faster and more exact method for separating the %EXEC% # :# optional arguments from the command line to run. (The old # :# method lost non-white batch argument separators = , ; in # :# some cases.) # :# 2016-11-24 JFL Fixed executing commands containing a ^ character. # :# Added routine :_Do. # :# 2016-12-13 JFL Rewrote _DO as a pure macro. # :# 2016-12-15 JFL Changed the default to NOT redirecting the output to log. # :# 2017-01-13 JFL Added option -f to routine :Exec. # :# # :#----------------------------------------------------------------------------# call :Exec.Init goto :Exec.End :# Global variables initialization, to be called first in the main routine :Exec.Init set "DO=%LCALL% :Do" set "EXEC=%LCALL% :Exec" set "ECHO.X=%LCALL% :Echo.X" set "ECHO.XD=%LCALL% :Echo.XD" set "ECHO.XVD=%LCALL% :Echo.XVD" if not .%NOEXEC%.==.1. set "NOEXEC=0" :# Quick and simple DO macros, supporting a single command, no redirections, no tricky chars! set _DO=%MACRO% ( %LCALL% :Echo %!%MACRO.ARGS%!% %&% %ON_MACRO_EXIT%%!%MACRO.ARGS%!%%/ON_MACRO_EXIT% ) %/MACRO% set _DO.D=%MACRO% ( %LCALL% :Echo.D %!%MACRO.ARGS%!% %&% %ON_MACRO_EXIT%%!%MACRO.ARGS%!%%/ON_MACRO_EXIT% ) %/MACRO% set _DO.XD=%MACRO% ( %LCALL% :Echo.XD %!%MACRO.ARGS%!% %&% %ON_MACRO_EXIT%%!%MACRO.ARGS%!%%/ON_MACRO_EXIT% ) %/MACRO% set _DO.XVD=%MACRO% ( %LCALL% :Echo.XVD %!%MACRO.ARGS%!% %&% %ON_MACRO_EXIT%%!%MACRO.ARGS%!%%/ON_MACRO_EXIT% ) %/MACRO% :# Execute commands from another instance of the main script set "XEXEC=%XCALL% :Exec" set "XEXEC@=%XCALL% :Exec.ExecVar" :# Check if there's a tee.exe program available :# set "Exec.HaveTee=0" :# tee.exe --help >NUL 2>NUL :# if not errorlevel 1 set "Exec.HaveTee=1" for %%t in (tee.exe) do set "Exec.tee=%%~$PATH:t" :# Initialize ERRORLEVEL with known values set "TRUE.EXE=(call,)" &:# Macro to silently set ERRORLEVEL to 0 set "FALSE0.EXE=(call)" &:# Macro to silently set ERRORLEVEL to 1 set "FALSE.EXE=((for /f %%i in () do .)||rem.)" &:# Faster macro to silently set ERRORLEVEL to 1 goto :NoExec.%NOEXEC% :Exec.On :NoExec.0 set "NOEXEC=0" set "IF_NOEXEC=if .%NOEXEC%.==.1." set "IF_EXEC=if .%NOEXEC%.==.0." set "EXEC.ARGS= %EXEC.ARGS%" set "EXEC.ARGS=%EXEC.ARGS: -X=%" set "EXEC.ARGS=%EXEC.ARGS:~1%" goto :eof :# Routine to set the NOEXEC mode, in response to the -X argument. :Exec.Off :NoExec.1 set "NOEXEC=1" set "IF_NOEXEC=if .%NOEXEC%.==.1." set "IF_EXEC=if .%NOEXEC%.==.0." set "EXEC.ARGS= %EXEC.ARGS%" set "EXEC.ARGS=%EXEC.ARGS: -X=% -X" set "EXEC.ARGS=%EXEC.ARGS:~1%" goto :eof :Echo.XVD %IF_VERBOSE% goto :Echo :Echo.XD %IF_DEBUG% goto :Echo :Echo.X %IF_NOEXEC% goto :Echo goto :Echo.Log :Exec.SetErrorLevel %1 exit /b %1 :# Execute a command, logging its output. :# Use for informative commands that should always be run, even in NOEXEC mode. :Do set "Exec.ErrorLevel=%ERRORLEVEL%" &:# Save the initial errorlevel setlocal EnableExtensions DisableDelayedExpansion &:# Clears the errorlevel %IF_NOEXEC% call :Exec.On goto :Exec.Start :# Execute critical operations that should not be run in NOEXEC mode. :# Version supporting input and output redirections, and pipes. :# Redirection operators MUST be surrounded by quotes. Ex: "<" or ">" or ">>" :Exec set "Exec.ErrorLevel=%ERRORLEVEL%" &:# Save the initial errorlevel setlocal EnableExtensions DisableDelayedExpansion &:# Clears the errorlevel :Exec.Start set "Exec.NOREDIR=%NOREDIR%" set "Exec.Redir=" &:# The selected redirection. Default: none set "Exec.2Redir=>>%LOGFILE%,2>&1" &:# What to change it to, to enable redirection if .%NOREDIR%.==.1. set "Exec.2Redir=" &:# Several cases forbid redirection if not defined LOGFILE set "Exec.2Redir=" if /i .%LOGFILE%.==.NUL. set "Exec.2Redir=" set "Exec.IF_VERBOSE=%IF_VERBOSE%" &:# Echo the command in verbose mode set "Exec.IF_EXEC=%IF_EXEC%" &:# IF_EXEC macro set "Exec.IF_NOEXEC=%IF_NOEXEC%" &:# IF_NOEXEC macro :# Record the command-line to execute. :# Never comment (set Exec.cmd) lines themselves, to avoid appending extra spaces. :# Use %*, but not %1 ... %9, because %N miss non-white argument separators like = , ; set ^"Exec.Cmd=%*^" &:# Doubles ^carets within "quoted" strings, and halves those outside set ^"Exec.Cmd=%Exec.Cmd:^^=^%^" &:# Fix the # of ^carets within "quoted" strings :# Process optional arguments goto :Exec.GetArgs :Exec.NextArg :# Remove the %EXEC% argument and following spaces from the head of the command line setlocal EnableDelayedExpansion &:# The next line works because no :exec own argument may contain an '=' or a '!' for /f "tokens=1* delims= " %%a in ("-!Exec.Cmd:*%1=!") do endlocal & set Exec.Cmd=%%b shift :Exec.GetArgs if "%~1"=="-l" set "Exec.Redir=%Exec.2Redir%" & goto :Exec.NextArg :# Do send the output to the log file if "%~1"=="-L" set "Exec.Redir=" & goto :Exec.NextArg :# Do not send the output to the log file if "%~1"=="-t" if defined Exec.2Redir ( :# Tee the output to the log file :# Warning: This prevents from getting the command exit code! if defined Exec.tee set "Exec.Redir= 2>&1 | %Exec.tee% -a %LOGFILE%" goto :Exec.NextArg ) if "%~1"=="-e" set "Exec.IF_VERBOSE=if 1==1" & goto :Exec.NextArg :# Always echo the command if "%~1"=="-f" set "Exec.IF_EXEC=if 1==1" & set "Exec.IF_NOEXEC=if 0==1" & goto :Exec.NextArg :# Always execute the command if "%~1"=="-v" set "Exec.IF_VERBOSE=%IF_VERBOSE%" & goto :Exec.NextArg :# Echo the command in verbose mode if "%~1"=="-V" set "Exec.IF_VERBOSE=if 0==1" & goto :Exec.NextArg :# Do not echo the command in verbose mode :# Anything else is part of the command. Prepare to display it and run it. :# First stage: Split multi-char ops ">>" "2>" "2>>". Make sure to keep ">" signs quoted every time. :# Do NOT use surrounding quotes for these set commands, else quoted arguments will break. set Exec.Cmd=%Exec.Cmd:">>"=">"">"% set Exec.Cmd=%Exec.Cmd:">>&"=">"">""&"% set Exec.Cmd=%Exec.Cmd:">&"=">""&"% :# If there are output redirections, then cancel any attempt at redirecting output to the log file. set "Exec.Cmd1=%Exec.Cmd:"=%" &:# Remove quotes in the command string, to allow quoting the whole string. if not "%Exec.Cmd1:>=%"=="%Exec.Cmd1%" set "Exec.Redir=" if defined Exec.Redir set "Exec.NOREDIR=1" &:# make sure child scripts do not try to redirect output again :# Second stage: Convert quoted redirection operators (Ex: ">") to a usable (Ex: >) and a displayable (Ex: ^>) value. :# Must be done once for each of the four < > | & operators. :# Since each operation removes half of ^ escape characters, then insert :# enough ^ to still protect the previous characters during the subsequent operations. set Exec.toEcho=%Exec.Cmd:"|"=^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^|% set Exec.toEcho=%Exec.toEcho:"&"=^^^^^^^^^^^^^^^&% set Exec.toEcho=%Exec.toEcho:">"=^^^^^^^>% set Exec.toEcho=%Exec.toEcho:"<"=^^^<% :# Finally create the usable command, by removing the last level of ^ escapes. set Exec.Cmd=%Exec.toEcho% set "Exec.Echo=rem" %Exec.IF_NOEXEC% set "Exec.Echo=echo" %IF_DEBUG% set "Exec.Echo=echo" %Exec.IF_VERBOSE% set "Exec.Echo=echo" %>DEBUGOUT% %Exec.Echo%.%INDENT%%Exec.toEcho% if defined LOGFILE %>>LOGFILE% echo.%INDENT%%Exec.toEcho% :# Constraints at this stage: :# The command exit code must make it through, back to the caller. :# The local variables must disappear before return. :# But the new variables created by the command must make it through. :# This should work whether :Exec is called with delayed expansion on or off. endlocal & %Exec.IF_EXEC% ( set "NOREDIR=%Exec.NOREDIR%" %IF_DEBUG% set "INDENT=%INDENT% " call :Exec.SetErrorLevel %Exec.ErrorLevel% &:# Restore the errorlevel we had on :Exec entrance %Exec.Cmd%%Exec.Redir% call set "Exec.ErrorLevel=%%ERRORLEVEL%%" &:# Save the new errorlevel set by the command executed set "NOREDIR=%NOREDIR%" &:# Sets ERRORLEVEL=1 in Windows XP/64 %IF_DEBUG% set "INDENT=%INDENT%" call :Exec.TraceExit ) exit /b :Exec.TraceExit for %%e in (%Exec.ErrorLevel%) do ( set "Exec.ErrorLevel=" %IF_DEBUG% %>DEBUGOUT% echo.%INDENT% exit %%e if defined LOGFILE %>>LOGFILE% echo.%INDENT% exit %%e exit /b %%e ) :Exec.ExecVar CMDVAR call :Exec !%1:%%=%%%%! exit /b :Exec.End :#----------------------------------------------------------------------------# :# End of the debugging library # :#----------------------------------------------------------------------------# :#----------------------------------------------------------------------------# :# Variables containing control characters :#----------------------------------------------------------------------------# :# Define a CR variable containing a Carriage Return ('\x0D') for /f %%a in ('copy /Z "%~dpf0" nul') do set "CR=%%a" :# Define a LF variable containing a Line Feed ('\x0A') :# The two blank lines below are necessary. set LF=^ :# End of define Line Feed. The two blank lines above are necessary. :# Define a BS variable containing a BackSpace ('\x08') :# Use prompt to store a backspace+space+backspace into a DEL variable. for /F "tokens=1 delims=#" %%a in ('"prompt #$H# & echo on & for %%b in (1) do rem"') do set "DEL=%%a" :# Then extract the first backspace set "BS=%DEL:~0,1%" :# Define a FF variable containing a Form Feed ('\x0C') for /f %%A in ('cls') do set "FF=%%A" :#----------------------------------------------------------------------------# :# Useful tricks :#----------------------------------------------------------------------------# :# The following commands end up with a loop that works identically both :# inside a batch file, and at the cmd.exe prompt. set "@=%" &:# Ends up as % at cmd prompt, or undefined in a batch if not defined @ set "@=%%" &:# If undefined (in a batch) redefine as % for /l %@%N in (1,1,3) do @echo Loop %@%N &:# Display the loop number :#----------------------------------------------------------------------------# :# Test macros :#----------------------------------------------------------------------------# :Macro.test :# Sample macro showing macro features, and how to use them set $reflect=%MACRO% ( %\n% echo $reflect %!%MACRO.ARGS%!% %\n% :# Make sure ARG is undefined if there's no argument %\n% set "ARG=" %\n% :# Scan all arguments, and show what they are %\n% for %%v in (%!%MACRO.ARGS%!%) do ( %\n% set "ARG=%%~v" %\n% echo Hello %!%ARG%!% %\n% ) %\n% :# Change another variable, to show the change is local only %\n% set "LOCALVAR=CHANGED" %\n% :# Return the last argument %\n% set RETVAL=%!%ARG%!%%\n% :# Work around the inability to use either %RETVAL% or !RETVAL! in macros after endlocal %\n% echo return "RETVAL=%'!%RETVAL%'!%"%\n% %ON_MACRO_EXIT% set "RETVAL=%'!%RETVAL%'!%" %/ON_MACRO_EXIT% %\n% ) %/MACRO% set $reflect echo. set LOCALVAR=BEFORE echo set "RETVAL=%RETVAL%" echo set "LOCALVAR=%LOCALVAR%" %$reflect% inline functions echo set "RETVAL=%RETVAL%" echo set "LOCALVAR=%LOCALVAR%" echo. %$reflect% echo set "RETVAL=%RETVAL%" echo set "LOCALVAR=%LOCALVAR%" echo. %$reflect% more "inline functions" echo set "RETVAL=%RETVAL%" echo set "LOCALVAR=%LOCALVAR%" goto :eof :Return#.Test1 %FUNCTION0% if %1==0 %TRUE.EXE% & %RETURN#% ErrorLevel Zero %FALSE.EXE% & %RETURN#% ErrorLevel One :Return#.Test call :Return#.Test1 0 %ECHO% :# ERRORLEVEL=%ERRORLEVEL% Expected 0 call :Return#.Test1 1 %ECHO% :# ERRORLEVEL=%ERRORLEVEL% Expected 1 call :Return#.Test1 0 %ECHO% :# ERRORLEVEL=%ERRORLEVEL% Expected 0 goto :eof :#----------------------------------------------------------------------------# :# From: http://www.dostips.com/forum/viewtopic.php?f=3&t=5411 :# This is posted mostly for (my) reference, since I don't always remember, :# and never seem to be able to find everything in one place. :# Below is a set of LF-related macros, with !LF! and %\n% following common :# usage around here, %/n% being proposed for a linefeed without continuation, :# and multi-slashed %\\n% %//n% indicating the target depth of expansion. :# Code: @echo off & setlocal disableDelayedExpansion @rem single linefeed char 0x0A (two blank lines required below) set LF=^ @rem linefeed macros set ^"/n=^^^%LF%%LF%^%LF%%LF%" set ^"//n=^^^^^^%/n%%/n%^^%/n%%/n%" set ^"///n=^^^^^^^^^^^^%//n%%//n%^^^^%//n%%//n%" set ^"////n=^^^^^^^^^^^^^^^^^^^^^^^^%///n%%///n%^^^^^^^^%///n%%///n%" :: set ^"//n=^^^^^^^%LF%%LF%^%LF%%LF%^^^%LF%%LF%^%LF%%LF%" @rem newline macros (linefeed + line continuation) set ^"\n=%//n%^^" set ^"\\n=%///n%^^" set ^"\\\n=%////n%^^" setlocal enableDelayedExpansion @rem check inline expansion echo( set ^"NL=^%LF%%LF%" if '!LF!'=='!NL!' echo '^^!LF^^!' == '^^^^%%LF%%%%LF%%' @rem check linefeed macros echo( set "ddx=!/n!" & set "edx=!LF!" call :check && (echo '%%/n%%' == '^^!LF^^!') || (echo ???) set "ddx=!//n!" & set "edx=!/n!" call :check && (echo '%%//n%%' == '^^!/n^^!') || (echo ???) set "ddx=!///n!" & set "edx=!//n!" call :check && (echo '%%///n%%' == '^^!//n^^!') || (echo ???) set "ddx=!////n!" & set "edx=!///n!" call :check && (echo '%%////n%%' == '^^!///n^^!') || (echo ???) @rem check newline macros echo( set "ddx=!\n!" & set "edx=!LF!^" call :check && (echo '%%\n%%' == '^^!LF^^!^^^^') || (echo ???) set "ddx=!\\n!" & set "edx=!/n!^" call :check && (echo '%%\\n%%' == '^^!/n^^!^^^^') || (echo ???) set "ddx=!\\\n!" & set "edx=!//n!^" call :check && (echo '%%\\\n%%' == '^^!//n^^!^^^^') || (echo ???) endlocal & endlocal & goto :eof :check set ^"dvar='%ddx%'" set ^"evar='!edx!'" if "!dvar!" equ "!evar!" (call;) else (call) & goto :eof :#----------------------------------------------------------------------------# :# batchTee.bat OutputFile [+] :# :# Write each line of stdin to both stdout and outputFile. :# The default behavior is to overwrite any existing outputFile. :# If the 2nd argument is + then the content is appended to any existing :# outputFile. :# :# Limitations: :# :# 1) Lines are limited to ~1000 bytes. The exact maximum line length varies :# depending on the line number. The SET /P command is limited to reading :# 1021 bytes per line, and each line is prefixed with the line number when :# it is read. :# :# 2) Trailing control characters are stripped from each line. :# :# 3) Lines will not appear on the console until a newline is issued, or :# when the input is exhaused. This can be a problem if the left side of :# the pipe issues a prompt and then waits for user input on the same line. :# The prompt will not appear until after the input is provided. :# :# From http://www.dostips.com/forum/viewtopic.php?p=32615#p32615 :#----------------------------------------------------------------------------# @echo off setlocal enableDelayedExpansion if "%~1" equ ":tee" goto :tee :lock set "teeTemp=%temp%\tee%time::=_%" 2>nul ( 9>"%teeTemp%.lock" ( for %%F in ("%teeTemp%.test") do ( set "yes=" pushd "%temp%" copy /y nul "%%~nxF" >nul for /f "tokens=2 delims=(/" %%A in ( '^<nul copy /-y nul "%%~nxF"' ) do if not defined yes set "yes=%%A" popd ) for /f %%A in ("!yes!") do ( find /n /v "" echo :END echo %%A ) >"%teeTemp%.tmp" | <"%teeTemp%.tmp" "%~f0" :tee %* 7>&1 >nul (call ) ) || goto :lock ) del "%teeTemp%.lock" "%teeTemp%.tmp" "%teeTemp%.test" exit /b :tee set "redirect=>" if "%~3" equ "+" set "redirect=>>" 8%redirect% %2 (call :tee2) set "redirect=" (echo ERROR: %~nx0 unable to open %2)>&7 :tee2 for /l %%. in () do ( set "ln=" set /p "ln=" if defined ln ( if "!ln:~0,4!" equ ":END" exit set "ln=!ln:*]=!" (echo(!ln!)>&7 if defined redirect (echo(!ln!)>&8 ) ) :#----------------------------------------------------------------------------# :# # :# Function EnableExpansion # :# # :# Description Test if cmd.exe delayed variable expansion can be enabled # :# # :# Returns %ERRORLEVEL% == 0 if success, else error. # :# # :# Note Allows testing if enabling delayed expansion works. # :# But, contrary to what I thought when I created the # :# routine, the effect does not survive the return. # :# So this routine CANNOT be used to enable variable # :# expansion. # :# # :# History # :# 2010-05-31 JFL Created this routine. # :# 2014-05-13 JFL Only do a single setlocal. # :# Tested various return methods, but none of them preserves # :# the expansion state changed inside. # :# # :#----------------------------------------------------------------------------# :EnableExpansion :# Enable command extensions verify other 2>nul setlocal EnableExtensions if errorlevel 1 ( >&2 echo Error: Unable to enable cmd.exe command extensions. >&2 echo Please restart your cmd.exe shell with the /E:ON option, >&2 echo or set HKLM\Software\Microsoft\Command Processor\EnableExtensions=1 >&2 echo or set HKCU\Software\Microsoft\Command Processor\EnableExtensions=1 exit /b 1 ) endlocal &:# Disable that first setting, as we do another setlocal just below. :# Enable delayed variable expansion verify other 2>nul setlocal EnableExtensions EnableDelayedExpansion if errorlevel 1 ( :EnableExpansionFailed >&2 echo Error: Unable to enable cmd.exe delayed variable expansion. >&2 echo Please restart your cmd.exe shell with the /V option, >&2 echo or set HKLM\Software\Microsoft\Command Processor\DelayedExpansion=1 >&2 echo or set HKCU\Software\Microsoft\Command Processor\DelayedExpansion=1 exit /b 1 ) :# Check if delayed variable expansion works now set VAR=before if "%VAR%" == "before" ( set VAR=after if not "!VAR!" == "after" goto :EnableExpansionFailed ) :# Success exit /b 0 :# Test proving that the :EnableExpansion routine does not have lasting effects. :EnableExpansion.Test setlocal EnableExtensions DisableDelayedExpansion echo :# First attempt with variable expansion disabled set "X=Initial value" set "X=Modified value" & echo X=!X! call :EnableExpansion echo :# Second attempt after call :EnableExpansion set "X=Initial value" set "X=Modified value" & echo X=!X! endlocal setlocal EnableExtensions EnableDelayedExpansion echo :# Third attempt after setlocal EnableDelayedExpansion set "X=Initial value" set "X=Modified value" & echo X=!X! endlocal goto :eof :#----------------------------------------------------------------------------# :# Check that cmd extensions work :check_exts verify other 2>nul setlocal EnableExtensions EnableDelayedExpansion if errorlevel 1 ( >&2 echo Error: Unable to enable command extensions. endlocal & exit /b 1 ) set VAR=before if "%VAR%" == "before" ( set VAR=after if not "!VAR!" == "after" ( >&2 echo Error: Delayed environment variable expansion must be enabled. >&2 echo Please restart your cmd.exe shell with the /V option, >&2 echo or set HKLM\Software\Microsoft\Command Processor\DelayedExpansion=1 endlocal & exit /b 1 ) ) endlocal & exit /b 0 :#----------------------------------------------------------------------------# :# # :# Function GetEchoState # :# # :# Description Check if echo is on or off # :# # :# Arguments %1 Name of the output variable # :# # :# Notes This cannot be done with creating a temporary file, # :# because any use of pipes will create a sub-shell that # :# will have echo ON by default. # :# # :# Reference: https://stackoverflow.com/a/69569291/2215591 # :# # :# History # :# 2021-10-14 JFL Created this routine, based on examples in the above # :# StackOverflow page. # :# # :#----------------------------------------------------------------------------# :# Example of use: :# @setlocal :# @call :GetEchoState PREVIOUS_ECHO_STATE :# @echo off :# ... :# endlocal & echo %PREVIOUS_ECHO_STATE% & @exit /b :GetEchoState %1=OUTVAR @for /f %%F in ("%TEMP%\EchoState%PID%.tmp") do @( (for %%. in (.) do call,) > "%%F" for %%S in ("%%F") do @if %%~zS==0 (set "%1=OFF") else (set "%1=ON") del "%%F" ) @exit /b :# Shorter version that returns the result in the errorlevel. :# Example of use: :# @setlocal :# @call :GetEchoLevel :# @echo off :# if errorlevel 1 (set RESTORE_ECHO=echo on) else (set RESTORE_ECHO=echo off) :# ... :# endlocal & %RESTORE_ECHO% & @exit /b :GetEchoLevel # Returns errorlevel 0 if echo is off @for /f %%F in ("%TEMP%\EchoLevel%PID%.tmp") do @( (for %%. in (.) do call,) > "%%F" for %%S in ("%%F") do @del "%%F" & exit /b %%~zS ) :#----------------------------------------------------------------------------# :# # :# Function Echo-n # :# # :# Description Output a string with no newline # :# # :# Macros %ECHO-N% Output a string with no newline. # :# # :# Arguments %1 String to output. # :# # :# Notes Quotes around the string, if any, will be removed. # :# Leading spaces will NOT be output. (Limitation of set /P) # :# # :# History # :# 2010-05-19 JFL Created this routine. # :# 2012-07-09 JFL Send the output to the log file too. # :# # :#----------------------------------------------------------------------------# set "ECHO-N=call :Echo-n" goto :Echo-n.End :Echo-n setlocal if defined LOGFILE %>>LOGFILE% <NUL set /P =%~1 <NUL set /P =%~1 endlocal goto :eof :Echo-n.End :#----------------------------------------------------------------------------# :# # :# Function Echo.Color # :# # :# Description Echo colored strings # :# # :# Arguments # :# # :# Notes Based on the colorPrint sample code in # :# http://stackoverflow.com/questions/4339649/how-to-have-multiple-colors-in-a-batch-file :# # :# Requires ending the script with a last line containing # :# a single dash "-" and no CRLF in the end. # :# # :# Known limitations: # :# Backspaces do not work across a line break, so the # :# technique can have problems if the line wraps. # :# For example, printing a string with length between 74-79 # :# will not work properly in a 80-columns console. # :# # :# History # :# 2011-03-17 JEB Published the first sample on stackoverflow.com # :# 2012-04-30 JEB Added support for strings containing invalid file name # :# characters, by using the \..\x suffix. # :# 2012-05-02 DB Added support for strings that contain additional path # :# levels, like: "a\b\" "a/b/" "\" "/" "." ".." "c:" # :# Store the temp file on %TEMP%, which is always writable. # :# Created 2 variants, one takes a string literal, the other # :# the name of a variable containing the string. The variable# :# version is generally less convenient, but it eliminates # :# some special character escape issues. # :# Added the /n option as an optional 3rd parameter to # :# append a newline at the end of the output. # :# 2012-09-26 JFL Renamed routines as object-oriented Echo.Methods. # :# Added routines Echo.Success, Echo.Warning, Echo.Failure. # :# 2012-10-02 JFL Renamed variable DEL as ECHO.DEL to avoid name collisions.# :# Removed the . in the temp file. findstr can search a BS. # :# Removed a call level to improve performance a bit. # :# Added comments. # :# New implementation not using a temporary file. # :# 2012-10-06 JFL Fixed the problem with displaying "!". # :# 2012-11-13 JFL Copy the string into the log file, if defined. # :# 2017-01-16 JFL Use bright colors for [Success]/[Warning]/[Failure], # :# and added an optional suffix and end of line. # :# 2017-01-25 JFL Changed the final string to valid PowerShell comment ##- # :# # :#----------------------------------------------------------------------------# call :Echo.Color.Init goto Echo.Color.End :Echo.Color %1=Hex Color %2=String [%3=/n] :# Temporarily disable expansion to preserve ! in the input string setlocal disableDelayedExpansion set "str=%~2" :Echo.Color.2 setlocal enableDelayedExpansion if defined LOGFILE %>>LOGFILE% <NUL set /P =!str! :# Replace path separators in the string, so that the final path still refers to the current path. set "str=a%ECHO.DEL%!str:\=a%ECHO.DEL%\..\%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%!" set "str=!str:/=a%ECHO.DEL%/..\%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%!" set "str=!str:"=\"!" :# Go to the script directory and search for the trailing - pushd "%ECHO.DIR%" findstr /p /r /a:%~1 "^^##-" "!str!\..\!ECHO.FILE!" nul popd :# Remove the name of this script from the output. (Dependant on its length.) for /l %%n in (1,1,24) do if not "!ECHO.FILE:~%%n!"=="" <nul set /p "=%ECHO.DEL%" :# Remove the other unwanted characters "\..\: ##-" <nul set /p "=%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%" :# Append the optional CRLF if not "%~3"=="" echo.&if defined LOGFILE %>>LOGFILE% echo. endlocal & endlocal & goto :eof :Echo.Color.Var %1=Color %2=StrVar [%3=/n] if not defined %~2 goto :eof setlocal enableDelayedExpansion set "str=!%~2!" goto :Echo.Color.2 :Echo.Color.Init set "ECHO.COLOR=call :Echo.Color" set "ECHO.DIR=%~dp0" set "ECHO.FILE=%~nx0" :# Use prompt to store a backspace into a variable. (Actually backspace+space+backspace) for /F "tokens=1 delims=#" %%a in ('"prompt #$H# & echo on & for %%b in (1) do rem"') do set "ECHO.DEL=%%a" goto :eof :#----------------------------------------------------------------------------# :Echo.Color.Test setlocal disableDelayedExpansion %ECHO.COLOR% 0a "a" %ECHO.COLOR% 0b "b" set "txt=^" & %ECHO.COLOR%.Var 0c txt %ECHO.COLOR% 0d "<" %ECHO.COLOR% 0e ">" %ECHO.COLOR% 0f "&" %ECHO.COLOR% 1a "|" %ECHO.COLOR% 1b " " %ECHO.COLOR% 1c "%%%%" & rem # Escape the '%' character %ECHO.COLOR% 1d ^""" & rem # Escape the '"' character %ECHO.COLOR% 1e "*" %ECHO.COLOR% 1f "?" %ECHO.COLOR% 2a "!" & rem # This one does not need escaping in disableDelayedExpansion mode %ECHO.COLOR% 2b "." %ECHO.COLOR% 2c ".." %ECHO.COLOR% 2d "/" %ECHO.COLOR% 2e "\" %ECHO.COLOR% 2f "q:" /n echo. set complex="c:\hello world!/.\..\\a//^<%%>&|!" /^^^<%%^>^&^|!\ %ECHO.COLOR%.Var 74 complex /n goto :eof :# Experimental code that does not work... :# Check if this script contains a trailing :eof. If not, add one. set "ECHO.FULL=%ECHO.DIR%%ECHO.FILE%" findstr /r "^^-" "%ECHO.FULL%" >NUL 2>&1 if errorlevel 1 ( >&2 echo Notice: Adding the missing - at the end of this script >>"%ECHO.FULL%" echo goto :eof >>"%ECHO.FULL%" <nul set /p "=-" ) else ( echo three for /f "delims=" %%s in ('findstr /r "^-" "%ECHO.FULL%"') do set "ECHO.TMP=%%s" %ECHOVARS% ECHO.TMP ) if not "%ECHO.TMP:~1%"=="" >&2 echo Error: Please remove all CRLF after the trailing - :#----------------------------------------------------------------------------# :# Initial implementation with a temporary file %TEMP%\x containing backspaces :Echo.Color1 %1=Color %2=Str [%3=/n] setlocal enableDelayedExpansion set "str=%~2" set "strvar=str" goto :Echo.Color1.2 :Echo.Color1.Var %1=Color %2=StrVar [%3=/n] if not defined %~2 goto :eof setlocal enableDelayedExpansion set "strvar=%~2" :Echo.Color1.2 :# Replace path separators in the string, so that they still refer to the current path. set "str=a%ECHO.DEL%!%strvar%:\=a%ECHO.DEL%\..\%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%!" set "str=!str:/=a%ECHO.DEL%/..\%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%!" set "str=!str:"=\"!" pushd "%TEMP%" findstr /P /L /A:%~1 "%ECHO.BS%" "!str!\..\x" nul popd if not "%~3"=="" echo. endlocal & goto :eof :Echo.Color1.Init set "ECHO.COLOR=call :Echo.Color" :# Use prompt to store a backspace into a variable. (Actually backspace+space+backspace) for /F "tokens=1 delims=#" %%a in ('"prompt #$H# & echo on & for %%b in (1) do rem"') do set "ECHO.DEL=%%a" set "ECHO.BS=%ECHO.DEL:~0,1%" :# Generate a temp file containing backspaces. This content will be used later to post-process the findstr output. <nul >"%TEMP%\x" set /p "=%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%%ECHO.DEL%" goto :eof :Echo.Color1.Cleanup del "%TEMP%\x" goto :eof :#----------------------------------------------------------------------------# :Echo.Success [%1=Suffix string] [%2=/n] %ECHO.COLOR% 0A "[Success]%~1" %2 goto :eof :Echo.Warning [%1=Suffix string] [%2=/n] %ECHO.COLOR% 0E "[Warning]%~1" %2 goto :eof :Echo.Failure [%1=Suffix string] [%2=/n] %ECHO.COLOR% 0C "[Failure]%~1" %2 goto :eof :Echo.Color.End :#----------------------------------------------------------------------------# :# # :# Function EchoF # :# # :# Description Echo a string with several formatted fields # :# # :# Arguments %1 Format string with columns width and alignment # :# Ex: "[-10][10][10]" # :# %* Optional substrings to format # :# # :# Notes Inspired from C printf routine. # :# # :# Prefix all local variable names with a character that # :# cannot be used in %%N loop variables. The ";" here. # :# This avoids a bug when this routine is invoked from # :# within a loop, where that loop variable uses the first # :# letter of one of our variables. # :# # :# Limitations # :# - Can format at most 8 strings. # :# - The format string cannot contain | < > & # :# - Each formatted field can be at most 53 characters long. # :# # :# History # :# 2006-01-01 Created Format on http://www.dostips.com # :# 2009-11-30 Changed # :# 2012-10-25 JFL Adapted to my usual style and renamed as EchoF. # :# Fixed bug when invoked in a loop on %%c or %%l, etc... # :# Added the option to have an unspecified width: [] # :# # :#----------------------------------------------------------------------------# :EchoF.Init set "ECHOF=call :EchoF" goto :eof :EchoF fmt str1 str2 ... -- outputs columns of strings right or left aligned :: -- fmt [in] - format string specifying column width and alignment. Ex: "[-10] / [10] / []" :$created 20060101 :$changed 20091130 :$categories Echo :# Updated 20121026 JFL: Added tons of comments. :# Fixed a bug if invoked in a loop on %%c or %%f or %%l or %%s or %%i. :# Added an unspecified width format []. Useful for the last string. :$source http://www.dostips.com setlocal EnableExtensions DisableDelayedExpansion set ";fmt=%~1" &:# Format string set ";line=" &:# Output string. Initially empty. set ";spac= " set ";i=1" &:# Argument index. 1=fmt; 2=str1; ... :# %ECHOVARS.D% ";fmt" ";line" ";spac" ";i" :# For each substring in fmt split at each "]"... (So looking like "Fixed text[SIZE]".) for /f "tokens=1,2 delims=[" %%a in ('"echo..%;fmt:]=&echo..%"') do ( :# %%a=Fixed text before "["; %%b=size after "[" call set /a ";i=%%;i%%+1" &:# Compute the next str argument index. call call set ";subst=%%%%~%%;i%%%;spac%%%%%~%%;i%%" &:# Append that str at both ends of the spacer :# %ECHOVARS.D% ";i" ";subst" if "%%b"=="" ( :# Unspecified width. Use the string as it is. call call set ";subst=%%%%~%%;i%%" ) else if %%b0 GEQ 0 ( :# Cut a left-aligned field at the requested size. call set ";subst=%%;subst:~0,%%b%%" ) else ( :# Cut a right-aligned field at the requested size. call set ";subst=%%;subst:~%%b%%" ) call set ";const=%%a" &:# %%a=Fixed text before "[". Includes an extra dot at index 0. call set ";line=%%;line%%%%;const:~1%%%%;subst%%" &:# Append the fixed text, and the formated string, to the output line. :# %ECHOVARS.D% ";subst" ";const" ";line" ) echo.%;line% endlocal & exit /b :# Original Format function from dostips.com :Format fmt str1 str2 ... -- outputs columns of strings right or left aligned :: -- fmt [in] - format string specifying column width and alignment, i.e. "[-10][10][10]" :$created 20060101 :$changed 20091130 :$categories Echo :$source http://www.dostips.com SETLOCAL set "fmt=%~1" set "line=" set "spac= " set "i=1" for /f "tokens=1,2 delims=[" %%a in ('"echo..%fmt:]=&echo..%"') do ( set /a i+=1 call call set "subst=%%%%~%%i%%%spac%%%%%~%%i%%" if %%b0 GEQ 0 (call set "subst=%%subst:~0,%%b%%" ) ELSE (call set "subst=%%subst:~%%b%%") call set "const=%%a" call set "line=%%line%%%%const:~1%%%%subst%%" ) echo.%line% EXIT /b :#----------------------------------------------------------------------------# :# # :# Function strlen # :# # :# Description Measure the length of a string # :# # :# Arguments %1 String variable name # :# %2 Ouput variable name # :# # :# Notes Inspired from C string management routines # :# # :# Many thanks to 'sowgtsoi', but also 'jeb' and 'amel27' # :# dostips forum users helped making this short and efficient# :# History # :# 2008-11-22 Created on dostips.com. # :# 2010-11-16 Changed. # :# 2012-10-08 JFL Adapted to my %FUNCTION% library. # :# 2015-11-19 JFL Adapted to new %UPVAR% mechanism. # :# 2016-11-11 JFL Avoid copying the input string. 5% faster. # :# Added routine :strlen.q. No tracing but twice as fast. # :# 2016-11-16 JFL Test just 1 char at each index. 0.6% faster on long strgs.# :# # :#----------------------------------------------------------------------------# :strlen stringVar lenVar -- returns the length of a string %FUNCTION% EnableDelayedExpansion if "%~2"=="" %RETURN% 1 &:# Missing argument %UPVAR% %~2 set "%~2=0" if defined %~1 for /l %%b in (12,-1,0) do ( set /a "i=(%~2|(1<<%%b))-1" for %%i in (!i!) do if not "!%~1:~%%i,1!"=="" set /a "%~2=%%i+1" ) %RETURN% :strlen.q stringVar lenVar -- returns the length of a string setlocal EnableDelayedExpansion set "len=0" if defined %~1 for /l %%b in (12,-1,0) do ( set /a "i=(len|(1<<%%b))-1" for %%i in (!i!) do if not "!%~1:~%%i,1!"=="" set /a "len=%%i+1" ) endlocal & if "%~2" neq "" set "%~2=%len%" exit /b :#----------------------------------------------------------------------------# :# # :# Function strcpy # :# # :# Description Copy the content of a variable into another one # :# # :# Arguments %1 Destination variable name # :# %2 Source variable name # :# # :# Notes Inspired from C string management routines # :# # :# Features: # :# - Supports empty strings (if %2 is undefined, %1 will too)# :# - Supports strings including balanced quotes # :# - Supports strings including special characters & and | # :# # :# History # :# 2021-09-15 JFL Added the missing %UPVAR% instructions. # :# # :#----------------------------------------------------------------------------# :# Copy the content of a variable into another one :# %1 = Destination variable name :# %2 = Source variable name :strcpy %FUNCTION% %UPVAR% %~1 if not "%~1"=="%~2" call set "%~1=%%%~2%%" %RETURN% :# Append the content of a variable to another one :# %1 = Destination variable name :# %2 = Source variable name :strcat %FUNCTION% %UPVAR% %~1 call set "%~1=%%%~1%%%%%~2%%" %RETURN% :#----------------------------------------------------------------------------# :# # :# Function strlwr # :# # :# Description Convert a variable content to lower case # :# # :# Arguments %1 Variable name # :# # :# Notes Inspired from C string management routines # :# # :# History # :# 2021-09-15 JFL Added the missing %UPVAR% instructions. # :# # :#----------------------------------------------------------------------------# :# Convert a variable content to lower case :# %1 = Variable name :strlwr %FUNCTION% if not defined %~1 %RETURN% %UPVAR% %~1 for %%a in ("A=a" "B=b" "C=c" "D=d" "E=e" "F=f" "G=g" "H=h" "I=i" "J=j" "K=k" "L=l" "M=m" "N=n" "O=o" "P=p" "Q=q" "R=r" "S=s" "T=t" "U=u" "V=v" "W=w" "X=x" "Y=y" "Z=z" "Ç=ç" "À=à" "Â=â" "Ä=ä" "É=é" "È=è" "Ê=ê" "Ë=ë" "Î=î" "Ï=ï" "Ô=ô" "Ö=ö" "Ù=ù" "Û=û" "Ü=ü" "Ñ=ñ" "Ø=ø" "Å=å") do ( call set "%~1=%%%~1:%%~a%%" ) %RETURN% :# Convert a variable content to upper case :# %1 = Variable name :strupr %FUNCTION% if not defined %~1 %RETURN% %UPVAR% %~1 for %%a in ("a=A" "b=B" "c=C" "d=D" "e=E" "f=F" "g=G" "h=H" "i=I" "j=J" "k=K" "l=L" "m=M" "n=N" "o=O" "p=P" "q=Q" "r=R" "s=S" "t=T" "u=U" "v=V" "w=W" "x=X" "y=Y" "z=Z" "ç=Ç" "à=À" "â=Â" "ä=Ä" "é=É" "è=È" "ê=Ê" "ë=Ë" "î=Î" "ï=Ï" "ô=Ô" "ö=Ö" "ù=Ù" "û=Û" "ü=Ü" "ñ=Ñ" "ø=Ø" "å=Å") do ( call set "%~1=%%%~1:%%~a%%" ) %RETURN% :#----------------------------------------------------------------------------# :strchr stringVar charVar indexVar -- returns the index of char in a string setlocal EnableDelayedExpansion set "C0=!%~2!" set "I=0" :strchr.loop set "C=!%~1:~%I%,1!" if not defined C set "I=-1" & goto :strchr.exit if not "%C%%C%"=="%C0%%C0%" set /a "I+=1" & goto :strchr.loop :strchr.exit endlocal & if "%~3" neq "" set "%~3=%I%" exit /b :#----------------------------------------------------------------------------# :streq string1Var string2Var setlocal EnableDelayedExpansion if "!%~1!"=="!%~2!" endlocal & exit /b 0 endlocal & exit /b 1 :#----------------------------------------------------------------------------# :strstr stringVar substrVar indexVar -- returns the index of a substring in a string setlocal EnableDelayedExpansion %ECHO.D% call %0 %* call :strlen %1 L1 call :strlen %2 L %ECHOVARS.D% %1 %2 L1 L set /a "IMAX=L1-L" set "I=0" :strstr.loop if %I% GTR %IMAX% set "I=-1" & goto :strstr.exit set "SS=!%~1:~%I%,%L%!" if not "!SS!"=="!%~2!" set /a "I+=1" & goto :strstr.loop :strstr.exit %ECHO.D% return %~3=%I% endlocal & if "%~3" neq "" set "%~3=%I%" exit /b :#----------------------------------------------------------------------------# :# # :# Function trim # :# # :# Description Trim spaces (or other chars.) from the ends of a string # :# # :# Arguments %1 Variable name # :# %2 Characters to be trimmed. Default: space and tab # :# # :# Notes Inspired from Tcl string timming routines # :# # :# History # :# 2012-11-09 JFL Disable delayed expansion to support strings with !s. # :# Fixed the debug output for the returned value. # :# 2015-11-19 JFL Adapted to new %UPVAR% mechanism. # :# # :#----------------------------------------------------------------------------# :# Trim spaces (or other characters) from the beginning of a string :# %1 = String variable to be trimmed :# %2 = Characters to be trimmed. Default: space and tab :trimleft %FUNCTION% EnableExtensions DisableDelayedExpansion if not defined %~1 %RETURN% call set "string=%%%~1%%" set "chars=%~2" if not defined chars set "chars= " :# %ECHOVARS.D% %~1 chars for /f "tokens=* delims=%chars%" %%a in ("%string%") do set "string=%%a" %UPVAR% %~1 set "%~1=%string%" %RETURN% :# Trim spaces (or other characters) from the end of a string :# %1 = String variable to be trimmed :# %2 = Characters to be trimmed. Default: space and tab :trimright %FUNCTION% EnableExtensions DisableDelayedExpansion if not defined %~1 %RETURN% call set "string=%%%~1%%" set "chars=%~2" if not defined chars set "chars= " :# %ECHOVARS.D% RETVAR %~1 string chars DEBUG.RETVARS :trimright_loop if not defined string goto trimright_exit for /f "delims=%chars%" %%a in ("%string:~-1%") do goto trimright_exit set "string=%string:~0,-1%" goto trimright_loop :trimright_exit %UPVAR% %~1 set "%~1=%string%" %RETURN% :# Trim spaces (or other characters) from both ends of a string :# %1 = String variable to be trimmed :# %2 = Characters to be trimmed. Default: space and tab :trim %FUNCTION% if not defined %~1 %RETURN% call :trimleft "%~1" "%~2" call :trimright "%~1" "%~2" %UPVAR% %~1 %RETURN% :#----------------------------------------------------------------------------# :# # :# Function TrimRightSlash # :# # :# Description Remove the trailing \ of a pathname, if any # :# # :# Note # :# # :# History # :# 2014-06-23 JFL Created this routine. # :# # :#----------------------------------------------------------------------------# :TrimRightSlash %1=VARNAME %FUNCTION% EnableDelayedExpansion set "VARNAME=%~1" %UPVAR% %VARNAME% set "%VARNAME%=!%VARNAME%!::" &:# Note that :: cannot appear in a pathname set "%VARNAME%=!%VARNAME%:\::=::!" set "%VARNAME%=!%VARNAME%:::=!" %RETURN% :#----------------------------------------------------------------------------# :# # :# Function ReplaceXxxx # :# # :# Description Replace tricky characters # :# # :# Arguments # :# # :# Notes Non ASCII CHAR arguments must be quoted. Ex: "," # :# # :# '*' '=' ':' cannot be replaced by %VAR:c=repl% # :# # :# Routines shared on dostips: # :# https://www.dostips.com/forum/viewtopic.php?p=50132#p50132 :# # :# History # :# 2016-11-13 JFL Added routine ReplaceChars. # :# 2021-12-06 JFL Use %FUNCTION%/%RETURN% to return correct results. # :# Updated the drawback comments about known limitations. # :# Added routine :ReplaceEquals. # :# The RETVAR argument is now optional for all routines. # :# Fixed :ReplaceDelimSets support for ^ in input strings. # :# # :#----------------------------------------------------------------------------# :# Replace characters :# Advantage: Works with CHAR ':' '*' '~' :# Advantage: The string can contain LF and '"' characters :# Drawback: Does not work with '='. :ReplaceChars %1=STRVAR %2=CHAR %3=REPLACEMENT %4=RETVAR (Default: STRVAR) %FUNCTION% EnableDelayedExpansion set "STRING=!%~1!" set "REPL=%~3" set "RETVAR=%~4" & if not defined RETVAR set "RETVAR=%~1" set "RESULT=" if defined STRING ( call :strlen.q STRING SLEN &:# SLEN = Full string length :ReplaceChars.again set "TAIL=!STRING:*%~2=!" &:# Split STRING into HEAD CHAR TAIL call :strlen.q TAIL TLEN &:# TLEN = Tail length if !TLEN!==!SLEN! ( :# No more C chars set "RESULT=!RESULT!!TAIL!" ) else ( :# Reached one char set /a "HLEN=SLEN-TLEN-1" &:# HLEN = Head length for %%h in (!HLEN!) do set "RESULT=!RESULT!!STRING:~0,%%h!!REPL!" if defined TAIL ( :# Then there might be more chars in the tail set "STRING=!TAIL!" &:# Repeat the same operation for the tail. set "SLEN=!TLEN!" goto :ReplaceChars.again ) ) ) set "!RETVAR!=!RESULT!" %UPVAR% !RETVAR! & %RETURN% 0 :# Replace delimiter sets :# Advantage: Simple and fast; Works with CHAR '=' ':' :# Drawback: Multiple consecutive CHARs are replaced by a single REPL string. :# Drawback: Does not work on strings with LF or '!' characters. :ReplaceDelimSets %1=STRVAR %2=CHAR %3=REPLACEMENT %4=RETVAR (Default: STRVAR) %FUNCTION% EnableDelayedExpansion set "STRING=[!%~1:^=^^^^!]" &:# Make mure the string does not begin or end with delims set "REPL=%~3" set "RETVAR=%~4" & if not defined RETVAR set "RETVAR=%~1" set "RESULT=" :ReplaceDelimSets.loop for /f "delims=%~2 tokens=1*" %%s in ("!STRING!") do ( set "RESULT=!RESULT!%%s" set "TAIL=%%t" if defined TAIL ( :# Then there might be more chars to replace in the tail set "RESULT=!RESULT!!REPL!" set "STRING=!TAIL!" &:# Repeat the same operation for the tail. goto :ReplaceDelimSets.loop ) ) set "!RETVAR!=!RESULT:~1,-1!" %UPVAR% !RETVAR! & %RETURN% 0 :# Replace delimiters :# Inspired by npocmaka post: http://www.dostips.com/forum/viewtopic.php?p=29901#p29901 :# Advantage: Works with CHAR '=' ':' :# Drawback: Does not work on strings with LF or '"' characters. :ReplaceDelims %1=STRVAR %2=CHAR %3=REPLACEMENT %4=RETVAR (Default: STRVAR) %FUNCTION% DisableDelayedExpansion call set "STRING=[%%%~1%%]" &:# Make mure the string does not begin or end with delims set "REPL=%~3" set "RETVAR=%~4" & if not defined RETVAR set "RETVAR=%~1" set "RESULT=" call :strlen.q STRING SLEN &:# SLEN = Full string length :ReplaceDelims.loop for /f "delims=%~2 tokens=1*" %%s in ("%STRING%") do ( set "HEAD=%%s" set "TAIL=%%t" ) set "RESULT=%RESULT%%HEAD%" call :strlen.q HEAD HLEN &:# HLEN = Head length call :strlen.q TAIL TLEN &:# TLEN = Tail length set /a "N=SLEN-HLEN-TLEN" &:# Number of delimiters in between setlocal EnableDelayedExpansion for /l %%n in (1,1,%N%) do set "RESULT=!RESULT!!REPL!" endlocal & set "RESULT=%RESULT%" if defined TAIL ( :# Then there might be more chars to replace in the tail set "STRING=%TAIL%" &:# Repeat the same operation for the tail. set "SLEN=%TLEN%" goto :ReplaceDelims.loop ) set "%RETVAR%=%RESULT:~1,-1%" %UPVAR% %RETVAR% & %RETURN% 0 :# Replace = characters :# Advantage: No dependency on the :strlen routine :# Drawback: Max 256 = characters :# Drawback: Does not work on strings with LF or '!' characters :ReplaceEquals %1=STRVAR %2=REPVAR or "=REPLACEMENT" %3=RETVAR (Default: STRVAR) if not defined %1 exit /b &:# Avoid issues with empty strings %FUNCTION% EnableDelayedExpansion for /F "delims==" %%v in ('set $_ 2^>NUL') do set "%%v=" &:# Clear existing $_XXX variables :# $_=input $f=Termination flag $v=output value $r=replacement var set "$_=!%~1!." & set "$f=1" & set "$v=" & set "$r=%~2" if /i "!$_:%$_%=%$_%!" equ "!$_!" %RETURN% 0 &:# No = sign in $_. Return now to save time if defined $r if not "!$r:~0,1!"=="=" (set "$r=!%~2!") else set "$r=!$r:~1!" &:# $r=replacement value set "$o=%~3" & if not defined $o set "$o=%~1" for /L %%i in (0,1,256) do if defined $f ( for /F "delims==" %%a in ('set $_') do ( set "$a=%%a" & set "$b=!%%a!" &:# $a=$_variable name $b=its value=all that followed the first = set "%%a=" & set "$_!$b!" 2>NUL || set "$f=" if %%i gtr 0 set "$v=!$v!!$a:~2!!$r!" ) ) set "!$o!=!$v!!$b:~0,-1!" &:# The complete result, with the tail . removed in the end %UPVAR% !$o! & %RETURN% 0 :#----------------------------------------------------------------------------# :# # :# Function UrlEncode # :# # :# Description Encode reserved characters in a URL # :# # :# Arguments %1 variable name # :# # :# Notes Reference for the list of characters to encode: # :# https://secure.n-able.com/webhelp/nc_9-1-0_so_en/content/sa_docs/api_level_integration/api_integration_urlencoding.html :# # :# History # :# 2016-01-12 JFL Created this routine # :# 2021-12-05 JFL Encode = signs with the pure Batch :ReplaceEquals functn. # :# 2021-12-06 JFL Encode all characters that need to be encoded. # :# # :#----------------------------------------------------------------------------# :UrlEncode %1=VARNAME setlocal EnableDelayedExpansion set "STRING=!%~1:%%=%%25!" set "STRING=!STRING: =%%20!" set ^"STRING=!STRING:"=%%22!" for %%x in ("# 23" "$ 24" "& 26" "+ 2B" ", 2C" "/ 2F" ": 3A" "; 3B" "< 3C" "> 3E" "? 3F" "@ 40" "\ 5C" "^ 5E" ) do for /f "tokens=1,2" %%a in (%%x) do ( set "STRING=!STRING:%%a=%%%%b!" ) :# Special case for the ! character, which can only be replaced in a set %STRING% set "STRING=%STRING:!= %" & set "STRING=!STRING: =%%21!" &:# Prerequisite: No more " and ^ :# Special case for the = character, which cannot be replaced by any set command set "REPL=%%3D" & call :ReplaceEquals STRING REPL &:# Prerequisite: No more ! endlocal & set "%~1=%STRING%" & exit /b :#----------------------------------------------------------------------------# :# # :# Function list # :# # :# Description List management routines # :# # :# Arguments # :# # :# Notes Inspired from Tcl list management routines # :# # :# History # :# 2016-11-09 JFL Added routine lsort. # :# # :#----------------------------------------------------------------------------# :# Append an element to a list :# %1 = Input/Output variable name :# %2 = element value :lappend %FUNCTION% %UPVAR% %~1 if defined %~1 call set "%~1=%%%~1%% " call set "%~1=%%%~1%%"%~2"" %RETURN% :# Split a string into a list of quoted substrings :# %1 = Output variable name :# %2 = Intput variable name :# %3 = Characters separating substrings. Default: space and tab :split %FUNCTION% if "%~2"=="" %RETURN% setlocal call set "string=%%%~2%%" set "chars=%~3" if not defined chars set "chars= " set "list=" if not defined string goto split_exit :# If the string begins with separator characters, begin the list with an empty substring. set head_chars=true for /f "delims=%chars%" %%a in ("%string:~0,1%") do set head_chars=false if %head_chars%==true ( call :lappend list "" :# Remove the head separators. Necessary to correctly detect the tail separators. for /f "tokens=* delims=%chars%" %%a in ("%string%") do set "string=%%a" ) if not defined string goto split_exit :# If the string ends with separator characters, prepare to append an empty substring to the list. set tail_chars=true for /f "delims=%chars%" %%a in ("%string:~-1%") do set tail_chars=false :# Main loop splitting substrings and appending them to the list. :split_loop for /f "tokens=1* delims=%chars%" %%a in ("%string%") do ( call :lappend list "%%a" set "string=%%b" goto split_loop ) if %tail_chars%==true call :lappend list "" :split_exit %UPVAR% %~1 set "%~1=%list%" %RETURN% :foreach %FUNCTION% %1=Loop_var_name %2=Values_list %3=Block of code call set "foreach_list=%%%2%%" for %%i in (%foreach_list%) do (set "%1=%%i" & %~3) %RETURN% :lsort LIST_NAME [RETVAR] %FUNCTION% EnableExtensions EnableDelayedExpansion set "RETVAR=%~2" if not defined RETVAR set "RETVAR=%~1" %UPVAR% %RETVAR% set "SORTED_LIST=" %ECHOVARS.D% %~1 :# No idea why %FOREACHLINE% appends a space to every line %FOREACHLINE% %%l in ('^(for %%e in ^(!%~1!^) do @echo %%e^) ^| sort') do set "SORTED_LIST=!SORTED_LIST!%%l" if defined SORTED_LIST set "SORTED_LIST=!SORTED_LIST:~0,-1!" set "%RETVAR%=!SORTED_LIST!" %RETURN% :list2lines LIST_NAME if defined %~1 for %%e in (!%~1!) do (echo.%%e) exit /b :#----------------------------------------------------------------------------# :# # :# Function condquote # :# # :# Description Add quotes around the content of a pathname if needed # :# # :# Arguments %1 Source variable name # :# %2 Destination variable name (optional) # :# # :# Notes Quotes are necessary if the pathname contains special # :# characters, like spaces, &, |, etc. # :# # :# See "cmd /?" for information about characters needing to # :# be quoted. # :# I've added "@" that needs quoting if first char in cmd. # :# # :# Although this is not the objective of this function, # :# some effort is made to also produce a usable string if # :# the input contains characters that are invalid in file # :# names. Inner '"' are removed. "|&<>" are quoted. # :# # :# History # :# 2010-12-19 JFL Created this routine # :# 2011-12-12 JFL Rewrote using findstr. (Executes much faster.) # :# Added support for empty pathnames. # :# 2016-11-09 JFL Fixed this routine, which was severely broken :-( # :# 2016-11-21 JFL Fixed the "!" quoting, and added "|&<>" quoting. # :# 2018-11-19 JFL Improved routine condquote2. # :# 2019-12-13 JFL Always return 0, to avoid alarming the caller. # :# 2021-03-04 JFL Use the non-instrumented condquote2 as the default version. :# # :#----------------------------------------------------------------------------# :# Quote file pathnames that require it. :condquote %1=Input variable. %2=Opt. output variable. setlocal EnableExtensions Disabledelayedexpansion set "RETVAR=%~2" if not defined RETVAR set "RETVAR=%~1" &:# By default, change the input variable itself call set "P=%%%~1%%" :# If the value is empty, don't go any further. if not defined P set "P=""" & goto :condquote_ret :# Remove double quotes inside P. (Fails if P is empty) set "P=%P:"=%" :# If the value is empty, don't go any further. if not defined P set "P=""" & goto :condquote_ret :# Look for any special character that needs quoting :# Added "@" that needs quoting ahead of commands. :# Added "|&<>" that are not valid in file names, but that do need quoting if used in an argument string. echo."%P%"|findstr /C:" " /C:"&" /C:"(" /C:")" /C:"[" /C:"]" /C:"{" /C:"}" /C:"^^" /C:"=" /C:";" /C:"!" /C:"'" /C:"+" /C:"," /C:"`" /C:"~" /C:"@" /C:"|" /C:"&" /C:"<" /C:">" >NUL if not errorlevel 1 set P="%P%" :condquote_ret :# Contrary to the general rule, do NOT enclose the set commands below in "quotes", :# because this interferes with the quoting already added above. This would :# fail if the quoted string contained an & character. :# But because of this, do not leave any space around & separators. endlocal&set %RETVAR%=%P%&exit /b 0 :#----------------------------------------------------------------------------# :# Instrumented version, in case we want to trace it :# Quote file pathnames that require it. :condquote %1=Input variable. %2=Opt. output variable. %FUNCTION% EnableExtensions EnableDelayedExpansion set "RETVAR=%~2" if not defined RETVAR set "RETVAR=%~1" &:# By default, change the input variable itself %UPVAR% %RETVAR% set "P=!%~1!" :# Remove double quotes inside P. (Fails if P is empty, so skip this in this case) if defined P set ^"P=!P:"=!" :# If the value is empty, don't go any further. if not defined P set "P=""" & goto :condquote_ret :# Look for any special character that needs "quoting". See list from (cmd /?). :# Added "@" that needs quoting ahead of commands. :# Added "|&<>" that are not valid in file names, but that do need quoting if used in an argument string. echo."!P!"|findstr /C:" " /C:"&" /C:"(" /C:")" /C:"[" /C:"]" /C:"{" /C:"}" /C:"^^" /C:"=" /C:";" /C:"!" /C:"'" /C:"+" /C:"," /C:"`" /C:"~" /C:"@" /C:"|" /C:"&" /C:"<" /C:">" >NUL if not errorlevel 1 set P="!P!" :condquote_ret set "%RETVAR%=!P!" %RETURN% 0 :#----------------------------------------------------------------------------# :# Older implementation (More complex, but actually just as fast) :# Quote file pathnames that require it. %1=Input variable. %2=Opt. output variable. :condquote1 %FUNCTION% setlocal enableextensions call set "P=%%%~1%%" :# If the value is empty, don't go any further. if not defined P set "P=""" & goto :condquote_ret :# Remove double quotes inside P. (Fails if P is empty) set "P=%P:"=%" :# If the value is empty, don't go any further. if not defined P set "P=""" & goto :condquote_ret set RETVAR=%~2 if "%RETVAR%"=="" set RETVAR=%~1 for %%c in (" " "&" "(" ")" "@" "," ";" "[" "]" "{" "}" "=" "'" "+" "`" "~") do ( :# Note: Cannot directly nest for loops, due to incorrect handling of /f in the inner loop. cmd /c "for /f "tokens=1,* delims=%%~c" %%a in (".%%P%%.") do @if not "%%b"=="" exit 1" if errorlevel 1 ( set P="%P%" goto :condquote_ret ) ) :condquote_ret :# Contrary to the general rule, do NOT enclose the set command below in "quotes", :# because this interferes with the quoting already added above. This would :# fail if the quoted string contained an & character. :# But because of this, do not leave any space around & separators. endlocal&set RETVAL=%P%&set %RETVAR%=%P%&%RETURN% :#----------------------------------------------------------------------------# :# Quote a string to pass to PowerShell, if needed :condquote4PS %1=Input variable. %2=Opt. output variable. setlocal EnableExtensions Disabledelayedexpansion set "RETVAR=%~2" if not defined RETVAR set "RETVAR=%~1" &:# By default, change the input variable itself call set "P=%%%~1%%" :# If the value is empty, don't go any further. if not defined P set "P=''" & goto :condquote4PS_ret :# Remove double quotes inside P. (Fails if P is empty) set "P=%P:"=%" :# If the value is empty, don't go any further. if not defined P set "P=''" & goto :condquote4PS_ret :# Look for any special character that needs quoting in batch :# Added "@" that needs quoting ahead of commands. :# Added "|&<>" that are not valid in file names, but that do need quoting if used in an argument string. echo."%P%"|findstr /C:" " /C:"&" /C:"(" /C:")" /C:"[" /C:"]" /C:"{" /C:"}" /C:"^^" /C:"=" /C:";" /C:"!" /C:"'" /C:"+" /C:"," /C:"`" /C:"~" /C:"@" /C:"|" /C:"&" /C:"<" /C:">" >NUL if not errorlevel 1 set "P='%P:'=''%'" :condquote4PS_ret endlocal & set "%RETVAR%=%P%" & exit /b :#----------------------------------------------------------------------------# :# # :# Function time # :# # :# Description Functions for manipulating date and time. # :# # :# Arguments echotime Display the current time # :# # :# Notes # :# # :# History # :# # :#----------------------------------------------------------------------------# :# Display the current time. Useless, except for a comparison with the next function. :echotime %FUNCTION% echo %TIME% %RETURN% :echotime %FUNCTION% :# Get the time; Keep only the line with numbers; Display only what follows ": ". @for /f "tokens=1,* delims=:" %%a in ('echo.^|time^|findstr [0-9]') do @echo%%b %RETURN% :#----------------------------------------------------------------------------# :# # :# Function sleep # :# # :# Description Sleep N seconds # :# # :# Arguments %1 Number of seconds to wait # :# # :# Notes # :# # :# History # :# 2012-07-10 JFL Add 1 to the argument, because the 1st ping delays 0 sec. # :# 2015-11-19 JFL Adapted to new %UPVAR% mechanism. # :# # :#----------------------------------------------------------------------------# :goto :Sleep.End :# Sleep N seconds. %1 = Number of seconds to wait. :Sleep %FUNCTION% set /A N=%1+1 ping -n %N% 127.0.0.1 >NUL 2>&1 %RETURN% :Sleep.End :#----------------------------------------------------------------------------# :# # :# Function GetPid # :# # :# Description Get the PID and title of the current console # :# # :# Arguments # :# # :# Notes # :# # :# History # :# 2015-11-19 JFL Adapted to new %UPVAR% mechanism. # :# # :#----------------------------------------------------------------------------# :# Function GetProcess: Set PID and TITLE with the current console PID and title string. :GetProcess %FUNCTION% EnableExtensions if not defined SFULL >&2 echo Function GetProcess error: Please set "SFULL=%%~0" in script initialization. & %RETURN% 1 :# Get the list of command prompts titles for /f "tokens=2,9*" %%a in ('tasklist /v /nh /fi "IMAGENAME eq cmd.exe"') do set TITLE.%%a=%%c :# Change the current title to a statistically unique value for /f "tokens=2 delims=.," %%A IN ("%TIME%") DO set RDMTITLE=%%A %RANDOM% %RANDOM% %RANDOM% %RANDOM% %ECHOVARS.D% RDMTITLE title %RDMTITLE% :# Find our PID set N=3 :GetProcessAgain :# Note: Do not filter by title, because when running as administrator, there's a prefix: Administrator: :# And at any time, there's a temporary suffix: The name of the running script (This very script!) and its arguments. :# for /f "tokens=2" %%a in ('tasklist /v /nh /fi "WINDOWTITLE eq %RDMTITLE%"') do set PID=%%a for /f "tokens=2,9*" %%a in ('tasklist /v /nh /fi "IMAGENAME eq cmd.exe" ^| findstr "%RDMTITLE%"') do set "PID=%%a" & set "TITLENOW=%%c" :# Gotcha: Sometimes the above command returns a wrong TITLENOW, containing "N/A". (What would it be in localized versions of Windows?) :# Maybe there's a small (variable?) delay before and entry with the new title appears in Windows task list? :# Maybe it's another instance with the findstr command itself that disrupts the test? :# Anyway, double check the result, and try again up to 3 times if it's bad. echo "%TITLENOW%" | findstr "%RDMTITLE%" >nul if errorlevel 1 ( if .%DEBUG%.==.1. ( >&2 echo Warning: Wrong title: %TITLENOW% :# Note: This tasklist has never returned an entry with N/A, but tests with teeing the initial tasklist above have. tasklist /v /nh /fi "IMAGENAME eq cmd.exe" ) if not %N%==0 ( if .%DEBUG%.==.1. >&2 echo Scan cmd.exe windows titles again. set /a N=N-1 goto GetProcessAgain ) >&2 echo Function GetProcess error: Failed to identify the current process title. title "" %RETURN% 1 ) %ECHOVARS.D% PID TITLENOW :# Parse the actual title now. (May differ from the one we set, due to an additional Administrator: prefix.) :# If we find such a prefix, then assume the initial title had that same prefix. call :trimright TITLENOW :# Find our initial title call set TITLE=%%TITLE.%PID%%% set TITLE=%TITLE:"=''% &:# Remove quotes, which may be unmatched, and confuse the %RETURN% macro %ECHOVARS.D% TITLE call :trimright TITLE :# Find the possible title prefix and suffix %ECHO.D% call set "PREFIX=%%TITLENOW:%RDMTITLE%=";rem %% call set "PREFIX=%%TITLENOW:%RDMTITLE%=";rem %% %ECHOVARS.D% PREFIX :# Now trim the possible prefix and suffix from the title :# In the absence of a special char (like ^) to anchor the match string at the beginning, :# prefix the prefix with our random string, to avoid problems if the prefix string is repeated elsewhere in the string :# Additional gotcha: Initially there's 1 space between the prefix and title; :# but the title command always ends up putting 2 spaces there. So erase all spaces there. call :trimright PREFIX set "TITLE=%RDMTITLE% %TITLE%" call set "TITLE=%%TITLE:%RDMTITLE% %PREFIX%=%%" %ECHOVARS.D% TITLE call :trimleft TITLE :# Remove the suffix from the title. Else if we leave it and restore the title with :# that suffix, then the suffix will remain after the script exits. set "SUFFIX=%RDMTITLE% %TITLE%" call set "TITLE=%%TITLE: - %SFULL%=";rem %% %ECHOVARS.D% TITLE call set "SUFFIX=%%SUFFIX:%RDMTITLE% %TITLE%=%%" %ECHOVARS.D% SUFFIX call :trimleft SUFFIX :# Restore the title title %TITLE% %UPVAR% PID TITLE PREFIX SUFFIX %RETURN% 0 :GetPid1 %FUNCTION% enableextensions :# Get the list of command prompts for /f "tokens=2,9*" %%a in ('tasklist /v /nh /fi "IMAGENAME eq cmd.exe"') do set TITLE.%%a=%%c :# Change the current title to a random value set TITLE=%RANDOM% %RANDOM% %RANDOM% %RANDOM% title %TITLE% :# Find our PID set PID=0 :GetPidAgain for /f "tokens=2" %%a in ('tasklist /v ^| findstr "%TITLE%"') do set PID=%%a if %PID%==0 goto GetPidAgain :# Find our initial title call set TITLE=%%TITLE.%PID%%% :# Restore the title title %TITLE% %UPVAR% PID TITLE %RETURN% :#----------------------------------------------------------------------------# :# # :# Function GetPid # :# # :# Description Get the PID of the current console # :# # :# Arguments %1 = Variable name. Default: PID # :# # :# Notes Uses a lock file to make sure that two scripts running # :# within 0.01s of each other do not get the same uid string.# :# The instance that fails retries until it succeeds. # :# No side effect on the window title. # :# # :# History # :# 2014-12-23 DB D.Benham published on dostips.com: # :# http://www.dostips.com/forum/viewtopic.php?p=38870#p38870 # :# 2016-09-11 JFL Adapted to my %FUNCTION%/%UPVAR%/%RETURN% mechanism. # :# # :#----------------------------------------------------------------------------# :GetPID [VARNAME] %FUNCTION% EnableExtensions DisableDelayedExpansion set "PIDVAR=%~1" & if not defined PIDVAR set "PIDVAR=PID" %UPVAR% %PIDVAR% :GetPID.retry set "lock=%temp%\%~nx0.%time::=.%.lock" set "uid=%lock:\=:b%" set "uid=%uid:,=:c%" set "uid=%uid:'=:q%" set "uid=%uid:_=:u%" setlocal enableDelayedExpansion set "uid=!uid:%%=:p!" endlocal & set "uid=%uid%" 2>nul ( 9>"%lock%" ( for /f "skip=1" %%A in ( 'wmic process where "name='cmd.exe' and CommandLine like '%%<%uid%>%%'" get ParentProcessID' ) do for %%B in (%%A) do set "%PIDVAR%=%%B" (call ) ))||goto :GetPID.retry del "%lock%" 2>nul %RETURN% :#----------------------------------------------------------------------------# :# # :# Function IsAdmin # :# # :# Description Test if the user has administration rights # :# # :# Arguments # :# # :# Notes Returns the result in %ERRORLEVEL%: 0=Yes; 5=No # :# # :# History # :# 2021-11-12 JFL Fix to work even in a 32-bits cmd.exe in a 64-bits OS. # :# # :#----------------------------------------------------------------------------# :IsAdmin setlocal EnableExtensions DisableDelayedExpansion set "CONFIG_DIR=%SYSTEMROOT%\system32\config" :# In 32-bits cmd shells in 64-bits Window, the config directory is in the native system32 if defined PROCESSOR_ARCHITEW6432 set "CONFIG_DIR=%SYSTEMROOT%\sysnative\config" >NUL 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%CONFIG_DIR%\system" endlocal & exit /b :IsAdmin >NUL 2>&1 net session goto :eof :RunAsAdmin :# adaptation of https://sites.google.com/site/eneerge/home/BatchGotAdmin and http://stackoverflow.com/q/4054937 :# Check for ADMIN Privileges >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" if '%errorlevel%' NEQ '0' ( REM Get ADMIN Privileges echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs" "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" exit /B ) else ( REM Got ADMIN Privileges pushd "%cd%" cd /d "%~dp0" ) goto :eof :#----------------------------------------------------------------------------# :# # :# Function chcp # :# # :# Description Get code pages # :# # :# Arguments # :# # :# Notes # :# # :# History # :# 2017-05-11 JFL Removed rscp which was trivial and useless. # :# Changed chcp into GetCP, returning the current code page. # :# Added GetACP, GetOEMCP. # :# # :#----------------------------------------------------------------------------# :# Get the current console code page. :GetCP %1=variable name for /f "tokens=2 delims=:" %%n in ('chcp') do for %%p in (%%n) do set "%1=%%p" goto :eof :# Get the default console code page :GetOEMCP %1=variable name set "CP_KEY=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage" for /f "tokens=3" %%p in ('reg query "%CP_KEY%" /v "OEMCP" ^| findstr REG_SZ') do set "%1=%%p" goto :eof :# Get the default system code page :GetACP %1=variable name set "CP_KEY=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage" for /f "tokens=3" %%p in ('reg query "%CP_KEY%" /v "ACP" ^| findstr REG_SZ') do set "%1=%%p" goto :eof :#----------------------------------------------------------------------------# :# # :# Function FOREACHLINE # :# # :# Description Repeat a block of code for each line in a text file # :# # :# Arguments # :# # :# Notes :# Example d'utilisation # :# %FOREACHLINE% %%l in ('%CMD%') do ( # :# set "LINE=%%l" # :# echo Notice: !LINE! # :# ) # :# # :# History # :# # :#----------------------------------------------------------------------------# :# FOREACHLINE macro. (Change the delimiter to none to catch the whole lines.) set FOREACHLINE=for /f "delims=" :#----------------------------------------------------------------------------# :# # :# Function PopCArg # :# # :# Description Get the first argument in %ARGS%, using C-style rules # :# # :# Arguments %1 Optional output variable name. Default: ARG # :# %ARGS% Command line arguments # :# # :# Returns %1 or ARG The first argument, unquoted # :# '%1' or 'ARG' The first argument, with its quotes, if any # :# # :# Notes Despite its name, this routine does not work like MSVC's # :# command-line parser, for which rules are: # :# Every " quote flips string mode # :# 2N backslashes + " ==> N backslashes and begin/end quote # :# 2N+1 backslashes + " ==> N backslashes + literal " # :# N backslashes ==> N backslashes # :# # :# Here, rules are: # :# Quotes flip string mode; Backslashes are output literally.# :# Exception: \" generates a " , and this does not flip mode.# :# # :# History # :# 2019-12-03 JFL Created this routine. # :# # :#----------------------------------------------------------------------------# :PopCArg [VARNAME] :# Pop an arguments using the C escaping convention %ECHO.D% call %0 %* %+INDENT% %ECHOVARS.D% ARGS setlocal EnableDelayedExpansion set "VAR=%~1" if not defined VAR set "VAR=ARG" set "ARG=" set "'ARG'=" if not defined ARGS goto :PopCArg.Exit set "I=0" :# Skip initial spaces and tabs %ECHO.D% # 1 Skip initial spaces and tabs goto :PopCArg.Begin1 :PopCArg.Loop1 %ECHOVARS.D% ARG 'ARG' set /a "I+=1" :PopCArg.Begin1 set "C=!ARGS:~%I%,1!" %ECHOVARS.D% I C if not defined C goto :PopCArg.Done if "%C%%C%"==" " goto :PopCArg.Loop1 if "%C%%C%"==" " goto :PopCArg.Loop1 :# Collect argument contents %ECHO.D% # 2 Collect argument contents set "STRING_MODE=0" goto :PopCArg.Begin2 :PopCArg.Loop2 %ECHOVARS.D% ARG 'ARG' set /a "I+=1" :PopCArg.Begin2 set "C=!ARGS:~%I%,1!" %ECHOVARS.D% I C if not defined C goto :PopCArg.Done if %STRING_MODE%==0 ( if "%C%%C%"==" " goto :PopCArg.Step3 if "%C%%C%"==" " goto :PopCArg.Step3 ) if "%C%%C%"=="\\" ( set /a "I1=I+1" for %%i in (!I1!) do set "C1=!ARGS:~%%i,1!" %ECHOVARS.D% I1 C1 if "!C1!!C1!"=="""" set "ARG=!ARG!!C1!" & set "'ARG'=!'ARG'!!C!!C1!" & set /a "I+=1" & goto :PopCArg.Loop2 ) if "%C%%C%"=="""" ( set /a "STRING_MODE=1-STRING_MODE" ) else ( set "ARG=!ARG!!C!" ) set "'ARG'=!'ARG'!!C!" goto :PopCArg.Loop2 :# Skip final spaces and tabs :PopCArg.Step3 %ECHO.D% # 3 Skip final spaces and tabs goto :PopCArg.Begin3 :PopCArg.Loop3 %ECHOVARS.D% ARG 'ARG' set /a "I+=1" :PopCArg.Begin3 set "C=!ARGS:~%I%,1!" %ECHOVARS.D% I C if not defined C goto :PopCArg.Done if "%C%%C%"==" " goto :PopCArg.Loop3 if "%C%%C%"==" " goto :PopCArg.Loop3 :PopCArg.Done %ECHO.D% # 4 Done set ^"ARGS=!ARGS:~%I%!^" %ECHOVARS.D% ARG 'ARG' ARGS VAR if defined ARG set "ARG=!ARG:%%=%%%%!" if defined 'ARG' set ^"'ARG'=!'ARG':%%=%%%%!^" if defined ARGS set ^"ARGS=!ARGS:%%=%%%%!^" :PopCArg.Exit set ^"FOR=for /f "delims="^" %FOR% %%a in ("=!ARGS!") do %FOR% %%b in ("=!ARG!") do %FOR% %%c in ("=!'ARG'!") do for %%v in ("!VAR!") do ( %ECHO.D% # This should loop once endlocal & set ^"ARGS%%a^" & set "%%~v%%b" & set ^"'%%~v'%%c^" %ECHOVARS.D% %%~v '%%~v' ARGS ) %ECHO.D% return from :PopCArg %-INDENT% exit /b :#----------------------------------------------------------------------------# :# # :# Function path_depth # :# # :# Description Compute the depth of a pathname # :# # :# Arguments %1 pathname # :# # :# Notes Ex: A\B\C -> 3 ; \A -> 1 ; A\ -> 1 # :# # :# History # :# 2011-12-12 JFL Created this routine # :# 2015-11-19 JFL Adapted to new %UPVAR% mechanism. # :# # :#----------------------------------------------------------------------------# :# Compute the depth of a pathname. %1=pathname. Ex: A\B\C -> 3 ; \A -> 1 ; A\ -> 1 :path_depth %FUNCTION% if not "%~2"=="" set "RETVAR=%~2" call :path_depth2 %* %UPVAR% %RETVAR% set %RETVAR%=%RETVAL% %RETURN% :# Worker routine, with call/return trace disabled, to avoid tracing recursion. :path_depth2 set "ARGS=%~1" set ARGS="%ARGS:\=" "%" set ARGS=%ARGS:""=% set RETVAL=0 for %%i in (%ARGS%) do @set /a RETVAL=RETVAL+1 goto :eof :#----------------------------------------------------------------------------# :# First implementation, 50% slower. :path_depth1 set RETVAL=0 for /f "tokens=1* delims=\" %%i in ("%~1") do ( if not "%%j"=="" call :path_depth1 "%%j" if not "%%i"=="" set /a RETVAL=RETVAL+1 ) goto :eof :#----------------------------------------------------------------------------# :# # :# Function is_dir # :# # :# Description Check if a pathname refers to an existing directory # :# # :# Arguments %1 pathname # :# # :# Notes Returns errorlevel 0 if it's a valid directory. # :# # :# History # :# 2013-08-27 JFL Created this routine. # :# 2015-11-19 JFL Adapted to new %UPVAR% mechanism. # :# 2017-10-23 JFL Simpler and faster versions of is_dir. # :# # :#----------------------------------------------------------------------------# :get_attrs PATHNAME RETVAR -- Returns string drahscotl-- (Directory/Read Only/Archived/Hidden/System/Compressed/Offline/Temporary/Link) set "%~2=" for /f "delims=" %%a in ("%~a1") do set "%~2=%%~a" exit /b :is_dir pathname -- Check if a pathname refers to an existing directory for /f "tokens=1,2 delims=d" %%a in ("-%~a1") do if not "%%~b"=="" exit /b 0 exit /b 1 :is_dir2 pathname -- Check if a pathname refers to an existing directory pushd "%~1" 2>NUL && popd exit /b :is_dir1 pathname -- Check if a pathname refers to an existing directory %FUNCTION% pushd "%~1" 2>NUL if errorlevel 1 ( set "ERROR=1" ) else ( set "ERROR=0" popd ) %RETURN% %ERROR% :#----------------------------------------------------------------------------# :# # :# Function is_empty_dir # :# # :# Description Check if a directory exists and is empty # :# # :# Arguments %1 pathname # :# # :# Notes Based on David Benham's answer in # :# https://stackoverflow.com/a/10818854/2215591 # :# # :# History # :# 2020-02-14 JFL Created these subroutines. # :# # :#----------------------------------------------------------------------------# :# Check if a directory exists and is empty :is_empty_dir %1=Directory name - Returns errorlevel 0 if it's an empty dir 2>&1 dir /b /a "%~1\*" | >NUL findstr "^" && exit /b 1 || exit /b 0 :# Check if a directory has files (subdirectories will not be counted) :has_files %1=Directory name - Returns errorlevel 0 if directory has files >NUL 2>NUL dir /a-d "%~1\*" exit /b :# Check if a directory has subdirectories (files will not be counted) :has_dirs %1=Directory name - Returns errorlevel 0 if directory has files 2>NUL dir /b /ad "%~1\*" | >NUL findstr "^" exit /b :#----------------------------------------------------------------------------# :# # :# Function is_newer # :# # :# Description Check if FILE %1 is newer than FILE %2 # :# # :# Arguments %1 pathname of file #1. Must exist. # :# %2 pathname of file #2. May not exist. # :# # :# Notes Returns errorlevel 0 FILE1 is newer, 1 if same or older # :# # :# History # :# 2019-11-30 JFL Created this routine. # :# # :#----------------------------------------------------------------------------# :is_newer FILE1 FILE2 :# Query xcopy to know if the copy by date would be done. :# If the copy is done, the file name is output. :# If that name does not contain "\", then the drive name "C:" is prepended! :# So search either for a : or a \ if not exist %2 exit /b 0 &:# ERRORLEVEL 0 if target is missing xcopy /d /l /y %1 %2 | findstr ": \\" >nul &:# ERRORLEVEL 0 if newer, 1 if older if errorlevel 1 %ECHO.D% %2 is already up-to-date exit /b :#----------------------------------------------------------------------------# :# # :# Function basename # :# # :# Description Get the file name part of a pathname # :# # :# Arguments %1 Input pathname variable name # :# %2 Ouput file name variable name # :# # :# Notes Inspired from Unix' basename command # :# # :# Works even when the base name contains wild cards, # :# which prevents using commands such as # :# for %%f in (%ARG%) do set NAME=%%~nxf # :# # :# History # :# 2013-08-27 JFL Created this routine. # :# # :#----------------------------------------------------------------------------# :# TODO: This :basename routine will give wrong results on "D:relative.txt" :basename pathnameVar filenameVar :# Returns the file name part of the pathname %FUNCTION% enabledelayedexpansion set "RETVAR=%~2" if "%RETVAR%"=="" set "RETVAR=RETVAL" set "NAME=!%~1!" :basename.trim_path set "NAME=%NAME:*\=%" if not "%NAME%"=="%NAME:\=%" goto :basename.trim_path %UPVAR% %RETVAR% set "%RETVAR%=%NAME%" %RETURN% :#----------------------------------------------------------------------------# :# Simpler version not supporting wild-cards, but that works with any absolute or relative pathname :# Returns the directory part of the pathname, so that %DIRVAR%\NAME refers to that file :basename PATHNAME DIRVAR setlocal EnableExtensions EnableDelayedExpansion set "DIR=%~1" :dirname.next if "!DIR:~-1!"=="\" set "DIR=!DIR:~0,-1!" & goto :dirname.done if "!DIR:~-1!"==":" set "DIR=!DIR!." & goto :dirname.done set "DIR=!DIR:~0,-1!" if defined DIR goto :dirname.next set "DIR=." &:# If empty, return the current directory :dirname.done endlocal & set "%~2=%DIR%" & exit /b :#----------------------------------------------------------------------------# :dirname PATHNAME DIRVAR :# Returns the directory part of the pathname setlocal EnableExtensions EnableDelayedExpansion set "DIR=%~1" :dirname.next if "!DIR:~-1!"=="\" goto :dirname.done if "!DIR:~-1!"==":" goto :dirname.done set "DIR=!DIR:~0,-1!" if defined DIR goto :dirname.next :dirname.done endlocal & set "%~2=%DIR%" & exit /b :#----------------------------------------------------------------------------# :filename PATHNAME FILEVAR :# Returns the file name part of the pathname setlocal EnableExtensions EnableDelayedExpansion set "PATHNAME=%~1" set "NAME=" :filename.next set "C=!PATHNAME:~-1!" if "!C!"=="\" goto :filename.done if "!C!"==":" goto :filename.done set "NAME=!C!!NAME!" set "PATHNAME=!PATHNAME:~0,-1!" if defined PATHNAME goto :filename.next :filename.done endlocal & set "%~2=%NAME%" & exit /b :#----------------------------------------------------------------------------# :# Get the absolute pathname of a (possibly relative) existing directory name :absdirname %1=pathname %2=OutVar for /f "delims=" %%p in ('cd %1 ^& cd') do @set "%2=%%p" exit /b :#----------------------------------------------------------------------------# :has_wildcards NAME :# Return ERRORLEVEL 0 if a name contains wildcards setlocal EnableExtensions EnableDelayedExpansion set "NAME=%~1" set "RESULT=0" :has_wildcards.next set "C=!NAME:~-1!" if "!C!"=="*" goto :has_wildcards.done if "!C!"=="?" goto :has_wildcards.done set "NAME=!NAME:~0,-1!" if defined NAME goto :has_wildcards.next set "RESULT=1" :has_wildcards.done endlocal & exit /b %RESULT% :#----------------------------------------------------------------------------# :GetFullPathName :CanonicName NAME VAR :# Return the canonic absolute pathname for (maybe relative) NAME set "%~2=%~f1" exit /b :#----------------------------------------------------------------------------# :# Convert a short or long pathname to a full long pathname :GetLongPathname %1=PATHNAME %2=Output variable name setlocal EnableDelayedExpansion set "FULL_SHORT=%~fs1" &:# Make sure it really is short all the way through set "FULL_SHORT=%FULL_SHORT:~3%" &:# Remove the drive and initial \ set "FULL_LONG=%~d1" &:# Begin with just the drive if defined FULL_SHORT for %%x in ("!FULL_SHORT:\=" "!") do ( :# Loop on all short components set "ATTRIB_OUTPUT=" &:# If the file does not exist, filter-out attrib.exe error message on stdout, with its - before the drive. for /f "delims=" %%l in ('attrib "!FULL_LONG!\%%~x" 2^>NUL ^| findstr /v /c:" - %~d1"') do set "ATTRIB_OUTPUT=%%l" if defined ATTRIB_OUTPUT ( :# Extract the long name from the attrib.exe output for %%f in ("!ATTRIB_OUTPUT:*\=\!") do set "LONG_NAME=%%~nxf" ) else ( :# Use the short name (which does not exist) set "LONG_NAME=%%~x" ) set "FULL_LONG=!FULL_LONG!\!LONG_NAME!" ) else set "FULL_LONG=%~d1\" endlocal & if not "%~2"=="" (set "%~2=%FULL_LONG%") else echo %FULL_LONG% exit /b :#----------------------------------------------------------------------------# :# # :# Function touch # :# # :# Description Pure batch implementation of the Unix touch command # :# # :# Arguments %1 file name # :# # :# Notes Based on sample in http://superuser.com/a/764725 # :# # :# Creates file if it does not exist. # :# Just uses cmd built-ins. # :# Works even on read-only files, like touch does. # :# # :# History # :# 2011-02-16 http://superuser.com/users/201155/bobbogo created this. # :# 2015-11-02 JFL Wrapped in a %FUNCTION% with local variables. # :# 2015-11-19 JFL Adapted to new %UPVAR% mechanism. # :# # :#----------------------------------------------------------------------------# :touch %FUNCTION% if not exist "%~1" type NUL >>"%~1"& %RETURN% set _ATTRIBUTES=%~a1 if "%~a1"=="%_ATTRIBUTES:r=%" (copy "%~1"+,,) else attrib -r "%~1" & copy "%~1"+,, & attrib +r "%~1" %RETURN% :# Simpler version without read-only file support :touch type nul >>"%~1" & copy "%~1",, goto :eof :#----------------------------------------------------------------------------# :# # :# Function extensions.test # :# # :# Description Test if cmd extensions work # :# # :# Arguments # :# # :# Notes Do not use %FUNCTION% or %RETURN%, as these do require # :# command extensions to work. # :# Only use command.com-compatible syntax! # :# # :# History # :# 2015-11-23 JFL Renamed, and added :extensions.get and :extensions.show. # :# 2015-12-01 JFL Rewrote :extensions.get and :extensions.show as extension # :# and expansion modes are independant of each other. Also # :# call :extensions.get cannot work if extensions are off. # :# # :#----------------------------------------------------------------------------# :# Get cmd extensions and delayed expansion settings :extensions.get returns errorlevel=1 if extensions are disabled ver >NUL &:# Clear the errorlevel :# Note: Don't use quotes around set commands in the next two lines, as this will not work if extensions are disabled set EXTENSIONS=DisableExtensions set DELAYEDEXPANSION=DisableDelayedExpansion set "EXTENSIONS=EnableExtensions" 2>NUL &:# Fails if extensions are disabled if "!!"=="" set DELAYEDEXPANSION=EnableDelayedExpansion goto %EXTENSIONS.RETURN% :eof 2>NUL &:# goto :eof will work, but report an error if extensions are disabled :# Display cmd extensions and delayed expansion settings :extensions.show setlocal &:# Avoid changing the parent environment set EXTENSIONS.RETURN=:extensions.show.ret goto :extensions.get &:# call :extensions.get will not work if extensions are disabled :extensions.show.ret %ECHO% SetLocal %EXTENSIONS% %DELAYEDEXPANSION% endlocal &:# Restore the parent environment goto :eof 2>NUL &:# This goto will work, but report an error if extensions are disabled :# Test if cmd extensions work (They don't in Windows 2000 and older) :extensions.test verify other 2>nul setlocal enableextensions enabledelayedexpansion if errorlevel 1 ( >&2 echo Error: Unable to enable command extensions. >&2 echo This script requires Windows XP or later. endlocal & set "RETVAL=1" & goto :eof ) set VAR=before if "%VAR%" == "before" ( set VAR=after if not "!VAR!" == "after" ( >&2 echo Error: Failed to enable delayed environment variable expansion. >&2 echo This script requires Windows XP or later. endlocal & set "RETVAL=1" & goto :eof ) ) endlocal & set "RETVAL=0" & goto :eof :#----------------------------------------------------------------------------# :# # :# Function get_IP_address # :# # :# Description Get the current IP address # :# # :# Arguments %1 Ouput variable name. Default name: MYIP # :# # :# Notes # :# # :# History # :# 2010-04-30 JFL Created this routine. # :# 2015-11-19 JFL Adapted to new %UPVAR% mechanism. # :# # :#----------------------------------------------------------------------------# :# Find the current IP address :get_IP_address %1=Ouput variable name; Default name: MYIP %FUNCTION% set "RETVAR=%~1" if "%RETVAR%"=="" set "RETVAR=MYIP" set %RETVAR%= :# Note: The second for in the command below is used to remove the head space left in %%i after the : delimiter. for /f "tokens=2 delims=:" %%i in ('ipconfig ^| find "IPv4" ^| find /V " 169.254"') do for %%j in (%%i) do set %RETVAR%=%%j %UPVAR% %RETVAR% %RETURN% :# Other versions experimented :# for /f %%i in ('ipconfig ^| find "IPv4" ^| find " 10." ^| remplace -q " IPv4 Address[. ]*: " ""') do set MYIP=%%i :# for /f "tokens=14" %%i in ('ipconfig ^| find "IPv4" ^| findstr /C:" 16." /C:" 10." /C:" 192."') do set MYIP=%%i :#----------------------------------------------------------------------------# :# # :# Function IsIPv4Supported # :# # :# Description Is IP v4 supported on this computer # :# # :# Arguments # :# # :# Notes Result in %ERRORLEVEL%: 0=Supported; 1=NOT supported # :# # :# History # :# # :#----------------------------------------------------------------------------# :IsIPv4Supported %FUNCTION% ping 127.0.0.1 | find "TTL=" >NUL 2>&1 %RETURN% :# Alternative implementation, faster, but the wmic command is only available on XP Pro or later. :IsIPv4Supported %FUNCTION% wmic Path Win32_PingStatus WHERE "Address='127.0.0.1'" Get StatusCode /Format:Value | findstr /X "StatusCode=0" >NUL 2>&1 %RETURN% :IsIPv6Supported %FUNCTION% ping ::1 | findstr /R /C:"::1:[ˆ$]" >NUL 2>&1 %RETURN% :# Alternative implementation, faster, but the wmic command is only available on XP Pro or later. :IsIPv6Supported %FUNCTION% wmic Path Win32_PingStatus WHERE "Address='::1'" Get StatusCode >NUL 2>&1 %RETURN% :#----------------------------------------------------------------------------# :# # :# Function EnumLocalAdmins # :# # :# Description List all local administrators # :# # :# Arguments # :# # :# Notes Using only native Windows NT 4+ commands. # :# # :# History # :# 2015-11-19 JFL Adapted to new %UPVAR% mechanism. # :# # :#----------------------------------------------------------------------------# :EnumLocalAdmins %FUNCTION% enableextensions enabledelayedexpansion for /f "delims=[]" %%a in ('net localgroup Administrators ^| find /n "----"') do set HeaderLines=%%a for /f "tokens=*" %%a in ('net localgroup Administrators') do set FooterLine=%%a net localgroup Administrators | more /E +%HeaderLines% | find /V "%FooterLine%" %RETURN% :#----------------------------------------------------------------------------# :# # :# Function num_ips # :# # :# Description Count IP addresses in a range # :# # :# Arguments %1 First address. Ex: 192.168.0.1 # :# %2 Last address, not included in the count. # :# # :# Notes Adapted from a sample published by Walid Toumi: # :# http://walid-toumi.blogspot.com/ # :# # :# History # :# 2011-08-24 WT Sample published on http://walid-toumi.blogspot.com/. # :# 2011-12-20 JFL Renamed, fixed, and simplified. # :# # :#----------------------------------------------------------------------------# :num_ips setlocal enableextensions enabledelayedexpansion for /f "tokens=1-8 delims=." %%a in ("%1.%2") do ( set /A a=%%e-%%a,b=%%f-%%b,c=%%g-%%c,d=%%h-%%d for %%e in (b c d) do set /A a=256*a + !%%e! ) endlocal & set "RETVAL=%a%" & goto :eof :#----------------------------------------------------------------------------# :# # :# Function Now # :# # :# Description Locale-independant routine to parse the current date/time # :# # :# Returns Environment variables YEAR MONTH DAY HOUR MINUTE SECOND MS# :# # :# Notes This routine is a pure-batch attempt at parsing the date # :# and time in a way compatible with any language and locale.# :# Forces the output variables widths to fixed widths, # :# suitable for use in ISO 8601 date/time format strings. # :# Note that it would have been much easier to cheat and # :# do all this by invoking a PowerShell command! # :# # :# The major difficulty is that the cmd.exe date and time # :# are localized, and the year/month/day order and separator # :# vary a lot between countries and languages. # :# Workaround: Use the short date format from the registry # :# as a template to analyse the date and time strings. # :# Tested in English, French, German, Spanish, Simplified # :# Chinese, Japanese. # :# # :# Uses %TIME% and not "TIME /T" because %TIME% gives more: # :# %TIME% returns [H]H:MM:SS.hh # :# "TIME /T" returns MM:SS only. # :# # :# Set DEBUG_NOW=1 before calling this routine, to display # :# the values of intermediate results. # :# # :# History # :# 2012-02-14 JFL Created this routine. # :# 2015-10-18 JFL Bug fix: The output date was incorrect if loop variables # :# %%a, %%b, or %%c existed already. # :# # :#----------------------------------------------------------------------------# :now setlocal EnableExtensions EnableDelayedExpansion :# First get the short date format from the Control Panel data in the registry for /f "tokens=3" %%a in ('reg query "HKCU\Control Panel\International" /v sShortDate 2^>NUL ^| findstr "REG_SZ"') do set "SDFTOKS=%%a" if .%DEBUG_NOW%.==.1. echo set "SDFTOKS=!SDFTOKS!" :# Now simplify this (ex: "yyyy/MM/dd") to a "YEAR MONTH DAY" format for %%a in ("yyyy=y" "yy=y" "y=YEAR" "MMM=M" "MM=M" "M=MONTH" "dd=d" "d=DAY" "/=-" ".=-" "-= ") do set "SDFTOKS=!SDFTOKS:%%~a!" if .%DEBUG_NOW%.==.1. echo set "SDFTOKS=!SDFTOKS!" :# From the actual order, generate the token parsing instructions set "%%=%%" &:# Define a % variable that will generate a % _after_ the initial %LoopVariable parsing phase for /f "tokens=1,2,3" %%t in ("!SDFTOKS!") do set "SDFTOKS=set %%t=!%%!a&set %%u=!%%!b&set %%v=!%%!c" if .%DEBUG_NOW%.==.1. echo set "SDFTOKS=!SDFTOKS!" :# Then get the current date and time. (Try minimizing the risk that they get off by 1 day around midnight!) set "D=%DATE%" & set "T=%TIME%" if .%DEBUG_NOW%.==.1. echo set "D=%D%" & echo set "T=%T%" :# Remove the day-of-week that appears in some languages (US English, Chinese...) for /f %%d in ('for %%a in ^(%D%^) do @^(echo %%a ^| findstr /r [0-9]^)') do set "D=%%d" if .%DEBUG_NOW%.==.1. echo set "D=%D%" :# Extract the year/month/day components, using the token indexes set in %SDFTOKS% for /f "tokens=1,2,3 delims=/-." %%a in ("%D%") do (%SDFTOKS%) :# Make sure the century is specified, and the month and day have 2 digits. set "YEAR=20!YEAR!" & set "YEAR=!YEAR:~-4!" set "MONTH=0!MONTH!" & set "MONTH=!MONTH:~-2!" set "DAY=0!DAY!" & set "DAY=!DAY:~-2!" :# Remove the leading space that appears for time in some cases. (Spanish...) set "T=%T: =%" :# Split seconds and milliseconds for /f "tokens=1,2 delims=,." %%a in ("%T%") do (set "T=%%a" & set "MS=%%b") if .%DEBUG_NOW%.==.1. echo set "T=%T%" & echo set "MS=%MS%" :# Split hours, minutes and seconds. Make sure they all have 2 digits. for /f "tokens=1,2,3 delims=:" %%a in ("%T%") do ( set "HOUR=0%%a" & set "HOUR=!HOUR:~-2!" set "MINUTE=0%%b" & set "MINUTE=!MINUTE:~-2!" set "SECOND=0%%c" & set "SECOND=!SECOND:~-2!" set "MS=!MS!000" & set "MS=!MS:~0,3!" ) if .%DEBUG%.==.1. echo set "YEAR=%YEAR%" ^& set "MONTH=%MONTH%" ^& set "DAY=%DAY%" ^& set "HOUR=%HOUR%" ^& set "MINUTE=%MINUTE%" ^& set "SECOND=%SECOND%" ^& set "MS=%MS%" endlocal & set "YEAR=%YEAR%" & set "MONTH=%MONTH%" & set "DAY=%DAY%" & set "HOUR=%HOUR%" & set "MINUTE=%MINUTE%" & set "SECOND=%SECOND%" & set "MS=%MS%" & goto :eof :#----------------------------------------------------------------------------# :# Initial implementation, with a less detailed output, but simple and guarantied to work in all cases. :now setlocal EnableExtensions EnableDelayedExpansion :# Get the time, including seconds. ('TIME /T' returns MM:SS only) for /f "delims=.," %%t in ("%TIME%") do SET T=%%t :# Change the optional leading space to a 0. (For countries that use a 12-hours format) set T=%T: =0% :# Change HH:MM:SS to HHhMMmSS, as : is invalid in pathnames for /f "tokens=1-3 delims=:" %%a in ("%T%") do ( SET HH=%%a SET MM=%%b SET SS=%%c ) set T=%HH%h%MM%m%SS% :# Build the DATE_TIME string set NOW=%DATE:/=-%_%T% endlocal & set "RETVAL=%NOW%" & set "NOW=%NOW%" & goto :eof :#----------------------------------------------------------------------------# :# Other implementation, independant of the locale, but not of the language, and not relying on the registry. :# This will work for all languages that output a hint like (mm-dd-yy) :# This can easily be adapted to other languages: French=(jj-mm-aa) German=(TT-MM-JJ) Spanish=(dd-mm-aa) Japanese ([]-[]-[]) :# But Chinese outputs a string without dashes: ([][][]) so this would be more difficult. :now setlocal EnableExtensions EnableDelayedExpansion set "D=" for /f "tokens=2 delims=:" %%a in ('echo.^|date') do ( if "!D!"=="" ( set "D=%%a" ) else ( set "O=%%a" ) ) for /f "tokens=1-3 delims=(-) " %%a in ("%O%") DO ( set "first=%%a" & set "second=%%b" & set "third=%%c" ) for /f %%d in ('for %%a in ^(%D%^) do @^(echo %%a ^| findstr /r [0-9]^)') do set "D=%%d" SET %first%=%D:~0,2% SET %second%=%D:~3,2% SET %third%=%D:~6,4% endlocal & SET "YEAR=%yy%" & SET "MONTH=%mm%" & SET "DAY=%dd%" & goto :eof :#----------------------------------------------------------------------------# :# Get the current date/time :# Implementation based on wmic. Not available in early XP versions? :# Just as fast as the pure batch version using reg for internationalization. :Now.wmic setlocal EnableExtensions for /f %%i in ('WMIC OS GET LocalDateTime /value') do for /f "tokens=2 delims==" %%j in ("%%i") do set "dt=%%j" endlocal & set "YEAR=%dt:~,4%" & set "MONTH=%dt:~4,2%" & set "DAY=%dt:~6,2%" & set "HOUR=%dt:~8,2%" & set "MINUTE=%dt:~10,2%" & set "SECOND=%dt:~12,2%" & set "MS=%dt:~15,3%" exit /b :#----------------------------------------------------------------------------# :GetWeekDay setlocal EnableExtensions EnableDelayedExpansion for %%i in ("0=Sun" "1=Mon" "2=Tue" "3=Wed" "4=Thu" "5=Fri" "6=Sat") do set "wd%%~i" :# The first for trims spaces around the answer; The second for extracts the value after the = sign. for /f %%i in ('WMIC PATH Win32_LocalTime GET DayOfWeek /value') do for /f "tokens=2 delims==" %%j in ("%%i") do ( set "WEEKDAY=%%j" set "WEEKDAYNAME=!wd%%j!" ) endlocal & set "WEEKDAY=%WEEKDAY%" & set "WEEKDAYNAME=%WEEKDAYNAME%" exit /b :#----------------------------------------------------------------------------# :# # :# Function Time.Delta # :# # :# Description Compute the duration between two date/times # :# # :# Returns Env. vars. VAR.DAY VAR.HOUR VAR.MINUTE VAR.SECOND VAR.MS # :# for days, hours, minutes, seconds, milliseconds # :# # :# Notes When not using dates, ignore VAR.DAY, and short durations # :# will be correct, even across the midnight boundary. # :# # :# History # :# 2012-10-08 JFL Created this routine. # :# 2012-10-12 JFL Renamed variables. Added support for milliseconds. # :# 2020-12-10 JFL Added optional support for dates, and durations > 1 day. # :# Added an optional argument for the output structure name. # :# # :#----------------------------------------------------------------------------# :# Convert a gregorian calender date to its julian day # (# days since 4713 BC) :# Based on https://www.dostips.com/DtCodeCmdLib.php#Function.date2jdate :# Itself based on https://aa.usno.navy.mil/faq/docs/JD_Formula.html :Date2JulianDay YEAR MONTH DAY [OUTVAR] # If no OUTVAR, echo the result setlocal set /a "YEAR=10000%~1 %% 10000, MONTH=100%~2 %% 100, DAY=100%~3 %% 100" &:# Make sure they have no leading 0 if %YEAR% LSS 100 set /a YEAR+=2000 &:# Assume two digit years are in the 21st century set /a JD=DAY-32075+1461*(YEAR+4800+(MONTH-14)/12)/4+367*(MONTH-2-(MONTH-14)/12*12)/12-3*((YEAR+4900+(MONTH-14)/12)/100)/4 endlocal & if not "%~4"=="" (set %~4=%JD%) else (echo.%JD%) exit /b :# Extract components from an ISO 8601 date/time :Time.Split TIME OUTSTRUCT # TIME=[YYYY-MM-DD_]HH:MM:SS[.m[m[m]]] _=T| |_ setlocal EnableExtensions EnableDelayedExpansion for /f "tokens=1,2 delims=T_ " %%a in ("%~1") do set "_DATE=%%a" & set "_TIME=%%b" if not defined _TIME set "_TIME=%_DATE%" & set "_DATE=" for /f "tokens=1,2 delims=.," %%a in ("%_TIME%") do set "_TIME=%%a" & set "_MS=%%b000" & set "_MS=!_MS:~0,3!" endlocal & ( for /f "tokens=1,2,3 delims=-" %%a in ("%_DATE%") do set "%~2.YEAR=%%a" & set "%~2.MONTH=%%b" & set "%~2.DAY=%%c" for /f "tokens=1,2,3,4 delims=:" %%a in ("%_TIME%") do set "%~2.HOUR=%%a" & set "%~2.MINUTE=%%b" & set "%~2.SECOND=%%c" set "%~2.MS=%_MS%" ) exit /b :# Compute the duration between two date/times :Time.Delta TIME0 TIME1 [-f] [OUTSTRUCT] # TIME*=[YYYY-MM-DD_]HH:MM:SS[.mmm] setlocal EnableExtensions EnableDelayedExpansion call :Time.Split "%~1" T0 call :Time.Split "%~2" T1 :# Convert the dates to julian days set "T0.JDAY=0" & set "T1.JDAY=0" for %%n in (0 1) do if defined T%%n.DAY call :Date2JulianDay !T%%n.YEAR! !T%%n.MONTH! !T%%n.DAY! T%%n.JDAY :# Remove the initial 0, to avoid having numbers interpreted in octal afterwards. for %%n in (0 1) do for %%v in (HOUR MINUTE SECOND MS) do set /a "T%%n.%%v=1000!T%%n.%%v! %% 1000" :# Compute differences for %%v in (JDAY HOUR MINUTE SECOND MS) do set /a "%%v=T1.%%v-T0.%%v" :# Propagate the carry upwards if %MS% LSS 0 set /a "MS=MS+1000, SECOND=SECOND-1" if %SECOND% LSS 0 set /a "SECOND=SECOND+60, MINUTE=MINUTE-1" if %MINUTE% LSS 0 set /a "MINUTE=MINUTE+60, HOUR=HOUR-1" if %HOUR% LSS 0 set /a "HOUR=HOUR+24, JDAY=JDAY-1" :# If requested, convert the results back to a 2-digit format. if "%~3"=="-f" ( shift for %%v in (HOUR MINUTE SECOND) do if !%%v! lss 10 set "%%v=0!%%v!" set "MS=00!MS!" & set "MS=!MS:~-3!" ) if "%~3"=="" (set set=echo.) else (set set=set %~3.) endlocal&%set%DAY=%JDAY%&%set%HOUR=%HOUR%&%set%MINUTE=%MINUTE%&%set%SECOND=%SECOND%&%set%MS=%MS% exit /b :#----------------------------------------------------------------------------# :# # :# Function WinVer # :# # :# Description Parse Windows version, extracting major, minor & build #. # :# # :# Arguments None # :# # :# Returns Environment variables WINVER WINMAJOR WINMINOR WINBUILD # :# # :# Notes # :# # :# History # :# 2012-02-29 JFL Created this routine. # :# # :#----------------------------------------------------------------------------# :WinVer for /f "tokens=*" %%v in ('ver') do @set WINVER=%%v for /f "delims=[]" %%v in ('for %%a in ^(%WINVER%^) do @^(echo %%a ^| findstr [0-9]^)') do @set WINVER=%%v for /f "tokens=1,2,3 delims=." %%v in ("%WINVER%") do @(set "WINMAJOR=%%v" & set "WINMINOR=%%w" & set "WINBUILD=%%x") goto :eof :#----------------------------------------------------------------------------# :# # :# Function compare_versions # :# # :# Description Compare software versions # :# # :# Arguments %1 MAJOR[.MINOR[.PATCH[...]]] # :# %2 MAJOR[.MINOR[.PATCH[...]]] # :# %3 Output variable name # :# # :# Returns 0=success, else invalid arguments # :# # :# Notes # :# # :# History # :# 2021-04-12 JFL Created this routine. # :# # :#----------------------------------------------------------------------------# :# Compare versions (MAJOR[.MINOR[.PATCH[...]]]) :compare_vernum %1=NUM1 %2=NUM2 %3=OUTVAR Returns < > = in OUTVAR setlocal EnableExtensions EnableDelayedExpansion %ECHO.D% call %0 %* set "NUM1=" for /f "tokens=* delims=0" %%a in ("%~1") do set "NUM1=%%a" &:# Trim left 0s if not defined NUM1 set "NUM1=0" if not "%NUM1%"=="%~1" %ECHOVARS.D% NUM1 set "NUM2=" for /f "tokens=* delims=0" %%a in ("%~2") do set "NUM2=%%a" &:# Trim left 0s if not defined NUM2 set "NUM2=0" if not "%NUM2%"=="%~2" %ECHOVARS.D% NUM2 if %NUM1% LSS %NUM2% endlocal & set "%~3=<" & exit /b 0 if %NUM1% GTR %NUM2% endlocal & set "%~3=>" & exit /b 0 endlocal & set "%~3==" & exit /b 0 :compare_versions %1=Maj.Min.Patch... %2=Maj.Min.Patch... %3=OUTVAR setlocal EnableExtensions EnableDelayedExpansion %ECHO.D% call %0 %* for /f "delims=.-_ tokens=1,2,3" %%i in ("%~1") do ( set "V1MAJOR=%%~i" set "V1MINOR=%%~j" set "V1PATCH=%%~k" ) for /f "delims=.-_ tokens=1,2,3" %%i in ("%~2") do ( set "V2MAJOR=%%~i" set "V2MINOR=%%~j" set "V2PATCH=%%~k" ) if not defined V1MAJOR exit /b 1 if not defined V2MAJOR exit /b 1 call :compare_vernum "%V1MAJOR%" "%V2MAJOR%" DIF if not "%DIF%"=="=" endlocal & set "%~3=%DIF%" & exit /b 0 call :compare_vernum "%V1MINOR%" "%V2MINOR%" DIF if not "%DIF%"=="=" endlocal & set "%~3=%DIF%" & exit /b 0 call :compare_vernum "%V1PATCH%" "%V2PATCH%" DIF if not "%DIF%"=="=" endlocal & set "%~3=%DIF%" & exit /b 0 endlocal & set "%~3==" & exit /b 0 :#----------------------------------------------------------------------------# :# # :# Function Firewall.GetRules # :# # :# Description Get a list of firewall rules, and their properties # :# # :# Arguments %1 Rule(s) name # :# # :# Returns RULE.N Number of rules found # :# RULE.LIST List of rule indexes # :# RULE[!N!].PROPERTIES List of properties # :# RULE[!N!].!PROPERTY! Property value # :# # :# Notes Requires delayed expansion enabled beforehand. # :# # :# History # :# 2013-11-28 JFL Created this routine. # :# # :#----------------------------------------------------------------------------# :Firewall.GetRules %FUNCTION% set "RULE.N=0" set "RULE.LIST=" %ECHO.XVD% netsh advfirewall firewall show rule name^=%1 verbose for /f "delims=" %%l in ('netsh advfirewall firewall show rule name^=%1 verbose') do ( for /f "tokens=1,* delims=:" %%a in ('echo.%%l') do ( set "RULE.NAME=%%a" &:# Property name set "RULE.VALUE=%%b" &:# Property value if not "%%b"=="" ( if "!RULE.NAME!"=="Rule Name" ( :# It's a new rule set "RULE.I=!RULE.N!" set "RULE.LIST=!RULE.LIST! !RULE.I!" set /a "RULE.N=!RULE.N!+1" ) else ( :# It's a property of the current rule. set "RULE.NAME=!RULE.NAME: =_!" & rem :# Make sure it does not contain spaces call set "RULE[%%RULE.I%%].PROPERTIES=%%RULE[!RULE.I!].PROPERTIES%% !RULE.NAME!" :# %%b is the value, but we need to skip all spaces after the : for /f "tokens=1,*" %%c in ('echo 1 !RULE.VALUE!') do ( set "RULE.VALUE=%%d" ) set "RULE[!RULE.I!].!RULE.NAME!=!RULE.VALUE!" ) ) ) ) %IF_DEBUG% set RULE %RETURN% :#----------------------------------------------------------------------------# :# # :# Function GetServerAddress # :# # :# Description Use nslookup.exe to resolve an IP address # :# # :# Arguments %1 Server name # :# %2 Name of the return variable. Default: ADDRESS # :# # :# Notes Returns an empty string if it cannot resolve the address. # :# # :# History # :# 2015-03-02 JFL Created this routine. # :# # :#----------------------------------------------------------------------------# :# The nslookup output contains: :# 0 or more lines with parameters, like: :# 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa :# primary name server = 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa :# responsible mail addr = (root) :# serial = 0 :# refresh = 28800 (8 hours) :# retry = 7200 (2 hours) :# expire = 604800 (7 days) :# default TTL = 86400 (1 day) :# Then 2 lines (+1 blank line) with the DNS name and address: :# Server: UnKnown :# Address: ::1 :# Then, if success, 2 lines with a name and a first address :# Name: katz1.adm.lab.gre.hp.com :# Address: 10.16.131.1 :# Then, if there are multiple addresses, N lines with just an address :# 10.18.131.1 :# 10.17.131.1 :# Use nslookup.exe to resolve an IP address. Return the last one found, or an empty string. :GetServerAddress %1=Name %2=RetVar %FUNCTION% enableextensions enabledelayedexpansion set "NAME=%~1" set "RETVAR=%~2" if "%RETVAR%"=="" set "RETVAR=ADDRESS" set "ADDRESS=" set "NFIELD=0" for /f "tokens=1,2" %%a in ('nslookup %NAME% 2^>NUL') do ( set "A=%%a" set "B=%%b" %ECHOVARS.D% A B set "ADDRESS=%%b" &REM Normally the address is the second token. if "%%b"=="" set "ADDRESS=%%a" &REM But for final addresses it may be the first. if not "!A!"=="!A::=!" set /a "NFIELD=NFIELD+1" &REM Count lines with a NAME: header. if "!NFIELD!"=="0" set "ADDRESS=" &REM The first two values are for the DNS server, not for the target server. if "!NFIELD!"=="1" set "ADDRESS=" if "!NFIELD!"=="2" set "ADDRESS=" %ECHOVARS.D% NFIELD ADDRESS ) %UPVAR% %RETVAR% set "%RETVAR%=%ADDRESS%" %RETURN% :#----------------------------------------------------------------------------# :# # :# Function GetKeys # :# # :# Description Get sub-keys of a Registry key # :# # :# Arguments [-c] Case sensitive. Default: Insensitive # :# [-f PATTERN] Pattern to search for. Default: * # :# KEY Parent key name # :# [OUTVAR] Output list name. Default: KEYS # :# # :# Notes # :# # :# History # :# # :#----------------------------------------------------------------------------# :# List registry sub-keys. Args: [-c] [-f PATTERN] KEY [OUTVAR] :GetKeys %FUNCTION% enableextensions enabledelayedexpansion set "PATTERN=*" set "OPTS=/k" set "KEY=" set "OUTVAR=" :get_keys_args if "%~1"=="" goto got_keys_args if "%~1"=="-c" shift & set "OPTS=%OPTS% /c" & goto get_keys_args if "%~1"=="-f" shift & set "PATTERN=%~1" & shift & goto get_keys_args if not defined KEY set "KEY=%~1" & shift & goto get_keys_args if not defined OUTVAR set "OUTVAR=%~1" & shift & goto get_keys_args :got_keys_args if not defined OUTVAR set "OUTVAR=KEYS" set "%OUTVAR%=" %ECHOVARS.D% KEY OUTVAR %UPVAR% %OUTVAR% set "BEFORE=" if "%FULLPATH%"=="1" set "BEFORE=%KEY%\" :# Use reg.exe to get the key information set CMD=reg query "%KEY%" /f !PATTERN! !OPTS! %ECHO.D% %CMD% :# For each line in CMD output... set "SEPARATOR=" %FOREACHLINE% %%l in ('%CMD%') do ( set "LINE=%%l" set "HEAD=!LINE:~0,2!" if "!HEAD!"=="HK" ( set "NAME=%%~nxl" if "!NAME!"=="(Default)" set "NAME=" set "NAME=!BEFORE!!NAME!" call :CondQuote NAME set %OUTVAR%=!%OUTVAR%!!SEPARATOR!!NAME! set "SEPARATOR= " ) ) %RETURN% :#----------------------------------------------------------------------------# :# List registry values. Args: [-/] [-c] [-f PATTERN] KEY [OUTVAR] :GetValues %FUNCTION% enableextensions enabledelayedexpansion set "DETAILS=0" set "PATTERN=*" set "OPTS=/v" set "KEY=" set "OUTVAR=" :get_values_args if "%~1"=="" goto got_values_args if "%~1"=="-/" shift & set "DETAILS=1" & goto get_values_args if "%~1"=="-c" shift & set "OPTS=%OPTS% /c" & goto get_values_args if "%~1"=="-f" shift & set "PATTERN=%~1" & shift & goto get_values_args if not defined KEY set "KEY=%~1" & shift & goto get_values_args if not defined OUTVAR set "OUTVAR=%~1" & shift & goto get_values_args :got_values_args if not defined OUTVAR set "OUTVAR=VALUES" set "%OUTVAR%=" %ECHOVARS.D% KEY OUTVAR %UPVAR% %OUTVAR% set BEFORE= if "%FULLPATH%"=="1" set "BEFORE=%KEY%\" :# Use reg.exe to get the key information set CMD=reg query "%KEY%" /f !PATTERN! !OPTS! %ECHO.D% %CMD% :# For each line in CMD output... set "SEPARATOR=" %FOREACHLINE% %%i in ('%CMD%') do ( set "LINE=%%i" %ECHOVARS.D% LINE :# Values are indented by 4 spaces. set "HEAD=!LINE:~0,4!" set "LINE=!LINE:~4!" :# But extra lines of multi-lined values are indented by >20 spaces. set "HEAD2=!LINE:~0,4!" if "!HEAD!"==" " if not "!HEAD2!"==" " ( :# Some versions of reg.exe use 4 spaces as field separator; others use a TAB. :# Change the 4-spaces around the REG_XX type word to a TAB. set "TOKENS=!LINE: = !" %ECHOVARS.D% TOKENS :# Extract the value name as the first item before the first TAB. :# Names can contain spaces, but assume they don't contain TABs. for /f "tokens=1,2* delims= " %%j in ("!TOKENS!") do ( set "NAME=%%j" if "!NAME!"=="(Default)" set "NAME=" set "TYPE=%%k" set "VALUE=%%l" %ECHOVARS.D% NAME TYPE VALUE if %DETAILS%==0 ( set "NAME=!BEFORE!!NAME!" call :CondQuote NAME set %OUTVAR%=!%OUTVAR%!!SEPARATOR!!NAME! set "SEPARATOR= " ) else ( echo !NAME!/!TYPE!/!VALUE! ) ) ) ) %RETURN% :#----------------------------------------------------------------------------# :# # :# Function GetRegistryValue # :# # :# Description Get a registry value content. # :# # :# Arguments KEY NAME [VALUEVAR [TYPEVAR]] # :# # :# Notes # :# # :# History # :# 2014-06-23 JFL Renamed GetValue as GetRegistryValue. # :# Fixed the default (nameless) value reading. # :# Don't display errors, but return 1 if value not found. # :# 2021-03-03 JFL Don't output error messages, and return an exit code. # :# # :#----------------------------------------------------------------------------# :# Get a registry value content. Args: KEY NAME [VALUEVAR [TYPEVAR]] :GetRegistryValue %FUNCTION% enableextensions enabledelayedexpansion set "KEY=%~1" set "NAME=%~2" set "VALUEVAR=%~3" set "TYPEVAR=%~4" if not defined VALUEVAR set "VALUEVAR=VALUE" set "%VALUEVAR%=" :# Returning the type is optional. Do not define a default for TYPEVAR. %ECHOVARS.D% KEY NAME VALUEVAR TYPEVAR %UPVAR% %VALUEVAR% if defined TYPEVAR %UPVAR% %TYPEVAR% if "%NAME%"=="" ( set CMD=reg query "%KEY%" /ve ) else ( set CMD=reg query "%KEY%" /v "%NAME%" ) %ECHO.D% %CMD% set "RETCODE=1" :# For each line in CMD output... %FOREACHLINE% %%i in ('%CMD% 2^>NUL') do ( set "RETCODE=0" set "LINE=%%i" %ECHOVARS.D% LINE :# Values are indented by 4 spaces. set "HEAD=!LINE:~0,4!" set "LINE=!LINE:~4!" :# But extra lines of multi-lined values are indented by >20 spaces. set "HEAD2=!LINE:~0,4!" if "!HEAD!"==" " if not "!HEAD2!"==" " ( :# Some versions of reg.exe use 4 spaces as field separator; others use a TAB. :# Change the 4-spaces around the REG_XX type word to a TAB. set "TOKENS=!LINE: = !" %ECHOVARS.D% TOKENS :# Extract the value name as the first item before the first TAB. :# Names can contain spaces, but assume they don't contain TABs. for /f "tokens=1,2* delims= " %%j in ("!TOKENS!") do ( set "NAME=%%j" set "TYPE=%%k" set "VALUE=%%l" %ECHOVARS.D% NAME TYPE VALUE ) ) ) set %VALUEVAR%=!VALUE! if defined TYPEVAR set %TYPEVAR%=%TYPE% %RETURN% %RETCODE% :#----------------------------------------------------------------------------# :# # :# Function ReadPassword # :# # :# Description Prompt for a password string, displaying only stars # :# # :# Arguments VAR="Prompt string" # :# # :# Notes Returns the password string in variable VAR. # :# # :# History # :# 2017-03-16 APA Published at https://www.dostips.com/forum/viewtopic.php?f=3&t=8442&sid=7d459deb904a629c16a11e6f9bd658be#p55984 :# 2017-03-26 JFL Fixed a problem with the '!' character changed to a ')' in the password string. :# # :#----------------------------------------------------------------------------# :ReadPassword var="prompt" rem Read a password rem Antonio Perez Ayala rem Initialize variables setlocal EnableDelayedExpansion rem Get a CarriageReturn (ASCII 13) character for /F %%a in ('copy /Z "%~F0" NUL') do set "CR=%%a" rem Get a BackSpace (ASCII 8) character for /F %%a in ('echo prompt $H ^| cmd') do set "BS=%%a" rem Show the prompt and start reading set /P "=%~2" < NUL set "input=" set i=0 rem Get the localized xcopy prompt set "msg=" for /F "delims=" %%a in ('echo.^|xcopy /W "%~F0" "%~F0" 2^>NUL') do if not defined msg set "msg=%%a" :ReadPassword.nextKey set "key=" for /F "delims=" %%a in ('xcopy /W "%~F0" "%~F0" 2^>NUL') do if not defined key set "key=%%a" rem Remove the localized xcopy prompt from the beginning of the string set key=!key:%msg%=! rem If the key is a question mark, it'll have been lost in the set "key=%%a" above if not defined key set "key=^!" rem If key is CR: terminate input if "!key:~-1!" equ "!CR!" goto :ReadPassword.endRead rem If key is BS: delete last char, if any set "key=!key:~-1!" if "!key!" equ "!BS!" ( if %i% gtr 0 ( set /P "=!BS! !BS!" < NUL set "input=!input:~0,-1!" set /A i-=1 ) goto nextKey ) rem Else: show and accept the key set /P "=*" < NUL set "input=!input!!key!" set /A i+=1 goto :ReadPassword.nextKey :ReadPassword.endRead echo/ endlocal & set "%~1=%input%" exit /B :#----------------------------------------------------------------------------# :# # :# Function Test* # :# # :# Description Misc test routines for testing the debug library itself # :# # :# Arguments %* Vary # :# # :# Notes # :# # :# History # :# # :#----------------------------------------------------------------------------# :TempT echo set "RETURN=!RETURN!" echo set "RETURN=%RETURN%" %ECHOVARS.D% RETURN for %%f in ("A%%A" "BB" "CC") do @echo f=%%f set A=a set B=b set V=A %ECHOVARS% A B V echo ^^!%%V%%^^!=!%V%! set V=B %ECHOVARS% V echo ^^!%%V%%^^!=!%V%! set W=^^!V^^! setlocal disabledelayedexpansion echo %%W%%=%W% endlocal echo %%W%%=%W% goto :eof :ExecHello %EXEC% echo "Hello world^!" goto :eof :TestDelayedExpansion if .%USERNAME%.==.!USERNAME!. ( echo Delayed Expansion is ON ) else ( echo Delayed Expansion is OFF ) goto :eof :#----------------------------------------------------------------------------# :# Factorial routine, to test the tracing framework indentation :Fact %FUNCTION% enableextensions enabledelayedexpansion %UPVAR% RETVAL set N=%1 if .%1.==.. set N=0 if .%N%.==.0. ( set RETVAL=1 ) else ( set /A M=N-1 call :Fact !M! set /A RETVAL=N*RETVAL ) %RETURN% :Fact.test %FUNCTION% call :Fact %* %ECHO% %RETVAL% %RETURN% :#----------------------------------------------------------------------------# :# Test routines to measure the overhead of call/return :noop goto :eof :noop1 %FUNCTION0% %RETURN0% :noop2 %1=retcode %FUNCTION% %RETURN% %~1 :noop2d %1=retcode %FUNCTION% DisableDelayedExpansion %RETURN% %~1 :noop2e %1=retcode %FUNCTION% EnableDelayedExpansion %RETURN% %~1 :noop22 %1=retcode %FUNCTION% call :noop2 %~1 %RETURN% :noop3 %1=retcode %2=string to return in RETVAL %FUNCTION% call :extensions.show %UPVAR% RETVAL :# Do not use parenthesis, in case there are some in the return value if "!!"=="" set "RETVAL=!ARGS:* =!" if not "!!"=="" set "RETVAL=%ARGS:* =%" %RETURN% %~1 :noop3d %1=retcode %2=string to return in RETVAL %FUNCTION% DisableDelayedExpansion call :extensions.show %UPVAR% RETVAL set "RETVAL=%~2" %RETURN% %~1 :noop3e %1=retcode %2=string to return in RETVAL %FUNCTION% EnableDelayedExpansion call :extensions.show %UPVAR% RETVAL set "RETVAL=%~2" %RETURN% %~1 :noop33 %1=retcode %2=string to return in RETVAL %FUNCTION% call :extensions.show %UPVAR% RETVAL if "!!"=="" ( call :noop3 !ARGS! ) else ( call :noop3 %ARGS% ) %RETURN% :noop4 %1=retcode %2=string to return in RETVAL1 %3=string to return in RETVAL2 %FUNCTION% %UPVAR% RETVAL1 RETVAL2 set "RETVAL1=%2" set "RETVAL2=%3" %RETURN% %~1 :noop4i %1=retcode %2=string to return in RETVAL1 %3=string to return in RETVAL2 %FUNCTION% if "!!"=="" (echo NOOP4 [EnableExpansion]) else echo NOOP4 [DisableExpansion] set ARGS %UPVAR% RETVAL1 RETVAL2 set "RETVAL1=%2" set "RETVAL2=%3" set RETVAL1 & set RETVAL2 %RETURN% %~1 :noop4d %1=retcode %2=string to return in RETVAL1 %3=string to return in RETVAL2 %FUNCTION% DisableDelayedExpansion %IF_XDLEVEL% 1 if "!!"=="" (echo NOOP4D [EnableExpansion]) else echo NOOP4D [DisableExpansion] %IF_XDLEVEL% 1 set ARGS %UPVAR% RETVAL1 RETVAL2 set "RETVAL1=%~2" set "RETVAL2=%~3" %IF_XDLEVEL% 1 set RETVAL1 & set RETVAL2 %RETURN% %~1 :noop4e %1=retcode %2=string to return in RETVAL1 %3=string to return in RETVAL2 %FUNCTION% EnableDelayedExpansion %IF_XDLEVEL% 1 if "!!"=="" (echo NOOP4E [EnableExpansion]) else echo NOOP4E [DisableExpansion] %IF_XDLEVEL% 1 set ARGS %UPVAR% RETVAL1 RETVAL2 set "RETVAL1=%~2" set "RETVAL2=%~3" %IF_XDLEVEL% 1 set RETVAL1 & set RETVAL2 %RETURN% %~1 :noop44 %1=retcode %2=string to return in RETVAL1 %3=string to return in RETVAL2 %FUNCTION% %IF_XDLEVEL% 1 set ARGS %UPVAR% RETVAL1 RETVAL2 if "!!"=="" ( call :noop4 !ARGS! ) else ( call :noop4 %ARGS% ) %IF_XDLEVEL% 1 set RETVAL1 & set RETVAL2 %RETURN% :#----------------------------------------------------------------------------# :# # :# Function EscapeCmdString # :# # :# Description Prepare a command for passing through multiple parsings # :# # :# Arguments %1 Name of the variable containing the command string # :# %2 Output variable name. Default: Same as input variable # :# %3 Number of parsings to go through. Default: 1 # :# %4 # of the above with !expansion. Default: 1 if exp. on # :# # :# Notes The cmd parser tokenizer removes levels of ^ escaping. # :# This routine escapes a command line, or an argument, so # :# that special characters like ^ & | > < ( ) make it # :# through intact through one or more tokenizations. # :# # :# Known limitation: The LF character is not managed. # :# # :# History # :# 2019-10-03 JFL Initial implementation # :# # :#----------------------------------------------------------------------------# :EscapeCmdString %1=CMDVAR [%2=OUTVAR] [%3=# parsings] [%4=# with !expansion] for /f "tokens=2" %%e in ("!! 0 1") do setlocal EnableDelayedExpansion & set "CallerExp=%%e" %ECHO.D% :# :EscapeCmdString called with expansion=%CallerExp% set "H0=^^" &:# Return a Hat ^ with QUOTE_MODE 0=off set "H1=^" &:# Return a Hat ^ with QUOTE_MODE 1=on if %CallerExp%==1 set "H0=!H0!!H0!" & set "H1=!H1!!H1!" &:# !escape our return value set "NPESC=1" &:# Default number of %expansion escaping to do if not "%~3"=="" set "NPESC=%~3" &:# specified # of extra %expansion escaping to do set /a "NXESC=%CallerExp%*NPESC" &:# Default number of !expansion escaping to do if not "%~4"=="" set "NXESC=%~4" &:# specified # of extra !expansion escaping to do for /l %%i in (1,1,%NXESC%) do set "H0=!H0!!H0!" & set "H1=!H1!!H1!" for /l %%i in (1,1,%NPESC%) do set "H0=!H0!!H0!" :# Define characters that need escaping outside of quotes for %%c in ("<" ">" "|" "&" "(" ")") do set ^"EscapeCmdString.NE[%%c]=1^" set ^"STRING=!%1!^" %ECHOVARS.D% STRING H0 H1 set "OUTVAR=%2" if not defined OUTVAR set "OUTVAR=%1" set "RESULT=" set "QUOTE_MODE=0" &:# 1=Inside a quoted string set "ESCAPE=0" &:# 1=The previous character was a ^ character set "N=-1" :EscapeCmdString.loop set /a "N+=1" set "C=!STRING:~%N%,1!" &:# Get the Nth character in the string %ECHOVARS.D% N C if not defined C goto :EscapeCmdString.end if "!C!!C!"=="""" ( if !ESCAPE!==0 ( set /a "QUOTE_MODE=1-QUOTE_MODE" ) else ( :# Open " quotes can be escaped, but not close " quotes if "!QUOTE_MODE!"=="0" set "RESULT=!RESULT!!H0:~1!" ) ) else if "!C!"=="^" ( if "!QUOTE_MODE!"=="0" set /a "ESCAPE=1-ESCAPE" set "RESULT=!RESULT!!H%QUOTE_MODE%:~1!" ) else if "!C!"=="^!" ( set "RESULT=!RESULT!!H%QUOTE_MODE%:~1!" ) else if defined EscapeCmdString.NE["!C!"] ( :# Characters that need escaping outside of quotes if "!QUOTE_MODE!"=="0" set "RESULT=!RESULT!!H0:~1!" ) if not "!C!"=="^" set "ESCAPE=0" set "RESULT=!RESULT!!C!" %ECHOSVARS.D% RESULT goto :EscapeCmdString.loop :EscapeCmdString.end endlocal & set ^"%OUTVAR%=%RESULT%^" ! = &:# The ! forces always having !escaping ^ removal in delayed expansion mode exit /b :ParseDelayedExpansion %1=OUTVAR %2=0|1|off|on|Disable|Enable goto :ParseDelayedExpansion.%~2 :ParseDelayedExpansion.0 :ParseDelayedExpansion.off :ParseDelayedExpansion.disable :ParseDelayedExpansion.DisableDelayedExpansion set "%1=DisableDelayedExpansion" exit /b :ParseDelayedExpansion. :ParseDelayedExpansion.1 :ParseDelayedExpansion.on :ParseDelayedExpansion.enable :ParseDelayedExpansion.EnableDelayedExpansion set "%1=EnableDelayedExpansion" exit /b :# Convert the supported html entities to their corresponding character :# Internal subroutine that does not create a setlocal frame. Only uses !expansion!. :ConvertEntities.internal %1=INPUTVAR [%2=OUTPUTVAR] set "OUTVAR=%2" if not defined OUTVAR set "OUTVAR=%1" set "ARG=!%1!" %ECHOSVARS.D% 1 ARG for %%e in (quot lt gt amp vert rpar lpar rbrack lbrack sp bs cr lf hat) do ( for %%c in ("!@%%e!") do set "ARG=!ARG:[%%e]=%%~c!" ) %ECHOSVARS.D% 2 ARG :# Then convert special characters that need special attention :# The ! character cannot be substituted in a !variable! substitution :# So use the % character instead set "ARG=!ARG:%%=[percnt]!" &:# Make sure there are no % characters in ARG set "ARG2=!ARG:[excl]=%%!" if not "!ARG2!"=="!ARG!" ( :# If ARG does contain ! characters set "ARG=" &:# Then individually convert each % to an ! set "N=0" :ConvertEntities.loop set "C=!ARG2:~%N%,1!" if not defined C goto :ConvertEntities.end_loop if "!C!"=="%%" set "C=^!" set "ARG=!ARG!!C!" set /a "N+=1" goto :ConvertEntities.loop :ConvertEntities.end_loop rem ) set "ARG=!ARG:[percnt]=%%!" &:# Convert % characters back to their real value %ECHOSVARS.D% 3 ARG set "%OUTVAR%=!ARG:[lbrack]=[!" &:# Must be converted last exit /b :ConvertEntities %1=INPUTVAR [%2=OUTPUTVAR] for /f "tokens=2" %%e in ("!! 0 1") do setlocal EnableDelayedExpansion & set "CallerExp=%%e" %ECHO.D% :# :ConvertEntities called with expansion=%CallerExp% call :ConvertEntities.internal %1 %2 call :EscapeCmdString ARG ARG 1 %CallerExp% endlocal & set ^"%OUTVAR%=%ARG%^" ! &:# The ! forces always having !escaping ^ removal in delayed expansion mode goto :eof :ConvertEntitiesNoDebug %1=INPUTVAR [%2=OUTPUTVAR] %IF_DEBUG% ( :# Temporarily disable debugging call :Debug.off set "CE.DEBUG.RESTORE=call :Debug.on & set "CE.DEBUG.RESTORE="" ) else ( set "CE.DEBUG.RESTORE=" ) call :ConvertEntities %* %CE.DEBUG.RESTORE% if not [%2]==[] shift %ECHOVARS.D% %1 &:# Only report the result string exit /b :TestConvertEntities %1=VAR [%2=0|1=Disable|Enable Delayed Expansion] setlocal EnableDelayedExpansion %POPARG% set "INPUT=!ARG!" set INPUT %POPARG% call :ParseDelayedExpansion EXP=!ARG! & echo # !EXP! & setlocal !EXP! call :ConvertEntities INPUT OUTPUT set OUTPUT endlocal & endlocal exit /b :TestEscapeCmdString %1=VAR [%2=EXPANSION] [%3=# parsings] [%4=# with !expansion] setlocal EnableDelayedExpansion %POPARG% call :ConvertEntities.internal ARG _INITIAL :# set ^"_INITIAL=!_INITIAL:Q="!^" :# for %%r in ("H=^" "A=&" "O=|" "G=>" "L=<") do set "_INITIAL=!_INITIAL:%%~r!" set _INITIAL %POPARG% call :ParseDelayedExpansion EXP=!ARG! & echo # !EXP! & setlocal !EXP! call :EscapeCmdString _INITIAL _ESCAPED !ARGS! set _ESCAPED set ^"REPARSED=%_ESCAPED%^" ! = &:# The ! forces always having !escaping ^ removal in delayed expansion mode set REPARSED %POPARG% set "NPARSE=1" if defined ARG set "NPARSE=%ARG%" :TestEscapeCmdString.loop if %NPARSE%==1 goto :TestEscapeCmdString.done set ^"REPARSED=%REPARSED%^" ! = &:# The ! forces always having !escaping ^ removal in delayed expansion mode set REPARSED set /a "NPARSE-=1" goto :TestEscapeCmdString.loop :TestEscapeCmdString.done endlocal & endlocal exit /b :#----------------------------------------------------------------------------# :# Test %EXEC% one command line. Display start/end time if looping. :exec_cmd_line %CMD_BEFORE% set ^"CMDLINE=!ARGS!^" call :ConvertEntitiesNoDebug CMDLINE if not %NLOOPS%==1 echo Start at %TIME% & set "T0=%TIME%" for /l %%n in (1,1,%NLOOPS%) do %EXEC% !CMDLINE! if not %NLOOPS%==1 echo End at %TIME% & set "T1=%TIME%" if not %NLOOPS%==1 call :Time.Delta %T0% %T1% -f D & echo Delta = !D.HOUR!:!D.MINUTE!:!D.SECOND!.!D.MS:~0,2! %CMD_AFTER% goto :eof :#----------------------------------------------------------------------------# :# Test call one command line. Display start/end time if looping. :# Do not add anything to the inner do loop, such as echoing the command, as this :# would prevent from doing accurate measurements of the duration of the command. :call_cmd_line %CMD_BEFORE% set ^"CMDLINE=!ARGS!^" call :ConvertEntitiesNoDebug CMDLINE if not %NLOOPS%==1 echo Start at %TIME% & set "T0=%TIME%" for /l %%n in (1,1,%NLOOPS%) do call !CMDLINE! if not %NLOOPS%==1 echo End at %TIME% & set "T1=%TIME%" if not %NLOOPS%==1 call :Time.Delta %T0% %T1% -f D & echo Delta = !D.HOUR!:!D.MINUTE!:!D.SECOND!.!D.MS:~0,2! %CMD_AFTER% goto :eof :call_macro_line %CMD_BEFORE% %POPARG% set ^"CMDLINE=%%%ARG%%% !ARGS!^" call :ConvertEntitiesNoDebug CMDLINE %ECHOVARS.D% CMDLINE if not %NLOOPS%==1 echo Start at %TIME% & set "T0=%TIME%" for /l %%n in (1,1,%NLOOPS%) do call !CMDLINE! if not %NLOOPS%==1 echo End at %TIME% & set "T1=%TIME%" if not %NLOOPS%==1 call :Time.Delta %T0% %T1% -f D & echo Delta = !D.HOUR!:!D.MINUTE!:!D.SECOND!.!D.MS:~0,2! %CMD_AFTER% goto :eof :#----------------------------------------------------------------------------# :# Test call N command lines. Display start/end time if looping. :# Do not add anything to the inner do loop, such as echoing the command, as this :# would prevent from doing accurate measurements of the duration of the commands. :call_all_cmds %IF_XDLEVEL% 3 set FUNCTION & set UPVAR & set RETURN &:# Dump the structured programming macros :# Record all commands to run, converting entities to special characters set NCMDS=0 :call_all_cmds.next_arg %POPARG% if not defined "ARG" goto :call_all_cmds.done_args set /a NCMDS+=1 call :ConvertEntitiesNoDebug ARG %IF_XDLEVEL% 2 set ARG | findstr ARG= set "CMD[%NCMDS%]=!ARG!" goto :call_all_cmds.next_arg :call_all_cmds.done_args if defined CMD_BEFORE call :ConvertEntities CMD_BEFORE if defined CMD_AFTER call :ConvertEntities CMD_AFTER %IF_DEBUG% %>DEBUGOUT% ( if defined CMD_BEFORE set CMD_BEFORE set CMD[ if defined CMD_AFTER set CMD_AFTER ) :# Run all commands in a loop, measuring the total duration when looping more than once if defined CMD_BEFORE !CMD_BEFORE! if not %NLOOPS%==1 echo Start at %TIME% & set "T0=%TIME%" for /l %%n in (1,1,%NLOOPS%) do for /l %%c in (1,1,%NCMDS%) do call %%CMD[%%c]%% &:# Don't use !CMD[]! in case one command disables expansion if not %NLOOPS%==1 echo End at %TIME% & set "T1=%TIME%" if not %NLOOPS%==1 call :Time.Delta %T0% %T1% -f D & echo Delta = !D.HOUR!:!D.MINUTE!:!D.SECOND!.!D.MS:~0,2! if defined CMD_AFTER !CMD_AFTER! goto :eof :# Short aliases for common before & after commands :EDE :EDX setlocal EnableDelayedExpansion goto :eof :DDE :DDX setlocal DisableDelayedExpansion goto :eof :#----------------------------------------------------------------------------# :# Test %FUNCTION0% / %RETURN0% :Func0 %FUNCTION0% %ECHO% This is function 0 call :Func1 %RETURN0% %ECHO% Failed to return from :Func0 exit /b :Func1 %FUNCTION0% %ECHO% This is function 1 %RETURN0% %ECHO% Failed to return from :Func1 exit /b :Func#0 %FUNCTION0% %ECHO% This is function #0 call :Func#1 %RETURN#% Returning from function #0 %ECHO% Failed to return from :Func#0 exit /b :Func#1 %FUNCTION0% %ECHO% This is function #1 %RETURN#% Returning from function #1 %ECHO% Failed to return from :Func#1 exit /b :#----------------------------------------------------------------------------# :# Test %EXEC% and errorlevels, on entry and exit :echoErr %ECHO% set "ERRORLEVEL=%ERRORLEVEL%" exit /b :testErrorLevel for /l %%n in (0,1,2) do ( echo. call :Exec.SetErrorLevel %%n echo :# Calling with ERRORLEVEL=!ERRORLEVEL! %EXEC% call :testErrorLevelCallback echo :# Returned with ERRORLEVEL=!ERRORLEVEL! ) exit /b 0 :testErrorLevelCallback set ERROR=%ERRORLEVEL% %ECHOVARS% ERROR exit /b %ERROR% :#----------------------------------------------------------------------------# :# Test returning tricky characters :testR2 %FUNCTION% EnableDelayedExpansion %UPVAR% V1 %UPVAR% S %UPVAR% V2 set "V1=%~1" set "S=!STRING!" set "V2=%~2" %ECHO% :# In testR2 %ECHOVARS% V1 S V2 %RETURN% :testR %FUNCTION% EnableDelayedExpansion set "STRING=@||&&(())<<>>^^^^,,;; %%%%^!^!**??[[]]==~~''""%%CD%%_^!CD^!"" call :testR2 "With EnableDelayedExpansion" "last but not least" %ECHO% :# In testR %ECHOVARS% V1 S V2 set "S=" set "V1=" set "V2=" setlocal DisableDelayedExpansion set STRING=@^|^|^&^&(())^<^<^>^>^^^^,,;; %%%%^!^!**??[[]]==~~''""%%CD%%_!CD!" call :testR2 "With DisableDelayedExpansion" "last but not least" %ECHO% :# In testR %ECHOVARS% V1 S V2 endlocal %RETURN% :#----------------------------------------------------------------------------# :# Test passing tricky characters :testC %FUNCTION% EnableDelayedExpansion :# set "STRING=@(())^^^^,,;; %%%%^!^!**??[[]]==~~''""%%CD%%_^!CD^!" :# set STRING=!STRING!"@||&&(())<<>>^^,,;; %%%%^!^!**??[[]]==~~''%%CD%%_^!CD^!" set "STRING0=@||&&(())<<>>^^^^,,;; %%%%^!^!**??[[]]==~~''%%CD%%_^!CD^!" set "STRING1=@(()),,;; %%%%^!^!**??[[]]==~~''""%%CD%%_^!CD^!" &:# Remove ||&&^^<<>> that cause problems when not quoted set STRING=!STRING1! "!STRING0!" set STRING @echo on call :testC2 !STRING:%%=%%%%! %RETURN% :testC2 @echo off echo :# First show what a normal call lets go through %_DO% setlocal DisableDelayedExpansion @echo on set ARGLINE=%* set ARG#1=%1 set ARG#2=%2 set ARG#3=%3 set ARG#4=%4 @echo off set ARGLINE set ARG# %ECHO% :# Idem with initial ^^caret @echo on set ^"ARGLINE=%*^" set ^"ARG#1=%1^" &:# yes set ^"ARG#2=%2^" set ^"ARG#3=%3^" set ^"ARG#4=%4^" @echo off set ARGLINE set ARG# echo echo ARG#1={%ARG#1%} echo echo ARG#2={%ARG#2%} endlocal %_DO% setlocal EnableDelayedExpansion @echo on set ^"ARGLINE=%*^" set ARG#1=%1 set ARG#2=%2 set ARG#3=%3 set ARG#4=%4 set ARGLINE @echo off set ARG# endlocal echo :# Now show what this library FUNCTIONS can do! %FUNCTION% EnableDelayedExpansion set ARGS set "STRING0=" set "STRING1=" set "STRING=!ARGS!" set STRING %_DO% setlocal DisableDelayedExpansion %POPARG% %ECHOVARS% ARG ^""ARG"^" %POPARG% %ECHOVARS% ARG ^""ARG"^" %POPARG% %ECHOVARS% ARG ^""ARG"^" %POPARG% %ECHOVARS% ARG ^""ARG"^" endlocal %_DO% setlocal EnableDelayedExpansion set ARGS=!STRING! %POPARG% %ECHOVARS% ARG ^""ARG"^" %POPARG% %ECHOVARS% ARG ^""ARG"^" %POPARG% %ECHOVARS% ARG ^""ARG"^" %POPARG% %ECHOVARS% ARG ^""ARG"^" endlocal %RETURN% :# Test preparing tricky arguments for expansion :testP %FUNCTION% EnableDelayedExpansion :# set "STRING=@(())^^^^,,;; %%%%^!^!**??[[]]==~~''""%%CD%%_^!CD^!" :# set STRING=!STRING!"@||&&(())<<>>^^,,;; %%%%^!^!**??[[]]==~~''%%CD%%_^!CD^!" set "_STRING0=@||&&(())<<>>^^^^,,;; %%%%^!^!**??[[]]==~~''%%CD%%_^!CD^!" set "_STRING1=@(()),,;; %%%%^!^!**??[[]]==~~''""%%CD%%_^!CD^!" &:# Remove ||&&^^<<>> that cause problems when not quoted set STRING=!_STRING1! "!_STRING0!" echo :# The initial string set STRING setlocal DisableDelayedExpansion echo :# Prepared with expansion off call :Prep2ExpandVars STRING set STRING endlocal echo :# The initial string set STRING echo :# Prepared with expansion on call :Prep2ExpandVars STRING set STRING %RETURN% :#----------------------------------------------------------------------------# :# Test relative performances of two possible ways to do indirect variable expansion :call_set call set "X=%%windir%%" goto :eof :call_:set call :set "X=%%windir%%" goto :eof :set set %* goto :eof :#----------------------------------------------------------------------------# :testLogFunc %FUNCTION% %ECHO% This is myFunc %POPARG% set "RET=!ARG!" %POPARG% set "VAR=!ARG!" if defined VAR %UPVAR% !VAR! & %POPARG% & set "!VAR!=!ARG!" %RETURN% !RET! :testLog call :Debug.SetLog t.log call :testLogFunc call :testLogFunc 0 call :testLogFunc 1 call :testLogFunc 0 RESULT Zero call :testLogFunc 0 TOTO "0 + 0 = La tête à Toto" set "STRING=@||&&(())<<>>^^^^,,;; %%%%^!^!**??[[]]==~~''%%CD%%_^!CD^!" call :testLogFunc 0 RESULT "!STRING:%%=%%%%!" exit /b 0 :#----------------------------------------------------------------------------# :test_do set "VAR=BEFORE" %ECHOVARS% VAR %_DO% setlocal EnableExtensions set "VAR=AFTER" %ECHOVARS% VAR %_DO% endlocal %ECHOVARS% VAR %ECHO% %ECHOVARS% CD %_DO% pushd "%TEMP%" %ECHOVARS% CD %_DO% popd %ECHOVARS% CD goto :eof :#----------------------------------------------------------------------------# :# Test relative performances of various ways to return :# (And the conclusion is that they're all pretty equivalent) :gotoeof goto :eof :exit exit /b :exit/b exit /b %1 :# Test relative performances of various macros :test_true %TRUE.EXE% exit /b :test_false %FALSE.EXE% exit /b :test_false0 %FALSE0.EXE% exit /b :#----------------------------------------------------------------------------# :test_pipe0 cmd /c "exit /b" exit /b :test_pipe1 cmd /c "cmd /c break 1>&4 4>&6 | cmd /c break 0>&3 3>&6" exit /b :test_pipe2 cmd /c "doskey 1>&4 4>&6 | doskey 0>&3 3>&6" exit /b :test_pipe3 cmd /c "rundll32 1>&4 4>&6 | rundll32 0>&3 3>&6" exit /b :#----------------------------------------------------------------------------# :test_CArg call :PopCArg S1 %ECHOVARS.D% S1 'S1' ARGS call :PopCArg S2 %ECHOVARS.D% S2 'S2' ARGS call :strstr S1 S2 I echo I=%I% exit /b :#----------------------------------------------------------------------------# :test_errorlevel %1=label %2...=args call %* echo ERRORLEVEL=%ERRORLEVEL% exit /b :#----------------------------------------------------------------------------# :test_enter set ^"GET_CALLER_EXPANSION=set "DELAYED_EXP_WAS_OFF=%^3!%%^3!%"^" &:# If defined, then the caller had delayed expansion disabled set GET_CALLER_EXPANSION set "ENTER=%GET_CALLER_EXPANSION%" set ENTER setlocal EnableDelayedExpansion %ENTER% set DELAYED_EXP_WAS_OFF endlocal setlocal DisableDelayedExpansion %ENTER% set DELAYED_EXP_WAS_OFF endlocal exit /b :#----------------------------------------------------------------------------# :# Test the :Return routine :test_return.sub1 :# With setlocal/endlocal setlocal set "SCOPE=2" set "VAR=Modified by sub1" %ECHOSVARS% #2 SCOPE VAR call :Return :test_return.error echo "Error: Fell through the call :Return" endlocal exit /b :test_return.sub2 :# Without setlocal/endlocal set "VAR=Modified by sub2" %ECHOSVARS% #4 SCOPE VAR call :Return goto :test_return.error :test_return.set_errorlevel exit /b %1 :test_return.return call :Return %1 :test_return :# Test the :Return routine set "SCOPE=0" %ECHOSVARS% #0 SCOPE VAR setlocal set "SCOPE=1" set "VAR=Before" %ECHOSVARS% #1 SCOPE VAR call :test_return.sub1 %ECHOSVARS% #3 SCOPE VAR call :test_return.sub2 %ECHOSVARS% #5 SCOPE VAR endlocal %ECHOSVARS% #6 SCOPE VAR call :test_return.set_errorlevel 0 call :test_return.return echo Expected 0 Got %ERRORLEVEL% call :test_return.set_errorlevel 1 call :test_return.return echo Expected 1 Got %ERRORLEVEL% call :test_return.set_errorlevel 0 call :test_return.return 0 echo Expected 0 Got %ERRORLEVEL% call :test_return.set_errorlevel 0 call :test_return.return 1 echo Expected 1 Got %ERRORLEVEL% call :test_return.set_errorlevel 1 call :test_return.return 0 echo Expected 0 Got %ERRORLEVEL% call :test_return.set_errorlevel 1 call :test_return.return 1 echo Expected 1 Got %ERRORLEVEL% exit /b :#----------------------------------------------------------------------------# :# # :# Function Main # :# # :# Description Process command line arguments # :# # :# Arguments %* Command line arguments # :# # :# Notes # :# # :# History # :# # :#----------------------------------------------------------------------------# :Help echo. echo %SCRIPT% version %VERSION% - JFL cmd.exe Batch Library tests echo. echo Usage: %SCRIPT% [OPTIONS] echo. echo Options: echo -? Display this help echo -- End of wrapper options echo -a CMDLINE Call the command line once after the -c/-C commands (1) echo -b CMDLINE Call the command line once before the -c/-C commands (1) echo -c CMDLINE1 ... Call each following argument as a separate cmd. (1) echo -C CMD ARGS Call the whole command tail as one command line echo -d Debug mode. Trace functions entry and exit echo -d2 Send debug output to stderr instead of stdout echo -e Display all arguments and exit echo -E CMD ARGS %%EXEC%% the whole command tail as one command line echo -l LOG Set the log file name echo -M MACRO ARGS Call %%MACRO%% and pass it ARGS echo -n N Run the commands N times and display the start and end times echo -qe Query the current cmd extensions and delayed expansion settings echo -r Test %%EXEC%% with an output redirection to exec.log echo -R Test %%EXEC%% without an output redirection echo -te CMDLINE [EXP] [#PARSE] [#w.EXP] Test escaping a command line. (1) echo EXP=0^|1 or off^|on : Delayed ^^!expansion^^!. Default: on echo #PARSE : Number of parsings to escape for. Default: 1 echo #w.EXP : Number of those with delayed ^^!expansion^^!. Default: 0^|#PARSE echo -v Verbose mode. Display commands executed echo -V Display the script version and exit echo -X Display commands to execute, but don't execute them echo. echo Notes: echo 1) The following html entity names, within brackets, will be converted to their echo corresponding character: echo [percnt]=%% [excl]=^^^! [quot]=" [Hat]=^^ [lt]=< [gt]=> [amp]=& [vert]=| [lpar]=( [rpar]=) [lbrack]=[ [rbrack]=] goto :eof :#----------------------------------------------------------------------------# :# Main routine :Main set "NLOOPS=1" set "CMD_AFTER=" set "CMD_BEFORE=" set "CMDLINE=!ARG0! !ARGS!" :next_arg if not defined ARGS set "ARG=" & set ""ARG"=" & goto :Start %POPARG% %ECHOVARS.D% ARG ARGS if "!ARG!"=="-?" goto :Help if "!ARG!"=="/?" goto :Help if "!ARG!"=="-a" %POPARG% & set "CMD_AFTER=!ARG!" & goto next_arg if "!ARG!"=="-b" %POPARG% & set "CMD_BEFORE=!ARG!" & goto next_arg if "!ARG!"=="-c" goto :call_all_cmds if "!ARG!"=="-C" goto :call_cmd_line if "!ARG!"=="-d" call :Debug.On & %ECHOVARS% CMDLINE ARG ARGS & goto next_arg if "!ARG!"=="-d0" set ">DEBUGOUT=>NUL" & call :Debug.On & goto next_arg &:# Useful for library performance measurements if "!ARG!"=="-d1" set ">DEBUGOUT=>&3" & call :Debug.On & goto next_arg &:# Useful to test debug output routines to if "!ARG!"=="-d2" set ">DEBUGOUT=>&2" & call :Debug.On & goto next_arg &:# Useful to test debug output routines if "!ARG!"=="-e" goto EchoArgs if "!ARG!"=="-E" goto :exec_cmd_line if "!ARG!"=="-l" %POPARG% & call :Debug.SetLog "!ARG!" & goto next_arg if "!ARG!"=="-M" goto :call_macro_line if "!ARG!"=="-n" %POPARG% & set "NLOOPS=!ARG!" & goto next_arg if "!ARG!"=="-qe" endlocal & (set ECHO=echo) & goto :extensions.show if "!ARG!"=="-r" call :Debug.Setlog test.log & %EXEC% cmd /c %SCRIPT% -? ">"exec.log & goto :eof if "!ARG!"=="-R" call :Debug.Setlog test.log & %EXEC% cmd /c %SCRIPT% -? & goto :eof if "!ARG!"=="-tc" goto :TestConvertEntities &:# Test routine :ConvertEntities if "!ARG!"=="-tca" call :test_CArg %ARGS% & exit /b if "!ARG!"=="-te" goto :TestEscapeCmdString &:# Test routine :EscapeCmdString if "!ARG!"=="-tg" %POPARG% & call :GetServerAddress !ARG! & %ECHOVARS% ADDRESS & goto :eof &:# Test routine GetServerAddress if "!ARG!"=="-v" call :Verbose.On & goto next_arg if "!ARG!"=="-V" (echo.%VERSION%) & goto :eof if "!ARG!"=="-X" call :Exec.Off & goto next_arg if "!ARG!"=="-xd" %POPARG% & set "XDLEVEL=!ARG!" & goto next_arg if "!ARG:~0,1!"=="-" ( >&2 %ECHO% Warning: Unexpected option ignored: !ARG! goto :next_arg ) >&2 %ECHO% Warning: Unexpected argument ignored: !"ARG"! goto :next_arg :#----------------------------------------------------------------------------# :# Start the real work :Start :# This library does nothing. Display the help screen. goto :Help :# The following line, used by :Echo.Color, must be last and not end by a CRLF. ##-
JFLarvoire/SysToolsLib
Batch/Library.bat
bat
apache-2.0
250,973
@echo off msbuild "StreamDesk WinForms.sln" /p:Configuration=Debug
StreamDesk/StreamDesk
StreamDesk-WinForms/Build_Debug.cmd
bat
apache-2.0
67
@echo off REM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ REM Universidad de los Andes (Bogotá - Colombia) REM Departamento de Ingeniería de Sistemas y Computación REM Licenciado bajo el esquema Academic Free License version 2.1 REM REM Proyecto Cupi2 (http://cupi2.uniandes.edu.co) REM Ejercicio: carShowIncarpasMuscleCar REM Autor: Jose Miguel Suarez - 20-ene-2014 REM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SET CLASSPATH= REM --------------------------------------------------------- REM Borra todos los archivos generados por el build REM --------------------------------------------------------- cd ../.. del classes\* /s /q del lib\carShowIncarpasMuscleCar.jar /s /q cd bin/win
josemiguesuarez/CarShowParrilla
carShowIncarpasMuscleCar/bin/win/clean.bat
bat
apache-2.0
765
del *.o del *.bak del *.a
easion/os_sdk
libc/libc/sysdeps/images/MAK.bat
bat
apache-2.0
29
:: search for msbuild and make it available set bb.build.msbuild.exe= for /D %%D in (%SYSTEMROOT%\Microsoft.NET\Framework\v4*) do set msbuildPath=%%D set PATH=%PATH%;%msbuildPath% :: make sure we have a clean release build msbuild /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" TreeViewAdv.sln :: remove any existing nupkg files del *.nupkg :: build the nuget packages .nuget\nuget pack Aga.Controls\Aga.Controls.csproj -Properties Configuration=Release :: upload the nuget packages .nuget\nuget push *.nupkg :: remove nupkg files after uploading them del *.nupkg
kjellski/treeviewadv
Publish NuGet Package.bat
bat
bsd-2-clause
580
@ECHO OFF REM ---------------------------------------------------------------------- REM PHP version 5 REM ---------------------------------------------------------------------- REM Copyright (c) 1997-2004 The PHP Group REM ---------------------------------------------------------------------- REM This source file is subject to version 3.0 of the PHP license, REM that is bundled with this package in the file LICENSE, and is REM available at through the world-wide-web at REM http://www.php.net/license/3_0.txt. REM If you did not receive a copy of the PHP license and are unable to REM obtain it through the world-wide-web, please send a note to REM [email protected] so we can mail you a copy immediately. REM ---------------------------------------------------------------------- REM Authors: Alexander Merz ([email protected]) REM ---------------------------------------------------------------------- REM REM Last updated 02/08/2004 ($Id$ is not replaced if the file is binary) REM change this lines to match the paths of your system REM ------------------- REM Test to see if this is a raw pear.bat (uninstalled version) SET TMPTMPTMPTMPT=@includ SET PMTPMTPMT=%TMPTMPTMPTMPT%e_path@ FOR %%x IN ("C:\xampp\php\pear") DO (if %%x=="%PMTPMTPMT%" GOTO :NOTINSTALLED) REM Check PEAR global ENV, set them if they do not exist IF "%PHP_PEAR_INSTALL_DIR%"=="" SET "PHP_PEAR_INSTALL_DIR=C:\xampp\php\pear" IF "%PHP_PEAR_BIN_DIR%"=="" SET "PHP_PEAR_BIN_DIR=C:\xampp\php" IF "%PHP_PEAR_PHP_BIN%"=="" SET "PHP_PEAR_PHP_BIN=C:\xampp\php\.\php.exe" GOTO :INSTALLED :NOTINSTALLED ECHO WARNING: This is a raw, uninstalled pear.bat REM Check to see if we can grab the directory of this file (Windows NT+) IF %~n0 == pear ( FOR %%x IN (cli\php.exe php.exe) DO (if "%%~$PATH:x" NEQ "" ( SET "PHP_PEAR_PHP_BIN=%%~$PATH:x" echo Using PHP Executable "%PHP_PEAR_PHP_BIN%" "%PHP_PEAR_PHP_BIN%" -v GOTO :NEXTTEST )) GOTO :FAILAUTODETECT :NEXTTEST IF "%PHP_PEAR_PHP_BIN%" NEQ "" ( REM We can use this PHP to run a temporary php file to get the dirname of pear echo ^<?php $s=getcwd^(^);chdir^($a=dirname^(__FILE__^).'\\'^);if^(stristr^($a,'\\scripts'^)^)$a=dirname^(dirname^($a^)^).'\\';$f=fopen^($s.'\\~a.a','wb'^);echo$s.'\\~a.a';fwrite^($f,$a^);fclose^($f^);chdir^($s^);?^> > ~~getloc.php "%PHP_PEAR_PHP_BIN%" ~~getloc.php set /p PHP_PEAR_BIN_DIR=fakeprompt < ~a.a DEL ~a.a DEL ~~getloc.php set "PHP_PEAR_INSTALL_DIR=%PHP_PEAR_BIN_DIR%pear" REM Make sure there is a pearcmd.php at our disposal IF NOT EXIST %PHP_PEAR_INSTALL_DIR%\pearcmd.php ( IF EXIST %PHP_PEAR_INSTALL_DIR%\scripts\pearcmd.php COPY %PHP_PEAR_INSTALL_DIR%\scripts\pearcmd.php %PHP_PEAR_INSTALL_DIR%\pearcmd.php IF EXIST pearcmd.php COPY pearcmd.php %PHP_PEAR_INSTALL_DIR%\pearcmd.php IF EXIST %~dp0\scripts\pearcmd.php COPY %~dp0\scripts\pearcmd.php %PHP_PEAR_INSTALL_DIR%\pearcmd.php ) ) GOTO :INSTALLED ) ELSE ( REM Windows Me/98 cannot succeed, so allow the batch to fail ) :FAILAUTODETECT echo WARNING: failed to auto-detect pear information :INSTALLED REM Check Folders and files IF NOT EXIST "%PHP_PEAR_INSTALL_DIR%" GOTO PEAR_INSTALL_ERROR IF NOT EXIST "%PHP_PEAR_INSTALL_DIR%\pearcmd.php" GOTO PEAR_INSTALL_ERROR2 IF NOT EXIST "%PHP_PEAR_BIN_DIR%" GOTO PEAR_BIN_ERROR IF NOT EXIST "%PHP_PEAR_PHP_BIN%" GOTO PEAR_PHPBIN_ERROR REM launch pearcmd GOTO RUN :PEAR_INSTALL_ERROR ECHO PHP_PEAR_INSTALL_DIR is not set correctly. ECHO Please fix it using your environment variable or modify ECHO the default value in pear.bat ECHO The current value is: ECHO %PHP_PEAR_INSTALL_DIR% GOTO END :PEAR_INSTALL_ERROR2 ECHO PHP_PEAR_INSTALL_DIR is not set correctly. ECHO pearcmd.php could not be found there. ECHO Please fix it using your environment variable or modify ECHO the default value in pear.bat ECHO The current value is: ECHO %PHP_PEAR_INSTALL_DIR% GOTO END :PEAR_BIN_ERROR ECHO PHP_PEAR_BIN_DIR is not set correctly. ECHO Please fix it using your environment variable or modify ECHO the default value in pear.bat ECHO The current value is: ECHO %PHP_PEAR_BIN_DIR% GOTO END :PEAR_PHPBIN_ERROR ECHO PHP_PEAR_PHP_BIN is not set correctly. ECHO Please fix it using your environment variable or modify ECHO the default value in pear.bat ECHO The current value is: ECHO %PHP_PEAR_PHP_BIN% GOTO END :RUN "%PHP_PEAR_PHP_BIN%" -C -n -d output_buffering=1 -d safe_mode=0 -d include_path="%PHP_PEAR_INSTALL_DIR%" -d register_argc_argv="On" -d variables_order=EGPCS -f "%PHP_PEAR_INSTALL_DIR%\peclcmd.php" -- %1 %2 %3 %4 %5 %6 %7 %8 %9 :END @ECHO ON
brandonweis/Mapeer_yii_dev
framework/php/pecl.bat
bat
bsd-3-clause
4,520
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . set I18NSPHINXOPTS=%SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% ) if "%1" == "" goto help if "%1" == "help" ( :help echo.Please use `make ^<target^>` where ^<target^> is one of echo. html to make standalone HTML files echo. dirhtml to make HTML files named index.html in directories echo. singlehtml to make a single large HTML file echo. pickle to make pickle files echo. json to make JSON files echo. htmlhelp to make HTML files and a HTML help project echo. qthelp to make HTML files and a qthelp project echo. devhelp to make HTML files and a Devhelp project echo. epub to make an epub echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter echo. text to make text files echo. man to make manual pages echo. texinfo to make Texinfo files echo. gettext to make PO message catalogs echo. changes to make an overview over all changed/added/deprecated items echo. linkcheck to check all external links for integrity echo. doctest to run all doctests embedded in the documentation if enabled goto end ) if "%1" == "clean" ( for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i del /q /s %BUILDDIR%\* goto end ) if "%1" == "html" ( %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/html. goto end ) if "%1" == "dirhtml" ( %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. goto end ) if "%1" == "singlehtml" ( %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. goto end ) if "%1" == "pickle" ( %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the pickle files. goto end ) if "%1" == "json" ( %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the JSON files. goto end ) if "%1" == "htmlhelp" ( %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run HTML Help Workshop with the ^ .hhp project file in %BUILDDIR%/htmlhelp. goto end ) if "%1" == "qthelp" ( %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run "qcollectiongenerator" with the ^ .qhcp project file in %BUILDDIR%/qthelp, like this: echo.^> qcollectiongenerator %BUILDDIR%\qthelp\django-heroku-mongoify.qhcp echo.To view the help file: echo.^> assistant -collectionFile %BUILDDIR%\qthelp\django-heroku-mongoify.ghc goto end ) if "%1" == "devhelp" ( %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp if errorlevel 1 exit /b 1 echo. echo.Build finished. goto end ) if "%1" == "epub" ( %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub if errorlevel 1 exit /b 1 echo. echo.Build finished. The epub file is in %BUILDDIR%/epub. goto end ) if "%1" == "latex" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex if errorlevel 1 exit /b 1 echo. echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. goto end ) if "%1" == "text" ( %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text if errorlevel 1 exit /b 1 echo. echo.Build finished. The text files are in %BUILDDIR%/text. goto end ) if "%1" == "man" ( %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man if errorlevel 1 exit /b 1 echo. echo.Build finished. The manual pages are in %BUILDDIR%/man. goto end ) if "%1" == "texinfo" ( %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo if errorlevel 1 exit /b 1 echo. echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo. goto end ) if "%1" == "gettext" ( %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale if errorlevel 1 exit /b 1 echo. echo.Build finished. The message catalogs are in %BUILDDIR%/locale. goto end ) if "%1" == "changes" ( %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes if errorlevel 1 exit /b 1 echo. echo.The overview file is in %BUILDDIR%/changes. goto end ) if "%1" == "linkcheck" ( %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck if errorlevel 1 exit /b 1 echo. echo.Link check complete; look for any errors in the above output ^ or in %BUILDDIR%/linkcheck/output.txt. goto end ) if "%1" == "doctest" ( %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest if errorlevel 1 exit /b 1 echo. echo.Testing of doctests in the sources finished, look at the ^ results in %BUILDDIR%/doctest/output.txt. goto end ) :end
dirn/django-heroku-mongoify
docs/make.bat
bat
bsd-3-clause
5,128
@echo off set CATALINA_HOME=%1 "%CATALINA_HOME%\bin\shutdown.bat" 2>NUL
uli-heller/uli-gradle
091-debug-jsf-3/scripts/stop-tomcat.bat
bat
bsd-3-clause
73
@echo off pushd %~dp0 "%VS120COMNTOOLS%..\IDE\mstest" /test:Microsoft.Protocols.TestSuites.MS_WOPI.MS_WOPI_S04_ExclusiveLock.TestCase_S04_TC33_ConvertToSchema_InvalidArgument /testcontainer:..\..\MS-WOPI\TestSuite\bin\Debug\MS-WOPI_TestSuite.dll /runconfig:..\..\MS-WOPI\MS-WOPI.testsettings /unique pause
XinwLi/Interop-TestSuites-1
FileSyncandWOPI/Source/Scripts/MS-WOPI/RunMSWOPI_S04_TC33.cmd
bat
mit
305
@echo off rem INTELF91MSVS2005OPTS.BAT rem rem Compile and link options used for building MEX-files using the rem Intel® Fortran Compiler 9.1 with the Microsoft® Visual Studio® rem 2005 linker. rem rem $Revision: 1.1.6.1 $ $Date: 2006/11/19 18:53:36 $ rem rem ******************************************************************** rem General parameters rem ******************************************************************** set MATLAB=%MATLAB% set IFORT_COMPILER91=C:\Program Files\Intel\Compiler\Fortran\9.1 set VS80COMNTOOLS=%VS80COMNTOOLS% set LINKERDIR=C:\Program Files\Microsoft Visual Studio 8 set PATH=%IFORT_COMPILER91%\IA32\Bin;%LINKERDIR%\VC\BIN;%LINKERDIR%\Common7\Tools;%LINKERDIR%\Common7\Tools\bin;%LINKERDIR%\Common7\IDE;%LINKERDIR%\SDK\v2.0\bin;%PATH% set INCLUDE=%IFORT_COMPILER91%\IA32\Include;%LINKERDIR%\VC\ATLMFC\INCLUDE;%LINKERDIR%\VC\INCLUDE;%LINKERDIR%\VC\PlatformSDK\include;%LINKERDIR%\SDK\v2.0\include;%INCLUDE% set LIB=%IFORT_COMPILER91%\IA32\Lib;%LINKERDIR%\VC\ATLMFC\LIB;%LINKERDIR%\VC\LIB;%LINKERDIR%\VC\PlatformSDK\lib;%LINKERDIR%\SDK\v2.0\lib;%MATLAB%\extern\lib\win32;%LIB% set MW_TARGET_ARCH=win32 rem ******************************************************************** rem Compiler parameters rem ******************************************************************** set COMPILER=ifort set COMPFLAGS=/fpp /Qprec "/I%MATLAB%/extern/include" -c -nologo -DMATLAB_MEX_FILE /fixed set OPTIMFLAGS=/MD -Ox -DNDEBUG /real_size:64 set DEBUGFLAGS=/MD -Zi /PDB:"%OUTDIR%%MEX_NAME%%MEX_EXT%.pdb" set NAME_OBJECT=/Fo rem ******************************************************************** rem Linker parameters rem ******************************************************************** set LIBLOC=%MATLAB%\extern\lib\win32\microsoft set LINKER=link set LINKFLAGS=/DLL /EXPORT:MEXFUNCTION /MAP /LIBPATH:"%LIBLOC%" libmx.lib libmex.lib libmat.lib /implib:%LIB_NAME%.lib /NOLOGO set LINKOPTIMFLAGS= set LINKDEBUGFLAGS=/debug /PDB:"%OUTDIR%%MEX_NAME%%MEX_EXT%.pdb" set LINK_FILE= set LINK_LIB= set NAME_OUTPUT="/out:%OUTDIR%%MEX_NAME%%MEX_EXT%" set RSP_FILE_INDICATOR=@ rem ******************************************************************** rem Resource compiler parameters rem ******************************************************************** set RC_COMPILER=rc /fo "%OUTDIR%mexversion.res" set RC_LINKER= set POSTLINK_CMDS=del "%OUTDIR%%MEX_NAME%.map" set POSTLINK_CMDS1=mt -outputresource:"%OUTDIR%%MEX_NAME%%MEX_EXT%";2 -manifest "%OUTDIR%%MEX_NAME%%MEX_EXT%.manifest" set POSTLINK_CMDS2=del "%OUTDIR%%MEX_NAME%%MEX_EXT%.manifest"
rsignell-usgs/seagrid
seagrid/mex_matlab74_win32/mexopts_f.bat
bat
cc0-1.0
2,577
@echo off pushd "%~dp0" powershell .\Support\Build.ps1 pause popd
modulexcite/ProtoChannel
Build/Build.bat
bat
lgpl-3.0
79
@echo off Nuget.exe restore "Source\KickStart.sln" NuGet.exe install MSBuildTasks -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive NuGet.exe install xunit.runner.console -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive
mgnslndh/KickStart
bootstrap.cmd
bat
apache-2.0
238
@echo off echo [CMMI] package . echo [Author] [email protected] set MVN=mvn set MAVEN_OPTS=%MAVEN_OPTS% -XX:MaxPermSize=128m cd .. call %MVN% package -DskipTests goto end :end pause
chenlg/cmmi
tools/package.bat
bat
apache-2.0
195
ck search @search7_tags.json --print_time
gmarkall/ck
tests/search7_tags.bat
bat
bsd-3-clause
42
rd/s/q D:\ÏîÄ¿²úÆ·\µçÐÅÉÏÏß°æ±¾\8.Á÷·þÎñÆ÷(IES)\IES(ÐÔÄÜ0)\log rd/s/q D:\ÏîÄ¿²úÆ·\µçÐÅÉÏÏß°æ±¾\8.Á÷·þÎñÆ÷(IES)\IES(ÐÔÄÜ1)\log rd/s/q D:\ÏîÄ¿²úÆ·\µçÐÅÉÏÏß°æ±¾\8.Á÷·þÎñÆ÷(IES)\IES(ÐÔÄÜ2)\log rd/s/q D:\ÏîÄ¿²úÆ·\µçÐÅÉÏÏß°æ±¾\8.Á÷·þÎñÆ÷(IES)\IES(ÐÔÄÜ3)\log rd/s/q D:\ÏîÄ¿²úÆ·\µçÐÅÉÏÏß°æ±¾\8.Á÷·þÎñÆ÷(IES)\IES(ÐÔÄÜ4)\log rd/s/q D:\ÏîÄ¿²úÆ·\µçÐÅÉÏÏß°æ±¾\8.Á÷·þÎñÆ÷(IES)\IES(ÐÔÄÜ5)\log pause
liumeixia/xiaworkspace
VB/ies和log管理工具/del_log.bat
bat
gpl-2.0
389
@del /Q .\wrapper\xmpir.cs @copy .\src\xmpir.cs .\wrapper > NUL @cd _tmp @cd ..
myPinPad/opensource-mpirDotNet
xmpir_ModdedForMpir.NET/xmpir-for-csharp.bat
bat
lgpl-3.0
79
@echo off rem Copyright 2018 WSO2, Inc. http://www.wso2.org rem rem Licensed under the Apache License, Version 2.0 (the "License"); rem you may not use this file except in compliance with the License. rem You may obtain a copy of the License at rem rem http://www.apache.org/licenses/LICENSE-2.0 rem rem Unless required by applicable law or agreed to in writing, software rem distributed under the License is distributed on an "AS IS" BASIS, rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. rem See the License for the specific language governing permissions and rem limitations under the License. rem --------------------------------------------------------------------------- rem Startup script for the ciphertool rem rem Environment Variable Prerequisites rem rem CARBON_HOME Must point at your CARBON directory rem rem JAVA_HOME Must point at your Java Development Kit installation. rem rem JAVA_OPTS (Optional) Java runtime options rem --------------------------------------------------------------------------- :checkServer setlocal enabledelayedexpansion rem %~sdp0 is expanded pathname of the current script under NT with spaces in the path removed if "%CARBON_HOME%"=="" set CARBON_HOME=%~sdp0.. SET curDrive=%cd:~0,1% SET wsasDrive=%CARBON_HOME:~0,1% if not "%curDrive%" == "%wsasDrive%" %wsasDrive%: cd %CARBON_HOME% call %CARBON_HOME%\..\tools\forget-me\bin\forgetme.bat -d %CARBON_HOME%\..\tools\forget-me\conf %*
wso2/product-ei
distribution/src/scripts/profiles/forgetme.bat
bat
apache-2.0
1,494
echo off REM Vrrtep CLI is free software: you can redistribute it and/or modify REM it under the terms of the GNU General Public Licence as published by REM the Free Software Foundation, either version 3 of the Licence, or REM (at your option) any later version. REM REM Vrrtep CLI is distributed in the hope that it will be useful, REM but WITHOUT ANY WARRANTY; without even the implied warranty of REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the REM GNU General Public License for more details. REM REM You should have received a copy of the GNU General Public License REM along with Vrrtep CLI. If not, see <http://www.gnu.org/licenses/> :START SET /A TOTALFILES=1 SET /A OKFILES=0 SET /A FAILEDFILES=0 cd %~dp0 REM Post-update code if "%1"=="/PF" ( chgcolor 0a echo Updating dictionaries chgcolor 07 echo. call "%~dp0vrrtepcli_update.cmd" /NH set APPVERSION= if exist "updscript.cmd" del "updscript.cmd" chgcolor 0a echo Finished. chgcolor 07 goto END ) chgcolor 0e echo VrrtepCLI Program Updater for Windows echo By Swoka Ikran echo (portions from Linux version by Tirea Aean) echo. chgcolor 07 if exist "updscript.cmd" del "updscript.cmd" echo Downloading update script call :Get_File http://swokaikran.skxawng.lu/vcli_win/common/updscript.cmd echo. echo Downloaded %OKFILES% of %TOTALFILES% files. echo (%FAILEDFILES% failed) if "%FAILEDFILES%" NEQ "0" goto DLERROR :INSTALL echo. chgcolor 0c echo Installing program update chgcolor 07 updscript.cmd GOTO END :DLERROR echo. echo ********************** echo * Download failed! * echo ********************** echo. echo %FAILEDFILES% of %TOTALFILES% failed to download. echo. :PRMPT SET /P UC=[T]ry again, or [E]xit : IF "%UC%" EQU "" GOTO PRMPT IF "%UC%" EQU "e" GOTO END IF "%UC%" EQU "t" GOTO START GOTO END :Get_File echo Downloading: %1 "%~dp0wget.exe" -q %1 if errorlevel 1 ( SET /A FAILEDFILES=%FAILEDFILES%+1 GOTO:END ) if errorlevel 0 ( SET /A OKFILES=%OKFILES%+1 ) GOTO:END :END
tirea/vrrtepcli
Windows/win_src/vrrtepcli_update_prog.cmd
bat
gpl-3.0
2,109
@ECHO OFF REM Command file for Sphinx documentation set SPHINXBUILD=sphinx-build set ALLSPHINXOPTS=-d _build/doctrees %SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% ) if "%1" == "" goto help if "%1" == "help" ( :help echo.Please use `make ^<target^>` where ^<target^> is one of echo. html to make standalone HTML files echo. dirhtml to make HTML files named index.html in directories echo. pickle to make pickle files echo. json to make JSON files echo. htmlhelp to make HTML files and a HTML help project echo. qthelp to make HTML files and a qthelp project echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter echo. changes to make an overview over all changed/added/deprecated items echo. linkcheck to check all external links for integrity echo. doctest to run all doctests embedded in the documentation if enabled goto end ) if "%1" == "clean" ( for /d %%i in (_build\*) do rmdir /q /s %%i del /q /s _build\* goto end ) if "%1" == "html" ( %SPHINXBUILD% -b html %ALLSPHINXOPTS% _build/html echo. echo.Build finished. The HTML pages are in _build/html. goto end ) if "%1" == "dirhtml" ( %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% _build/dirhtml echo. echo.Build finished. The HTML pages are in _build/dirhtml. goto end ) if "%1" == "pickle" ( %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% _build/pickle echo. echo.Build finished; now you can process the pickle files. goto end ) if "%1" == "json" ( %SPHINXBUILD% -b json %ALLSPHINXOPTS% _build/json echo. echo.Build finished; now you can process the JSON files. goto end ) if "%1" == "htmlhelp" ( %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% _build/htmlhelp echo. echo.Build finished; now you can run HTML Help Workshop with the ^ .hhp project file in _build/htmlhelp. goto end ) if "%1" == "qthelp" ( %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% _build/qthelp echo. echo.Build finished; now you can run "qcollectiongenerator" with the ^ .qhcp project file in _build/qthelp, like this: echo.^> qcollectiongenerator _build\qthelp\python-munin.qhcp echo.To view the help file: echo.^> assistant -collectionFile _build\qthelp\python-munin.ghc goto end ) if "%1" == "latex" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% _build/latex echo. echo.Build finished; the LaTeX files are in _build/latex. goto end ) if "%1" == "changes" ( %SPHINXBUILD% -b changes %ALLSPHINXOPTS% _build/changes echo. echo.The overview file is in _build/changes. goto end ) if "%1" == "linkcheck" ( %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% _build/linkcheck echo. echo.Link check complete; look for any errors in the above output ^ or in _build/linkcheck/output.txt. goto end ) if "%1" == "doctest" ( %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% _build/doctest echo. echo.Testing of doctests in the sources finished, look at the ^ results in _build/doctest/output.txt. goto end ) :end
samuelclay/NewsBlur
vendor/python-munin/docs/make.bat
bat
mit
2,971
@REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. @set OUT_DIR=Debug @set OUT_EXE=example_sdl_opengl3 @set INCLUDES=/I..\.. /I..\..\backends /I%SDL2_DIR%\include @set SOURCES=main.cpp ..\..\backends\imgui_impl_sdl.cpp ..\..\backends\imgui_impl_opengl3.cpp ..\..\imgui*.cpp @set LIBS=/LIBPATH:%SDL2_DIR%\lib\x86 SDL2.lib SDL2main.lib opengl32.lib shell32.lib mkdir %OUT_DIR% cl /nologo /Zi /MD %INCLUDES% %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS% /subsystem:console
google/filament
third_party/imgui/examples/example_sdl_opengl3/build_win32.bat
bat
apache-2.0
555
@rem Copyright 2016, Google Inc. @rem All rights reserved. @rem @rem Redistribution and use in source and binary forms, with or without @rem modification, are permitted provided that the following conditions are @rem met: @rem @rem * Redistributions of source code must retain the above copyright @rem notice, this list of conditions and the following disclaimer. @rem * Redistributions in binary form must reproduce the above @rem copyright notice, this list of conditions and the following disclaimer @rem in the documentation and/or other materials provided with the @rem distribution. @rem * Neither the name of Google Inc. nor the names of its @rem contributors may be used to endorse or promote products derived from @rem this software without specific prior written permission. @rem @rem THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @rem "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT @rem LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @rem A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT @rem OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, @rem SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT @rem LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, @rem DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY @rem THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT @rem (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE @rem OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @rem Performs nuget restore step for C#. setlocal @rem enter repo root cd /d %~dp0\..\.. @rem Location of nuget.exe set NUGET=C:\nuget\nuget.exe if exist %NUGET% ( @rem TODO(jtattermusch): Get rid of this hack. See #8034 @rem Restore Grpc packages by packages since Nuget client 3.4.4 doesnt support restore @rem by solution @rem Moving into each directory to let the restores work based on per-project packages.config files %NUGET% restore vsprojects/grpc_csharp_ext.sln || goto :error cd src/csharp cd Grpc.Auth || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd .. cd Grpc.Core || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd .. cd Grpc.Core.Tests || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd .. cd Grpc.Examples.MathClient || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd .. cd Grpc.Examples.MathServer || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd .. cd Grpc.Examples || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd .. cd Grpc.HealthCheck.Tests || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd .. cd Grpc.HealthCheck || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd .. cd Grpc.IntegrationTesting.Client || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd .. cd Grpc.IntegrationTesting.QpsWorker || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd .. cd Grpc.IntegrationTesting.StressClient || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd .. cd Grpc.IntegrationTesting || goto :error %NUGET% restore -PackagesDirectory ../packages || goto :error cd /d %~dp0\..\.. || goto :error ) endlocal goto :EOF :error echo Failed! exit /b %errorlevel%
arkmaxim/grpc
tools/run_tests/pre_build_csharp.bat
bat
bsd-3-clause
3,606
@call "%~dp0\..\bootstrap\python" -m HitboxExpander %* @pause
Bawhoppen/-tg-station
tools/HitboxExpander/Hitbox Expander.bat
bat
agpl-3.0
62
nuget pack ReduxReactive.csproj -Prop Configuration=Release
pferraris/ReduxReactive
ReduxReactive/pack.bat
bat
mit
59
@echo off git status git add . echo Please input comment: set /p comments= git commit -m "%comments%" git push origin master
wancy86/learn_TP
cbs.bat
bat
mit
127
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% ) if "%1" == "" goto help if "%1" == "help" ( :help echo.Please use `make ^<target^>` where ^<target^> is one of echo. html to make standalone HTML files echo. dirhtml to make HTML files named index.html in directories echo. singlehtml to make a single large HTML file echo. pickle to make pickle files echo. json to make JSON files echo. htmlhelp to make HTML files and a HTML help project echo. qthelp to make HTML files and a qthelp project echo. devhelp to make HTML files and a Devhelp project echo. epub to make an epub echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter echo. text to make text files echo. man to make manual pages echo. changes to make an overview over all changed/added/deprecated items echo. linkcheck to check all external links for integrity echo. doctest to run all doctests embedded in the documentation if enabled goto end ) if "%1" == "clean" ( for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i del /q /s %BUILDDIR%\* goto end ) if "%1" == "html" ( %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/html. goto end ) if "%1" == "dirhtml" ( %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. goto end ) if "%1" == "singlehtml" ( %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. goto end ) if "%1" == "pickle" ( %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the pickle files. goto end ) if "%1" == "json" ( %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the JSON files. goto end ) if "%1" == "htmlhelp" ( %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run HTML Help Workshop with the ^ .hhp project file in %BUILDDIR%/htmlhelp. goto end ) if "%1" == "qthelp" ( %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run "qcollectiongenerator" with the ^ .qhcp project file in %BUILDDIR%/qthelp, like this: echo.^> qcollectiongenerator %BUILDDIR%\qthelp\husk.qhcp echo.To view the help file: echo.^> assistant -collectionFile %BUILDDIR%\qthelp\husk.ghc goto end ) if "%1" == "devhelp" ( %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp if errorlevel 1 exit /b 1 echo. echo.Build finished. goto end ) if "%1" == "epub" ( %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub if errorlevel 1 exit /b 1 echo. echo.Build finished. The epub file is in %BUILDDIR%/epub. goto end ) if "%1" == "latex" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex if errorlevel 1 exit /b 1 echo. echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. goto end ) if "%1" == "text" ( %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text if errorlevel 1 exit /b 1 echo. echo.Build finished. The text files are in %BUILDDIR%/text. goto end ) if "%1" == "man" ( %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man if errorlevel 1 exit /b 1 echo. echo.Build finished. The manual pages are in %BUILDDIR%/man. goto end ) if "%1" == "changes" ( %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes if errorlevel 1 exit /b 1 echo. echo.The overview file is in %BUILDDIR%/changes. goto end ) if "%1" == "linkcheck" ( %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck if errorlevel 1 exit /b 1 echo. echo.Link check complete; look for any errors in the above output ^ or in %BUILDDIR%/linkcheck/output.txt. goto end ) if "%1" == "doctest" ( %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest if errorlevel 1 exit /b 1 echo. echo.Testing of doctests in the sources finished, look at the ^ results in %BUILDDIR%/doctest/output.txt. goto end ) :end
skyl/husk
docs/make.bat
bat
mit
4,507
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . set I18NSPHINXOPTS=%SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% ) if "%1" == "" goto help if "%1" == "help" ( :help echo.Please use `make ^<target^>` where ^<target^> is one of echo. html to make standalone HTML files echo. dirhtml to make HTML files named index.html in directories echo. singlehtml to make a single large HTML file echo. pickle to make pickle files echo. json to make JSON files echo. htmlhelp to make HTML files and a HTML help project echo. qthelp to make HTML files and a qthelp project echo. devhelp to make HTML files and a Devhelp project echo. epub to make an epub echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter echo. text to make text files echo. man to make manual pages echo. texinfo to make Texinfo files echo. gettext to make PO message catalogs echo. changes to make an overview over all changed/added/deprecated items echo. linkcheck to check all external links for integrity echo. doctest to run all doctests embedded in the documentation if enabled goto end ) if "%1" == "clean" ( for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i del /q /s %BUILDDIR%\* goto end ) if "%1" == "html" ( %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/html. goto end ) if "%1" == "dirhtml" ( %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. goto end ) if "%1" == "singlehtml" ( %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml if errorlevel 1 exit /b 1 echo. echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. goto end ) if "%1" == "pickle" ( %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the pickle files. goto end ) if "%1" == "json" ( %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can process the JSON files. goto end ) if "%1" == "htmlhelp" ( %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run HTML Help Workshop with the ^ .hhp project file in %BUILDDIR%/htmlhelp. goto end ) if "%1" == "qthelp" ( %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp if errorlevel 1 exit /b 1 echo. echo.Build finished; now you can run "qcollectiongenerator" with the ^ .qhcp project file in %BUILDDIR%/qthelp, like this: echo.^> qcollectiongenerator %BUILDDIR%\qthelp\django_cookiecutter_docker.qhcp echo.To view the help file: echo.^> assistant -collectionFile %BUILDDIR%\qthelp\django_cookiecutter_docker.ghc goto end ) if "%1" == "devhelp" ( %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp if errorlevel 1 exit /b 1 echo. echo.Build finished. goto end ) if "%1" == "epub" ( %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub if errorlevel 1 exit /b 1 echo. echo.Build finished. The epub file is in %BUILDDIR%/epub. goto end ) if "%1" == "latex" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex if errorlevel 1 exit /b 1 echo. echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. goto end ) if "%1" == "text" ( %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text if errorlevel 1 exit /b 1 echo. echo.Build finished. The text files are in %BUILDDIR%/text. goto end ) if "%1" == "man" ( %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man if errorlevel 1 exit /b 1 echo. echo.Build finished. The manual pages are in %BUILDDIR%/man. goto end ) if "%1" == "texinfo" ( %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo if errorlevel 1 exit /b 1 echo. echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo. goto end ) if "%1" == "gettext" ( %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale if errorlevel 1 exit /b 1 echo. echo.Build finished. The message catalogs are in %BUILDDIR%/locale. goto end ) if "%1" == "changes" ( %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes if errorlevel 1 exit /b 1 echo. echo.The overview file is in %BUILDDIR%/changes. goto end ) if "%1" == "linkcheck" ( %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck if errorlevel 1 exit /b 1 echo. echo.Link check complete; look for any errors in the above output ^ or in %BUILDDIR%/linkcheck/output.txt. goto end ) if "%1" == "doctest" ( %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest if errorlevel 1 exit /b 1 echo. echo.Testing of doctests in the sources finished, look at the ^ results in %BUILDDIR%/doctest/output.txt. goto end ) :end
realpython/django_cookiecutter_deploy
docs/make.bat
bat
mit
5,136
node_modules/.bin/surge dist/ --domain https://mloveday-spa-react.surge.sh
mloveday/spa-react
deploy-to-surge.bat
bat
mit
74
@echo off set BASEDIR=%~sdp0 call %BASEDIR%\setEnv.bat echo removing the old rmdir /S /Q %TOMCAT_HOME%\webapps\esh >NUL 2>NUL del /F /Q %TOMCAT_HOME%\webapps\esh.war >NUL echo deploying the new copy /Y %PROJECT_HOME%\src\build\esh-war\target\esh.war %TOMCAT_HOME%\webapps\esh.war echo done timeout /t 1 >NUL
jimmyblylee/ESH
setup/win/dev/redeploy.bat
bat
mit
309
astyle -s2 -xG -S -n -O -o -k3 -H -pi -A2 src/*
MuniuDev/OpenGLDeferredTutorial
coding-style.bat
bat
mit
48
sicstus -l load_and_run_app.pl pause
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_nlu/ext/regulus/Examples/Toy1/scripts/run_app.bat
bat
mit
38
@echo off SET X_EXPORT_PLG=C:\Program Files\Autodesk\3ds Max 2009\plugins\PandaDirectXMaxExporter_x64.dle echo ¼ì²éXÎļþµ¼³öÆ÷ IF NOT EXIST %X_EXPORT_PLG% ( echo £¡£¡£¡Ã»Óа²×°XÎļþµ¼³öÆ÷£¡£¡£¡ pause )
xxd3vin/spp-sdk
check_env.bat
bat
mit
210
cmd_block/built-in.o := /pub/CIS520/usr/arm/bin/arm-angstrom-linux-gnueabi-ld -EL -r -o block/built-in.o block/elevator.o block/blk-core.o block/blk-tag.o block/blk-sysfs.o block/blk-barrier.o block/blk-settings.o block/blk-ioc.o block/blk-map.o block/blk-exec.o block/blk-merge.o block/blk-softirq.o block/blk-timeout.o block/ioctl.o block/genhd.o block/scsi_ioctl.o block/cmd-filter.o block/noop-iosched.o block/as-iosched.o block/deadline-iosched.o block/cfq-iosched.o
mjmccall/Kernel
block/.built-in.o.cmd
bat
gpl-2.0
477