summaryrefslogtreecommitdiff
path: root/regress/pkg-options/files/all.mk
blob: 3b34b5dceac89bb9af16ef57fb0b2fe3a0d70746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $NetBSD: all.mk,v 1.1 2005/05/28 12:16:43 dillo Exp $
#
# This file test a very simple options configuration.
#

MAKECONF=		/dev/null

PKG_OPTIONS_LEGACY_VARS+=USE_F:f
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  g  h
PKG_SUGGESTED_OPTIONS=	   b  c     e        h
PKG_DEFAULT_OPTIONS=	a -b     d
PKG_OPTIONS.foo=	     -c -d     f -g
USE_F=YES
USE_G=YES
NO_H=YES

.include "../../mk/bsd.options.mk"

.PHONY: test
test:
	echo ${PKG_OPTIONS:M*:Q}