mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r14594: Fix some dependencies (required for shared library build)
(This used to be commit 06f7a8c692
)
This commit is contained in:
parent
bb1909e15e
commit
508f2f5506
@ -505,8 +505,8 @@ sub write($$)
|
|||||||
|
|
||||||
# nasty hack to allow running locally
|
# nasty hack to allow running locally
|
||||||
if ($self->{duplicate_build}) {
|
if ($self->{duplicate_build}) {
|
||||||
$self->output("bin/libdynconfig.\$(SHLIBEXT): dynconfig-devel.o\n");
|
$self->output("bin/libdynconfig.\$(SHLIBEXT).0.0.1: dynconfig-devel.o\n");
|
||||||
$self->output("bin/libdynconfig.\$(SHLIBEXT): LIBRARY_DYNCONFIG_OBJ_LIST=dynconfig-devel.o\n");
|
$self->output("bin/libdynconfig.\$(SHLIBEXT).0.0.1: LIBRARY_DYNCONFIG_OBJ_LIST=dynconfig-devel.o\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
$self->_prepare_mk_files();
|
$self->_prepare_mk_files();
|
||||||
|
@ -106,7 +106,7 @@ int ldb_connect(struct ldb_context *ldb, const char *url, unsigned int flags, co
|
|||||||
ldb_connect_fn fn;
|
ldb_connect_fn fn;
|
||||||
|
|
||||||
if (strchr(url, ':') != NULL) {
|
if (strchr(url, ':') != NULL) {
|
||||||
backend = talloc_strndup(ldb, url, strchr(url, ':')-url);
|
backend = talloc_strndup(ldb, url, strchr(url, ':')-url-1);
|
||||||
} else {
|
} else {
|
||||||
/* Default to tdb */
|
/* Default to tdb */
|
||||||
backend = talloc_strdup(ldb, "tdb");
|
backend = talloc_strdup(ldb, "tdb");
|
||||||
|
@ -82,8 +82,8 @@ REQUIRED_SUBSYSTEMS = \
|
|||||||
|
|
||||||
################################################
|
################################################
|
||||||
# Start MODULE ldb_map
|
# Start MODULE ldb_map
|
||||||
[MODULE::ldb_map]
|
[SUBSYSTEM::ldb_map]
|
||||||
SUBSYSTEM = ldb
|
REQUIRED_SUBSYSTEMS = ldb
|
||||||
OBJ_FILES = modules/ldb_map.o
|
OBJ_FILES = modules/ldb_map.o
|
||||||
# End MODULE ldb_map
|
# End MODULE ldb_map
|
||||||
################################################
|
################################################
|
||||||
@ -126,13 +126,16 @@ REQUIRED_SUBSYSTEMS = \
|
|||||||
# End MODULE ldb_tdb
|
# End MODULE ldb_tdb
|
||||||
################################################
|
################################################
|
||||||
|
|
||||||
|
./lib/ldb/common/ldb_modules.o: lib/ldb/common/ldb_modules.c Makefile
|
||||||
|
@echo Compiling $<
|
||||||
|
@$(CC) $(CFLAGS) $(PICFLAG) -DMODULESDIR=\"$(MODULESDIR)/ldb\" -DSHLIBEXT=\"$(SHLIBEXT)\" -c $< -o $@
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
# Start SUBSYSTEM ldb
|
# Start SUBSYSTEM ldb
|
||||||
[LIBRARY::ldb]
|
[LIBRARY::ldb]
|
||||||
VERSION = 0.0.1
|
VERSION = 0.0.1
|
||||||
SO_VERSION = 0
|
SO_VERSION = 0
|
||||||
DESCRIPTION = LDAP-like embedded database library
|
DESCRIPTION = LDAP-like embedded database library
|
||||||
EXTRA_CFLAGS = -DMODULESDIR="$(MODULESDIR)/ldb" -DSHLIBEXT="$(SHLIBEXT)"
|
|
||||||
INIT_FUNCTION_TYPE = int (*) (void)
|
INIT_FUNCTION_TYPE = int (*) (void)
|
||||||
OBJ_FILES = \
|
OBJ_FILES = \
|
||||||
common/ldb.o \
|
common/ldb.o \
|
||||||
|
@ -627,7 +627,7 @@ REQUIRED_SUBSYSTEMS = dcerpc NDR_MISC EJSRPC
|
|||||||
INIT_FUNCTION = ejs_init_samr
|
INIT_FUNCTION = ejs_init_samr
|
||||||
OBJ_FILES = gen_ndr/ndr_samr_ejs.o
|
OBJ_FILES = gen_ndr/ndr_samr_ejs.o
|
||||||
SUBSYSTEM = smbcalls
|
SUBSYSTEM = smbcalls
|
||||||
REQUIRED_SUBSYSTEMS = dcerpc NDR_SAMR EJSRPC
|
REQUIRED_SUBSYSTEMS = dcerpc NDR_SAMR EJSRPC RPC_EJS_LSA RPC_EJS_SECURITY RPC_EJS_MISC
|
||||||
|
|
||||||
[MODULE::RPC_EJS_SECURITY]
|
[MODULE::RPC_EJS_SECURITY]
|
||||||
INIT_FUNCTION = ejs_init_security
|
INIT_FUNCTION = ejs_init_security
|
||||||
@ -639,7 +639,7 @@ REQUIRED_SUBSYSTEMS = dcerpc NDR_SECURITY EJSRPC
|
|||||||
INIT_FUNCTION = ejs_init_lsarpc
|
INIT_FUNCTION = ejs_init_lsarpc
|
||||||
OBJ_FILES = gen_ndr/ndr_lsa_ejs.o
|
OBJ_FILES = gen_ndr/ndr_lsa_ejs.o
|
||||||
SUBSYSTEM = smbcalls
|
SUBSYSTEM = smbcalls
|
||||||
REQUIRED_SUBSYSTEMS = dcerpc NDR_LSA EJSRPC
|
REQUIRED_SUBSYSTEMS = dcerpc NDR_LSA EJSRPC RPC_EJS_SECURITY
|
||||||
|
|
||||||
[MODULE::RPC_EJS_DFS]
|
[MODULE::RPC_EJS_DFS]
|
||||||
INIT_FUNCTION = ejs_init_netdfs
|
INIT_FUNCTION = ejs_init_netdfs
|
||||||
@ -651,7 +651,7 @@ REQUIRED_SUBSYSTEMS = dcerpc NDR_DFS EJSRPC
|
|||||||
INIT_FUNCTION = ejs_init_drsuapi
|
INIT_FUNCTION = ejs_init_drsuapi
|
||||||
OBJ_FILES = gen_ndr/ndr_drsuapi_ejs.o
|
OBJ_FILES = gen_ndr/ndr_drsuapi_ejs.o
|
||||||
SUBSYSTEM = smbcalls
|
SUBSYSTEM = smbcalls
|
||||||
REQUIRED_SUBSYSTEMS = dcerpc NDR_DRSUAPI EJSRPC
|
REQUIRED_SUBSYSTEMS = dcerpc NDR_DRSUAPI EJSRPC RPC_EJS_MISC
|
||||||
|
|
||||||
[MODULE::RPC_EJS_SPOOLSS]
|
[MODULE::RPC_EJS_SPOOLSS]
|
||||||
INIT_FUNCTION = ejs_init_spoolss
|
INIT_FUNCTION = ejs_init_spoolss
|
||||||
@ -664,25 +664,25 @@ REQUIRED_SUBSYSTEMS = dcerpc NDR_SPOOLSS EJSRPC
|
|||||||
INIT_FUNCTION = ejs_init_wkssvc
|
INIT_FUNCTION = ejs_init_wkssvc
|
||||||
OBJ_FILES = gen_ndr/ndr_wkssvc_ejs.o
|
OBJ_FILES = gen_ndr/ndr_wkssvc_ejs.o
|
||||||
SUBSYSTEM = smbcalls
|
SUBSYSTEM = smbcalls
|
||||||
REQUIRED_SUBSYSTEMS = dcerpc NDR_WKSSVC EJSRPC
|
REQUIRED_SUBSYSTEMS = dcerpc NDR_WKSSVC EJSRPC RPC_EJS_SRVSVC RPC_EJS_MISC
|
||||||
|
|
||||||
[MODULE::RPC_EJS_SRVSVC]
|
[MODULE::RPC_EJS_SRVSVC]
|
||||||
INIT_FUNCTION = ejs_init_srvsvc
|
INIT_FUNCTION = ejs_init_srvsvc
|
||||||
OBJ_FILES = gen_ndr/ndr_srvsvc_ejs.o
|
OBJ_FILES = gen_ndr/ndr_srvsvc_ejs.o
|
||||||
SUBSYSTEM = smbcalls
|
SUBSYSTEM = smbcalls
|
||||||
REQUIRED_SUBSYSTEMS = dcerpc NDR_SRVSVC EJSRPC
|
REQUIRED_SUBSYSTEMS = dcerpc NDR_SRVSVC EJSRPC RPC_EJS_MISC
|
||||||
|
|
||||||
[MODULE::RPC_EJS_EVENTLOG]
|
[MODULE::RPC_EJS_EVENTLOG]
|
||||||
INIT_FUNCTION = ejs_init_eventlog
|
INIT_FUNCTION = ejs_init_eventlog
|
||||||
OBJ_FILES = gen_ndr/ndr_eventlog_ejs.o
|
OBJ_FILES = gen_ndr/ndr_eventlog_ejs.o
|
||||||
SUBSYSTEM = smbcalls
|
SUBSYSTEM = smbcalls
|
||||||
REQUIRED_SUBSYSTEMS = dcerpc NDR_EVENTLOG EJSRPC
|
REQUIRED_SUBSYSTEMS = dcerpc NDR_EVENTLOG EJSRPC RPC_EJS_MISC
|
||||||
|
|
||||||
[MODULE::RPC_EJS_WINREG]
|
[MODULE::RPC_EJS_WINREG]
|
||||||
INIT_FUNCTION = ejs_init_winreg
|
INIT_FUNCTION = ejs_init_winreg
|
||||||
OBJ_FILES = gen_ndr/ndr_winreg_ejs.o
|
OBJ_FILES = gen_ndr/ndr_winreg_ejs.o
|
||||||
SUBSYSTEM = smbcalls
|
SUBSYSTEM = smbcalls
|
||||||
REQUIRED_SUBSYSTEMS = dcerpc NDR_WINREG EJSRPC
|
REQUIRED_SUBSYSTEMS = dcerpc NDR_WINREG EJSRPC RPC_EJS_INITSHUTDOWN
|
||||||
|
|
||||||
[MODULE::RPC_EJS_INITSHUTDOWN]
|
[MODULE::RPC_EJS_INITSHUTDOWN]
|
||||||
INIT_FUNCTION = ejs_init_initshutdown
|
INIT_FUNCTION = ejs_init_initshutdown
|
||||||
@ -694,13 +694,13 @@ REQUIRED_SUBSYSTEMS = dcerpc NDR_INITSHUTDOWN EJSRPC
|
|||||||
INIT_FUNCTION = ejs_init_netlogon
|
INIT_FUNCTION = ejs_init_netlogon
|
||||||
OBJ_FILES = gen_ndr/ndr_netlogon_ejs.o
|
OBJ_FILES = gen_ndr/ndr_netlogon_ejs.o
|
||||||
SUBSYSTEM = smbcalls
|
SUBSYSTEM = smbcalls
|
||||||
REQUIRED_SUBSYSTEMS = dcerpc NDR_NETLOGON EJSRPC RPC_EJS_SAMR
|
REQUIRED_SUBSYSTEMS = dcerpc NDR_NETLOGON EJSRPC RPC_EJS_SAMR RPC_EJS_SECURITY RPC_EJS_MISC
|
||||||
|
|
||||||
[MODULE::RPC_EJS_SVCCTL]
|
[MODULE::RPC_EJS_SVCCTL]
|
||||||
INIT_FUNCTION = ejs_init_svcctl
|
INIT_FUNCTION = ejs_init_svcctl
|
||||||
OBJ_FILES = gen_ndr/ndr_svcctl_ejs.o
|
OBJ_FILES = gen_ndr/ndr_svcctl_ejs.o
|
||||||
SUBSYSTEM = smbcalls
|
SUBSYSTEM = smbcalls
|
||||||
REQUIRED_SUBSYSTEMS = dcerpc NDR_SVCCTL EJSRPC
|
REQUIRED_SUBSYSTEMS = dcerpc NDR_SVCCTL EJSRPC RPC_EJS_MISC
|
||||||
|
|
||||||
[MODULE::RPC_EJS_IRPC]
|
[MODULE::RPC_EJS_IRPC]
|
||||||
INIT_FUNCTION = ejs_init_irpc
|
INIT_FUNCTION = ejs_init_irpc
|
||||||
|
@ -14,3 +14,5 @@
|
|||||||
- replace subcontext() with represent_as()
|
- replace subcontext() with represent_as()
|
||||||
|
|
||||||
- --explain-ndr option that dumps out parse tree ?
|
- --explain-ndr option that dumps out parse tree ?
|
||||||
|
|
||||||
|
- seperate tables for NDR and DCE/RPC
|
||||||
|
@ -124,7 +124,7 @@ sub fn_declare($$)
|
|||||||
|
|
||||||
if (has_property($fn, "public")) {
|
if (has_property($fn, "public")) {
|
||||||
pidl_hdr "$decl;\n";
|
pidl_hdr "$decl;\n";
|
||||||
pidl "$decl";
|
pidl "_PUBLIC_ $decl";
|
||||||
} else {
|
} else {
|
||||||
pidl "static $decl";
|
pidl "static $decl";
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,6 @@ SUBSYSTEM = smbcalls
|
|||||||
INIT_FUNCTION = smb_setup_ejs_samba3
|
INIT_FUNCTION = smb_setup_ejs_samba3
|
||||||
REQUIRED_SUBSYSTEMS = LIBSAMBA3
|
REQUIRED_SUBSYSTEMS = LIBSAMBA3
|
||||||
|
|
||||||
|
|
||||||
[MODULE::smbcalls_rand]
|
[MODULE::smbcalls_rand]
|
||||||
OBJ_FILES = smbcalls_rand.o
|
OBJ_FILES = smbcalls_rand.o
|
||||||
SUBSYSTEM = smbcalls
|
SUBSYSTEM = smbcalls
|
||||||
|
Loading…
Reference in New Issue
Block a user