summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-04-12 11:23:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:50:02 -0500
commitcc275f011ea8ca17d270de6946eb54015a4f7055 (patch)
treed74eab631bee11802877b78486fc0717f5dadd73 /source4/heimdal_build
parent52cf4bd0e1d61b0b23baade8041f1ca7f2e1203f (diff)
downloadsamba-cc275f011ea8ca17d270de6946eb54015a4f7055.tar.gz
samba-cc275f011ea8ca17d270de6946eb54015a4f7055.tar.bz2
samba-cc275f011ea8ca17d270de6946eb54015a4f7055.zip
r22191: Add a samba4kinit binary to the build, so I can test using an existing
ccache, as well as PKINIT. Andrew Bartlett (This used to be commit 440b8d9e4b09d5e8c943504ade85c17f752fe705)
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/config.mk18
-rw-r--r--source4/heimdal_build/kafs.h19
2 files changed, 35 insertions, 2 deletions
diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk
index 9764da6bd6..8e59009d70 100644
--- a/source4/heimdal_build/config.mk
+++ b/source4/heimdal_build/config.mk
@@ -163,7 +163,7 @@ OBJ_FILES = \
../heimdal/lib/gssapi/krb5/accept_sec_context.o \
../heimdal/lib/gssapi/krb5/set_sec_context_option.o \
../heimdal/lib/gssapi/krb5/process_context_token.o
-PRIVATE_DEPENDENCIES = HEIMDAL_KRB5 HEIMDAL_ROKEN HEIMDAL_DES HEIMDAL_ASN1 HEIMDAL_GLUE HEIMDAL_SPNEGO_ASN1
+PRIVATE_DEPENDENCIES = HEIMDAL_KRB5 HEIMDAL_ROKEN HEIMDAL_DES HEIMDAL_ASN1 HEIMDAL_SPNEGO_ASN1
# End SUBSYSTEM HEIMDAL_GSSAPI
#######################
@@ -171,7 +171,7 @@ PRIVATE_DEPENDENCIES = HEIMDAL_KRB5 HEIMDAL_ROKEN HEIMDAL_DES HEIMDAL_ASN1 HEIMD
# Start SUBSYSTEM HEIMDAL_KRB5
[SUBSYSTEM::HEIMDAL_KRB5]
CFLAGS = -Iheimdal_build -Iheimdal/lib/krb5
-PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_DES HEIMDAL_HX509 HEIMDAL_PKINIT_ASN1
+PRIVATE_DEPENDENCIES = HEIMDAL_ROKEN HEIMDAL_DES HEIMDAL_HX509 HEIMDAL_PKINIT_ASN1 HEIMDAL_GLUE
PUBLIC_DEPENDENCIES = HEIMDAL_KRB5_ASN1
OBJ_FILES = \
../heimdal/lib/krb5/acache.o \
@@ -189,6 +189,7 @@ OBJ_FILES = \
../heimdal/lib/krb5/config_file_netinfo.o \
../heimdal/lib/krb5/constants.o \
../heimdal/lib/krb5/context.o \
+ ../heimdal/lib/krb5/convert_creds.o \
../heimdal/lib/krb5/copy_host_realm.o \
../heimdal/lib/krb5/crc.o \
../heimdal/lib/krb5/creds.o \
@@ -236,6 +237,7 @@ OBJ_FILES = \
../heimdal/lib/krb5/plugin.o \
../heimdal/lib/krb5/principal.o \
../heimdal/lib/krb5/pac.o \
+ ../heimdal/lib/krb5/prompter_posix.o \
../heimdal/lib/krb5/rd_cred.o \
../heimdal/lib/krb5/rd_error.o \
../heimdal/lib/krb5/rd_priv.o \
@@ -579,5 +581,17 @@ PUBLIC_DEPENDENCIES = HEIMDAL
# End SUBSYSTEM KERBEROS_LIB
#######################
+#######################
+# Start BINARY compile_et
+[BINARY::samba4kinit]
+CFLAGS = -Iheimdal_build -Iheimdal/lib/roken
+OBJ_FILES = ../heimdal/kuser/kinit.o \
+ ../heimdal/lib/vers/print_version.o \
+ ../heimdal/lib/roken/setprogname.o \
+ ../heimdal/lib/roken/getarg.o
+PRIVATE_DEPENDENCIES = HEIMDAL_KRB5
+# End BINARY compile_et
+#######################
+
dist:: heimdal/lib/asn1/lex.c heimdal/lib/com_err/lex.c \
heimdal/lib/asn1/parse.c heimdal/lib/com_err/parse.c
diff --git a/source4/heimdal_build/kafs.h b/source4/heimdal_build/kafs.h
new file mode 100644
index 0000000000..878dd08397
--- /dev/null
+++ b/source4/heimdal_build/kafs.h
@@ -0,0 +1,19 @@
+int k_hasafs (void) {
+ return 0;
+};
+
+int krb_afslog (const char *cell, const char *realm) {
+ return 0;
+};
+int k_unlog (void) {
+ return 0;
+};
+int k_setpag (void) {
+ return 0;
+};
+krb5_error_code krb5_afslog (krb5_context context,
+ krb5_ccache id,
+ const char *cell,
+ krb5_const_realm realm) {
+ return 0;
+};