]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - usr.bin/bmake/tests/shell/path/Makefile.test
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / usr.bin / bmake / tests / shell / path / Makefile.test
1 #
2 # Change the path for builtin shells. There are two methods to do this.
3 # This is the first of them when the basename of the path is equal to
4 # one of the builtin shells so that the .SHELL target automatically
5 # also selectes the shell without specifying the name.
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: path=${.OBJDIR}/sh
16 sh_test:
17         @: This is the shell.
18
19 .elifmake csh_test
20
21 .SHELL: path=${.OBJDIR}/csh
22 csh_test:
23         @: This is the C-shell.
24
25 .elifmake ksh_test
26
27 .SHELL: path=${.OBJDIR}/ksh
28 ksh_test:
29         @: This is the Korn-shell.
30
31 .endif