27 lines
611 B
Makefile
27 lines
611 B
Makefile
# $NetBSD: all.mk,v 1.4 2005/07/26 16:12:56 dillo Exp $
|
|
#
|
|
# This file tests legacy variables and precedence of the various
|
|
# option variables.
|
|
#
|
|
|
|
MAKECONF= /dev/null
|
|
|
|
PKG_OPTIONS_LEGACY_VARS+=USE_F:f-1
|
|
PKG_OPTIONS_LEGACY_VARS+=USE_G:g
|
|
PKG_OPTIONS_LEGACY_VARS+=NO_H:-h
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.foo
|
|
PKG_SUPPORTED_OPTIONS= a b c d e f-1 g h
|
|
PKG_SUGGESTED_OPTIONS= b c e h
|
|
PKG_DEFAULT_OPTIONS= a -b d
|
|
PKG_OPTIONS.foo= -c -d -g
|
|
USE_F=YES
|
|
USE_G=YES
|
|
NO_H=YES
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.PHONY: test
|
|
test:
|
|
echo ${PKG_FAIL_REASON:M*:Q}
|
|
echo ${PKG_OPTIONS:M*:Q}
|