1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/rpcclient/wscript_build
Andreas Schneider f858121d8f s3:waf: Make PARAM and SMBREGISTRY a subsystem of smbconf only
This is the only way to resolve cirular dependencies with these
libraries.  I've tried several ways but this is the only way to do it
correctly. In future we should try to seperate them by passing down
information or making a more lightweight loadparm mechanism.

+---------+                       +-------------+
|         |                       |             |
|  param  <---------+    +--------+ smbregistry |
|         |         |    |        |             |
+----+----+         |    |        +------^------+
     |          +---+----v--+            |
     |          |           |            |
     +---------->  smbconf  +------------+
                |           |
                +-----------+

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2016-12-04 16:35:22 +01:00

57 lines
1.6 KiB
Python

#!/usr/bin/env python
bld.SAMBA3_BINARY('rpcclient',
source='''rpcclient.c
cmd_lsarpc.c
cmd_samr.c
cmd_spoolss.c
cmd_netlogon.c
cmd_srvsvc.c
cmd_dfs.c
cmd_epmapper.c
cmd_dssetup.c
cmd_echo.c
cmd_shutdown.c
cmd_test.c
cmd_wkssvc.c
cmd_ntsvcs.c
cmd_drsuapi.c
cmd_eventlog.c
cmd_winreg.c
cmd_fss.c
cmd_clusapi.c
cmd_witness.c
cmd_iremotewinspool.c
''',
deps='''
talloc
popt_samba3
pdb
libsmb
smbconf
ndr-standard
msrpc3
SMBREADLINE
trusts_util
RPC_NDR_WINREG
RPC_NDR_ECHO
RPC_CLIENT_SCHANNEL
DCUTIL
LIBCLI_SAMR
libcli_lsa3
libcli_netlogon3
cli_spoolss
RPC_NDR_SRVSVC
RPC_NDR_WKSSVC
RPC_NDR_DSSETUP
RPC_NDR_DFS
RPC_NDR_DRSUAPI
RPC_NDR_NTSVCS
RPC_NDR_EVENTLOG
INIT_SAMR
RPC_NDR_FSRVP
RPC_NDR_CLUSAPI
RPC_NDR_WITNESS
RPC_NDR_WINSPOOL
''')