Rev 11740: Make dcerpc_mgmt a separate library again, as the linker leaves it out when it's part of dcerpc. in file:///home/jelmer/bzr.samba/SAMBA_4_0/

Jelmer Vernooij jelmer at samba.org
Wed Mar 14 00:43:01 GMT 2007


At file:///home/jelmer/bzr.samba/SAMBA_4_0/

------------------------------------------------------------
revno: 11740
revision-id: jelmer at samba.org-20070314004236-61z780bclp4np4o0
parent: svn-v2:21836 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: SAMBA_4_0
timestamp: Wed 2007-03-14 01:42:36 +0100
message:
  Make dcerpc_mgmt a separate library again, as the linker leaves it out when it's part of dcerpc.
modified:
  source/lib/registry/registry.h svn-v2:10026 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2flib%2fregistry%2fregistry.h
  source/librpc/config.mk        svn-v2:3433 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2flibrpc%2fconfig.mk
  source/torture/config.mk       svn-v2:860 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2ftorture%2fconfig.mk
=== modified file 'source/lib/registry/registry.h'
--- a/source/lib/registry/registry.h	2007-03-13 20:44:14 +0000
+++ b/source/lib/registry/registry.h	2007-03-14 00:42:36 +0000
@@ -183,6 +183,10 @@
 struct auth_session_info;
 struct event_context;
 
+#ifndef _PUBLIC_
+#define _PUBLIC_
+#endif
+
 _PUBLIC_ WERROR reg_open_local (TALLOC_CTX *mem_ctx, 
 				struct registry_context **ctx, 
 				struct auth_session_info *session_info, 

=== modified file 'source/librpc/config.mk'
--- a/source/librpc/config.mk	2007-03-13 20:26:35 +0000
+++ b/source/librpc/config.mk	2007-03-14 00:42:36 +0000
@@ -405,9 +405,12 @@
 OBJ_FILES = gen_ndr/ndr_initshutdown_c.o
 PUBLIC_DEPENDENCIES = dcerpc NDR_INITSHUTDOWN
 
-[SUBSYSTEM::RPC_NDR_MGMT]
+[LIBRARY::dcerpc_mgmt]
 OBJ_FILES = gen_ndr/ndr_mgmt_c.o
 PRIVATE_DEPENDENCIES = NDR_MGMT
+VERSION = 0.0.1
+SO_VERSION = 0
+DESCRIPTION = DCE/RPC client library - MGMT
 
 [SUBSYSTEM::RPC_NDR_PROTECTED_STORAGE]
 OBJ_FILES = gen_ndr/ndr_protected_storage_c.o
@@ -476,7 +479,7 @@
 		rpc/dcerpc_connect.o
 PRIVATE_DEPENDENCIES = \
 		samba-socket LIBCLI_RESOLVE LIBCLI_SMB LIBCLI_SMB2 \
-		LIBNDR NDR_DCERPC RPC_NDR_EPMAPPER RPC_NDR_MGMT \
+		LIBNDR NDR_DCERPC RPC_NDR_EPMAPPER \
 		NDR_SCHANNEL RPC_NDR_NETLOGON \
 		gensec LIBCLI_AUTH LIBCLI_RAW CREDENTIALS
 # End SUBSYSTEM dcerpc

=== modified file 'source/torture/config.mk'
--- a/source/torture/config.mk	2007-03-13 20:44:14 +0000
+++ b/source/torture/config.mk	2007-03-14 00:42:36 +0000
@@ -161,7 +161,7 @@
 PUBLIC_DEPENDENCIES = \
 		NDR_TABLE RPC_NDR_UNIXINFO dcerpc_samr RPC_NDR_WINREG RPC_NDR_INITSHUTDOWN \
 		RPC_NDR_OXIDRESOLVER RPC_NDR_EVENTLOG RPC_NDR_ECHO RPC_NDR_SVCCTL \
-		RPC_NDR_NETLOGON dcerpc_atsvc RPC_NDR_DRSUAPI \
+		RPC_NDR_NETLOGON dcerpc_atsvc dcerpc_mgmt RPC_NDR_DRSUAPI \
 		RPC_NDR_LSA RPC_NDR_EPMAPPER RPC_NDR_DFS RPC_NDR_SPOOLSS \
 		RPC_NDR_SRVSVC RPC_NDR_WKSSVC RPC_NDR_ROT RPC_NDR_DSSETUP \
 		RPC_NDR_REMACT RPC_NDR_OXIDRESOLVER WB_HELPER LIBSAMBA-NET \



More information about the samba-cvs mailing list