summaryrefslogtreecommitdiffstats
path: root/src/tests/threads/Makefile.in
blob: 6b45f001c865f1e9a6fd86f1db06b817973415e5 (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
37
38
39
40
41
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

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)

syms: syms.o
	$(CC_LINK) -o syms syms.o

run-syms: syms
	$(RUN_SETUP) $(VALGRIND) ./syms

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) t_rcache.o t_rcache