summaryrefslogtreecommitdiff
path: root/source4/rpc_server/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server/wscript_build')
-rwxr-xr-xsource4/rpc_server/wscript_build27
1 files changed, 15 insertions, 12 deletions
diff --git a/source4/rpc_server/wscript_build b/source4/rpc_server/wscript_build
index c684c05ca8..e3a863af49 100755
--- a/source4/rpc_server/wscript_build
+++ b/source4/rpc_server/wscript_build
@@ -3,15 +3,27 @@
bld.SAMBA_SUBSYSTEM('DCERPC_SHARE',
source='common/server_info.c common/share_info.c',
autoproto='common/share.h',
- deps='ldb'
+ deps='ldb',
+ enabled=bld.AD_DC_BUILD_IS_ENABLED()
)
bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
- source='common/forward.c common/reply.c dcesrv_auth.c',
+ source='common/forward.c common/reply.c dcesrv_auth.c common/loadparm.c',
autoproto='common/proto.h',
- deps='ldb DCERPC_SHARE samba_server_gensec'
+ deps='ldb DCERPC_SHARE samba_server_gensec',
+ enabled=bld.AD_DC_BUILD_IS_ENABLED()
)
+bld.SAMBA_LIBRARY('dcerpc_server',
+ source='dcerpc_server.c dcesrv_mgmt.c handles.c',
+ pc_files='dcerpc_server.pc',
+ deps='LIBCLI_AUTH ndr samba_server_gensec dcerpc_remote service',
+ public_deps='dcerpc',
+ autoproto='dcerpc_server_proto.h',
+ public_headers='dcerpc_server.h',
+ vnum='0.0.1',
+ enabled=bld.AD_DC_BUILD_IS_ENABLED()
+ )
bld.SAMBA_MODULE('dcerpc_rpcecho',
source='echo/rpc_echo.c',
@@ -144,15 +156,6 @@ bld.SAMBA_MODULE('dcerpc_dnsserver',
deps='DCERPC_COMMON'
)
-bld.SAMBA_LIBRARY('dcerpc_server',
- source='dcerpc_server.c dcesrv_mgmt.c handles.c',
- pc_files='dcerpc_server.pc',
- deps='LIBCLI_AUTH ndr samba_server_gensec dcerpc_remote service',
- public_deps='dcerpc',
- autoproto='dcerpc_server_proto.h',
- public_headers='dcerpc_server.h',
- vnum='0.0.1'
- )
bld.SAMBA_MODULE('service_dcerpc',
source='service_rpc.c',