mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
@ -51,6 +51,8 @@ include data.mk
|
|||||||
|
|
||||||
BINARIES += $(BIN_PROGS) $(SBIN_PROGS)
|
BINARIES += $(BIN_PROGS) $(SBIN_PROGS)
|
||||||
|
|
||||||
|
pythonmods:: $(PYTHON_PYS) $(PYTHON_SO)
|
||||||
|
|
||||||
DEP_FILES = $(patsubst %.ho,%.hd,$(patsubst %.o,%.d,$(ALL_OBJS))) \
|
DEP_FILES = $(patsubst %.ho,%.hd,$(patsubst %.o,%.d,$(ALL_OBJS))) \
|
||||||
include/includes.d
|
include/includes.d
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ PAM_ERRORS_OBJ_FILES = $(addprefix auth/, pam_errors.o)
|
|||||||
|
|
||||||
[MODULE::auth]
|
[MODULE::auth]
|
||||||
INIT_FUNCTION = server_service_auth_init
|
INIT_FUNCTION = server_service_auth_init
|
||||||
SUBSYSTEM = smbd
|
SUBSYSTEM = service
|
||||||
PRIVATE_PROTO_HEADER = auth_proto.h
|
PRIVATE_PROTO_HEADER = auth_proto.h
|
||||||
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBSECURITY SAMDB CREDENTIALS
|
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBSECURITY SAMDB CREDENTIALS
|
||||||
|
|
||||||
|
@ -56,3 +56,7 @@ clean::
|
|||||||
|
|
||||||
pydoctor:: pythonmods
|
pydoctor:: pythonmods
|
||||||
LD_LIBRARY_PATH=bin/shared PYTHONPATH=$(pythonbuilddir) pydoctor --project-name=Samba --project-url=http://www.samba.org --make-html --docformat=restructuredtext --add-package $(pythonbuilddir)/samba
|
LD_LIBRARY_PATH=bin/shared PYTHONPATH=$(pythonbuilddir) pydoctor --project-name=Samba --project-url=http://www.samba.org --make-html --docformat=restructuredtext --add-package $(pythonbuilddir)/samba
|
||||||
|
|
||||||
|
bin/python/%.py:
|
||||||
|
mkdir -p $(@D)
|
||||||
|
cp $< $@
|
||||||
|
@ -326,9 +326,9 @@ sub PythonFiles($$)
|
|||||||
|
|
||||||
foreach (@{$ctx->{PYTHON_FILES}}) {
|
foreach (@{$ctx->{PYTHON_FILES}}) {
|
||||||
my $target = "bin/python/".basename($_);
|
my $target = "bin/python/".basename($_);
|
||||||
my $source = "\$(addprefix $ctx->{BASEDIR}/, $target)";
|
my $source = "\$(addprefix $ctx->{BASEDIR}/, $_)";
|
||||||
$self->output("$target: $source\n\n");
|
$self->output("$target: $source\n\n");
|
||||||
$self->output("PYTHON_PYS += $source\n");
|
$self->output("PYTHON_PYS += $target\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,18 +22,8 @@ python_misc_OBJ_FILES = scripting/python/misc_wrap.o
|
|||||||
|
|
||||||
PYDOCTOR_MODULES=bin/python/ldb.py bin/python/auth.py bin/python/credentials.py bin/python/registry.py bin/python/tdb.py bin/python/security.py bin/python/events.py bin/python/net.py
|
PYDOCTOR_MODULES=bin/python/ldb.py bin/python/auth.py bin/python/credentials.py bin/python/registry.py bin/python/tdb.py bin/python/security.py bin/python/events.py bin/python/net.py
|
||||||
|
|
||||||
pythonmods:: $(PYTHON_PYS) $(PYTHON_MODS)
|
|
||||||
|
|
||||||
bin/python/%.py:
|
|
||||||
mkdir -p $(@D)
|
|
||||||
cp $< $@
|
|
||||||
|
|
||||||
installpython:: pythonmods
|
installpython:: pythonmods
|
||||||
@$(SHELL) $(srcdir)/script/installpython.sh \
|
@$(SHELL) $(srcdir)/script/installpython.sh \
|
||||||
$(INSTALLPERMS) \
|
$(INSTALLPERMS) \
|
||||||
$(DESTDIR)$(PYTHONDIR) \
|
$(DESTDIR)$(PYTHONDIR) \
|
||||||
scripting/python bin/python
|
scripting/python bin/python
|
||||||
|
|
||||||
clean::
|
|
||||||
@echo "Removing python modules"
|
|
||||||
@rm -rf bin/python/*
|
|
||||||
|
@ -11,7 +11,6 @@ lib/charset/charset.h: lib/charset/charset_proto.h
|
|||||||
include/includes.h: \
|
include/includes.h: \
|
||||||
include/config.h \
|
include/config.h \
|
||||||
lib/charset/charset.h \
|
lib/charset/charset.h \
|
||||||
param/proto.h \
|
|
||||||
librpc/gen_ndr/misc.h
|
librpc/gen_ndr/misc.h
|
||||||
|
|
||||||
heimdal_basics: \
|
heimdal_basics: \
|
||||||
|
Reference in New Issue
Block a user