# $Id: sysv,v 1.1.1.1 2011/03/06 00:04:58 sjg Exp $

FOO ?=
FOOBAR = $(FOO:=bar)

_this := ${.PARSEDIR}/${.PARSEFILE}

# we expect nothing when FOO is empty
all:
	@echo FOOBAR = $(FOOBAR)
.if empty(FOO)
	@FOO="foo fu" ${.MAKE} -f ${_this}
.endif
