]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - tools/regression/usr.bin/make/shell/path/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / tools / regression / usr.bin / make / shell / path / Makefile
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