Imported Upstream version 1.20.1
[platform/upstream/krb5.git] / src / tests / gssapi / Makefile.in
index a7b8da4..33047c3 100644 (file)
@@ -9,8 +9,9 @@ LOCALINCLUDES = -I$(srcdir)/../../lib/gssapi/mechglue \
        -I../../lib/gssapi/generic
 
 SRCS=  $(srcdir)/ccinit.c $(srcdir)/ccrefresh.c $(srcdir)/common.c \
-       $(srcdir)/t_accname.c $(srcdir)/t_add_cred.c $(srcdir)/t_ccselect.c \
-       $(srcdir)/t_ciflags.c $(srcdir)/t_credstore.c $(srcdir)/t_enctypes.c \
+       $(srcdir)/reload.c $(srcdir)/t_accname.c $(srcdir)/t_add_cred.c \
+       $(srcdir)/t_bindings.c $(srcdir)/t_ccselect.c $(srcdir)/t_ciflags.c \
+       $(srcdir)/t_context.c $(srcdir)/t_credstore.c $(srcdir)/t_enctypes.c \
        $(srcdir)/t_err.c $(srcdir)/t_export_cred.c $(srcdir)/t_export_name.c \
        $(srcdir)/t_gssexts.c $(srcdir)/t_imp_cred.c $(srcdir)/t_imp_name.c \
        $(srcdir)/t_invalid.c $(srcdir)/t_inq_cred.c $(srcdir)/t_inq_ctx.c \
@@ -18,54 +19,67 @@ SRCS=       $(srcdir)/ccinit.c $(srcdir)/ccrefresh.c $(srcdir)/common.c \
        $(srcdir)/t_lifetime.c $(srcdir)/t_namingexts.c $(srcdir)/t_oid.c \
        $(srcdir)/t_pcontok.c $(srcdir)/t_prf.c $(srcdir)/t_s4u.c \
        $(srcdir)/t_s4u2proxy_krb5.c $(srcdir)/t_saslname.c \
-       $(srcdir)/t_spnego.c $(srcdir)/t_srcattrs.c
+       $(srcdir)/t_spnego.c $(srcdir)/t_srcattrs.c $(srcdir)/t_store_cred.c
 
-OBJS=  ccinit.o ccrefresh.o common.o t_accname.o t_add_cred.o t_ccselect.o \
-       t_ciflags.o t_credstore.o t_enctypes.o t_err.o t_export_cred.o \
-       t_export_name.o t_gssexts.o t_imp_cred.o t_imp_name.o t_invalid.o \
-       t_inq_cred.o t_inq_ctx.o t_inq_mechs_name.o t_iov.o t_lifetime.o \
-       t_namingexts.o t_oid.o t_pcontok.o t_prf.o t_s4u.o t_s4u2proxy_krb5.o \
-       t_saslname.o t_spnego.o t_srcattrs.o
+OBJS=  ccinit.o ccrefresh.o common.o reload.o t_accname.o t_add_cred.o \
+       t_bindings.o t_ccselect.o t_ciflags.o t_context.o t_credstore.o \
+       t_enctypes.o t_err.o t_export_cred.o t_export_name.o t_gssexts.o \
+       t_imp_cred.o t_imp_name.o t_invalid.o t_inq_cred.o t_inq_ctx.o \
+       t_inq_mechs_name.o t_iov.o t_lifetime.o t_namingexts.o t_oid.o \
+       t_pcontok.o t_prf.o t_s4u.o t_s4u2proxy_krb5.o t_saslname.o \
+       t_spnego.o t_srcattrs.o t_store_cred.o
 
 COMMON_DEPS= common.o $(GSS_DEPLIBS) $(KRB5_BASE_DEPLIBS)
 COMMON_LIBS= common.o $(GSS_LIBS) $(KRB5_BASE_LIBS)
 
-all: ccinit ccrefresh t_accname t_add_cred t_ccselect t_ciflags t_credstore \
-       t_enctypes t_err t_export_cred t_export_name t_gssexts t_imp_cred \
-       t_imp_name t_invalid t_inq_cred t_inq_ctx t_inq_mechs_name t_iov \
-       t_lifetime t_namingexts t_oid t_pcontok t_prf t_s4u t_s4u2proxy_krb5 \
-       t_saslname t_spnego t_srcattrs
+all: ccinit ccrefresh t_accname t_add_cred t_bindings t_ccselect t_ciflags \
+       t_context t_credstore t_enctypes t_err t_export_cred t_export_name \
+       t_gssexts t_imp_cred t_imp_name t_invalid t_inq_cred t_inq_ctx \
+       t_inq_mechs_name t_iov t_lifetime t_namingexts t_oid t_pcontok t_prf \
+       t_s4u t_s4u2proxy_krb5 t_saslname t_spnego t_srcattrs t_store_cred
 
-check-unix: t_oid
+check-unix: t_oid reload
        $(RUN_TEST) ./t_invalid
        $(RUN_TEST) ./t_oid
        $(RUN_TEST) ./t_prf
        $(RUN_TEST) ./t_imp_name
+       if [ -r $(TOPLIBD)/libgssapi_krb5.so ]; then $(RUN_TEST) ./reload; fi
 
