Lines Matching refs:host
31 host-path = $(if $(strip $1),$(call cygwin-to-host-path,$1))
33 host-path = $1
44 host-rm = \
48 host-rm = rm -f $1
59 host-rmdir = \
63 host-rmdir = rm -rf $1
74 host-mkdir = md $(subst /,\,"$1") >NUL 2>NUL || rem
76 host-mkdir = mkdir -p $1
88 host-cp = copy /b/y $(subst /,\,"$1" "$2") > NUL
90 host-cp = cp -f $1 $2
102 host-mv = move /y $(subst /,\,"$1" "$2") > NUL
104 host-mv = mv -f $1 $2
117 host-install = copy /b/y $(subst /,\,"$1" "$2") > NUL
119 host-install = install -p $1 $2
130 host-echo-build-step = @ $(HOST_ECHO) [$1] $(call left-justify-quoted-15,$2):
142 host-c-includes = $(patsubst %,-I%,$(call host-path,$1))
144 host-c-includes = $(1:%=-I%)
156 host-copy-if-differ = $(HOST_CMP) -s $1 $2 > NUL || copy /b/y $(subst /,\,"$1" "$2") > NUL
158 host-copy-if-differ = $(HOST_CMP) -s $1 $2 > /dev/null 2>&1 || cp -f $1 $2
189 host-path-is-absolute = $(call windows-path-is-absolute,$1)
191 host-path-is-absolute = $(if $(filter /%,$1),true)
194 -test-host-path-is-absolute.relative-paths = \
195 $(call test-expect,,$(call host-path-is-absolute,foo))\
196 $(call test-expect,,$(call host-path-is-absolute,foo/bar))\
197 $(call test-expect,,$(call host-path-is-absolute,.))\
198 $(call test-expect,,$(call host-path-is-absolute,..))
200 -test-host-path-is-absolute.absolute-paths = \
201 $(call test-expect,true,$(call host-path-is-absolute,/))\
202 $(call test-expect,true,$(call host-path-is-absolute,/foo))\
203 $(call test-expect,true,$(call host-path-is-absolute,/foo/bar))\
204 $(call test-expect,true,$(call host-path-is-absolute,//foo))\
205 $(call test-expect,true,$(call host-path-is-absolute,/.))
207 -test-host-path-is-asbolute.windows-relative-paths = \
213 -test-host-path-is-asbolute.windows-absolute-paths = \