s4-waf: install the rest of the headers
authorAndrew Tridgell <tridge@samba.org>
Sat, 27 Mar 2010 02:56:05 +0000 (13:56 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:09 +0000 (20:27 +1000)
12 files changed:
lib/util/wscript_build
libcli/auth/wscript_build
libcli/ldap/wscript_build
librpc/wscript_build
source4/auth/wscript_build
source4/dynconfig/wscript
source4/lib/cmdline/wscript_build
source4/lib/ldb/wscript
source4/libcli/ldap/wscript_build
source4/libcli/wscript_build
source4/librpc/wscript_build
source4/rpc_server/wscript_build

index ac6b2270128d43d2b96206e67058f491dae828aa..0cd701dbd17835137d162af1344e8669c8524510 100644 (file)
@@ -1,8 +1,8 @@
 bld.SAMBA_LIBRARY('LIBSAMBA-UTIL',
        source='xfile.c debug.c fault.c signal.c system.c time.c genrand.c dprintf.c util_str.c rfc1738.c substitute.c util_strlist.c util_file.c data_blob.c util.c blocking.c util_net.c fsusage.c ms_fnmatch.c mutex.c idtree.c become_daemon.c rbtree.c talloc_stack.c smb_threads.c params.c parmlist.c util_id.c',
        public_deps='talloc LIBCRYPTO LIBREPLACE_NETWORK CHARSET execinfo UID_WRAPPER',
-       public_headers='attr.h byteorder.h data_blob.h debug.h memory.h mutex.h safe_string.h time.h talloc_stack.h xfile.h',
-        header_path='util',
+       public_headers='attr.h byteorder.h data_blob.h debug.h memory.h mutex.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h util.h',
+        header_path= [ ('dlinklist.h util.h', '.'), ('*', 'util') ],
         local_include=False,
        vnum='0.0.1'
        )
@@ -46,7 +46,8 @@ bld.SAMBA_SUBSYSTEM('UTIL_TEVENT',
 bld.SAMBA_SUBSYSTEM('UTIL_LDB',
        source='util_ldb.c',
         local_include=False,
-       public_deps='ldb'
+       public_deps='ldb',
+        public_headers='util_ldb.h'
        )
 
 
index bb316c6d6ed42511d298c679c24a4001959abeb6..f0af6df6aebe7ee0a33ebf05c2e2e94a9e412d0a 100644 (file)
@@ -1,7 +1,3 @@
-# AUTOGENERATED by mktowscript.pl from ../../libcli/auth/config.mk
-# Please remove this notice if hand editing
-
-
 bld.SAMBA_SUBSYSTEM('ntlm_check',
        source='ntlm_check.c',
        deps='LIBSAMBA-UTIL'
@@ -16,7 +12,7 @@ bld.SAMBA_SUBSYSTEM('MSRPC_PARSE',
 bld.SAMBA_SUBSYSTEM('LIBCLI_AUTH',
        source='credentials.c session.c smbencrypt.c smbdes.c',
        public_deps='MSRPC_PARSE LIBSAMBA-HOSTCONFIG',
-       public_headers='credentials.h'
+       public_headers='credentials.h:domain_credentials.h'
        )
 
 
index 8d2a01700546f3cbf457159505ae64dbb177ae99..923d57f00b234f19306901410396c01a87d0e281 100644 (file)
@@ -1,7 +1,3 @@
-# AUTOGENERATED by mktowscript.pl from ../../libcli/ldap/config.mk
-# Please remove this notice if hand editing
-
-
 bld.SAMBA_SUBSYSTEM('LIBCLI_LDAP_MESSAGE',
        source='ldap_message.c',
        public_deps='LIBSAMBA-ERRORS talloc ldb',
index 3b68fee963c012feac7366bdbb55e07cffef0c5f..056c2701464e72393dbcd404745e84ed180c21d1 100644 (file)
@@ -1 +1,2 @@
 bld.BUILD_SUBDIR('idl')
+
index ddfb046bad4c08133a3db90d88abb66019f51a9e..c7dfa8943c4ca2e43b6557986fa87692b3176270 100644 (file)
@@ -12,6 +12,7 @@ bld.SAMBA_SUBSYSTEM('auth_session',
        autoproto='session_proto.h',
        public_deps='CREDENTIALS',
        public_headers='session.h',
+        header_path='samba',
        deps='SAMDB'
        )
 
index 1f0c6c0372a0523516c77ae68ef1874e0f9a387e..3f609efa73fb1fbe3174541913e77b3bb28b303d 100644 (file)
@@ -82,4 +82,6 @@ def build(bld):
     bld.SAMBA_SUBSYSTEM('DYNCONFIG',
                         'dynconfig.c',
                         deps='replace talloc',
+                        public_headers='../version.h',
+                        header_path='samba',
                         cflags=cflags)
index 98a796577a4e168a52381e14fcb018d5b555509e..660f471bb6c62bc785de39260bfdd69428298049 100644 (file)
@@ -4,11 +4,11 @@ bld.SAMBA_SUBSYSTEM('LIBCMDLINE_CREDENTIALS',
        public_deps='CREDENTIALS LIBPOPT'
        )
 
-
 bld.SAMBA_SUBSYSTEM('POPT_SAMBA',
        source='popt_common.c',
        public_deps='LIBPOPT',
-       public_headers='popt_common.h',
+       public_headers='popt_common.h:popt.h',
+        header_path='samba',
         deps='talloc'
        )
 
index 92cefab8af5cf2669da6436f4f9ff835f6c18fe5..3a54e554154848cef833c3cc3354157f21c275a8 100644 (file)
@@ -107,6 +107,7 @@ def build(bld):
                      COMMON_SRC + ' ' + LDB_MAP_SRC,
                      deps=ldb_deps,
                      includes='include',
+                      public_headers='include/ldb.h include/ldb_errors.h',
                       vnum=VERSION)
 
     bld.SAMBA_SUBSYSTEM('LIBLDB_CMDLINE',
index 10f82bcca1e362b632f36513089fccea171526fa..3ed3627dc190500ce04d9149a10a68f2185dd1ad 100644 (file)
@@ -1,12 +1,8 @@
-# AUTOGENERATED by mktowscript.pl from ../../source4/libcli/ldap/config.mk
-# Please remove this notice if hand editing
-
-
 bld.SAMBA_SUBSYSTEM('LIBCLI_LDAP',
        source='ldap_client.c ldap_bind.c ldap_ildap.c ldap_controls.c',
        autoproto='ldap_proto.h',
        public_deps='LIBSAMBA-ERRORS tevent LIBPACKET',
-       public_headers='ldap.h',
+       public_headers='ldap.h:ldap-util.h',
        deps='LIBCLI_COMPOSITE samba_socket NDR_SAMR LIBTLS LIBCLI_LDAP_NDR LIBNDR LP_RESOLVE gensec LIBCLI_LDAP_MESSAGE'
        )
 
index 537faf5950c05f5151944b77c9ca0042e24ff38b..7c4505c261e20b699aa766f2a8f096dde16d966f 100644 (file)
@@ -5,6 +5,7 @@ bld.BUILD_SUBDIR('wbclient')
 bld.SAMBA_SUBSYSTEM('LIBSAMBA-ERRORS',
        source='../../libcli/util/doserr.c util/errormap.c util/nterr.c',
        public_headers='../../libcli/util/error.h ../../libcli/util/ntstatus.h ../../libcli/util/doserr.h ../../libcli/util/werror.h',
+        header_path='core',
         deps='talloc'
        )
 
index f85f95ff4fe0d97294ed3919c9455083b3176205..e4310e828fa307c4dd5032e2d3c4eb1ea9e6512f 100644 (file)
@@ -5,8 +5,8 @@ bld.SAMBA_LIBRARY('LIBNDR',
        source='ndr/ndr_string.c ../../librpc/ndr/ndr_basic.c ../../librpc/ndr/uuid.c ../../librpc/ndr/ndr.c ../../librpc/ndr/ndr_misc.c ../../librpc/gen_ndr/ndr_misc.c',
        # PC_FILES='../librpc/ndr.pc',
        public_deps='LIBSAMBA-ERRORS talloc LIBSAMBA-UTIL CHARSET LIBSAMBA-HOSTCONFIG',
-       public_headers='../../librpc/gen_ndr/misc.h ../../librpc/gen_ndr/ndr_misc.h',
-        header_path='gen_ndr',
+       public_headers='../../librpc/gen_ndr/misc.h ../../librpc/gen_ndr/ndr_misc.h ../../librpc/ndr/libndr.h:ndr.h',
+        header_path= [ ( '*gen_ndr*', 'gen_ndr' ) ],
         depends_on='PIDL_MISC',
        vnum='0.0.1'
        )
@@ -30,7 +30,8 @@ bld.SAMBA_SUBSYSTEM('NDR_COMPRESSION',
 bld.SAMBA_SUBSYSTEM('NDR_SECURITY',
        source='../../librpc/gen_ndr/ndr_security.c ../../librpc/ndr/ndr_sec_helper.c gen_ndr/ndr_server_id.c',
        public_deps='LIBNDR LIBSECURITY',
-       public_headers='../libcli/security/security.h gen_ndr/server_id.h'
+       public_headers='../libcli/security/security.h gen_ndr/server_id.h',
+        header_path='gen_ndr'
        )
 
 
@@ -294,7 +295,8 @@ bld.SAMBA_SUBSYSTEM('NDR_SCHANNEL',
 bld.SAMBA_SUBSYSTEM('NDR_NBT',
        source='../../librpc/gen_ndr/ndr_nbt.c',
        public_deps='LIBNDR NDR_NBT_BUF NDR_SECURITY NDR_STANDARD LIBCLI_NDR_NETLOGON',
-       public_headers='../../librpc/gen_ndr/nbt.h'
+       public_headers='../../librpc/gen_ndr/nbt.h',
+        header_path='gen_ndr'
        )
 
 
@@ -328,7 +330,8 @@ bld.SAMBA_LIBRARY('NDR_STANDARD',
        # PC_FILES='../librpc/ndr_standard.pc',
        deps='NDR_SECURITY',
        public_deps='LIBNDR',
-       public_headers='../../librpc/gen_ndr/samr.h ../../librpc/gen_ndr/ndr_samr.h ../rpc_server/lsa/lsa.h ../torture/rpc/netlogon.h ../../librpc/gen_ndr/atsvc.h ../../librpc/gen_ndr/ndr_atsvc.h ../../librpc/gen_ndr/ndr_svcctl.h ../../librpc/gen_ndr/svcctl.h'
+       public_headers='../../librpc/gen_ndr/samr.h ../../librpc/gen_ndr/ndr_samr.h ../rpc_server/lsa/lsa.h ../torture/rpc/netlogon.h ../../librpc/gen_ndr/atsvc.h ../../librpc/gen_ndr/ndr_atsvc.h ../../librpc/gen_ndr/ndr_svcctl.h ../../librpc/gen_ndr/svcctl.h',
+        header_path='gen_ndr'
        )
 
 
@@ -430,7 +433,8 @@ bld.SAMBA_LIBRARY('dcerpc_samr',
        # PC_FILES='dcerpc_samr.pc',
        vnum='0.0.1',
        public_deps='dcerpc NDR_STANDARD',
-       public_headers='../../librpc/gen_ndr/ndr_samr_c.h'
+       public_headers='../../librpc/gen_ndr/ndr_samr_c.h',
+        header_path='gen_ndr'
        )
 
 
@@ -455,7 +459,8 @@ bld.SAMBA_SUBSYSTEM('RPC_NDR_SRVSVC',
 bld.SAMBA_SUBSYSTEM('RPC_NDR_SVCCTL',
        source='../../librpc/gen_ndr/ndr_svcctl_c.c',
        public_deps='dcerpc NDR_STANDARD',
-       public_headers='../../librpc/gen_ndr/ndr_svcctl_c.h'
+       public_headers='../../librpc/gen_ndr/ndr_svcctl_c.h',
+        header_path='gen_ndr'
        )
 
 
@@ -464,7 +469,8 @@ bld.SAMBA_LIBRARY('dcerpc_atsvc',
        # PC_FILES='dcerpc_atsvc.pc',
        vnum='0.0.1',
        public_deps='dcerpc NDR_STANDARD',
-       public_headers='../../librpc/gen_ndr/ndr_atsvc_c.h'
+       public_headers='../../librpc/gen_ndr/ndr_atsvc_c.h',
+        header_path='gen_ndr'
        )
 
 
@@ -585,7 +591,8 @@ bld.SAMBA_SUBSYSTEM('RPC_NDR_KEYSVC',
 bld.SAMBA_SUBSYSTEM('NDR_DCERPC',
        source='../../librpc/gen_ndr/ndr_dcerpc.c',
        public_deps='LIBNDR',
-       public_headers='rpc/dcerpc.h ../../librpc/gen_ndr/ndr_dcerpc.h'
+       public_headers='rpc/dcerpc.h ../../librpc/gen_ndr/ndr_dcerpc.h ../../librpc/gen_ndr/dcerpc.h',
+        header_path= [ ('*gen_ndr*', 'gen_ndr') ],
        )
 
 
@@ -596,6 +603,7 @@ bld.SAMBA_LIBRARY('dcerpc',
        autoproto='rpc/dcerpc_proto.h',
        public_deps='CREDENTIALS tevent talloc',
        public_headers='../../librpc/gen_ndr/mgmt.h ../../librpc/gen_ndr/ndr_mgmt.h ../../librpc/gen_ndr/ndr_mgmt_c.h ../../librpc/gen_ndr/epmapper.h ../../librpc/gen_ndr/ndr_epmapper.h ../../librpc/gen_ndr/ndr_epmapper_c.h',
+        header_path='gen_ndr',
        vnum='0.0.1'
        )
 
index 6a871ab9039d6442bcea6ce131a9bf99439bcd03..841554abfcbfc8cfa0dad730a7bb6caaa7813fc0 100644 (file)
@@ -1,11 +1,8 @@
-# AUTOGENERATED by mktowscript.pl from ../../source4/rpc_server/config.mk
-# Please remove this notice if hand editing
-
-
 bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
        source='common/server_info.c common/share_info.c common/forward.c',
        autoproto='common/proto.h',
        public_headers='common/common.h',
+        header_path='dcerpc_server',
        deps='ldb'
        )