summaryrefslogtreecommitdiff
path: root/lang/gnat-aux/options.mk
blob: 21ba704286bd9d521bfaee6425c099b936e34039 (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
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: options.mk,v 1.1 2011/05/10 13:46:22 drochner Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.gnat-aux
PKG_SUPPORTED_OPTIONS=	ada cxx testada testcxx testgcc
PKG_SUGGESTED_OPTIONS=	ada #cxx

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


#########################
##  ADD LANGUAGE: Ada  ##
#########################

.if !empty(PKG_OPTIONS:Mada)
LANGS+= ada
.endif


#########################
##  ADD LANGUAGE: C++  ##
#########################

.if !empty(PKG_OPTIONS:Mcxx)
LANGS+= c++
.endif


#########################
##  TESTSUITE SUPPORT  ##
#########################

.if !empty(PKG_OPTIONS:Mtestada) \
 || !empty(PKG_OPTIONS:Mtestcxx) \
 || !empty(PKG_OPTIONS:Mtestgcc)
BUILD_DEPENDS+= dejagnu>=1.4:../../devel/dejagnu
.endif