summaryrefslogtreecommitdiff
path: root/usr.bin/bmake/tests/shell/path/Makefile.test
blob: b5080234d7ceeb02891e44da1c10a6868bc48e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Change the path for builtin shells. There are two methods to do this.
# This is the first of them when the basename of the path is equal to
# one of the builtin shells so that the .SHELL target automatically
# also selectes the shell without specifying the name.
#
# Be sure to include a meta-character into the command line, so that
# really our shell is executed.
#
#

.ifmake sh_test

.SHELL: path=${.OBJDIR}/sh
sh_test:
	@: This is the shell.

.elifmake csh_test

.SHELL: path=${.OBJDIR}/csh
csh_test:
	@: This is the C-shell.

.elifmake ksh_test

.SHELL: path=${.OBJDIR}/ksh
ksh_test:
	@: This is the Korn-shell.

.endif