build: moved spnego_parse.c into a common subsystem
authorAndrew Tridgell <tridge@samba.org>
Thu, 24 Feb 2011 02:00:52 +0000 (13:00 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 24 Feb 2011 04:08:50 +0000 (15:08 +1100)
libcli/auth/wscript_build
source3/wscript_build
source4/auth/gensec/wscript_build

index 3d9e8e6283cb33b3629ad32d075cde00c41c7cbd..0f0e22ba91d5dc6fbe99a65c55fd623c572f8352 100644 (file)
@@ -2,7 +2,7 @@
 
 bld.SAMBA_LIBRARY('cliauth',
                   source='',
-                  deps='NTLMSSP_COMMON MSRPC_PARSE LIBCLI_AUTH COMMON_SCHANNEL PAM_ERRORS',
+                  deps='NTLMSSP_COMMON MSRPC_PARSE LIBCLI_AUTH COMMON_SCHANNEL PAM_ERRORS SPNEGO_PARSE',
                   private_library=True,
                   grouping_library=True)
 
@@ -34,3 +34,7 @@ bld.SAMBA_SUBSYSTEM('PAM_ERRORS',
        source='pam_errors.c',
        deps='talloc'
        )
+
+bld.SAMBA_SUBSYSTEM('SPNEGO_PARSE',
+                    source='spnego_parse.c',
+                    deps='ASN1_UTIL')
index 0008bd016e23ba619e5abecf3389811d03d08711..1347574331a900826887147fbc94a21c917d04fc 100644 (file)
@@ -928,10 +928,6 @@ bld.SAMBA3_SUBSYSTEM('SLCACHE',
                     source=SLCACHE_SRC,
                     vars=locals())
 
-bld.SAMBA3_SUBSYSTEM('SPNEGO_PARSE',
-                    source='../libcli/auth/spnego_parse.c',
-                    vars=locals())
-
 bld.SAMBA3_SUBSYSTEM('DCUTIL',
                     source=DCUTIL_SRC,
                     vars=locals())
index 01b3ce9ee27e78fe8fa1bcf76e962e479b6bfc4a..8f8a6e84c7bdd252c7901a85005d3bd28ceda698 100644 (file)
@@ -37,11 +37,11 @@ bld.SAMBA_MODULE('cyrus_sasl',
 
 
 bld.SAMBA_MODULE('gensec_spnego',
-       source='spnego.c ../../../libcli/auth/spnego_parse.c',
+       source='spnego.c',
        autoproto='spnego_proto.h',
        subsystem='gensec',
        init_function='gensec_spnego_init',
-       deps='ASN1_UTIL credentials'
+       deps='ASN1_UTIL credentials SPNEGO_PARSE'
        )