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)
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
28 lines
423 B
Makefile
28 lines
423 B
Makefile
# $NetBSD: directive-endif.mk,v 1.3 2020/11/12 22:40:11 rillig Exp $
|
|
#
|
|
# Tests for the .endif directive.
|
|
#
|
|
# See also:
|
|
# Cond_EvalLine
|
|
|
|
# TODO: Implementation
|
|
|
|
.MAKEFLAGS: -dL
|
|
|
|
# Error: .endif does not take arguments
|
|
# XXX: Missing error message
|
|
.if 0
|
|
.endif 0
|
|
|
|
# Error: .endif does not take arguments
|
|
# XXX: Missing error message
|
|
.if 1
|
|
.endif 1
|
|
|
|
# Comments are allowed after an '.endif'.
|
|
.if 2
|
|
.endif # comment
|
|
|
|
all:
|
|
@:;
|