summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/auth/gensec.m45
-rw-r--r--source4/libcli/auth/gensec.mk42
2 files changed, 47 insertions, 0 deletions
diff --git a/source4/libcli/auth/gensec.m4 b/source4/libcli/auth/gensec.m4
new file mode 100644
index 0000000000..8f8faf5d7c
--- /dev/null
+++ b/source4/libcli/auth/gensec.m4
@@ -0,0 +1,5 @@
+SMB_SUBSYSTEM_MK(GENSEC,libcli/auth/gensec.mk)
+SMB_MODULE_MK(gensec_krb5, GENSEC, NOT, libcli/auth/gensec.mk)
+SMB_MODULE_MK(gensec_ntlmssp, GENSEC, STATIC, libcli/auth/gensec.mk)
+SMB_MODULE_MK(gensec_spnego, GENSEC, STATIC, libcli/auth/gensec.mk)
+
diff --git a/source4/libcli/auth/gensec.mk b/source4/libcli/auth/gensec.mk
new file mode 100644
index 0000000000..7c2c21bafd
--- /dev/null
+++ b/source4/libcli/auth/gensec.mk
@@ -0,0 +1,42 @@
+#################################
+# Start SUBSYSTEM GENSEC
+[SUBSYSTEM::GENSEC]
+INIT_OBJ_FILES = libcli/auth/gensec.o
+REQUIRED_SUBSYSTEMS = \
+ AUTH SCHANNELDB
+# End SUBSYSTEM GENSEC
+#################################
+
+################################################
+# Start MODULE gensec_krb5
+[MODULE::gensec_krb5]
+INIT_OBJ_FILES = libcli/auth/gensec_krb5.o
+ADD_OBJ_FILES = \
+ libcli/auth/clikrb5.o \
+ libcli/auth/kerberos.o \
+ libcli/auth/kerberos_verify.o
+REQUIRED_SUBSYSTEMS = GENSEC
+# End MODULE gensec_krb5
+################################################
+
+################################################
+# Start MODULE gensec_spnego
+[MODULE::gensec_spnego]
+INIT_OBJ_FILES = libcli/auth/spnego.o
+ADD_OBJ_FILES = \
+ libcli/auth/spnego_parse.o
+REQUIRED_SUBSYSTEMS = GENSEC
+# End MODULE gensec_spnego
+################################################
+
+################################################
+# Start MODULE gensec_ntlmssp
+[MODULE::gensec_ntlmssp]
+INIT_OBJ_FILES = libcli/auth/gensec_ntlmssp.o
+ADD_OBJ_FILES = \
+ libcli/auth/ntlmssp.o \
+ libcli/auth/ntlmssp_parse.o \
+ libcli/auth/ntlmssp_sign.o
+REQUIRED_SUBSYSTEMS = GENSEC AUTH
+# End MODULE gensec_ntlmssp
+################################################