1mydir=lib$(S)krb5$(S)rcache 2BUILDTOP=$(REL)..$(S)..$(S).. 3 4##DOS##BUILDTOP = ..\..\.. 5##DOS##PREFIXDIR=rcache 6##DOS##OBJFILE=..\$(OUTPRE)$(PREFIXDIR).lst 7 8STLIBOBJS = \ 9 memrcache.o \ 10 rc_base.o \ 11 rc_dfl.o \ 12 rc_file2.o \ 13 rc_none.o 14 15OBJS= \ 16 $(OUTPRE)memrcache.$(OBJEXT) \ 17 $(OUTPRE)rc_base.$(OBJEXT) \ 18 $(OUTPRE)rc_dfl.$(OBJEXT) \ 19 $(OUTPRE)rc_file2.$(OBJEXT) \ 20 $(OUTPRE)rc_none.$(OBJEXT) 21 22SRCS= \ 23 $(srcdir)/memrcache.c \ 24 $(srcdir)/rc_base.c \ 25 $(srcdir)/rc_dfl.c \ 26 $(srcdir)/rc_file2.c \ 27 $(srcdir)/rc_none.c 28 29EXTRADEPSRCS= \ 30 $(srcdir)/t_memrcache.c \ 31 $(srcdir)/t_rcfile2.c 32 33##DOS##LIBOBJS = $(OBJS) 34 35all-unix: all-libobjs 36clean-unix:: clean-libobjs 37 38t_memrcache: t_memrcache.o $(KRB5_BASE_DEPLIBS) 39 $(CC_LINK) -o $@ t_memrcache.o $(KRB5_BASE_LIBS) 40 41t_rcfile2: t_rcfile2.o $(KRB5_BASE_DEPLIBS) 42 $(CC_LINK) -o $@ t_rcfile2.o $(KRB5_BASE_LIBS) 43 44check-unix: t_memrcache t_rcfile2 45 $(RUN_TEST) ./t_memrcache 46 $(RUN_TEST) ./t_rcfile2 testrcache expiry 10000 47 $(RUN_TEST) ./t_rcfile2 testrcache concurrent 10 1000 48 $(RUN_TEST) ./t_rcfile2 testrcache race 10 100 49 50clean-unix:: 51 $(RM) t_memrcache.o t_memrcache t_rcfile2.o t_rcfile2 testrcache 52 53@libobj_frag@ 54 55