summaryrefslogtreecommitdiff
path: root/regress/buildlink-unwrap/tests/unwrap-config.mk
blob: 5b7a0aee12f653e8068dfef2a24609f0b3ced51a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: unwrap-config.mk,v 1.1.1.1 2004/08/28 06:17:21 jlam Exp $

.PHONY: unwrap-config-cflags
do-regress: unwrap-config-cflags
unwrap-config-cflags:
	@test="unwrap-config --cflags";					\
	expected="-I${PREFIX}/include";					\
	${TEST_RESULT}

.PHONY: unwrap-config-ldflags
do-regress: unwrap-config-ldflags
unwrap-config-ldflags:
	@test="unwrap-config --ldflags";				\
	expected="-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib";	\
	${TEST_RESULT}

.PHONY: unwrap-config-libs
do-regress: unwrap-config-libs
unwrap-config-libs:
	@test="unwrap-config --libs";					\
	expected="-ledit -ltermcap -lm";				\
	${TEST_RESULT}