mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
![Simon J. Gerraty](/assets/img/avatar_default.png)
Features of interest: Allow setting target local variables (similar to gmake) In META_MODE .MAKE.META.CMP_FILTER can be used for filtering commands before comparion. contrib/bmake/mk/cc-wrap.mk is an example of using these See ChangeLog for the gory details.
25 lines
580 B
Makefile
25 lines
580 B
Makefile
# $NetBSD: directive-unexport-env.mk,v 1.8 2022/01/23 16:09:38 rillig Exp $
|
|
#
|
|
# Tests for the .unexport-env directive.
|
|
#
|
|
# Before 2020-12-13, the directive unexport-env wrongly accepted arguments
|
|
# and ignored them.
|
|
#
|
|
# Before 2020-12-13, misspelled directive names like "unexport-environment"
|
|
# were not properly detected.
|
|
|
|
# TODO: Implementation
|
|
|
|
.unexport-en # misspelled
|
|
.unexport-env # ok
|
|
.unexport-environment # misspelled
|
|
|
|
.MAKEFLAGS: -dv
|
|
UT_EXPORTED= value
|
|
UT_UNEXPORTED= value
|
|
.export UT_EXPORTED
|
|
.unexport-env UT_EXPORTED UT_UNEXPORTED
|
|
.MAKEFLAGS: -d0
|
|
|
|
all: .PHONY
|