From 845e0cbe6f43e2762796c644035ac6bc2b07cf17 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 17 Mar 2010 22:07:42 +1100 Subject: build: commit all the waf build files in the tree --- source4/lib/cmdline/wscript_build | 22 ++++++++++++++++++++++ source4/lib/com/wscript_build | 33 +++++++++++++++++++++++++++++++++ source4/lib/events/wscript_build | 9 +++++++++ source4/lib/ldb-samba/wscript_build | 11 +++++++++++ source4/lib/messaging/wscript_build | 16 ++++++++++++++++ source4/lib/samba3/wscript_build | 9 +++++++++ source4/lib/socket/wscript_build | 33 +++++++++++++++++++++++++++++++++ source4/lib/stream/wscript_build | 9 +++++++++ source4/lib/wmi/wscript_build | 29 +++++++++++++++++++++++++++++ source4/lib/wscript_build | 30 ++++++++++++++++++++++++++++++ 10 files changed, 201 insertions(+) create mode 100644 source4/lib/cmdline/wscript_build create mode 100644 source4/lib/com/wscript_build create mode 100644 source4/lib/events/wscript_build create mode 100644 source4/lib/ldb-samba/wscript_build create mode 100644 source4/lib/messaging/wscript_build create mode 100644 source4/lib/samba3/wscript_build create mode 100644 source4/lib/socket/wscript_build create mode 100644 source4/lib/stream/wscript_build create mode 100644 source4/lib/wmi/wscript_build create mode 100644 source4/lib/wscript_build (limited to 'source4/lib') diff --git a/source4/lib/cmdline/wscript_build b/source4/lib/cmdline/wscript_build new file mode 100644 index 0000000000..98a796577a --- /dev/null +++ b/source4/lib/cmdline/wscript_build @@ -0,0 +1,22 @@ +bld.SAMBA_SUBSYSTEM('LIBCMDLINE_CREDENTIALS', + source='credentials.c', + autoproto='credentials.h', + public_deps='CREDENTIALS LIBPOPT' + ) + + +bld.SAMBA_SUBSYSTEM('POPT_SAMBA', + source='popt_common.c', + public_deps='LIBPOPT', + public_headers='popt_common.h', + deps='talloc' + ) + + +bld.SAMBA_SUBSYSTEM('POPT_CREDENTIALS', + source='popt_credentials.c', + autoproto='popt_credentials.h', + public_deps='CREDENTIALS LIBCMDLINE_CREDENTIALS LIBPOPT', + deps='LIBSAMBA-UTIL' + ) + diff --git a/source4/lib/com/wscript_build b/source4/lib/com/wscript_build new file mode 100644 index 0000000000..170fc96139 --- /dev/null +++ b/source4/lib/com/wscript_build @@ -0,0 +1,33 @@ +# AUTOGENERATED by mktowscript.pl from ../../source4/lib/com/config.mk +# Please remove this notice if hand editing + + +bld.SAMBA_SUBSYSTEM('COM', + source='tables.c rot.c main.c', + deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG LIBEVENTS LIBNDR', + enabled=False + ) + + +bld.SAMBA_SUBSYSTEM('DCOM', + source='main.c tables.c', + public_deps='COM DCOM_PROXY_DCOM RPC_NDR_REMACT RPC_NDR_OXIDRESOLVER', + enabled=False + ) + + +bld.SAMBA_MODULE('com_simple', + source='classes/simple.c', + subsystem='COM', + init_function='com_simple_init', + enabled=False + ) + + +bld.SAMBA_PYTHON('pycom', + source='pycom.c', + deps='COM', + realname='samba/com.so', + enabled=False + ) + diff --git a/source4/lib/events/wscript_build b/source4/lib/events/wscript_build new file mode 100644 index 0000000000..14cc9c8195 --- /dev/null +++ b/source4/lib/events/wscript_build @@ -0,0 +1,9 @@ +# AUTOGENERATED by mktowscript.pl from ../../source4/lib/events/config.mk +# Please remove this notice if hand editing + + +bld.SAMBA_SUBSYSTEM('LIBEVENTS', + source='tevent_s4.c', + public_deps='tevent' + ) + diff --git a/source4/lib/ldb-samba/wscript_build b/source4/lib/ldb-samba/wscript_build new file mode 100644 index 0000000000..f0dd7b3a78 --- /dev/null +++ b/source4/lib/ldb-samba/wscript_build @@ -0,0 +1,11 @@ +# AUTOGENERATED by mktowscript.pl from ../../source4/lib/ldb-samba/config.mk +# Please remove this notice if hand editing + + +bld.SAMBA_SUBSYSTEM('LDBSAMBA', + source='ldif_handlers.c', + autoproto='ldif_handlers_proto.h', + public_deps='ldb', + deps='LIBSECURITY SAMDB_SCHEMA LIBNDR NDR_DRSBLOBS' + ) + diff --git a/source4/lib/messaging/wscript_build b/source4/lib/messaging/wscript_build new file mode 100644 index 0000000000..ba98321b01 --- /dev/null +++ b/source4/lib/messaging/wscript_build @@ -0,0 +1,16 @@ +# AUTOGENERATED by mktowscript.pl from ../../source4/lib/messaging/config.mk +# Please remove this notice if hand editing + + +bld.SAMBA_SUBSYSTEM('MESSAGING', + source='messaging.c', + public_deps='LIBSAMBA-UTIL TDB_WRAP NDR_IRPC UNIX_PRIVS UTIL_TDB CLUSTER LIBNDR samba_socket' + ) + + +bld.SAMBA_PYTHON('python_messaging', + source='pymessaging.c', + deps='MESSAGING LIBEVENTS python_irpc pyparam_util', + realname='samba/messaging.so' + ) + diff --git a/source4/lib/samba3/wscript_build b/source4/lib/samba3/wscript_build new file mode 100644 index 0000000000..51a511e8e1 --- /dev/null +++ b/source4/lib/samba3/wscript_build @@ -0,0 +1,9 @@ +# AUTOGENERATED by mktowscript.pl from ../../source4/lib/samba3/config.mk +# Please remove this notice if hand editing + + +bld.SAMBA_SUBSYSTEM('SMBPASSWD', + source='smbpasswd.c', + deps='CHARSET LIBSAMBA-UTIL' + ) + diff --git a/source4/lib/socket/wscript_build b/source4/lib/socket/wscript_build new file mode 100644 index 0000000000..cf75d82206 --- /dev/null +++ b/source4/lib/socket/wscript_build @@ -0,0 +1,33 @@ +# AUTOGENERATED by mktowscript.pl from ../../source4/lib/socket/config.mk +# Please remove this notice if hand editing + + +bld.SAMBA_SUBSYSTEM('LIBNETIF', + source='interface.c netif.c', + autoproto='netif_proto.h', + deps='LIBSAMBA-UTIL LIBREPLACE_NETWORK' + ) + + +bld.SAMBA_MODULE('socket_ip', + source='socket_ip.c', + subsystem='samba_socket', + deps='LIBSAMBA-ERRORS LIBREPLACE_NETWORK', + output_type='MERGED_OBJ' + ) + + +bld.SAMBA_MODULE('socket_unix', + source='socket_unix.c', + subsystem='samba_socket', + deps='LIBREPLACE_NETWORK', + output_type='MERGED_OBJ' + ) + + +bld.SAMBA_SUBSYSTEM('samba_socket', + source='socket.c access.c connect_multi.c connect.c', + public_deps='talloc LIBTSOCKET', + deps='LIBCLI_COMPOSITE LIBCLI_RESOLVE socket_ip socket_unix' + ) + diff --git a/source4/lib/stream/wscript_build b/source4/lib/stream/wscript_build new file mode 100644 index 0000000000..cf7d5f2a43 --- /dev/null +++ b/source4/lib/stream/wscript_build @@ -0,0 +1,9 @@ +# AUTOGENERATED by mktowscript.pl from ../../source4/lib/stream/config.mk +# Please remove this notice if hand editing + + +bld.SAMBA_SUBSYSTEM('LIBPACKET', + source='packet.c', + deps='LIBTLS' + ) + diff --git a/source4/lib/wmi/wscript_build b/source4/lib/wmi/wscript_build new file mode 100644 index 0000000000..f8f641def0 --- /dev/null +++ b/source4/lib/wmi/wscript_build @@ -0,0 +1,29 @@ +# AUTOGENERATED by mktowscript.pl from ../../source4/lib/wmi/config.mk +# Please remove this notice if hand editing + + +bld.SAMBA_SUBSYSTEM('WMI', + source='wmicore.c wbemdata.c ../../../librpc/gen_ndr/dcom_p.c', + public_deps='RPC_NDR_OXIDRESOLVER NDR_DCOM RPC_NDR_REMACT NDR_TABLE DCOM_PROXY_DCOM DCOM' + ) + + +bld.SAMBA_BINARY('wmic', + source='tools/wmic.c', + installdir='BINDIR', + deps='POPT_SAMBA POPT_CREDENTIALS LIBPOPT WMI' + ) + + +bld.SAMBA_BINARY('wmis', + source='tools/wmis.c', + installdir='BINDIR', + deps='POPT_SAMBA POPT_CREDENTIALS LIBPOPT WMI' + ) + + +bld.SAMBA_PYTHON('pywmi', + source='wmi_wrap.c', + public_deps='LIBCLI_SMB LIBNDR LIBSAMBA-UTIL LIBSAMBA-CONFIG WMI' + ) + diff --git a/source4/lib/wscript_build b/source4/lib/wscript_build new file mode 100644 index 0000000000..e2c77b25e1 --- /dev/null +++ b/source4/lib/wscript_build @@ -0,0 +1,30 @@ +# AUTOGENERATED by mktowscript.pl from ../../source4/lib/basic.mk +# Please remove this notice if hand editing + + +bld.SAMBA_SUBSYSTEM('LZXPRESS', + source='../../lib/compression/lzxpress.c' + ) + + +bld.SAMBA_SUBSYSTEM('GENCACHE', + source='../../source3/lib/gencache.c', + enabled=False, + deps='TDB_WRAP' + ) + + +bld.SAMBA_SUBSYSTEM('LDB_WRAP', + source='ldb_wrap.c', + public_deps='ldb', + public_headers='ldb_wrap.h', + deps='LDBSAMBA UTIL_LDB' + ) + + +bld.SAMBA_SUBSYSTEM('TDB_WRAP', + source='tdb_wrap.c', + public_deps='tdb', + public_headers='tdb_wrap.h' + ) + -- cgit