-check-pytests: ccinit ccrefresh t_accname t_add_cred t_ccselect t_ciflags \
-       t_credstore t_enctypes t_err t_export_cred t_export_name t_imp_cred \
-       t_inq_cred t_inq_ctx t_inq_mechs_name t_iov t_lifetime t_pcontok \
-       t_s4u t_s4u2proxy_krb5 t_spnego t_srcattrs
+check-pytests: ccinit ccrefresh t_accname t_add_cred t_bindings t_ccselect \
+       t_ciflags t_context t_credstore t_enctypes t_err t_export_cred \
+       t_export_name t_imp_cred t_inq_cred t_inq_ctx t_inq_mechs_name t_iov \
+       t_lifetime t_pcontok t_s4u t_s4u2proxy_krb5 t_spnego t_srcattrs \
+       t_store_cred
        $(RUNPYTEST) $(srcdir)/t_gssapi.py $(PYTESTFLAGS)
+       $(RUNPYTEST) $(srcdir)/t_store_cred.py $(PYTESTFLAGS)
+       $(RUNPYTEST) $(srcdir)/t_credstore.py $(PYTESTFLAGS)
+       $(RUNPYTEST) $(srcdir)/t_bindings.py $(PYTESTFLAGS)
        $(RUNPYTEST) $(srcdir)/t_ccselect.py $(PYTESTFLAGS)
        $(RUNPYTEST) $(srcdir)/t_client_keytab.py $(PYTESTFLAGS)
        $(RUNPYTEST) $(srcdir)/t_enctypes.py $(PYTESTFLAGS)
        $(RUNPYTEST) $(srcdir)/t_export_cred.py $(PYTESTFLAGS)
        $(RUNPYTEST) $(srcdir)/t_s4u.py $(PYTESTFLAGS)
        $(RUNPYTEST) $(srcdir)/t_authind.py $(PYTESTFLAGS)
+       $(RUNPYTEST) $(srcdir)/t_negoex.py $(PYTESTFLAGS)
 
 ccinit: ccinit.o $(KRB5_BASE_DEPLIBS)
        $(CC_LINK) -o ccinit ccinit.o $(KRB5_BASE_LIBS)
 ccrefresh: ccrefresh.o $(KRB5_BASE_DEPLIBS)
        $(CC_LINK) -o ccrefresh ccrefresh.o $(KRB5_BASE_LIBS)
+reload: reload.o
+       $(CC_LINK) -o $@ reload.o $(LIBS) $(DL_LIB)
 t_accname: t_accname.o $(COMMON_DEPS)
        $(CC_LINK) -o $@ t_accname.o $(COMMON_LIBS)
 t_add_cred: t_add_cred.o $(COMMON_DEPS)
        $(CC_LINK) -o $@ t_add_cred.o $(COMMON_LIBS)
+t_bindings: t_bindings.o $(COMMON_DEPS)
+       $(CC_LINK) -o $@ t_bindings.o $(COMMON_LIBS)
 t_ccselect: t_ccselect.o $(COMMON_DEPS)
        $(CC_LINK) -o $@ t_ccselect.o $(COMMON_LIBS)
 t_ciflags: t_ciflags.o $(COMMON_DEPS)
        $(CC_LINK) -o $@ t_ciflags.o $(COMMON_LIBS)
+t_context: t_context.o $(COMMON_DEPS)
+       $(CC_LINK) -o $@ t_context.o $(COMMON_LIBS)
 t_credstore: t_credstore.o $(COMMON_DEPS)
        $(CC_LINK) -o $@ t_credstore.o $(COMMON_LIBS)
 t_enctypes: t_enctypes.o $(COMMON_DEPS)
@@ -112,10 +126,13 @@ t_spnego: t_spnego.o $(COMMON_DEPS)
        $(CC_LINK) -o $@ t_spnego.o $(COMMON_LIBS)
 t_srcattrs: t_srcattrs.o $(COMMON_DEPS)
        $(CC_LINK) -o $@ t_srcattrs.o $(COMMON_LIBS)
+t_store_cred: t_store_cred.o $(COMMON_DEPS)
+       $(CC_LINK) -o $@ t_store_cred.o $(COMMON_LIBS)
 
 clean:
-       $(RM) ccinit ccrefresh t_accname t_add_cred t_ccselect t_ciflags
-       $(RM) t_credstore t_enctypes t_err t_export_cred t_export_name
-       $(RM) t_gssexts t_imp_cred t_imp_name t_invalid t_inq_cred t_inq_ctx
-       $(RM) t_inq_mechs_name t_iov t_lifetime t_namingexts t_oid t_pcontok
-       $(RM) t_prf t_s4u t_s4u2proxy_krb5 t_saslname t_spnego t_srcattrs
+       $(RM) ccinit ccrefresh reload t_accname t_add_cred t_bindings
+       $(RM) t_ccselect t_ciflags t_context t_credstore t_enctypes t_err
+       $(RM) t_export_cred t_export_name t_gssexts t_imp_cred t_imp_name
+       $(RM) t_invalid t_inq_cred t_inq_ctx t_inq_mechs_name t_iov t_lifetime
+       $(RM) t_namingexts t_oid t_pcontok t_prf t_s4u t_s4u2proxy_krb5
+       $(RM) t_saslname t_spnego t_srcattrs t_store_cred