summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-03-14 00:44:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:35 -0500
commit00d74b84e902e4d9ef4874637822d1ae5697275f (patch)
treeb6198038290fbd22d6c7dcc09a98c7051c1b78d1
parent8afe4e7f3c18181a809da90a008d9a5deb86ca6b (diff)
downloadsamba-00d74b84e902e4d9ef4874637822d1ae5697275f.tar.gz
samba-00d74b84e902e4d9ef4874637822d1ae5697275f.tar.bz2
samba-00d74b84e902e4d9ef4874637822d1ae5697275f.zip
r21837: Make dcerpc_mgmt a separate library again, as the linker leaves it out when it's part of dcerpc.
(This used to be commit dc4428553ec2749ef1ba24fbffeaabf0af6bf364)
-rw-r--r--source4/lib/registry/registry.h4
-rw-r--r--source4/librpc/config.mk7
-rw-r--r--source4/torture/config.mk2
3 files changed, 10 insertions, 3 deletions
diff --git a/source4/lib/registry/registry.h b/source4/lib/registry/registry.h
index 509e66b5fd..29aa226539 100644
--- a/source4/lib/registry/registry.h
+++ b/source4/lib/registry/registry.h
@@ -183,6 +183,10 @@ struct reg_diff
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,
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index 5cd4259e31..1da7fe38da 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -405,9 +405,12 @@ PUBLIC_DEPENDENCIES = dcerpc NDR_WINREG
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 @@ OBJ_FILES = \
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
diff --git a/source4/torture/config.mk b/source4/torture/config.mk
index 998c729160..9ba48c0c8c 100644
--- a/source4/torture/config.mk
+++ b/source4/torture/config.mk
@@ -161,7 +161,7 @@ OBJ_FILES = \
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 \