summaryrefslogtreecommitdiff
path: root/testsuite/Makefile.am
blob: 7908608280fa44ccb0dfcfe9dedd1e08d0c98817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CHRPATH = ../chrpath

# This test fail on some archs.  Not sure how to write it in a portable
# way. [pere 2004-09-18]
RPATH = $(LDRPATH)/usr/local/lib

noinst_PROGRAMS = prog

prog_SOURCES = \
	prog.c

EXTRA_DIST = runtest.sh

prog: prog.c
	$(CC) $(RPATH) -o $@ $<

check: $(CHRPATH)
	$(srcdir)/runtest.sh