diff options
-rw-r--r-- | src/ccapi/Makefile.in | 10 | ||||
-rw-r--r-- | src/ccapi/common/Makefile.in | 67 | ||||
-rw-r--r-- | src/ccapi/common/unix/Makefile.in | 15 | ||||
-rw-r--r-- | src/ccapi/lib/Makefile.in | 65 | ||||
-rw-r--r-- | src/ccapi/lib/unix/Makefile.in | 11 | ||||
-rw-r--r-- | src/ccapi/server/Makefile.in | 62 | ||||
-rw-r--r-- | src/ccapi/server/unix/Makefile.in | 15 | ||||
-rw-r--r-- | src/ccapi/test/Makefile.in | 58 |
8 files changed, 303 insertions, 0 deletions
diff --git a/src/ccapi/Makefile.in b/src/ccapi/Makefile.in new file mode 100644 index 0000000..ae42329 --- /dev/null +++ b/src/ccapi/Makefile.in @@ -0,0 +1,10 @@ +thisconfigdir=.. +myfulldir=ccapi +mydir=ccapi +BUILDTOP=$(REL).. + +LOCAL_SUBDIRS= common lib server + +all-unix:: + +# +++ Dependency line eater +++ diff --git a/src/ccapi/common/Makefile.in b/src/ccapi/common/Makefile.in new file mode 100644 index 0000000..1872615 --- /dev/null +++ b/src/ccapi/common/Makefile.in @@ -0,0 +1,67 @@ +thisconfigdir=../.. +myfulldir=ccapi/common +mydir=ccapi/common +BUILDTOP=$(REL)..$(S).. +LOCAL_SUBDIRS=unix + +SRCS= \ + cci_array_internal.c \ + cci_cred_union.c \ + cci_debugging.c \ + cci_identifier.c \ + cci_message.c \ + cci_stream.c + +STLIBOBJS= \ + cci_array_internal.o \ + cci_cred_union.o \ + cci_debugging.o \ + cci_identifier.o \ + cci_message.o \ + cci_stream.o + +OBJS= \ + $(OUTPRE)cci_array_internal.$(OBJEXT) \ + $(OUTPRE)cci_cred_union.$(OBJEXT) \ + $(OUTPRE)cci_debugging.$(OBJEXT) \ + $(OUTPRE)cci_identifier.$(OBJEXT) \ + $(OUTPRE)cci_message.$(OBJEXT) \ + $(OUTPRE)cci_stream.$(OBJEXT) + +all-unix:: all-libobjs +clean-unix:: clean-libobjs + +@libobj_frag@ + +# +++ Dependency line eater +++ +# +# Makefile dependencies follow. This must be the last section in +# the Makefile.in file +# +cci_array_internal.so cci_array_internal.po $(OUTPRE)cci_array_internal.$(OBJEXT): \ + $(COM_ERR_DEPS) $(SRCTOP)/include/CredentialsCache.h \ + cci_array_internal.c cci_array_internal.h cci_common.h \ + cci_cred_union.h cci_debugging.h cci_identifier.h cci_message.h \ + cci_stream.h cci_types.h +cci_cred_union.so cci_cred_union.po $(OUTPRE)cci_cred_union.$(OBJEXT): \ + $(COM_ERR_DEPS) $(SRCTOP)/include/CredentialsCache.h \ + cci_common.h cci_cred_union.c cci_cred_union.h cci_debugging.h \ + cci_identifier.h cci_message.h cci_stream.h cci_types.h +cci_debugging.so cci_debugging.po $(OUTPRE)cci_debugging.$(OBJEXT): \ + $(COM_ERR_DEPS) $(SRCTOP)/include/CredentialsCache.h \ + cci_common.h cci_cred_union.h cci_debugging.c cci_debugging.h \ + cci_identifier.h cci_message.h cci_os_debugging.h cci_stream.h \ + cci_types.h +cci_identifier.so cci_identifier.po $(OUTPRE)cci_identifier.$(OBJEXT): \ + $(COM_ERR_DEPS) $(SRCTOP)/include/CredentialsCache.h \ + cci_common.h cci_cred_union.h cci_debugging.h cci_identifier.c \ + cci_identifier.h cci_message.h cci_os_identifier.h \ + cci_stream.h cci_types.h +cci_message.so cci_message.po $(OUTPRE)cci_message.$(OBJEXT): \ + $(COM_ERR_DEPS) $(SRCTOP)/include/CredentialsCache.h \ + cci_common.h cci_cred_union.h cci_debugging.h cci_identifier.h \ + cci_message.c cci_message.h cci_stream.h cci_types.h +cci_stream.so cci_stream.po $(OUTPRE)cci_stream.$(OBJEXT): \ + $(COM_ERR_DEPS) $(SRCTOP)/include/CredentialsCache.h \ + cci_common.h cci_cred_union.h cci_debugging.h cci_identifier.h \ + cci_message.h cci_stream.c cci_stream.h cci_types.h diff --git a/src/ccapi/common/unix/Makefile.in b/src/ccapi/common/unix/Makefile.in new file mode 100644 index 0000000..1c2aceb --- /dev/null +++ b/src/ccapi/common/unix/Makefile.in @@ -0,0 +1,15 @@ +thisconfigdir=../../.. +myfulldir=ccapi/common/unix +mydir=ccapi/common/unix +BUILDTOP=$(REL)..$(S)..$(S).. + +STLIBOBJS= +OBJS= +SRCS= + +all-unix:: all-libobjs +clean-unix:: clean-libobjs + +@libobj_frag@ + +# +++ Dependency line eater +++ diff --git a/src/ccapi/lib/Makefile.in b/src/ccapi/lib/Makefile.in new file mode 100644 index 0000000..cdbf743 --- /dev/null +++ b/src/ccapi/lib/Makefile.in @@ -0,0 +1,65 @@ +thisconfigdir=../.. +myfulldir=ccapi/lib +mydir=ccapi/lib +BUILDTOP=$(REL)..$(S).. +LOCAL_SUBDIRS=unix +LOCALINCLUDES=-I$(srcdir)/../common + +SHLIB_EXPDEPS= $(COM_ERR_DEPLIB) +SHLIB_EXPLIBS=-lcom_err + +LIBBASE=krb5-ccapi +LIBMAJOR=1 +LIBMINOR=0 + +STOBJLISTS= \ + OBJS.ST \ + unix/OBJS.ST \ + ../common/OBJS.ST \ + ../common/unix/OBJS.ST + +STLIBOBJS= \ + ccapi_ccache.o \ + ccapi_ccache_iterator.o \ + ccapi_context.o \ + ccapi_context_change_time.o \ + ccapi_credentials.o \ + ccapi_credentials_iterator.o \ + ccapi_err.o \ + ccapi_ipc.o \ + ccapi_string.o \ + ccapi_v2.o + +OBJS= \ + $(OUTPRE)ccapi_ccache.$(OUTPRE) \ + $(OUTPRE)ccapi_ccache_iterator.$(OUTPRE) \ + $(OUTPRE)ccapi_context.$(OUTPRE) \ + $(OUTPRE)ccapi_context_change_time.$(OUTPRE) \ + $(OUTPRE)ccapi_credentials.$(OUTPRE) \ + $(OUTPRE)ccapi_credentials_iterator.$(OUTPRE) \ + $(OUTPRE)ccapi_err.$(OUTPRE) \ + $(OUTPRE)ccapi_ipc.$(OUTPRE) \ + $(OUTPRE)ccapi_string.$(OUTPRE) \ + $(OUTPRE)ccapi_v2.$(OUTPRE) + +SRCS= \ + ccapi_ccache.c \ + ccapi_ccache_iterator.c \ + ccapi_context.c \ + ccapi_context_change_time.c \ + ccapi_credentials.c \ + ccapi_credentials_iterator.c \ + ccapi_err.c \ + ccapi_ipc.c \ + ccapi_string.c \ + ccapi_v2.c + +ccapi_err.c ccapi_err.h : ccapi_err.et + +all-unix:: all-libobjs all-liblinks +clean-unix:: clean-libobjs clean-liblinks clean-libs + +@lib_frag@ +@libobj_frag@ + +# +++ Dependency line eater +++ diff --git a/src/ccapi/lib/unix/Makefile.in b/src/ccapi/lib/unix/Makefile.in new file mode 100644 index 0000000..2651fad --- /dev/null +++ b/src/ccapi/lib/unix/Makefile.in @@ -0,0 +1,11 @@ +thisconfigdir=../../.. +myfulldir=ccapi/lib/unix +mydir=ccapi/lib/unix +BUILDTOP=$(REL)..$(S)..$(S).. + +all-unix:: all-libobjs +clean-unix:: clean-libobjs + +@libobj_frag@ + +# +++ Dependency line eater +++ diff --git a/src/ccapi/server/Makefile.in b/src/ccapi/server/Makefile.in new file mode 100644 index 0000000..149954b --- /dev/null +++ b/src/ccapi/server/Makefile.in @@ -0,0 +1,62 @@ +thisconfigdir=../.. +myfulldir=ccapi/server +mydir=ccapi/server +BUILDTOP=$(REL)..$(S).. +LOCAL_SUBDIRS=unix + +LOCALINCLUDES= -I$(srcdir)/../common + +STLIBOBJS= \ + ccs_array.o \ + ccs_cache_collection.o \ + ccs_callback.o \ + ccs_ccache.o \ + ccs_ccache_iterator.o \ + ccs_client.o \ + ccs_credentials.o \ + ccs_credentials_iterator.o \ + ccs_list.o \ + ccs_list_internal.o \ + ccs_lock.o \ + ccs_lock_state.o \ + ccs_pipe.o \ + ccs_server.o + +OBJS= \ + $(OUTPRE)ccs_array.$(OBJEXT) \ + $(OUTPRE)ccs_cache_collection.$(OBJEXT) \ + $(OUTPRE)ccs_callback.$(OBJEXT) \ + $(OUTPRE)ccs_ccache.$(OBJEXT) \ + $(OUTPRE)ccs_ccache_iterator.$(OBJEXT) \ + $(OUTPRE)ccs_client.$(OBJEXT) \ + $(OUTPRE)ccs_credentials.$(OBJEXT) \ + $(OUTPRE)ccs_credentials_iterator.$(OBJEXT) \ + $(OUTPRE)ccs_list.$(OBJEXT) \ + $(OUTPRE)ccs_list_internal.$(OBJEXT) \ + $(OUTPRE)ccs_lock.$(OBJEXT) \ + $(OUTPRE)ccs_lock_state.$(OBJEXT) \ + $(OUTPRE)ccs_pipe.$(OBJEXT) \ + $(OUTPRE)ccs_server.$(OBJEXT) + +SRCS= \ + ccs_array.c \ + ccs_cache_collection.c \ + ccs_callback.c \ + ccs_ccache.c \ + ccs_ccache_iterator.c \ + ccs_client.c \ + ccs_credentials.c \ + ccs_credentials_iterator.c \ + ccs_list.c \ + ccs_list_internal.c \ + ccs_lock.c \ + ccs_lock_state.c \ + ccs_pipe.c \ + ccs_server.c + +all-unix:: all-libobjs +clean-unix:: clean-libobjs + +@libobj_frag@ + +# +++ Dependency line eater +++ diff --git a/src/ccapi/server/unix/Makefile.in b/src/ccapi/server/unix/Makefile.in new file mode 100644 index 0000000..09b199c --- /dev/null +++ b/src/ccapi/server/unix/Makefile.in @@ -0,0 +1,15 @@ +thisconfigdir=../../.. +myfulldir=ccapi/server/unix +mydir=ccapi/server/unix +BUILDTOP=$(REL)..$(S)..$(S).. + +STLIBOBJS= +OBJS= +SRCS= + +all-unix:: all-libobjs +clean-unix:: clean-libobjs + +@libobj_frag@ + +# +++ Dependency line eater +++ diff --git a/src/ccapi/test/Makefile.in b/src/ccapi/test/Makefile.in new file mode 100644 index 0000000..f0c10cb --- /dev/null +++ b/src/ccapi/test/Makefile.in @@ -0,0 +1,58 @@ +thisconfigdir=../.. +myfulldir=ccapi/test +mydir=ccapi/test + +# run with "make all" to create CCAPI tests in "/tmp/ccapi_test" +# run resulting tests with "sh test_ccapi.sh" + +LIBS = -lkrb5 + +SRCDIR = src +DSTROOT = /tmp +OBJDIR = $(DSTROOT)/ccapi_intermediates +DSTDIR = $(DSTROOT)/ccapi_test +TESTDIR = $(DSTDIR)/tests + +SCRIPT_NAME = test_ccapi.sh + +OBJECTS = test_ccapi_ccache.o test_ccapi_check.o test_ccapi_constants.o test_ccapi_context.o test_ccapi_globals.o test_ccapi_iterators.o test_ccapi_log.o test_ccapi_util.o +_OBJECTS = $(OBJECTS:.o=) + +TEST_OBJECTS = test_constants.o test_cc_initialize.o test_cc_context_get_version.o test_cc_context_release.o test_cc_context_get_change_time.o test_cc_context_get_default_ccache_name.o test_cc_context_open_ccache.o test_cc_context_open_default_ccache.o test_cc_context_create_ccache.o test_cc_context_create_default_ccache.o test_cc_context_create_new_ccache.o test_cc_context_new_ccache_iterator.o test_cc_context_compare.o test_cc_ccache_release.o test_cc_ccache_destroy.o test_cc_ccache_set_default.o test_cc_ccache_get_credentials_version.o test_cc_ccache_get_name.o test_cc_ccache_get_principal.o test_cc_ccache_set_principal.o test_cc_ccache_store_credentials.o test_cc_ccache_remove_credentials.o test_cc_ccache_new_credentials_iterator.o test_cc_ccache_get_change_time.o test_cc_ccache_get_last_default_time.o test_cc_ccache_move.o test_cc_ccache_compare.o test_cc_ccache_get_kdc_time_offset.o test_cc_ccache_set_kdc_time_offset.o test_cc_ccache_clear_kdc_time_offset.o test_cc_ccache_iterator_next.o test_cc_credentials_iterator_next.o +TEST_NAMES = $(TEST_OBJECTS:.o=) + +all: setup-test-dir simple_lock_test build-base build-tests link-tests copy-script success-message + +# compile base files used by all tests +build-base: $(OBJECTS) + +# compile each test +build-tests: $(TEST_OBJECTS) + +# Make a build directory +setup-test-dir: + @echo "Removing old destination directory... $(DSTDIR)" + if [ -d "$(DSTDIR)" ]; then chmod -R u+w "$(DSTDIR)" && rm -rf "$(DSTDIR)"; fi + mkdir -p "$(TESTDIR)" + if [ -d "$(OBJDIR)" ]; then chmod -R u+w "$(OBJDIR)" && rm -rf "$(OBJDIR)"; fi + mkdir -p "$(OBJDIR)" + +link-tests: $(TEST_NAMES) + +$(TEST_NAMES): $(TEST_OBJECTS) + $(CC) -o $(TESTDIR)/$@ $(OBJDIR)/$@.o $(OBJECTS) $(LIBS) + +simple_lock_test: + $(CC) -o $(TESTDIR)/simple_lock_test simple_lock_test.c $(LIBS) + +copy-script: + cp $(SCRIPT_NAME) $(DSTDIR)/$(SCRIPT_NAME) + +success-message: + @echo + @echo "CCAPI tests created in $(DSTDIR)" + +.PHONY: clean + +clean: + -rm -rf "$(OBJDIR)" |