]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - tools/regression/usr.bin/make/shell/path_select/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / tools / regression / usr.bin / make / shell / path_select / Makefile
1 #
2 # Change the path for builtin shells. There are two methods to do this.
3 # This is the second of them when both a path and a name are specified.
4 # This selects a builtin shell according to the name, but executes it
5 # from the specified path.
6 #
7 # Be sure to include a meta-character into the command line, so that
8 # really our shell is executed.
9 #
10 # $FreeBSD$
11 #
12
13 .ifmake sh_test
14
15 .SHELL: name=sh path=${.CURDIR}/shell
16 sh_test:
17         @: This is the shell.
18
19 .elifmake csh_test
20
21 .SHELL: name=csh path=${.CURDIR}/shell
22 csh_test:
23         @: This is the C-shell.
24
25 .elifmake ksh_test
26
27 .SHELL: name=ksh path=${.CURDIR}/shell
28 ksh_test:
29         @: This is the Korn-shell.
30
31 .endif