23d9ff5ce9
This removes a lot of do-X: targets and redundant python runtime deps.
27 lines
584 B
Makefile
27 lines
584 B
Makefile
# $NetBSD: options.mk,v 1.2 2019/12/14 17:53:39 nia Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.serd
|
|
PKG_SUPPORTED_OPTIONS= debug doc tests valgrind
|
|
PKG_SUGGESTED_OPTIONS+= # blank
|
|
PLIST_VARS+= doc
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
WAF_ARGS+= --debug
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdoc)
|
|
WAF_ARGS+= --docs
|
|
BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
|
|
PLIST.doc= yes
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mtests)
|
|
WAF_ARGS+= --test
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mvalgrind)
|
|
WAF_ARGS+= --grind
|
|
BUILD_DEPENDS+= valgrind-[0-9]*:../../devel/valgrind
|
|
.endif
|