]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-build: Drop unnecessary uses of include/ sub-directory
authorMartin Schwenke <martin@meltin.net>
Sun, 6 Feb 2022 22:37:14 +0000 (09:37 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 3 May 2022 09:19:31 +0000 (09:19 +0000)
None of these include any files from the include/ sub-directory.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/wscript

index a6dd1277983c9c3ebe64ac2eccfca2599f830f9d..40d52c5d09a0250d3ad5ba30bc19f305031fe817 100644 (file)
@@ -411,7 +411,6 @@ def build(bld):
     bld.SAMBA_SUBSYSTEM('ctdb-system',
                         source=bld.SUBDIR('common',
                                           'system_socket.c system.c'),
-                        includes='include',
                         deps='replace talloc tevent tdb pcap samba-util')
 
     bld.SAMBA_SUBSYSTEM('ctdb-common',
@@ -456,7 +455,6 @@ def build(bld):
                                              protocol_client.c
                                              protocol_debug.c
                                              protocol_sock.c'''),
-                        includes='include',
                         deps='ctdb-protocol-basic replace talloc tdb')
 
     bld.SAMBA_SUBSYSTEM('ctdb-protocol-util',
@@ -472,7 +470,6 @@ def build(bld):
                                              client_db.c client_util.c
                                              client_tunnel.c
                                           '''),
-                        includes='include',
                         deps='replace talloc tevent tdb tdb-wrap')
 
     bld.SAMBA_SUBSYSTEM('ctdb-server-util',
@@ -685,7 +682,6 @@ def build(bld):
     if bld.env.HAVE_PMDA:
         bld.SAMBA_BINARY('pmdactdb',
                          source='utils/pmda/pmda_ctdb.c',
-                         includes='include',
                          deps='''ctdb-client ctdb-protocol ctdb-util
                                  samba-util pcp_pmda pcp''',
                          install_path='${CTDB_PMDADIR}')
@@ -977,7 +973,6 @@ def build(bld):
                                           '''protocol_common.c
                                              protocol_common_ctdb.c
                                           '''),
-                        includes='include',
                         deps='ctdb-protocol-tests-basic replace talloc tdb')
 
     bld.SAMBA_BINARY('protocol_basic_test',
@@ -1011,7 +1006,6 @@ def build(bld):
     bld.SAMBA_SUBSYSTEM('ctdb-tests-common',
                         source=bld.SUBDIR('tests/src',
                                           'cluster_wait.c test_options.c'),
-                        includes='include',
                         deps='samba-util replace popt talloc tevent tdb')
 
     # Test binaries