summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \