summaryrefslogtreecommitdiff
path: root/regress/buildlink-transform/tests/rpath-split.mk
blob: bfef7736019f5054d03d287ae017b03adf4633b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: rpath-split.mk,v 1.1 2005/06/08 05:49:21 jlam Exp $

.PHONY: rpath-split
do-regress: rpath-split
rpath-split:
	@test="${COMPILER_RPATH_FLAG}${LOCALBASE}/lib:${LOCALBASE}/lib/foo"; \
	case "${_USE_RPATH}" in						\
	[yY][eE][sS])							\
		expected="${COMPILER_RPATH_FLAG}${LOCALBASE}/lib ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/foo"; \
		;;							\
	*)								\
		expected="";						\
		;;							\
	esac;								\
	${TEST_RESULT}