mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
1b65f0bd2b
o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable checks in InitObjdir. Explicit .OBJDIR target always allows read-only directory. o Fix building and unit-tests on non-BSD. o More code cleanup and refactoring. o More unit tests
16 lines
390 B
Makefile
16 lines
390 B
Makefile
# $NetBSD: directive-export-literal.mk,v 1.6 2020/11/03 17:17:31 rillig Exp $
|
|
#
|
|
# Tests for the .export-literal directive, which exports a variable value
|
|
# without expanding it.
|
|
|
|
UT_VAR= value with ${UNEXPANDED} expression
|
|
|
|
.export-literal UT_VAR
|
|
|
|
.export-litera # oops: misspelled
|
|
.export-literal # oops: missing argument
|
|
.export-literally # oops: misspelled
|
|
|
|
all:
|
|
@echo "$$UT_VAR"
|