aboutsummaryrefslogtreecommitdiff
path: root/src/tests/threads/Makefile.in
blob: d3e30e901d26385929495dfd83e1ba9970cd98e3 (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
thisconfigdir=../..
myfulldir=tests/threads
mydir=tests/threads
BUILDTOP=$(REL)..$(S)..
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

RUN_SETUP = @KRB5_RUN_ENV@

SRCS=$(srcdir)/t_rcache.c \
	$(srcdir)/gss-perf.c \
	$(srcdir)/prof1.c

all::

N = 4
run-t_rcache: t_rcache
	$(RUN_SETUP) $(VALGRIND) ./t_rcache -n $(N)

t_rcache: t_rcache.o $(KRB5_BASE_DEPLIBS)
	$(CC_LINK) -o t_rcache t_rcache.o $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS)

prof1: prof1.o $(KRB5_BASE_DEPLIBS)
	$(CC_LINK) -o prof1 prof1.o $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS)

prof1.o: prof1.c

gss-perf: gss-perf.o
	$(CC_LINK) $(PTHREAD_CFLAGS) -o gss-perf gss-perf.o $(GSS_LIBS) $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS)

check-unix:: run-t_rcache

install::

clean::
	$(RM) *.o t_rcache syms prof1 gss-perf