summaryrefslogtreecommitdiff
path: root/include/Makefile
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-01-27 13:30:40 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-01-27 13:30:40 +0000
commitcc74f1095441ae0505d8bf6f483961411c6b4739 (patch)
tree6e828d968162021c384428baf4eede98e10de35d /include/Makefile
parent7359c1f89aa543e0a5355295858247269a62578a (diff)
install libcxxabi and libcxx headers when COMPILER_VERSION is clang
ok patrick@
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile
index 4a23488b3bd..a2e53761e5e 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.216 2016/11/12 03:04:27 jca Exp $
+# $OpenBSD: Makefile,v 1.217 2017/01/27 13:30:39 jsg Exp $
# $NetBSD: Makefile,v 1.59 1996/05/15 21:36:43 jtc Exp $
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
@@ -45,9 +45,11 @@ RDIRS= ../lib/libcurses ../lib/libedit \
.if ${COMPILER_VERSION:L} == "gcc3"
RDIRS+= ../gnu/usr.bin/gcc ../gnu/lib/libobjc
PRDIRS+= ../gnu/lib/libstdc++
-.else
+.elif ${COMPILER_VERSION:L} == "gcc4"
RDIRS+= ../gnu/usr.bin/cc/libobjc
PRDIRS+= ../gnu/lib/libstdc++-v3 ../gnu/usr.bin/cc/include
+.elif ${COMPILER_VERSION:L} == "clang"
+RDIRS+= ../lib/libcxxabi ../lib/libcxx
.endif
# prereq implies includes