Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 65) sorted by relevance

123

/ndk/sources/host-tools/make-3.81/tests/scripts/functions/
Dshell3 $description = 'Test the $(shell ...) function.';
10 all: ; @echo $(shell echo hi)
16 # the environment for a $(shell ...) call.
18 export HI = $(shell echo hi)
Dif18 \t\@echo 5 \$(if z,true,\$(shell echo hi))
19 \t\@echo 6 \$(if ,\$(shell echo hi),false)
Deval19 $(eval $(shell echo A = A))
/ndk/sources/host-tools/make-3.81/
DREADME.DOS18 5. The $(shell) built-in can run arbitrary complex commands,
20 shell.
93 6. After Make finishes, if you have a Unix-style shell installed,
107 Without a Unix-style shell, you will have to install programs
123 7. The `clean' targets also require Unix-style shell, and GNU Sed
127 shell (I used the DJGPP port of Bash 2.03), Perl, Sed, Fileutils
134 1. The shell issue.
141 the shell or internal shell commands, because that is faster.
142 When shell features like redirection or filename wildcards are
143 involved, Make calls the shell.
[all …]
Djob.c2091 char *shell; in exec_command()
2100 shell = p->value; in exec_command()
2102 shell = 0; in exec_command()
2104 shell = getenv ("SHELL"); in exec_command()
2106 if (shell == 0) in exec_command()
2107 shell = default_shell; in exec_command()
2119 new_argv[0] = shell; in exec_command()
2138 pid = spawnvpe (P_NOWAIT, shell, new_argv, envp); in exec_command()
2142 execvp (shell, new_argv); in exec_command()
2145 error (NILF, _("%s: Shell program not found"), shell); in exec_command()
[all …]
DREADME.OS211 Makefiles while others might want to use OS/2's native shell cmd.exe,
12 GNU make supports both shell types. The following list defines the order
13 that is used to determine the shell:
15 1. The shell specified by the environment variable MAKESHELL.
16 2. The shell specified by the SHELL variable within a Makefile. As on
18 3. The shell specified by the COMSPEC environment variable.
19 4. The shell specified by the OS2_SHELL environment variable.
34 - At compile time you can turn off that cmd is used as default shell
48 - sh compatible shell (ksh, bash, ash, but tested only with pdksh 5.2.14
57 - GNU shell utilities
[all …]
Dvariable.c749 struct variable *shell = lookup_variable (shell_str, shlen); in define_automatic_variables() local
759 if (shell && *shell->value && (shell->origin == o_env in define_automatic_variables()
760 || shell->origin == o_env_override)) in define_automatic_variables()
763 free(shell->value); in define_automatic_variables()
764 shell->value = xstrdup (default_shell); in define_automatic_variables()
765 shell->origin = o_default; in define_automatic_variables()
780 # warning NO_CMD_DEFAULT: GNU make will not use CMD.EXE as default shell in define_automatic_variables()
DREADME.W3221 Then edit config.h to your liking (especially the few shell-related
88 There are very few true ports of Bourne shell for NT right now.
97 Some versions of Bourne shell do not behave well when invoked
109 A native Windows32 system with no Bourne shell will also run
112 builds (-j) require a working Bourne shell; they will not work
122 GNU make and the MKS shell:
124 There is now semi-official support for the MKS shell. To turn this
205 within the cmd.exe shell.
DINSTALL15 The `configure' shell script attempts to guess correct values for
19 definitions. Finally, it creates a shell script `config.status' that
174 can create a site shell script called `config.site' that gives default
184 Variables not defined in a site shell script can be set in the
193 overridden in the site shell script).
DNEWS57 invocation such as $(shell ...) was treated as a make comment. A
131 the DOS command interpreter in batch mode even if a UNIX-like shell
137 * Parallel builds (-jN) no longer require a working Bourne shell on
251 MAKEOVERRIDES for proper parsing by the shell. This allowed them to
336 for the Cygnus Cygwin release B20.1 shell (bash).
425 * The $(shell) function now changes CRLF (\r\n) pairs to a space as well
547 * Commands in an invocation of the `shell' function are no longer run with
553 export variable = $(shell echo value)
556 command, it would try expand the value by running the shell command
558 for that shell command in the same way, Make would begin to go into an
[all …]
Dreadme.vms125 don't work. The function $shell is still missing.
247 Calling 'set def' doesn't do the trick, since a sub-shell is
248 spawned for this command, the directory is changed *in this sub-shell*
249 and the sub-shell ends.
261 The shell function is not implemented yet.
/ndk/build/core/
Dinit.mk159 UNAME := $(shell uname -s)
204 UNAME := $(shell /bin/uname.exe -s 2>NUL)
207 $(call ndk_log,Cygwin detected: $(shell uname -a))
209 DUMMY := $(shell rm -f NUL) # Cleaning up
212 $(call ndk_log,MSys detected: $(shell uname -a))
243 ifneq ("/",$(shell echo "%ProgramW6432%/%ProgramFiles(x86)%"))
247 UNAME := $(shell uname -m)
250 ifneq (,$(shell $(HOST_FILE_PROGRAM) -L $(SHELL) | grep 'x86[_-]64'))
295 CYGWIN_VERSION := $(shell uname -r)
382 AWK_TEST := $(shell $(HOST_AWK) -f $(BUILD_AWK)/check-awk.awk)
[all …]
Dcheck-cygwin-make.mk32 CYGWIN_MAKE := $(shell cygpath --unix --absolute $(firstword $(MAKE)))
Dadd-application.mk84 …APP_PLATFORM := $(strip $(shell $(HOST_AWK) -f $(BUILD_AWK)/extract-platform.awk $(call host-path,…
156 …APP_MIN_PLATFORM_LEVEL := $(strip $(shell $(HOST_AWK) -f $(BUILD_AWK)/extract-minsdkversion.awk $(…
238 …APP_DEBUGGABLE := $(shell $(HOST_AWK) -f $(BUILD_AWK)/extract-debuggable.awk $(call host-path,$(AP…
/ndk/tests/
Dadb.py29 def shell(command): function
47 result, output = shell('getprop {}'.format(prop_name))
Drun-all.py321 adb.shell('rm -r /data/local/tmp/ndk-tests')
322 adb.shell('mkdir /data/local/tmp/ndk-tests')
Dtests.py570 adb.shell('chmod +x ' + file_path)
637 result, out = adb.shell('ls {0} || mkdir {0}'.format(device_dir))
659 result, out = adb.shell(cmd)
675 adb.shell('rm -r {}'.format(device_dir))
/ndk/tests/awk/extract-pid/
Dtest-1.in85 shell 127 1 772 268 ffffffff 00000000 S /system/bin/sh
86 shell 128 1 4472 204 ffffffff 00000000 S /sbin/adbd
129 shell 3989 128 760 364 c00562a0 4008de54 S /system/bin/sh
130 shell 3991 3989 956 344 00000000 400ed438 R ps
/ndk/sources/third_party/googletest/
DREADME.NDK89 adb shell chmod 775 /data/local/tmp/foo_unittest
90 adb shell "LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/foo_unittest"
/ndk/sources/host-tools/make-3.81/config/
Dprintf-posix.m422 /* The string "%2$d %1$d", with dollar characters protected from the shell's
/ndk/sources/host-tools/make-3.81/tests/scripts/variables/
DSHELL14 # Note %extraENV takes precedence over the default value for the shell.
/ndk/sources/host-tools/make-3.81/tests/scripts/features/
Dparallelism68 # to the pipe when they should be): this happened when there is a $(shell ...)
74 export HI = \$(shell \$(\$\@.CMD))
/ndk/sources/host-tools/make-3.81/doc/
Dmake.info-1161 * Commands/Search:: How to write shell commands that work together
190 * Choosing the Shell:: How `make' chooses the shell used
244 * Shell Function:: Substitute the output of a shell command.
318 with a shell command. Indeed, `make' is not limited to programs. You
341 files, this simple shell command:
397 with simple shell commands. Finally, be sure to explain what you
559 A shell command follows each line that contains a target and
560 prerequisites. These shell commands say how to update the target file.
881 the entire line is passed to the shell, just as with any other
882 line that begins with a TAB. The shell decides how to interpret
[all …]
Dmake.texi187 * Commands/Search:: How to write shell commands that work together
216 * Choosing the Shell:: How @code{make} chooses the shell used
270 * Shell Function:: Substitute the output of a shell command.
348 shell command. Indeed, @code{make} is not limited to programs. You can
370 this simple shell command:
435 such a tool would do with simple shell commands. Finally, be sure to
626 A shell command follows each line that contains a target and
627 prerequisites. These shell commands say how to update the target file.
634 @cindex shell command
649 @cindex @code{rm} (shell command)
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/
Dtestit_android287 $ADB shell "$@ ; echo \$?" | sed -e 's![[:cntrl:]]!!g' > $CMD_OUT 2>&1

123