1# The test programs here are not built or run by default. You can 2# build a specific test program with "make gss-perf" or similar. 3# "make run-t_rcache" will run the replay cache test program in the 4# proper environment. 5 6mydir=tests$(S)threads 7BUILDTOP=$(REL)..$(S).. 8 9SRCS=$(srcdir)/t_rcache.c \ 10 $(srcdir)/gss-perf.c \ 11 $(srcdir)/init_ctx.c \ 12 $(srcdir)/profread.c \ 13 $(srcdir)/prof1.c 14 15all: 16 17run-t_rcache: t_rcache 18 $(RUN_TEST) ./t_rcache file2:test.rcache2 19 20t_rcache: t_rcache.o $(KRB5_BASE_DEPLIBS) 21 $(CC_LINK) -o t_rcache t_rcache.o $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS) 22 23prof1: prof1.o $(KRB5_BASE_DEPLIBS) 24 $(CC_LINK) -o prof1 prof1.o $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS) 25 26prof1.o: prof1.c 27 28gss-perf: gss-perf.o $(KRB5_BASE_DEPLIBS) $(GSS_DEPLIBS) 29 $(CC_LINK) $(PTHREAD_CFLAGS) -o gss-perf gss-perf.o $(GSS_LIBS) $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS) 30 31init_ctx: init_ctx.o $(KRB5_BASE_DEPLIBS) 32 $(CC_LINK) $(PTHREAD_CFLAGS) -o init_ctx init_ctx.o $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS) 33 34profread: profread.o $(KRB5_BASE_DEPLIBS) 35 $(CC_LINK) $(PTHREAD_CFLAGS) -o profread profread.o $(KRB5_BASE_LIBS) $(THREAD_LINKOPTS) 36 37install: 38 39clean: 40 $(RM) *.o t_rcache syms prof1 gss-perf test.rcache2 41