mirror of
https://github.com/opnsense/src.git
synced 2026-02-17 09:39:26 -05:00
Note that these tests are for fmake, not bmake, and thus they are not installed nor run when bmake is selected (the default). Yes, I have wasted a *ton* of time on moving tests for no real reason other than ensuring they are not left behind. But maybe, just maybe, it was not work in vain: the majority of these tests also work with bmake and the few that don't may point at broken stuff. For example, the tests for the "archive" feature do not work with bmake, but bmake's manpage and source tree seem to imply that they should. So... to be investigated later; need to poke sjg@.
31 lines
642 B
Makefile
31 lines
642 B
Makefile
#
|
|
# 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.
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
.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
|