waf: Remove lib prefix from libraries manually.
[kai/samba.git] / source4 / smbd / wscript_build
index ba2f0816783927dbaa595f9274aede29a405a25a..8da2ea12c512a6e7800fb2cdf06b79bce228418e 100644 (file)
@@ -1,16 +1,15 @@
-# AUTOGENERATED by mktowscript.pl from ../../source4/smbd/config.mk
-# Please remove this notice if hand editing
-
+#!/usr/bin/env python
 
 bld.SAMBA_SUBSYSTEM('service',
        source='service.c service_stream.c service_named_pipe.c service_task.c',
        autoproto='service_proto.h',
-       deps='tevent MESSAGING samba_socket NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM HEIMDAL_GSSAPI CREDENTIALS LIBTSOCKET LIBSAMBA_TSOCKET'
+       deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi CREDENTIALS LIBTSOCKET LIBSAMBA_TSOCKET process_model'
        )
 
 
 bld.SAMBA_SUBSYSTEM('PIDFILE',
        source='pidfile.c',
+        deps='talloc',
        autoproto='pidfile.h'
        )
 
@@ -18,24 +17,21 @@ bld.SAMBA_SUBSYSTEM('PIDFILE',
 bld.SAMBA_BINARY('samba',
        source='server.c',
        manpages='samba.8',
-       installdir='SBINDIR',
-        subsystem='service',
-       deps='''LIBEVENTS process_model service LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL POPT_SAMBA PIDFILE
-                LIBPOPT gensec registry ntptr ntvfs share CLUSTER DCESRV'''
+       subsystem_name='service',
+       deps='''events process_model service samba-hostconfig samba-util POPT_SAMBA PIDFILE
+                popt gensec registry ntptr ntvfs share CLUSTER DCESRV COMMON_SCHANNELDB SECRETS''',
+       pyembed=True,
+       install_path='${SBINDIR}'
        )
 
 
 
 
-# AUTOGENERATED by mktowscript.pl from ../../source4/smbd/process_model.mk
-# Please remove this notice if hand editing
-
-
 bld.SAMBA_MODULE('process_model_single',
        source='process_single.c',
        subsystem='process_model',
        init_function='process_model_single_init',
-       output_type='MERGED_OBJ'
+       internal_module=True
        )
 
 
@@ -43,7 +39,7 @@ bld.SAMBA_MODULE('process_model_standard',
        source='process_standard.c',
        subsystem='process_model',
        init_function='process_model_standard_init',
-       deps='LIBEVENTS SETPROCTITLE'
+       deps='events LDBSAMBA'
        )
 
 
@@ -51,7 +47,8 @@ bld.SAMBA_MODULE('process_model_thread',
        source='process_thread.c',
        subsystem='process_model',
        init_function='process_model_thread_init',
-       deps='PTHREAD'
+       enabled=False,
+       deps='pthread'
        )
 
 
@@ -59,13 +56,20 @@ bld.SAMBA_MODULE('process_model_prefork',
        source='process_prefork.c',
        subsystem='process_model',
        init_function='process_model_prefork_init',
-       deps='LIBEVENTS SETPROCTITLE'
+       deps='events'
+       )
+
+bld.SAMBA_MODULE('process_model_onefork',
+       source='process_onefork.c',
+       subsystem='process_model',
+       init_function='process_model_onefork_init',
+       deps='events'
        )
 
 
 bld.SAMBA_SUBSYSTEM('process_model',
        source='process_model.c',
        autoproto='process_model_proto.h',
-       deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG'
+       deps='samba-util samba-hostconfig'
        )