mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Create prototype headers from Makefile directory, without smb_build in the middle.
(This used to be commit f4a77b96f9
)
This commit is contained in:
parent
e3a615172e
commit
4c8756f147
@ -231,6 +231,7 @@ data.mk: config.status $(MK_FILES)
|
||||
|
||||
testcov-html::
|
||||
|
||||
pidldir := pidl
|
||||
include pidl/config.mk
|
||||
include selftest/config.mk
|
||||
|
||||
|
@ -66,7 +66,6 @@ $(call proto_header_template,$(gensecsrcdir)/spnego_proto.h,$(gensec_spnego_OBJ_
|
||||
# Start MODULE gensec_schannel
|
||||
[MODULE::gensec_schannel]
|
||||
SUBSYSTEM = gensec
|
||||
PRIVATE_PROTO_HEADER = schannel_proto.h
|
||||
INIT_FUNCTION = gensec_schannel_init
|
||||
PRIVATE_DEPENDENCIES = SCHANNELDB NDR_SCHANNEL CREDENTIALS LIBNDR
|
||||
OUTPUT_TYPE = MERGED_OBJ
|
||||
@ -74,14 +73,15 @@ OUTPUT_TYPE = MERGED_OBJ
|
||||
################################################
|
||||
|
||||
gensec_schannel_OBJ_FILES = $(addprefix $(gensecsrcdir)/, schannel.o schannel_sign.o)
|
||||
$(call proto_header_template,$(gensecsrcdir)/schannel_proto.h,$(gensec_schannel_OBJ_FILES:.o=.c))
|
||||
|
||||
################################################
|
||||
# Start SUBSYSTEM SCHANNELDB
|
||||
[SUBSYSTEM::SCHANNELDB]
|
||||
PRIVATE_PROTO_HEADER = schannel_state.h
|
||||
PRIVATE_DEPENDENCIES = LDB_WRAP SAMDB
|
||||
# End SUBSYSTEM SCHANNELDB
|
||||
################################################
|
||||
|
||||
SCHANNELDB_OBJ_FILES = $(addprefix $(gensecsrcdir)/, schannel_state.o)
|
||||
$(call proto_header_template,$(gensecsrcdir)/schannel_state.h,$(SCHANNELDB_OBJ_FILES:.o=.c))
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
#################################
|
||||
# Start SUBSYSTEM KERBEROS
|
||||
[SUBSYSTEM::KERBEROS]
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
PUBLIC_DEPENDENCIES = HEIMDAL_KRB5 NDR_KRB5PAC samba-socket LIBCLI_RESOLVE
|
||||
PRIVATE_DEPENDENCIES = ASN1_UTIL auth_sam_reply LIBPACKET LIBNDR
|
||||
# End SUBSYSTEM KERBEROS
|
||||
@ -15,3 +14,5 @@ KERBEROS_OBJ_FILES = $(addprefix $(authsrcdir)/kerberos/, \
|
||||
gssapi_parse.o \
|
||||
krb5_init_context.o)
|
||||
|
||||
$(call proto_header_template,$(authsrcdir)/proto.h,$(KERBEROS_OBJ_FILES:.o=.c))
|
||||
|
||||
|
@ -69,7 +69,8 @@ PRIVATE_DEPENDENCIES = CRYPT PAM PAM_ERRORS NSS_WRAPPER
|
||||
auth_unix_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, auth_unix.o)
|
||||
|
||||
[SUBSYSTEM::PAM_ERRORS]
|
||||
PRIVATE_PROTO_HEADER = pam_errors.h
|
||||
|
||||
$(call proto_header_template,$(authsrcdir)/ntlm/pam_errors.h,$(auth_unix_OBJ_FILES:.o=.c))
|
||||
|
||||
#VERSION = 0.0.1
|
||||
#SO_VERSION = 0
|
||||
@ -78,10 +79,10 @@ PAM_ERRORS_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, pam_errors.o)
|
||||
[MODULE::auth]
|
||||
INIT_FUNCTION = server_service_auth_init
|
||||
SUBSYSTEM = service
|
||||
PRIVATE_PROTO_HEADER = auth_proto.h
|
||||
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBSECURITY SAMDB CREDENTIALS
|
||||
|
||||
auth_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, auth.o auth_util.o auth_simple.o)
|
||||
$(call proto_header_template,$(authsrcdir)/auth_proto.h,$(auth_OBJ_FILES))
|
||||
|
||||
# PUBLIC_HEADERS += auth/auth.h
|
||||
|
||||
|
@ -1,17 +1,19 @@
|
||||
[SUBSYSTEM::MSRPC_PARSE]
|
||||
PRIVATE_PROTO_HEADER = msrpc_parse.h
|
||||
|
||||
MSRPC_PARSE_OBJ_FILES = $(addprefix $(authsrcdir)/ntlmssp/, ntlmssp_parse.o)
|
||||
|
||||
$(call proto_header_template,$(authsrcdir)/ntlmssp/msrpc_parse.h,$(MSRPC_PARSE_OBJ_FILES))
|
||||
|
||||
################################################
|
||||
# Start MODULE gensec_ntlmssp
|
||||
[MODULE::gensec_ntlmssp]
|
||||
SUBSYSTEM = gensec
|
||||
INIT_FUNCTION = gensec_ntlmssp_init
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
PRIVATE_DEPENDENCIES = MSRPC_PARSE CREDENTIALS auth
|
||||
OUTPUT_TYPE = MERGED_OBJ
|
||||
# End MODULE gensec_ntlmssp
|
||||
################################################
|
||||
|
||||
gensec_ntlmssp_OBJ_FILES = $(addprefix $(authsrcdir)/ntlmssp/, ntlmssp.o ntlmssp_sign.o ntlmssp_client.o ntlmssp_server.o)
|
||||
|
||||
$(call proto_header_template,$(authsrcdir)/ntlmssp/proto.h,$(gensec_ntlmssp_OBJ_FILES:.o=.c))
|
||||
|
@ -33,8 +33,6 @@ my $section_types = {
|
||||
|
||||
"ENABLE" => "bool",
|
||||
|
||||
"PRIVATE_PROTO_HEADER" => "string",
|
||||
|
||||
"CFLAGS" => "list",
|
||||
"LDFLAGS" => "list",
|
||||
"STANDARD_VISIBILITY" => "string",
|
||||
@ -53,8 +51,6 @@ my $section_types = {
|
||||
|
||||
"OUTPUT_TYPE" => "list",
|
||||
|
||||
"PRIVATE_PROTO_HEADER" => "string",
|
||||
|
||||
"CFLAGS" => "list"
|
||||
},
|
||||
"BINARY" => {
|
||||
@ -64,8 +60,6 @@ my $section_types = {
|
||||
"ENABLE" => "bool",
|
||||
|
||||
"INSTALLDIR" => "string",
|
||||
"PRIVATE_PROTO_HEADER" => "string",
|
||||
|
||||
"CFLAGS" => "list",
|
||||
"LDFLAGS" => "list",
|
||||
"STANDARD_VISIBILITY" => "string",
|
||||
@ -84,8 +78,6 @@ my $section_types = {
|
||||
|
||||
"ENABLE" => "bool",
|
||||
|
||||
"PRIVATE_PROTO_HEADER" => "string",
|
||||
|
||||
"CFLAGS" => "list",
|
||||
"LDFLAGS" => "list",
|
||||
"STANDARD_VISIBILITY" => "string"
|
||||
|
@ -92,7 +92,6 @@ foreach my $key (values %$OUTPUT) {
|
||||
grep(/SHARED_LIBRARY/, @{$key->{OUTPUT_TYPE}}));
|
||||
$mkenv->PythonModule($key) if ($key->{TYPE} eq "PYTHON");
|
||||
$mkenv->Binary($key) if grep(/BINARY/, @{$key->{OUTPUT_TYPE}});
|
||||
$mkenv->ProtoHeader($key) if defined($key->{PRIVATE_PROTO_HEADER});
|
||||
$mkenv->InitFunctions($key) if defined($key->{INIT_FUNCTIONS});
|
||||
}
|
||||
|
||||
|
@ -223,14 +223,6 @@ sub PythonFiles($$)
|
||||
}
|
||||
}
|
||||
|
||||
sub ProtoHeader($$)
|
||||
{
|
||||
my ($self,$ctx) = @_;
|
||||
|
||||
my $target = "$ctx->{BASEDIR}/$ctx->{PRIVATE_PROTO_HEADER}";
|
||||
$self->output("\$(call proto_header_template,$target,\$($ctx->{NAME}_OBJ_FILES:.o=.c))\n");
|
||||
}
|
||||
|
||||
sub write($$)
|
||||
{
|
||||
my ($self, $file) = @_;
|
||||
|
@ -5,7 +5,6 @@
|
||||
[MODULE::CLDAPD]
|
||||
INIT_FUNCTION = server_service_cldapd_init
|
||||
SUBSYSTEM = smbd
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_CLDAP LIBNETIF process_model
|
||||
# End SUBSYSTEM CLDAPD
|
||||
@ -16,3 +15,4 @@ CLDAPD_OBJ_FILES = $(addprefix $(cldap_serversrcdir)/, \
|
||||
netlogon.o \
|
||||
rootdse.o)
|
||||
|
||||
$(call proto_header_template,$(cldap_serversrcdir)/proto.h,$(CLDAPD_OBJ_FILES:.o=.c))
|
||||
|
@ -5,7 +5,6 @@ mkinclude samdb/ldb_modules/config.mk
|
||||
################################################
|
||||
# Start SUBSYSTEM SAMDB
|
||||
[SUBSYSTEM::SAMDB]
|
||||
PRIVATE_PROTO_HEADER = samdb/samdb_proto.h
|
||||
PUBLIC_DEPENDENCIES = HEIMDAL_KRB5
|
||||
PRIVATE_DEPENDENCIES = LIBNDR NDR_MISC NDR_DRSUAPI NDR_DRSBLOBS NSS_WRAPPER \
|
||||
auth_system_session LDAP_ENCODE LIBCLI_AUTH LIBNDR \
|
||||
@ -18,19 +17,19 @@ SAMDB_OBJ_FILES = $(addprefix $(dsdbsrcdir)/, \
|
||||
samdb/cracknames.o \
|
||||
repl/replicated_objects.o)
|
||||
|
||||
$(call proto_header_template,$(dsdbsrcdir)/samdb/samdb_proto.h,$(SAMDB_OBJ_FILES:.o=.c))
|
||||
# PUBLIC_HEADERS += dsdb/samdb/samdb.h
|
||||
|
||||
[SUBSYSTEM::SAMDB_COMMON]
|
||||
PRIVATE_PROTO_HEADER = common/proto.h
|
||||
PRIVATE_DEPENDENCIES = LIBLDB
|
||||
|
||||
SAMDB_COMMON_OBJ_FILES = $(addprefix $(dsdbsrcdir)/common/, \
|
||||
sidmap.o \
|
||||
flag_mapping.o \
|
||||
util.o)
|
||||
$(call proto_header_template,$(dsdbsrcdir)/common/proto.h,$(SAMDB_COMMON_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::SAMDB_SCHEMA]
|
||||
PRIVATE_PROTO_HEADER = schema/proto.h
|
||||
PRIVATE_DEPENDENCIES = SAMDB_COMMON NDR_DRSUAPI NDR_DRSBLOBS
|
||||
|
||||
SAMDB_SCHEMA_OBJ_FILES = $(addprefix $(dsdbsrcdir)/schema/, \
|
||||
@ -38,6 +37,7 @@ SAMDB_SCHEMA_OBJ_FILES = $(addprefix $(dsdbsrcdir)/schema/, \
|
||||
schema_syntax.o \
|
||||
schema_constructed.o)
|
||||
|
||||
$(call proto_header_template,$(dsdbsrcdir)/schema/proto.h,$(SAMDB_SCHEMA_OBJ_FILES:.o=.c))
|
||||
# PUBLIC_HEADERS += dsdb/schema/schema.h
|
||||
|
||||
#######################
|
||||
@ -45,7 +45,6 @@ SAMDB_SCHEMA_OBJ_FILES = $(addprefix $(dsdbsrcdir)/schema/, \
|
||||
[MODULE::DREPL_SRV]
|
||||
INIT_FUNCTION = server_service_drepl_init
|
||||
SUBSYSTEM = smbd
|
||||
PRIVATE_PROTO_HEADER = repl/drepl_service_proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
SAMDB \
|
||||
process_model
|
||||
@ -59,3 +58,4 @@ DREPL_SRV_OBJ_FILES = $(addprefix $(dsdbsrcdir)/repl/, \
|
||||
drepl_out_pull.o \
|
||||
drepl_out_helpers.o)
|
||||
|
||||
$(call proto_header_template,$(dsdbsrcdir)/repl/drepl_service_proto.h,$(DREPL_SRV_OBJ_FILES:.o=.c))
|
||||
|
@ -12,7 +12,7 @@ LMHOSTSFILE = $(sysconfdir)/lmhosts
|
||||
dynconfig.o: dynconfig.c Makefile
|
||||
@echo Compiling $<
|
||||
@$(CC) $(CFLAGS) $(CPPFLAGS) $(PICFLAG) -c $< -o $@ \
|
||||
-DCONFIGFILE=\"$(CONFIGFILE)\" \ -DBINDIR=\"$(bindir)\" \
|
||||
-DCONFIGFILE=\"$(CONFIGFILE)\" -DBINDIR=\"$(bindir)\" \
|
||||
-DLMHOSTSFILE=\"$(LMHOSTSFILE)\" \
|
||||
-DLOCKDIR=\"$(lockdir)\" -DPIDDIR=\"$(piddir)\" -DDATADIR=\"$(datadir)\" \
|
||||
-DLOGFILEBASE=\"$(logfilebase)\" \
|
||||
|
@ -557,33 +557,33 @@ compile_et_OBJ_FILES = $(heimdalsrcdir)/lib/vers/print_version.ho \
|
||||
./heimdal_build/replace.ho
|
||||
|
||||
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/hdb/hdb.asn1 hdb_asn1 heimdal//lib/hdb |
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/gssapi/spnego/spnego.asn1 spnego_asn1 heimdal//lib/gssapi --sequence=MechTypeList |
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/gssapi/mech/gssapi.asn1 gssapi_asn1 heimdal//lib/gssapi|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/asn1/k5.asn1 krb5_asn1 heimdal//lib/asn1 --encode-rfc1510-bit-string --sequence=KRB5SignedPathPrincipals --sequence=AuthorizationData --sequence=METHOD-DATA|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/asn1/digest.asn1 digest_asn1 heimdal//lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/asn1/pkcs8.asn1 pkcs8_asn1 heimdal//lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/asn1/pkcs9.asn1 pkcs9_asn1 heimdal//lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/asn1/pkcs12.asn1 pkcs12_asn1 heimdal//lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/asn1/rfc2459.asn1 rfc2459_asn1 heimdal//lib/asn1 --preserve-binary=TBSCertificate --preserve-binary=TBSCRLCertList --preserve-binary=Name --sequence=GeneralNames --sequence=Extensions --sequence=CRLDistributionPoints|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/asn1/pkinit.asn1 pkinit_asn1 heimdal//lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/asn1/CMS.asn1 cms_asn1 heimdal//lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/hx509/ocsp.asn1 ocsp_asn1 heimdal//lib/hx509 --preserve-binary=OCSPTBSRequest --preserve-binary=OCSPResponseData|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/asn1/kx509.asn1 kx509_asn1 heimdal//lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal//lib/hx509/pkcs10.asn1 pkcs10_asn1 heimdal//lib/hx509 --preserve-binary=CertificationRequestInfo|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/hdb/hdb.asn1 hdb_asn1 heimdal/lib/hdb |
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/gssapi/spnego/spnego.asn1 spnego_asn1 heimdal/lib/gssapi --sequence=MechTypeList |
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/gssapi/mech/gssapi.asn1 gssapi_asn1 heimdal/lib/gssapi|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/k5.asn1 krb5_asn1 heimdal/lib/asn1 --encode-rfc1510-bit-string --sequence=KRB5SignedPathPrincipals --sequence=AuthorizationData --sequence=METHOD-DATA|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/digest.asn1 digest_asn1 heimdal/lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/pkcs8.asn1 pkcs8_asn1 heimdal/lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/pkcs9.asn1 pkcs9_asn1 heimdal/lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/pkcs12.asn1 pkcs12_asn1 heimdal/lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/rfc2459.asn1 rfc2459_asn1 heimdal/lib/asn1 --preserve-binary=TBSCertificate --preserve-binary=TBSCRLCertList --preserve-binary=Name --sequence=GeneralNames --sequence=Extensions --sequence=CRLDistributionPoints|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/pkinit.asn1 pkinit_asn1 heimdal/lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/CMS.asn1 cms_asn1 heimdal/lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/hx509/ocsp.asn1 ocsp_asn1 heimdal/lib/hx509 --preserve-binary=OCSPTBSRequest --preserve-binary=OCSPResponseData|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/kx509.asn1 kx509_asn1 heimdal/lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh asn1_deps.pl heimdal/lib/hx509/pkcs10.asn1 pkcs10_asn1 heimdal/lib/hx509 --preserve-binary=CertificationRequestInfo|
|
||||
|
||||
#
|
||||
# Ensure to update ./static_deps.mk when you add a new entry here!
|
||||
#
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal//lib/asn1/asn1_err.et heimdal//lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal//lib/hdb/hdb_err.et heimdal//lib/hdb|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal//lib/krb5/heim_err.et heimdal//lib/krb5|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal//lib/krb5/k524_err.et heimdal//lib/krb5|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal//lib/krb5/krb_err.et heimdal//lib/krb5|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal//lib/krb5/krb5_err.et heimdal//lib/krb5|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal//lib/gssapi/krb5/gkrb5_err.et heimdal//lib/gssapi|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal//lib/hx509/hx509_err.et heimdal//lib/hx509|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal//lib/wind/wind_err.et heimdal//lib/wind|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal/lib/asn1/asn1_err.et heimdal/lib/asn1|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal/lib/hdb/hdb_err.et heimdal/lib/hdb|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/heim_err.et heimdal/lib/krb5|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/k524_err.et heimdal/lib/krb5|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/krb_err.et heimdal/lib/krb5|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/krb5_err.et heimdal/lib/krb5|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal/lib/gssapi/krb5/gkrb5_err.et heimdal/lib/gssapi|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal/lib/hx509/hx509_err.et heimdal/lib/hx509|
|
||||
mkinclude perl_path_wrapper.sh et_deps.pl heimdal/lib/wind/wind_err.et heimdal/lib/wind|
|
||||
|
||||
clean::
|
||||
@-rm -f bin/compile_et bin/asn1_compile
|
||||
|
@ -16,7 +16,6 @@ KDC_OBJ_FILES = $(addprefix $(kdcsrcdir)/, kdc.o kpasswdd.o)
|
||||
# Start SUBSYSTEM KDC
|
||||
[SUBSYSTEM::HDB_LDB]
|
||||
CFLAGS = -Iheimdal/kdc -Iheimdal/lib/hdb
|
||||
PRIVATE_PROTO_HEADER = pac_glue.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBLDB auth_sam auth_sam_reply HEIMDAL CREDENTIALS \
|
||||
HEIMDAL_HDB_ASN1
|
||||
@ -24,3 +23,4 @@ PRIVATE_DEPENDENCIES = \
|
||||
#######################
|
||||
|
||||
HDB_LDB_OBJ_FILES = $(addprefix $(kdcsrcdir)/, hdb-ldb.o pac-glue.o)
|
||||
$(call proto_header_template,$(kdcsrcdir)/pac_glue.h,$(HDB_LDB_OBJ_FILES:.o=.c))
|
||||
|
@ -5,7 +5,6 @@
|
||||
[MODULE::LDAP]
|
||||
INIT_FUNCTION = server_service_ldap_init
|
||||
SUBSYSTEM = smbd
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
PRIVATE_DEPENDENCIES = CREDENTIALS \
|
||||
LIBCLI_LDAP SAMDB \
|
||||
process_model \
|
||||
@ -20,3 +19,4 @@ LDAP_OBJ_FILES = $(addprefix $(ldap_serversrcdir)/, \
|
||||
ldap_bind.o \
|
||||
ldap_extended.o)
|
||||
|
||||
$(call proto_header_template,$(ldap_serversrcdir)/proto.h,$(LDAP_OBJ_FILES:.o=.c))
|
||||
|
@ -10,4 +10,4 @@ CHARSET_OBJ_FILES = $(addprefix $(libcharsetsrcdir)/, iconv.o charcnv.o util_uni
|
||||
|
||||
PUBLIC_HEADERS += $(libcharsetsrcdir)/charset.h
|
||||
|
||||
PRIVATE_PROTO_HEADER = charset_proto.h
|
||||
$(call proto_header_template,$(libcharsetsrcdir)/charset_proto.h,$(CHARSET_OBJ_FILES:.o=.c))
|
||||
|
@ -1,9 +1,10 @@
|
||||
[SUBSYSTEM::LIBCMDLINE_CREDENTIALS]
|
||||
PRIVATE_PROTO_HEADER = credentials.h
|
||||
PUBLIC_DEPENDENCIES = CREDENTIALS LIBPOPT
|
||||
|
||||
LIBCMDLINE_CREDENTIALS_OBJ_FILES = $(libcmdlinesrcdir)/credentials.o
|
||||
|
||||
$(call proto_header_template,$(libcmdlinesrcdir)/credentials.h,$(LIBCMDLINE_CREDENTIALS_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::POPT_SAMBA]
|
||||
PUBLIC_DEPENDENCIES = LIBPOPT
|
||||
|
||||
@ -12,8 +13,9 @@ POPT_SAMBA_OBJ_FILES = $(libcmdlinesrcdir)/popt_common.o
|
||||
PUBLIC_HEADERS += $(libcmdlinesrcdir)/popt_common.h
|
||||
|
||||
[SUBSYSTEM::POPT_CREDENTIALS]
|
||||
PRIVATE_PROTO_HEADER = popt_credentials.h
|
||||
PUBLIC_DEPENDENCIES = CREDENTIALS LIBCMDLINE_CREDENTIALS LIBPOPT
|
||||
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL
|
||||
|
||||
POPT_CREDENTIALS_OBJ_FILES = $(libcmdlinesrcdir)/popt_credentials.o
|
||||
|
||||
$(call proto_header_template,$(libcmdlinesrcdir)/popt_credentials.h,$(POPT_CREDENTIALS_OBJ_FILES:.o=.c))
|
||||
|
@ -12,8 +12,8 @@ LIBCRYPTO_OBJ_FILES = $(addprefix $(libcryptosrcdir)/, \
|
||||
[MODULE::TORTURE_LIBCRYPTO]
|
||||
SUBSYSTEM = smbtorture
|
||||
PRIVATE_DEPENDENCIES = LIBCRYPTO
|
||||
PRIVATE_PROTO_HEADER = test_proto.h
|
||||
|
||||
TORTURE_LIBCRYPTO_OBJ_FILES = $(addprefix $(libcryptosrcdir)/, \
|
||||
md4test.o md5test.o hmacmd5test.o sha1test.o hmacsha1test.o)
|
||||
|
||||
$(call proto_header_template,$(libcryptosrcdir)/test_proto.h,$(TORTURE_LIBCRYPTO_OBJ_FILES))
|
||||
|
@ -2,10 +2,10 @@
|
||||
# Start SUBSYSTEM LDBSAMBA
|
||||
[SUBSYSTEM::LDBSAMBA]
|
||||
PUBLIC_DEPENDENCIES = LIBLDB
|
||||
PRIVATE_PROTO_HEADER = ldif_handlers.h
|
||||
PRIVATE_DEPENDENCIES = LIBSECURITY SAMDB_SCHEMA LIBNDR NDR_MISC
|
||||
# End SUBSYSTEM LDBSAMBA
|
||||
################################################
|
||||
|
||||
LDBSAMBA_OBJ_FILES = $(ldb_sambasrcdir)/ldif_handlers.o
|
||||
$(call proto_header_template,$(ldb_sambasrcdir)/ldif_handlers.h,$(LDBSAMBA_OBJ_FILES))
|
||||
|
||||
|
@ -37,10 +37,11 @@ PUBLIC_HEADERS += $(libregistrysrcdir)/registry.h
|
||||
|
||||
[SUBSYSTEM::registry_common]
|
||||
PUBLIC_DEPENDENCIES = registry
|
||||
PRIVATE_PROTO_HEADER = tools/common.h
|
||||
|
||||
registry_common_OBJ_FILES = $(libregistrysrcdir)/tools/common.o
|
||||
|
||||
$(call proto_header_template,$(libregistrysrcdir)/tools/common.h,$(registry_common_OBJ_FILES:.o=.c))
|
||||
|
||||
################################################
|
||||
# Start BINARY regdiff
|
||||
[BINARY::regdiff]
|
||||
@ -98,10 +99,11 @@ MANPAGES += $(libregistrysrcdir)/man/regtree.1
|
||||
|
||||
[SUBSYSTEM::torture_registry]
|
||||
PRIVATE_DEPENDENCIES = registry
|
||||
PRIVATE_PROTO_HEADER = tests/proto.h
|
||||
|
||||
torture_registry_OBJ_FILES = $(addprefix $(libregistrysrcdir)/tests/, generic.o hive.o diff.o registry.o)
|
||||
|
||||
$(call proto_header_template,$(libregistrysrcdir)/tests/proto.h,$(torture_registry_OBJ_FILES:.o=.c))
|
||||
|
||||
[PYTHON::swig_registry]
|
||||
PUBLIC_DEPENDENCIES = registry
|
||||
SWIG_FILE = registry.i
|
||||
|
@ -1,9 +1,10 @@
|
||||
################################################
|
||||
# Start SUBSYSTEM LIBSAMBA3
|
||||
[SUBSYSTEM::SMBPASSWD]
|
||||
PRIVATE_PROTO_HEADER = samba3_smbpasswd_proto.h
|
||||
PRIVATE_DEPENDENCIES = CHARSET LIBSAMBA-UTIL
|
||||
# End SUBSYSTEM LIBSAMBA3
|
||||
################################################
|
||||
|
||||
SMBPASSWD_OBJ_FILES = lib/samba3/smbpasswd.o
|
||||
SMBPASSWD_OBJ_FILES = $(libsrcdir)/samba3/smbpasswd.o
|
||||
|
||||
$(call proto_header_template,$(libsrcdir)/samba3_smbpasswd_proto.h,$(SMBPASSWD_OBJ_FILES:.o=.c))
|
||||
|
@ -1,13 +1,14 @@
|
||||
##############################
|
||||
# Start SUBSYSTEM LIBNETIF
|
||||
[SUBSYSTEM::LIBNETIF]
|
||||
PRIVATE_PROTO_HEADER = netif_proto.h
|
||||
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBREPLACE_NETWORK
|
||||
# End SUBSYSTEM LIBNETIF
|
||||
##############################
|
||||
|
||||
LIBNETIF_OBJ_FILES = $(addprefix $(libsocketsrcdir)/, interface.o netif.o)
|
||||
|
||||
$(call proto_header_template,$(libsocketsrcdir)/netif_proto.h,$(LIBNETIF_OBJ_FILES:.o=.c))
|
||||
|
||||
################################################
|
||||
# Start MODULE socket_ip
|
||||
[MODULE::socket_ip]
|
||||
|
@ -1,8 +1,9 @@
|
||||
[SUBSYSTEM::TDR]
|
||||
CFLAGS = -Ilib/tdr
|
||||
PRIVATE_PROTO_HEADER = tdr_proto.h
|
||||
PUBLIC_DEPENDENCIES = LIBTALLOC LIBSAMBA-UTIL
|
||||
|
||||
TDR_OBJ_FILES = $(libtdrsrcdir)/tdr.o
|
||||
|
||||
$(call proto_header_template,$(libtdrsrcdir)/tdr_proto.h,$(TDR_OBJ_FILES:.o=.c))
|
||||
|
||||
PUBLIC_HEADERS += $(libtdrsrcdir)/tdr.h
|
||||
|
@ -37,15 +37,17 @@ PUBLIC_HEADERS += $(addprefix $(libutilsrcdir)/, util.h \
|
||||
xfile.h)
|
||||
|
||||
[SUBSYSTEM::ASN1_UTIL]
|
||||
PRIVATE_PROTO_HEADER = asn1_proto.h
|
||||
|
||||
ASN1_UTIL_OBJ_FILES = $(libutilsrcdir)/asn1.o
|
||||
|
||||
$(call proto_header_template,$(libutilsrcdir)/asn1_proto.h,$(ASN1_UTIL_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::UNIX_PRIVS]
|
||||
PRIVATE_PROTO_HEADER = unix_privs.h
|
||||
|
||||
UNIX_PRIVS_OBJ_FILES = $(libutilsrcdir)/unix_privs.o
|
||||
|
||||
$(call proto_header_template,$(libutilsrcdir)/unix_privs.h,$(UNIX_PRIVS_OBJ_FILES:.o=.c))
|
||||
|
||||
################################################
|
||||
# Start SUBSYSTEM WRAP_XATTR
|
||||
[SUBSYSTEM::WRAP_XATTR]
|
||||
@ -57,11 +59,12 @@ PUBLIC_DEPENDENCIES = XATTR
|
||||
WRAP_XATTR_OBJ_FILES = $(libutilsrcdir)/wrap_xattr.o
|
||||
|
||||
[SUBSYSTEM::UTIL_TDB]
|
||||
PRIVATE_PROTO_HEADER = util_tdb.h
|
||||
PUBLIC_DEPENDENCIES = LIBTDB
|
||||
|
||||
UTIL_TDB_OBJ_FILES = $(libutilsrcdir)/util_tdb.o
|
||||
|
||||
$(call proto_header_template,$(libutilsrcdir)/util_tdb.h,$(UTIL_TDB_OBJ_FILES))
|
||||
|
||||
[SUBSYSTEM::UTIL_LDB]
|
||||
PUBLIC_DEPENDENCIES = LIBLDB
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
#################################
|
||||
# Start SUBSYSTEM LIBCLI_AUTH
|
||||
[SUBSYSTEM::LIBCLI_AUTH]
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
PUBLIC_DEPENDENCIES = \
|
||||
MSRPC_PARSE \
|
||||
LIBSAMBA-HOSTCONFIG
|
||||
@ -15,3 +14,4 @@ LIBCLI_AUTH_OBJ_FILES = $(addprefix $(libclisrcdir)/auth/, \
|
||||
smbdes.o)
|
||||
|
||||
PUBLIC_HEADERS += $(libclisrcdir)/auth/credentials.h
|
||||
$(call proto_header_template,$(libclisrcdir)/auth/proto.h,$(LIBCLI_AUTH_OBJ_FILES:.o=.c))
|
||||
|
@ -10,20 +10,20 @@ LIBSAMBA-ERRORS_OBJ_FILES = $(addprefix $(libclisrcdir)/util/, doserr.o errormap
|
||||
PUBLIC_HEADERS += $(addprefix $(libclisrcdir)/, util/error.h util/ntstatus.h util/doserr.h util/werror.h)
|
||||
|
||||
[SUBSYSTEM::LIBCLI_LSA]
|
||||
PRIVATE_PROTO_HEADER = util/clilsa.h
|
||||
PUBLIC_DEPENDENCIES = RPC_NDR_LSA
|
||||
PRIVATE_DEPENDENCIES = LIBSECURITY
|
||||
|
||||
LIBCLI_LSA_OBJ_FILES = $(libclisrcdir)/util/clilsa.o
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/util/clilsa.h,$(LIBCLI_LSA_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::LIBCLI_COMPOSITE]
|
||||
PRIVATE_PROTO_HEADER = composite/proto.h
|
||||
PUBLIC_DEPENDENCIES = LIBEVENTS
|
||||
|
||||
LIBCLI_COMPOSITE_OBJ_FILES = $(libclisrcdir)/composite/composite.o
|
||||
$(call proto_header_template,$(libclisrcdir)/composite/proto.h,$(LIBCLI_COMPOSITE_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::LIBCLI_SMB_COMPOSITE]
|
||||
PRIVATE_PROTO_HEADER = smb_composite/proto.h
|
||||
PUBLIC_DEPENDENCIES = LIBCLI_COMPOSITE CREDENTIALS gensec LIBCLI_RESOLVE
|
||||
|
||||
LIBCLI_SMB_COMPOSITE_OBJ_FILES = $(addprefix $(libclisrcdir)/smb_composite/, \
|
||||
@ -35,14 +35,15 @@ LIBCLI_SMB_COMPOSITE_OBJ_FILES = $(addprefix $(libclisrcdir)/smb_composite/, \
|
||||
appendacl.o \
|
||||
fsinfo.o)
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/smb_composite/proto.h,$(LIBCLI_SMB_COMPOSITE_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::NDR_NBT_BUF]
|
||||
PRIVATE_PROTO_HEADER = nbt/nbtname.h
|
||||
|
||||
NDR_NBT_BUF_OBJ_FILES = $(libclisrcdir)/nbt/nbtname.o
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/nbt/nbtname.h,$(NDR_NBT_BUF_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::LIBCLI_NBT]
|
||||
PRIVATE_PROTO_HEADER = nbt/nbt_proto.h
|
||||
PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT LIBCLI_COMPOSITE LIBEVENTS \
|
||||
NDR_SECURITY samba-socket LIBSAMBA-UTIL
|
||||
|
||||
@ -53,6 +54,8 @@ LIBCLI_NBT_OBJ_FILES = $(addprefix $(libclisrcdir)/nbt/, \
|
||||
namerefresh.o \
|
||||
namerelease.o)
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/nbt/nbt_proto.h,$(LIBCLI_NBT_OBJ_FILES:.o=.c))
|
||||
|
||||
[PYTHON::python_libcli_nbt]
|
||||
SWIG_FILE = swig/libcli_nbt.i
|
||||
PUBLIC_DEPENDENCIES = LIBCLI_NBT DYNCONFIG LIBSAMBA-HOSTCONFIG
|
||||
@ -83,34 +86,37 @@ LIBCLI_CLDAP_OBJ_FILES = $(libclisrcdir)/cldap/cldap.o
|
||||
# PUBLIC_HEADERS += $(libclisrcdir)/cldap/cldap.h
|
||||
|
||||
[SUBSYSTEM::LIBCLI_WREPL]
|
||||
PRIVATE_PROTO_HEADER = wrepl/winsrepl_proto.h
|
||||
PUBLIC_DEPENDENCIES = NDR_WINSREPL samba-socket LIBCLI_RESOLVE LIBEVENTS \
|
||||
LIBPACKET LIBNDR
|
||||
|
||||
LIBCLI_WREPL_OBJ_FILES = $(libclisrcdir)/wrepl/winsrepl.o
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/wrepl/winsrepl_proto.h,$(LIBCLI_WREPL_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::LIBCLI_RESOLVE]
|
||||
PRIVATE_PROTO_HEADER = resolve/proto.h
|
||||
PUBLIC_DEPENDENCIES = NDR_NBT
|
||||
|
||||
LIBCLI_RESOLVE_OBJ_FILES = $(libclisrcdir)/resolve/resolve.o
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/resolve/proto.h,$(LIBCLI_RESOLVE_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::LP_RESOLVE]
|
||||
PRIVATE_PROTO_HEADER = resolve/lp_proto.h
|
||||
PRIVATE_DEPENDENCIES = LIBCLI_NBT LIBSAMBA-HOSTCONFIG LIBNETIF
|
||||
|
||||
LP_RESOLVE_OBJ_FILES = $(addprefix $(libclisrcdir)/resolve/, \
|
||||
bcast.o nbtlist.o wins.o \
|
||||
host.o resolve_lp.o)
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/resolve/lp_proto.h,$(LP_RESOLVE_OBJ_FILES))
|
||||
|
||||
[SUBSYSTEM::LIBCLI_FINDDCS]
|
||||
PRIVATE_PROTO_HEADER = finddcs.h
|
||||
PUBLIC_DEPENDENCIES = LIBCLI_NBT MESSAGING
|
||||
|
||||
LIBCLI_FINDDCS_OBJ_FILES = $(libclisrcdir)/finddcs.o
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/finddcs.h,$(LIBCLI_FINDDCS_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::LIBCLI_SMB]
|
||||
PRIVATE_PROTO_HEADER = libcli_proto.h
|
||||
PUBLIC_DEPENDENCIES = LIBCLI_RAW LIBSAMBA-ERRORS LIBCLI_AUTH \
|
||||
LIBCLI_SMB_COMPOSITE LIBCLI_NBT LIBSECURITY LIBCLI_RESOLVE \
|
||||
LIBCLI_DGRAM LIBCLI_SMB2 LIBCLI_FINDDCS samba-socket
|
||||
@ -124,10 +130,11 @@ LIBCLI_SMB_OBJ_FILES = $(addprefix $(libclisrcdir)/, \
|
||||
climessage.o \
|
||||
clideltree.o)
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/libcli_proto.h,$(LIBCLI_SMB_OBJ_FILES:.o=.c))
|
||||
|
||||
# PUBLIC_HEADERS += $(libclisrcdir)/libcli.h
|
||||
|
||||
[SUBSYSTEM::LIBCLI_RAW]
|
||||
PRIVATE_PROTO_HEADER = raw/raw_proto.h
|
||||
PRIVATE_DEPENDENCIES = LIBCLI_COMPOSITE LP_RESOLVE gensec LIBCLI_RESOLVE LIBSECURITY LIBNDR
|
||||
#LDFLAGS = $(LIBCLI_SMB_COMPOSITE_OUTPUT)
|
||||
PUBLIC_DEPENDENCIES = samba-socket LIBPACKET gensec LIBCRYPTO CREDENTIALS
|
||||
@ -138,4 +145,7 @@ LIBCLI_RAW_OBJ_FILES = $(addprefix $(libclisrcdir)/raw/, rawfile.o smb_signing.o
|
||||
clioplock.o rawnegotiate.o rawfsinfo.o rawfileinfo.o rawnotify.o \
|
||||
rawioctl.o rawacl.o rawdate.o rawlpq.o rawshadow.o)
|
||||
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/raw/raw_proto.h,$(LIBCLI_RAW_OBJ_FILES:.o=.c))
|
||||
|
||||
mkinclude smb2/config.mk
|
||||
|
@ -1,5 +1,4 @@
|
||||
[SUBSYSTEM::LIBCLI_LDAP]
|
||||
PRIVATE_PROTO_HEADER = ldap_proto.h
|
||||
PUBLIC_DEPENDENCIES = LIBSAMBA-ERRORS LIBEVENTS LIBPACKET
|
||||
PRIVATE_DEPENDENCIES = LIBCLI_COMPOSITE samba-socket NDR_SAMR LIBTLS ASN1_UTIL \
|
||||
LDAP_ENCODE LIBNDR LP_RESOLVE gensec
|
||||
@ -11,6 +10,8 @@ LIBCLI_LDAP_OBJ_FILES = $(addprefix $(libclisrcdir)/ldap/, \
|
||||
|
||||
PUBLIC_HEADERS += $(libclisrcdir)/ldap/ldap.h $(libclisrcdir)/ldap/ldap_ndr.h
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/ldap/ldap_proto.h,$(LIBCLI_LDAP_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::LDAP_ENCODE]
|
||||
# FIXME PRIVATE_DEPENDENCIES = LIBLDB
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
[SUBSYSTEM::LIBSECURITY]
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
PUBLIC_DEPENDENCIES = NDR_MISC LIBNDR
|
||||
|
||||
LIBSECURITY_OBJ_FILES = $(addprefix $(libclisrcdir)/security/, \
|
||||
security_token.o security_descriptor.o \
|
||||
dom_sid.o access_check.o privilege.o sddl.o)
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/security/proto.h,$(LIBSECURITY_OBJ_FILES:.o=.c))
|
||||
|
||||
[PYTHON::swig_security]
|
||||
SWIG_FILE = security.i
|
||||
|
@ -1,5 +1,4 @@
|
||||
[SUBSYSTEM::LIBCLI_SMB2]
|
||||
PRIVATE_PROTO_HEADER = smb2_proto.h
|
||||
PUBLIC_DEPENDENCIES = LIBCLI_RAW LIBPACKET gensec
|
||||
|
||||
LIBCLI_SMB2_OBJ_FILES = $(addprefix $(libclisrcdir)/smb2/, \
|
||||
@ -8,3 +7,4 @@ LIBCLI_SMB2_OBJ_FILES = $(addprefix $(libclisrcdir)/smb2/, \
|
||||
setinfo.o find.o ioctl.o logoff.o tdis.o flush.o \
|
||||
lock.o notify.o cancel.o keepalive.o break.o)
|
||||
|
||||
$(call proto_header_template,$(libclisrcdir)/smb2_proto.h,$(LIBCLI_SMB2_OBJ_FILES:.o=.c))
|
||||
|
@ -1,5 +1,4 @@
|
||||
[SUBSYSTEM::LIBSAMBA-NET]
|
||||
PRIVATE_PROTO_HEADER = libnet_proto.h
|
||||
PUBLIC_DEPENDENCIES = CREDENTIALS dcerpc dcerpc_samr RPC_NDR_LSA RPC_NDR_SRVSVC RPC_NDR_DRSUAPI LIBCLI_COMPOSITE LIBCLI_RESOLVE LIBCLI_FINDDCS LIBCLI_CLDAP LIBCLI_FINDDCS gensec_schannel LIBCLI_AUTH LIBNDR SMBPASSWD PROVISION
|
||||
|
||||
LIBSAMBA-NET_OBJ_FILES = $(addprefix $(libnetsrcdir)/, \
|
||||
@ -10,6 +9,8 @@ LIBSAMBA-NET_OBJ_FILES = $(addprefix $(libnetsrcdir)/, \
|
||||
libnet_lookup.o libnet_domain.o userinfo.o groupinfo.o userman.o \
|
||||
groupman.o prereq_domain.o libnet_samsync.o)
|
||||
|
||||
$(call proto_header_template,$(libnetsrcdir)/libnet_proto.h,$(LIBSAMBA-NET_OBJ_FILES:.o=.c))
|
||||
|
||||
[PYTHON::python_net]
|
||||
PRIVATE_DEPENDENCIES = LIBSAMBA-NET
|
||||
|
||||
|
@ -5,12 +5,13 @@ dcerpcsrcdir = $(librpcsrcdir)/rpc
|
||||
################################################
|
||||
# Start SUBSYSTEM LIBNDR
|
||||
[LIBRARY::LIBNDR]
|
||||
PRIVATE_PROTO_HEADER = ndr/libndr_proto.h
|
||||
PUBLIC_DEPENDENCIES = LIBSAMBA-ERRORS LIBTALLOC LIBSAMBA-UTIL CHARSET \
|
||||
LIBSAMBA-HOSTCONFIG
|
||||
|
||||
LIBNDR_OBJ_FILES = $(addprefix $(ndrsrcdir)/, ndr.o ndr_basic.o ndr_string.o uuid.o)
|
||||
|
||||
$(call proto_header_template,$(ndrsrcdir)/ndr/libndr_proto.h,$(LIBNDR_OBJ_FILES:.o=.c))
|
||||
|
||||
PC_FILES += $(librpcsrcdir)/ndr.pc
|
||||
LIBNDR_VERSION = 0.0.1
|
||||
LIBNDR_SOVERSION = 0
|
||||
@ -42,13 +43,14 @@ MANPAGES += $(librpcsrcdir)/tools/ndrdump.1
|
||||
################################################
|
||||
# Start SUBSYSTEM NDR_COMPRESSION
|
||||
[SUBSYSTEM::NDR_COMPRESSION]
|
||||
PRIVATE_PROTO_HEADER = ndr/ndr_compression.h
|
||||
PUBLIC_DEPENDENCIES = LIBCOMPRESSION LIBSAMBA-ERRORS LIBNDR
|
||||
# End SUBSYSTEM NDR_COMPRESSION
|
||||
################################################
|
||||
|
||||
NDR_COMPRESSION_OBJ_FILES = $(ndrsrcdir)/ndr_compression.o
|
||||
|
||||
$(call proto_header_template,$(ndrsrcdir)/ndr/ndr_compression.h,$(NDR_COMPRESSION_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::NDR_SECURITY]
|
||||
PUBLIC_DEPENDENCIES = NDR_MISC LIBSECURITY
|
||||
|
||||
@ -168,10 +170,11 @@ PUBLIC_DEPENDENCIES = LIBNDR NDR_SPOOLSS_BUF NDR_SECURITY
|
||||
NDR_SPOOLSS_OBJ_FILES = $(gen_ndrsrcdir)/ndr_spoolss.o
|
||||
|
||||
[SUBSYSTEM::NDR_SPOOLSS_BUF]
|
||||
PRIVATE_PROTO_HEADER = ndr/ndr_spoolss_buf.h
|
||||
|
||||
NDR_SPOOLSS_BUF_OBJ_FILES = $(ndrsrcdir)/ndr_spoolss_buf.o
|
||||
|
||||
$(call proto_header_template,$(ndrsrcdir)/ndr/ndr_spoolss_buf.h,$(NDR_SPOOLSS_BUF_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::NDR_WKSSVC]
|
||||
PUBLIC_DEPENDENCIES = LIBNDR NDR_SRVSVC NDR_MISC NDR_SECURITY
|
||||
|
||||
@ -360,7 +363,6 @@ $(gen_ndrsrcdir)/tables.c: $(IDL_NDR_PARSE_H_FILES)
|
||||
@mv $(gen_ndrsrcdir)/tables.x $@
|
||||
|
||||
[SUBSYSTEM::NDR_TABLE]
|
||||
PRIVATE_PROTO_HEADER = ndr/ndr_table.h
|
||||
PUBLIC_DEPENDENCIES = \
|
||||
NDR_AUDIOSRV NDR_ECHO NDR_DCERPC \
|
||||
NDR_DSBACKUP NDR_EFS NDR_MISC NDR_LSA NDR_DFS NDR_DRSUAPI \
|
||||
@ -375,6 +377,8 @@ PUBLIC_DEPENDENCIES = \
|
||||
|
||||
NDR_TABLE_OBJ_FILES = $(ndrsrcdir)/ndr_table.o $(gen_ndrsrcdir)/tables.o
|
||||
|
||||
$(call proto_header_template,$(ndrsrcdir)/ndr/ndr_table.h,$(NDR_TABLE_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::RPC_NDR_ROT]
|
||||
PUBLIC_DEPENDENCIES = NDR_ROT dcerpc
|
||||
|
||||
@ -577,7 +581,6 @@ PUBLIC_HEADERS += $(addprefix $(librpcsrcdir)/, gen_ndr/dcerpc.h gen_ndr/ndr_dce
|
||||
################################################
|
||||
# Start SUBSYSTEM dcerpc
|
||||
[LIBRARY::dcerpc]
|
||||
PRIVATE_PROTO_HEADER = rpc/dcerpc_proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
samba-socket LIBCLI_RESOLVE LIBCLI_SMB LIBCLI_SMB2 \
|
||||
LIBNDR NDR_DCERPC RPC_NDR_EPMAPPER \
|
||||
@ -596,6 +599,8 @@ dcerpc_SOVERSION = 0
|
||||
dcerpc_OBJ_FILES = $(addprefix $(dcerpcsrcdir)/, dcerpc.o dcerpc_auth.o dcerpc_schannel.o dcerpc_util.o binding.o \
|
||||
dcerpc_error.o dcerpc_smb.o dcerpc_smb2.o dcerpc_sock.o dcerpc_connect.o dcerpc_secondary.o)
|
||||
|
||||
$(call proto_header_template,$(dcerpsrcdir)/rpc/dcerpc_proto.h,$(dcerpc_OBJ_FILES:.o=.c))
|
||||
|
||||
|
||||
PUBLIC_HEADERS += $(addprefix $(librpcsrcdir)/, rpc/dcerpc.h \
|
||||
gen_ndr/mgmt.h gen_ndr/ndr_mgmt.h gen_ndr/ndr_mgmt_c.h \
|
||||
|
@ -28,7 +28,7 @@ libregistrysrcdir := lib/registry
|
||||
mkinclude lib/registry/config.mk
|
||||
libmessagingsrcdir := lib/messaging
|
||||
mkinclude lib/messaging/config.mk
|
||||
libeventssrcdir := lib/events
|
||||
libeventssrcdir := lib/events
|
||||
mkinclude lib/events/config.mk
|
||||
libcmdlinesrcdir := lib/cmdline
|
||||
mkinclude lib/cmdline/config.mk
|
||||
@ -50,7 +50,7 @@ libcryptosrcdir := lib/crypto
|
||||
mkinclude lib/crypto/config.mk
|
||||
libtorturesrcdir := lib/torture
|
||||
mkinclude lib/torture/config.mk
|
||||
libcompressionsrcdir := lib
|
||||
libcompressionsrcdir := lib/compression
|
||||
libgencachesrcdir := lib
|
||||
libsrcdir := lib
|
||||
mkinclude lib/basic.mk
|
||||
|
@ -3,7 +3,6 @@
|
||||
#######################
|
||||
# Start SUBSYSTEM WINSDB
|
||||
[SUBSYSTEM::WINSDB]
|
||||
PRIVATE_PROTO_HEADER = wins/winsdb_proto.h
|
||||
PUBLIC_DEPENDENCIES = \
|
||||
LIBLDB
|
||||
# End SUBSYSTEM WINSDB
|
||||
@ -11,6 +10,8 @@ PUBLIC_DEPENDENCIES = \
|
||||
|
||||
WINSDB_OBJ_FILES = $(addprefix $(nbt_serversrcdir)/wins/, winsdb.o wins_hook.o)
|
||||
|
||||
$(call proto_header_template,$(nbt_serversrcdir)/wins/winsdb_proto.h,$(WINSDB_OBJ_FILES:.o=.c))
|
||||
|
||||
#######################
|
||||
# Start MODULE ldb_wins_ldb
|
||||
[MODULE::ldb_wins_ldb]
|
||||
@ -27,18 +28,19 @@ ldb_wins_ldb_OBJ_FILES = $(nbt_serversrcdir)/wins/wins_ldb.o
|
||||
#######################
|
||||
# Start SUBSYSTEM NBTD_WINS
|
||||
[SUBSYSTEM::NBTD_WINS]
|
||||
PRIVATE_PROTO_HEADER = wins/winsserver_proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_NBT WINSDB
|
||||
# End SUBSYSTEM NBTD_WINS
|
||||
#######################
|
||||
|
||||
|
||||
NBTD_WINS_OBJ_FILES = $(addprefix $(nbt_serversrcdir)/wins/, winsserver.o winsclient.o winswack.o wins_dns_proxy.o)
|
||||
|
||||
$(call proto_header_template,$(nbt_serversrcdir)/wins/winsserver_proto.h,$(NBTD_WINS_OBJ_FILES:.o=.c))
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM NBTD_DGRAM
|
||||
[SUBSYSTEM::NBTD_DGRAM]
|
||||
PRIVATE_PROTO_HEADER = dgram/proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_DGRAM
|
||||
# End SUBSYSTEM NBTD_DGRAM
|
||||
@ -46,10 +48,11 @@ PRIVATE_DEPENDENCIES = \
|
||||
|
||||
NBTD_DGRAM_OBJ_FILES = $(addprefix $(nbt_serversrcdir)/dgram/, request.o netlogon.o ntlogon.o browse.o)
|
||||
|
||||
$(call proto_header_template,$(nbt_serversrcdir)/dgram/proto.h,$(NBTD_DGRAM_OBJ_FILES:.o=.c)),$(NBTD_DGRAM_OBJ_FILES:.o=.c))
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM NBTD
|
||||
[SUBSYSTEM::NBT_SERVER]
|
||||
PRIVATE_PROTO_HEADER = nbt_server_proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_NBT NBTD_WINS NBTD_DGRAM
|
||||
# End SUBSYSTEM NBTD
|
||||
@ -64,6 +67,8 @@ NBT_SERVER_OBJ_FILES = $(addprefix $(nbt_serversrcdir)/, \
|
||||
packet.o \
|
||||
irpc.o)
|
||||
|
||||
$(call proto_header_template,$(nbt_serversrcdir)/nbt_server_proto.h,$(NBT_SERVER_OBJ_FILES:.o=.c))
|
||||
|
||||
[MODULE::service_nbtd]
|
||||
INIT_FUNCTION = server_service_nbtd_init
|
||||
SUBSYSTEM = smbd
|
||||
|
@ -15,7 +15,6 @@ ntptr_simple_ldb_OBJ_FILES = $(ntptrsrcdir)/simple_ldb/ntptr_simple_ldb.o
|
||||
################################################
|
||||
# Start SUBSYSTEM ntptr
|
||||
[SUBSYSTEM::ntptr]
|
||||
PRIVATE_PROTO_HEADER = ntptr_proto.h
|
||||
PUBLIC_DEPENDENCIES = DCERPC_COMMON
|
||||
#
|
||||
# End SUBSYSTEM ntptr
|
||||
@ -24,3 +23,5 @@ PUBLIC_DEPENDENCIES = DCERPC_COMMON
|
||||
ntptr_OBJ_FILES = \
|
||||
$(ntptrsrcdir)/ntptr_base.o \
|
||||
$(ntptrsrcdir)/ntptr_interface.o
|
||||
|
||||
$(call proto_header_template,$(ntptrsrcdir)/ntptr_proto.h,$(ntptr_OBJ_FILES:.o=.c))
|
||||
|
@ -1,7 +1,6 @@
|
||||
################################################
|
||||
# Start LIBRARY ntvfs_common
|
||||
[SUBSYSTEM::ntvfs_common]
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
PUBLIC_DEPENDENCIES = NDR_OPENDB NDR_NOTIFY sys_notify sys_lease share LIBDBWRAP
|
||||
PRIVATE_DEPENDENCIES = brlock_ctdb opendb_ctdb
|
||||
# End LIBRARY ntvfs_common
|
||||
@ -9,3 +8,5 @@ PRIVATE_DEPENDENCIES = brlock_ctdb opendb_ctdb
|
||||
|
||||
ntvfs_common_OBJ_FILES = $(addprefix $(ntvfssrcdir)/common/, init.o brlock.o brlock_tdb.o opendb.o opendb_tdb.o notify.o)
|
||||
|
||||
$(call proto_header_template,$(ntvfssrcdir)/proto.h,$(ntvfs_common_OBJ_FILES:.o=.c))
|
||||
|
||||
|
@ -21,25 +21,27 @@ ntvfs_cifs_OBJ_FILES = $(ntvfssrcdir)/cifs/vfs_cifs.o
|
||||
[MODULE::ntvfs_simple]
|
||||
INIT_FUNCTION = ntvfs_simple_init
|
||||
SUBSYSTEM = ntvfs
|
||||
PRIVATE_PROTO_HEADER = simple/proto.h
|
||||
# End MODULE ntvfs_simple
|
||||
################################################
|
||||
|
||||
ntvfs_simple_OBJ_FILES = $(addprefix $(ntvfssrcdir)/simple/, vfs_simple.o svfs_util.o)
|
||||
|
||||
$(call proto_header_template,$(ntvfssrcdir)/simple/proto.h,$(ntvfs_simple_OBJ_FILES:.o=.c))
|
||||
|
||||
################################################
|
||||
# Start MODULE ntvfs_cifsposix
|
||||
[MODULE::ntvfs_cifsposix]
|
||||
#ENABLE = NO
|
||||
INIT_FUNCTION = ntvfs_cifs_posix_init
|
||||
SUBSYSTEM = ntvfs
|
||||
PRIVATE_PROTO_HEADER = cifs_posix_cli/proto.h
|
||||
# End MODULE ntvfs_cifsposix
|
||||
################################################
|
||||
|
||||
ntvfs_cifsposix_OBJ_FILES = \
|
||||
$(addprefix $(ntvfssrcdir)/cifs_posix_cli/, vfs_cifs_posix.o svfs_util.o)
|
||||
|
||||
$(call proto_header_template,$(ntvfssrcdir)/cifs_posix_cli/proto.h,$(ntvfs_cifsposix_OBJ_FILES:.o=.c))
|
||||
|
||||
################################################
|
||||
# Start MODULE ntvfs_print
|
||||
[MODULE::ntvfs_print]
|
||||
@ -55,13 +57,14 @@ ntvfs_print_OBJ_FILES = $(ntvfssrcdir)/print/vfs_print.o
|
||||
[MODULE::ntvfs_ipc]
|
||||
SUBSYSTEM = ntvfs
|
||||
INIT_FUNCTION = ntvfs_ipc_init
|
||||
PRIVATE_PROTO_HEADER = ipc/proto.h
|
||||
PRIVATE_DEPENDENCIES = dcerpc_server DCERPC_COMMON
|
||||
# End MODULE ntvfs_ipc
|
||||
################################################
|
||||
|
||||
ntvfs_ipc_OBJ_FILES = $(addprefix $(ntvfssrcdir)/ipc/, vfs_ipc.o ipc_rap.o rap_server.o)
|
||||
|
||||
$(call proto_header_template,$(ntvssrcdir)/ipc/proto.h,$(ntvfs_ipc_OBJ_FILES))
|
||||
|
||||
################################################
|
||||
# Start MODULE ntvfs_nbench
|
||||
[MODULE::ntvfs_nbench]
|
||||
@ -75,10 +78,11 @@ ntvfs_nbench_OBJ_FILES = $(ntvfssrcdir)/nbench/vfs_nbench.o
|
||||
################################################
|
||||
# Start SUBSYSTEM NTVFS
|
||||
[SUBSYSTEM::ntvfs]
|
||||
PRIVATE_PROTO_HEADER = ntvfs_proto.h
|
||||
|
||||
ntvfs_OBJ_FILES = $(addprefix $(ntvfssrcdir)/, ntvfs_base.o ntvfs_generic.o ntvfs_interface.o ntvfs_util.o)
|
||||
|
||||
$(call proto_header_template,$(ntvfssrcdir)/ntvfs_proto.h,$(ntvfs_OBJ_FILES:.o=.c))
|
||||
|
||||
# PUBLIC_HEADERS += $(ntvfssrcdir)/ntvfs.h
|
||||
#
|
||||
# End SUBSYSTEM NTVFS
|
||||
|
@ -34,7 +34,6 @@ pvfs_aio_OBJ_FILES = $(ntvfssrcdir)/posix/pvfs_aio.o
|
||||
SUBSYSTEM = ntvfs
|
||||
OUTPUT_TYPE = MERGED_OBJ
|
||||
INIT_FUNCTION = ntvfs_posix_init
|
||||
PRIVATE_PROTO_HEADER = vfs_posix_proto.h
|
||||
#PRIVATE_DEPENDENCIES = pvfs_acl_xattr pvfs_acl_nfs4
|
||||
PRIVATE_DEPENDENCIES = NDR_XATTR WRAP_XATTR BLKID ntvfs_common MESSAGING pvfs_aio \
|
||||
LIBWBCLIENT
|
||||
@ -71,3 +70,5 @@ ntvfs_posix_OBJ_FILES = $(addprefix $(ntvfssrcdir)/posix/, \
|
||||
xattr_system.o \
|
||||
xattr_tdb.o)
|
||||
|
||||
$(call proto_header_template,$(ntvfssrcdir)/posix/vfs_posix_proto.h,$(ntvfs_posix_OBJ_FILES:.o=.c))
|
||||
|
||||
|
@ -20,13 +20,14 @@ PROVISION_OBJ_FILES = $(paramsrcdir)/provision.o
|
||||
#################################
|
||||
# Start SUBSYSTEM share
|
||||
[SUBSYSTEM::share]
|
||||
PRIVATE_PROTO_HEADER = share_proto.h
|
||||
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL
|
||||
# End SUBSYSTEM share
|
||||
#################################
|
||||
|
||||
share_OBJ_FILES = $(paramsrcdir)/share.o
|
||||
|
||||
$(call proto_header_template,$(paramsrcdir)/share_proto.h,$(share_OBJ_FILES:.o=.c))
|
||||
|
||||
PUBLIC_HEADERS += param/share.h
|
||||
|
||||
################################################
|
||||
|
@ -3,13 +3,14 @@
|
||||
################################################
|
||||
# Start SUBSYSTEM DCERPC_COMMON
|
||||
[SUBSYSTEM::DCERPC_COMMON]
|
||||
PRIVATE_PROTO_HEADER = common/proto.h
|
||||
#
|
||||
# End SUBSYSTEM DCERPC_COMMON
|
||||
################################################
|
||||
|
||||
DCERPC_COMMON_OBJ_FILES = $(addprefix $(rpc_serversrcdir)/common/, server_info.o share_info.o)
|
||||
|
||||
$(call proto_header_template,$(rpc_serversrcdir)/common/proto.h,$(DCERPC_COMMON_OBJ_FILES:.o=.c))
|
||||
|
||||
PUBLIC_HEADERS += $(rpc_serversrcdir)/common/common.h
|
||||
|
||||
################################################
|
||||
@ -50,15 +51,17 @@ dcerpc_remote_OBJ_FILES = $(rpc_serversrcdir)/remote/dcesrv_remote.o
|
||||
# Start MODULE dcerpc_srvsvc
|
||||
[MODULE::dcerpc_srvsvc]
|
||||
INIT_FUNCTION = dcerpc_server_srvsvc_init
|
||||
PRIVATE_PROTO_HEADER = srvsvc/proto.h
|
||||
SUBSYSTEM = DCESRV
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
DCERPC_COMMON NDR_SRVSVC share
|
||||
# End MODULE dcerpc_srvsvc
|
||||
################################################
|
||||
|
||||
|
||||
dcerpc_srvsvc_OBJ_FILES = $(addprefix $(rpc_serversrcdir)/srvsvc/, dcesrv_srvsvc.o srvsvc_ntvfs.o)
|
||||
|
||||
$(call proto_header_template,$(rpc_serversrcdir)/srvsvc/proto.h,$(dcerpc_srvsvc_OBJ_FILES:.o=.c))
|
||||
|
||||
################################################
|
||||
# Start MODULE dcerpc_wkssvc
|
||||
[MODULE::dcerpc_wkssvc]
|
||||
@ -91,7 +94,6 @@ dcerpc_unixinfo_OBJ_FILES = $(rpc_serversrcdir)/unixinfo/dcesrv_unixinfo.o
|
||||
# Start MODULE dcesrv_samr
|
||||
[MODULE::dcesrv_samr]
|
||||
INIT_FUNCTION = dcerpc_server_samr_init
|
||||
PRIVATE_PROTO_HEADER = samr/proto.h
|
||||
SUBSYSTEM = DCESRV
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
SAMDB \
|
||||
@ -102,6 +104,8 @@ PRIVATE_DEPENDENCIES = \
|
||||
|
||||
dcesrv_samr_OBJ_FILES = $(addprefix $(rpc_serversrcdir)/samr/, dcesrv_samr.o samr_password.o)
|
||||
|
||||
$(call proto_header_template,$(rpc_serversrcdir)/samr/proto.h,$(dcesrv_samr_OBJ_FILES:.o=.c))
|
||||
|
||||
################################################
|
||||
# Start MODULE dcerpc_winreg
|
||||
[MODULE::dcerpc_winreg]
|
||||
@ -135,7 +139,6 @@ dcerpc_netlogon_OBJ_FILES = $(rpc_serversrcdir)/netlogon/dcerpc_netlogon.o
|
||||
[MODULE::dcerpc_lsarpc]
|
||||
INIT_FUNCTION = dcerpc_server_lsa_init
|
||||
SUBSYSTEM = DCESRV
|
||||
PRIVATE_PROTO_HEADER= lsa/proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
SAMDB \
|
||||
DCERPC_COMMON \
|
||||
@ -147,6 +150,8 @@ PRIVATE_DEPENDENCIES = \
|
||||
|
||||
dcerpc_lsarpc_OBJ_FILES = $(addprefix $(rpc_serversrcdir)/lsa/, dcesrv_lsa.o lsa_init.o lsa_lookup.o)
|
||||
|
||||
$(call proto_header_template,$(rpc_serversrcdir)/lsa/proto.h,$(dcerpc_lsarpc_OBJ_FILES:.o=.c))
|
||||
|
||||
|
||||
################################################
|
||||
# Start MODULE dcerpc_spoolss
|
||||
@ -181,7 +186,6 @@ dcerpc_drsuapi_OBJ_FILES = $(rpc_serversrcdir)/drsuapi/dcesrv_drsuapi.o
|
||||
################################################
|
||||
# Start SUBSYSTEM dcerpc_server
|
||||
[SUBSYSTEM::dcerpc_server]
|
||||
PRIVATE_PROTO_HEADER = dcerpc_server_proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_AUTH \
|
||||
LIBNDR \
|
||||
@ -193,6 +197,8 @@ dcerpc_server_OBJ_FILES = $(addprefix $(rpc_serversrcdir)/, \
|
||||
dcesrv_mgmt.o \
|
||||
handles.o)
|
||||
|
||||
$(call proto_header_template,$(rpc_serversrcdir)/dcerpc_server_proto.h,$(dcerpc_server_OBJ_FILES:.o=.c))
|
||||
|
||||
# End SUBSYSTEM DCERPC
|
||||
################################################
|
||||
|
||||
|
@ -81,7 +81,6 @@ smbcalls_sys_OBJ_FILES = $(ejsscriptsrcdir)/smbcalls_sys.o
|
||||
mkinclude ejsnet/config.mk
|
||||
|
||||
[SUBSYSTEM::smbcalls]
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
EJS LIBSAMBA-UTIL \
|
||||
EJSRPC MESSAGING \
|
||||
@ -100,6 +99,8 @@ smbcalls_OBJ_FILES = $(addprefix $(ejsscriptsrcdir)/, \
|
||||
mprutil.o \
|
||||
literal.o)
|
||||
|
||||
$(call proto_header_template,$(ejsscriptsrcdir)/proto.h,$(smbcalls_OBJ_FILES:.o=.c))
|
||||
|
||||
#######################
|
||||
# Start BINARY SMBSCRIPT
|
||||
[BINARY::smbscript]
|
||||
|
@ -1,7 +1,6 @@
|
||||
[MODULE::smbcalls_net]
|
||||
SUBSYSTEM = smbcalls
|
||||
INIT_FUNCTION = smb_setup_ejs_net
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
PRIVATE_DEPENDENCIES = LIBSAMBA-NET LIBCLI_SMB CREDENTIALS
|
||||
|
||||
smbcalls_net_OBJ_FILES = $(addprefix $(ejsscriptsrcdir)/ejsnet/, \
|
||||
@ -11,3 +10,4 @@ smbcalls_net_OBJ_FILES = $(addprefix $(ejsscriptsrcdir)/ejsnet/, \
|
||||
net_host.o \
|
||||
mpr_host.o)
|
||||
|
||||
$(call proto_header_template,$(ejsscriptsrcdir)/ejsnet/proto.h,$(smbcalls_net_OBJ_FILES:.o=.c))
|
||||
|
@ -3,15 +3,15 @@
|
||||
[MODULE::SERVICE_SMB]
|
||||
INIT_FUNCTION = server_service_smb_init
|
||||
SUBSYSTEM = smbd
|
||||
PRIVATE_PROTO_HEADER = service_smb_proto.h
|
||||
PRIVATE_DEPENDENCIES = SMB_SERVER
|
||||
|
||||
SERVICE_SMB_OBJ_FILES = $(smb_serversrcdir)/smb_server.o
|
||||
|
||||
$(call proto_header_template,$(smb_serversrcdir)/service_smb_proto.h,$(SERVICE_SMB_OBJ_FILES:.o=.c))
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM SMB
|
||||
[SUBSYSTEM::SMB_SERVER]
|
||||
PRIVATE_PROTO_HEADER = smb_server_proto.h
|
||||
PUBLIC_DEPENDENCIES = \
|
||||
share \
|
||||
LIBPACKET \
|
||||
@ -27,5 +27,7 @@ SMB_SERVER_OBJ_FILES = $(addprefix $(smb_serversrcdir)/, \
|
||||
blob.o \
|
||||
management.o)
|
||||
|
||||
$(call proto_header_template,$(smb_serversrcdir)/smb_server_proto.h,$(SMB_SERVER_OBJ_FILES:.o=.c))
|
||||
|
||||
mkinclude smb/config.mk
|
||||
mkinclude smb2/config.mk
|
||||
|
@ -1,7 +1,6 @@
|
||||
#######################
|
||||
# Start SUBSYSTEM SMB_PROTOCOL
|
||||
[SUBSYSTEM::SMB_PROTOCOL]
|
||||
PRIVATE_PROTO_HEADER = smb_proto.h
|
||||
PUBLIC_DEPENDENCIES = \
|
||||
ntvfs LIBPACKET CREDENTIALS
|
||||
# End SUBSYSTEM SMB_PROTOCOL
|
||||
@ -20,3 +19,4 @@ SMB_PROTOCOL_OBJ_FILES = $(addprefix $(smb_serversrcdir)/smb/, \
|
||||
trans2.o \
|
||||
signing.o)
|
||||
|
||||
$(call proto_header_template,$(smb_serversrcdir)/smb/smb_proto.h,$(SMB_PROTOCOL_OBJ_FILES:.o=.c))
|
||||
|
@ -1,7 +1,6 @@
|
||||
#######################
|
||||
# Start SUBSYSTEM SMB2_PROTOCOL
|
||||
[SUBSYSTEM::SMB2_PROTOCOL]
|
||||
PRIVATE_PROTO_HEADER = smb2_proto.h
|
||||
PUBLIC_DEPENDENCIES = \
|
||||
ntvfs LIBPACKET LIBCLI_SMB2
|
||||
# End SUBSYSTEM SMB2_PROTOCOL
|
||||
@ -17,3 +16,4 @@ SMB2_PROTOCOL_OBJ_FILES = $(addprefix $(smb_serversrcdir)/smb2/, \
|
||||
find.o \
|
||||
keepalive.o)
|
||||
|
||||
$(call proto_header_template,$(smb_serversrcdir)/smb2/smb2_proto.h,$(SMB2_PROTOCOL_OBJ_FILES:.o=.c))
|
||||
|
@ -1,7 +1,6 @@
|
||||
# server subsystem
|
||||
|
||||
[SUBSYSTEM::service]
|
||||
PRIVATE_PROTO_HEADER = service_proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
MESSAGING samba-socket
|
||||
|
||||
@ -10,11 +9,14 @@ service_OBJ_FILES = $(addprefix $(smbdsrcdir)/, \
|
||||
service_stream.o \
|
||||
service_task.o)
|
||||
|
||||
$(call proto_header_template,$(smbdsrcdir)/service_proto.h,$(service_OBJ_FILES:.o=.c))
|
||||
|
||||
[SUBSYSTEM::PIDFILE]
|
||||
PRIVATE_PROTO_HEADER = pidfile.h
|
||||
|
||||
PIDFILE_OBJ_FILES = $(smbdsrcdir)/pidfile.o
|
||||
|
||||
$(call proto_header_template,$(smbdsrcdir)/pidfile.h,$(PIDFILE_OBJ_FILES:.o=.c))
|
||||
|
||||
#################################
|
||||
# Start BINARY smbd
|
||||
[BINARY::smbd]
|
||||
|
@ -43,7 +43,8 @@ SUBSYSTEM = process_model
|
||||
process_model_prefork_OBJ_FILES = $(smbdsrcdir)/process_prefork.o
|
||||
|
||||
[SUBSYSTEM::process_model]
|
||||
PRIVATE_PROTO_HEADER = process_model_proto.h
|
||||
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG
|
||||
|
||||
process_model_OBJ_FILES = $(smbdsrcdir)/process_model.o
|
||||
|
||||
$(call proto_header_template,$(smbdsrcdir)/process_model_proto.h,$(process_model_OBJ_FILES:.o=.c))
|
||||
|
@ -9,8 +9,6 @@ TORTURE_UTIL_OBJ_FILES = $(addprefix $(torturesrcdir)/, util_smb.o)
|
||||
[MODULE::TORTURE_BASIC]
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_base_init
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
basic/proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_SMB POPT_CREDENTIALS \
|
||||
TORTURE_UTIL LIBCLI_RAW \
|
||||
@ -38,14 +36,13 @@ TORTURE_BASIC_OBJ_FILES = $(addprefix $(torturesrcdir)/basic/, \
|
||||
attr.o \
|
||||
properties.o)
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/basic/proto.h,$(TORTURE_BASIC_OBJ_FILES:.o=.c))
|
||||
|
||||
#################################
|
||||
# Start SUBSYSTEM TORTURE_RAW
|
||||
[MODULE::TORTURE_RAW]
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_raw_init
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
raw/proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_SMB LIBCLI_LSA LIBCLI_SMB_COMPOSITE \
|
||||
POPT_CREDENTIALS TORTURE_UTIL
|
||||
@ -85,22 +82,22 @@ TORTURE_RAW_OBJ_FILES = $(addprefix $(torturesrcdir)/raw/, \
|
||||
raw.o \
|
||||
offline.o)
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/raw/proto.h,$(TORTURE_RAW_OBJ_FILES:.o=.c))
|
||||
|
||||
mkinclude smb2/config.mk
|
||||
mkinclude winbind/config.mk
|
||||
|
||||
[SUBSYSTEM::TORTURE_NDR]
|
||||
PRIVATE_PROTO_HEADER = ndr/proto.h
|
||||
|
||||
TORTURE_NDR_OBJ_FILES = $(addprefix $(torturesrcdir)/ndr/, ndr.o winreg.o atsvc.o lsa.o epmap.o dfs.o netlogon.o drsuapi.o spoolss.o samr.o)
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/ndr/proto.h,$(TORTURE_NDR_OBJ_FILES:.o=.c))
|
||||
|
||||
[MODULE::torture_rpc]
|
||||
# TORTURE_NET and TORTURE_NBT use functions from torture_rpc...
|
||||
#OUTPUT_TYPE = MERGED_OBJ
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_rpc_init
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
rpc/proto.h
|
||||
PRIVATE_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 \
|
||||
@ -120,25 +117,25 @@ torture_rpc_OBJ_FILES = $(addprefix $(torturesrcdir)/rpc/, \
|
||||
samsync.o bind.o dssetup.o alter_context.o bench.o samba3rpc.o rpc.o async_bind.o \
|
||||
handles.o frsapi.o)
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/rpc/proto.h,$(torture_rpc_OBJ_FILES:.o=.c))
|
||||
|
||||
#################################
|
||||
# Start SUBSYSTEM TORTURE_RAP
|
||||
[MODULE::TORTURE_RAP]
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_rap_init
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
rap/proto.h
|
||||
PRIVATE_DEPENDENCIES = TORTURE_UTIL LIBCLI_SMB
|
||||
# End SUBSYSTEM TORTURE_RAP
|
||||
#################################
|
||||
|
||||
TORTURE_RAP_OBJ_FILES = $(torturesrcdir)/rap/rap.o
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/rap/proto.h,$(TORTURE_RAP_OBJ_FILES:.o=.c))
|
||||
|
||||
#################################
|
||||
# Start SUBSYSTEM TORTURE_AUTH
|
||||
[MODULE::TORTURE_AUTH]
|
||||
SUBSYSTEM = smbtorture
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
auth/proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_SMB gensec auth KERBEROS \
|
||||
POPT_CREDENTIALS SMBPASSWD
|
||||
@ -147,6 +144,8 @@ PRIVATE_DEPENDENCIES = \
|
||||
|
||||
TORTURE_AUTH_OBJ_FILES = $(addprefix $(torturesrcdir)/auth/, ntlmssp.o pac.o)
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/auth/proto.h,$(TORTURE_AUTH_OBJ_FILES:.o=.c))
|
||||
|
||||
mkinclude local/config.mk
|
||||
|
||||
#################################
|
||||
@ -155,33 +154,31 @@ mkinclude local/config.mk
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_nbench_init
|
||||
PRIVATE_DEPENDENCIES = TORTURE_UTIL
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
nbench/proto.h
|
||||
# End MODULE TORTURE_NBENCH
|
||||
#################################
|
||||
|
||||
TORTURE_NBENCH_OBJ_FILES = $(addprefix $(torturesrcdir)/nbench/, nbio.o nbench.o)
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/nbench/proto.h,$(TORTURE_NBENCH_OBJ_FILES:.o=.c))
|
||||
|
||||
#################################
|
||||
# Start MODULE TORTURE_UNIX
|
||||
[MODULE::TORTURE_UNIX]
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_unix_init
|
||||
PRIVATE_DEPENDENCIES = TORTURE_UTIL
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
unix/proto.h
|
||||
# End MODULE TORTURE_UNIX
|
||||
#################################
|
||||
|
||||
TORTURE_UNIX_OBJ_FILES = $(addprefix $(torturesrcdir)/unix/, unix.o whoami.o unix_info2.o)
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/unix/proto.h,$(TORTURE_UNIX_OBJ_FILES:.o=.c))
|
||||
|
||||
#################################
|
||||
# Start SUBSYSTEM TORTURE_LDAP
|
||||
[MODULE::TORTURE_LDAP]
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_ldap_init
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
ldap/proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_LDAP LIBCLI_CLDAP SAMDB POPT_CREDENTIALS
|
||||
# End SUBSYSTEM TORTURE_LDAP
|
||||
@ -189,14 +186,13 @@ PRIVATE_DEPENDENCIES = \
|
||||
|
||||
TORTURE_LDAP_OBJ_FILES = $(addprefix $(torturesrcdir)/ldap/, common.o basic.o schema.o uptodatevector.o cldap.o cldapbench.o)
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/ldap/proto.h,$(TORTURE_LDAP_OBJ_FILES:.o=.c))
|
||||
|
||||
#################################
|
||||
# Start SUBSYSTEM TORTURE_NBT
|
||||
[MODULE::TORTURE_NBT]
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_nbt_init
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
nbt/proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_SMB LIBCLI_NBT LIBCLI_DGRAM LIBCLI_WREPL torture_rpc
|
||||
# End SUBSYSTEM TORTURE_NBT
|
||||
@ -205,14 +201,13 @@ PRIVATE_DEPENDENCIES = \
|
||||
TORTURE_NBT_OBJ_FILES = $(addprefix $(torturesrcdir)/nbt/, query.o register.o \
|
||||
wins.o winsbench.o winsreplication.o dgram.o nbt.o)
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/nbt/proto.h,$(TORTURE_NBT_OBJ_FILES:.o=.c))
|
||||
|
||||
#################################
|
||||
# Start SUBSYSTEM TORTURE_NET
|
||||
[MODULE::TORTURE_NET]
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_net_init
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
libnet/proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-NET \
|
||||
POPT_CREDENTIALS \
|
||||
@ -225,6 +220,7 @@ TORTURE_NET_OBJ_FILES = $(addprefix $(torturesrcdir)/libnet/, libnet.o \
|
||||
domain.o libnet_lookup.o libnet_user.o libnet_group.o \
|
||||
libnet_share.o libnet_rpc.o libnet_domain.o libnet_BecomeDC.o)
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/libnet/proto.h,$(TORTURE_NET_OBJ_FILES:.o=.c))
|
||||
|
||||
#################################
|
||||
# Start BINARY smbtorture
|
||||
|
@ -3,8 +3,6 @@
|
||||
[MODULE::TORTURE_LOCAL]
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_local_init
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
RPC_NDR_ECHO \
|
||||
TDR \
|
||||
@ -50,3 +48,5 @@ TORTURE_LOCAL_OBJ_FILES = \
|
||||
$(torturesrcdir)/local/dbspeed.o \
|
||||
$(torturesrcdir)/local/torture.o
|
||||
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/local/proto.h,$(TORTURE_LOCAL_OBJ_FILES:.o=.c))
|
||||
|
@ -4,8 +4,6 @@
|
||||
[MODULE::TORTURE_SMB2]
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_smb2_init
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_SMB2 POPT_CREDENTIALS
|
||||
# End SUBSYSTEM TORTURE_SMB2
|
||||
@ -24,3 +22,5 @@ TORTURE_SMB2_OBJ_FILES = $(addprefix $(torturesrcdir)/smb2/, \
|
||||
persistent_handles.o \
|
||||
oplocks.o)
|
||||
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/smb2/proto.h,$(TORTURE_SMB2_OBJ_FILES:.o=.c))
|
||||
|
@ -4,8 +4,6 @@
|
||||
[MODULE::TORTURE_WINBIND]
|
||||
SUBSYSTEM = smbtorture
|
||||
INIT_FUNCTION = torture_winbind_init
|
||||
PRIVATE_PROTO_HEADER = \
|
||||
proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBWINBIND-CLIENT
|
||||
# End SUBSYSTEM TORTURE_WINBIND
|
||||
@ -13,3 +11,5 @@ PRIVATE_DEPENDENCIES = \
|
||||
|
||||
TORTURE_WINBIND_OBJ_FILES = $(addprefix $(torturesrcdir)/winbind/, winbind.o struct_based.o)
|
||||
|
||||
$(call proto_header_template,$(torturesrcdir)/proto.h,$(TORTURE_WINBIND_OBJ_FILES:.o=.c))
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
# Start BINARY net
|
||||
[BINARY::net]
|
||||
INSTALLDIR = BINDIR
|
||||
PRIVATE_PROTO_HEADER = net_proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBSAMBA-HOSTCONFIG \
|
||||
LIBSAMBA-UTIL \
|
||||
@ -23,3 +22,5 @@ net_OBJ_FILES = $(addprefix $(utilssrcdir)/net/, \
|
||||
net_vampire.o \
|
||||
net_user.o)
|
||||
|
||||
|
||||
$(call proto_header_template,$(utilssrcdir)/net/net_proto.h,$(net_OBJ_FILES:.o=.c))
|
||||
|
@ -5,9 +5,10 @@
|
||||
[MODULE::WEB]
|
||||
INIT_FUNCTION = server_service_web_init
|
||||
SUBSYSTEM = smbd
|
||||
PRIVATE_PROTO_HEADER = proto.h
|
||||
PRIVATE_DEPENDENCIES = ESP LIBTLS smbcalls process_model
|
||||
# End SUBSYSTEM WEB
|
||||
#######################
|
||||
|
||||
WEB_OBJ_FILES = $(addprefix $(web_serversrcdir)/, web_server.o http.o)
|
||||
|
||||
$(call proto_header_template,$(web_serversrcdir)/proto.h,$(WEB_OBJ_FILES:.o=.c))
|
||||
|
@ -5,7 +5,6 @@
|
||||
[MODULE::WINBIND]
|
||||
INIT_FUNCTION = server_service_winbind_init
|
||||
SUBSYSTEM = smbd
|
||||
PRIVATE_PROTO_HEADER = wb_proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
WB_HELPER \
|
||||
IDMAP \
|
||||
@ -50,22 +49,26 @@ WINBIND_OBJ_FILES = $(addprefix $(winbindsrcdir)/, \
|
||||
wb_pam_auth.o \
|
||||
wb_sam_logon.o)
|
||||
|
||||
$(call proto_header_template,$(winbindsrcdir)/wb_proto.h,$(WINBIND_OBJ_FILES:.o=.c))
|
||||
|
||||
################################################
|
||||
# Start SUBYSTEM WB_HELPER
|
||||
[SUBSYSTEM::WB_HELPER]
|
||||
PRIVATE_PROTO_HEADER = wb_helper.h
|
||||
PUBLIC_DEPENDENCIES = RPC_NDR_LSA dcerpc_samr
|
||||
# End SUBSYSTEM WB_HELPER
|
||||
################################################
|
||||
|
||||
WB_HELPER_OBJ_FILES = $(addprefix $(winbindsrcdir)/, wb_async_helpers.o wb_utils.o)
|
||||
|
||||
$(call proto_header_template,$(winbindsrcdir)/wb_helper.h,$(WB_HELPER_OBJ_FILES:.o=.c))
|
||||
|
||||
################################################
|
||||
# Start SUBYSTEM IDMAP
|
||||
[SUBSYSTEM::IDMAP]
|
||||
PRIVATE_PROTO_HEADER = idmap_proto.h
|
||||
PUBLIC_DEPENDENCIES = SAMDB_COMMON
|
||||
# End SUBSYSTEM IDMAP
|
||||
################################################
|
||||
|
||||
IDMAP_OBJ_FILES = $(winbindsrcdir)/idmap.o
|
||||
|
||||
$(call proto_header_template,$(winbindsrcdir)/idmap_proto.h,$(IDMAP_OBJ_FILES:.o=.c))
|
||||
|
@ -5,7 +5,6 @@
|
||||
[MODULE::WREPL_SRV]
|
||||
INIT_FUNCTION = server_service_wrepl_init
|
||||
SUBSYSTEM = smbd
|
||||
PRIVATE_PROTO_HEADER = wrepl_server_proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_WREPL WINSDB process_model
|
||||
# End SUBSYSTEM WREPL_SRV
|
||||
@ -22,3 +21,4 @@ WREPL_SRV_OBJ_FILES = $(addprefix $(wrepl_serversrcdir)/, \
|
||||
wrepl_out_push.o \
|
||||
wrepl_out_helpers.o)
|
||||
|
||||
$(call proto_header_template,$(wrepl_serversrcdir)/wrepl_server_proto.h,$(WREPL_SRV_OBJ_FILES:.o=.c))
|
||||
|
Loading…
Reference in New Issue
Block a user