Makefile.test revision 276389
150276Speter# 2166124Srafan# Change the path for builtin shells. There are two methods to do this. 350276Speter# This is the first of them when the basename of the path is equal to 450276Speter# one of the builtin shells so that the .SHELL target automatically 550276Speter# also selectes the shell without specifying the name. 650276Speter# 750276Speter# Be sure to include a meta-character into the command line, so that 850276Speter# really our shell is executed. 950276Speter# 1050276Speter# $FreeBSD: stable/10/usr.bin/bmake/tests/shell/path/Makefile.test 263346 2014-03-19 12:29:20Z jmmv $ 1150276Speter# 1250276Speter 1350276Speter.ifmake sh_test 1450276Speter 1550276Speter.SHELL: path=${.OBJDIR}/sh 1650276Spetersh_test: 1750276Speter @: This is the shell. 1850276Speter 1950276Speter.elifmake csh_test 2050276Speter 2150276Speter.SHELL: path=${.OBJDIR}/csh 2250276Spetercsh_test: 2350276Speter @: This is the C-shell. 2450276Speter 2550276Speter.elifmake ksh_test 2650276Speter 2750276Speter.SHELL: path=${.OBJDIR}/ksh 2850276Speterksh_test: 29166124Srafan @: This is the Korn-shell. 3050276Speter 31166124Srafan.endif 32166124Srafan