summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-03-04 00:43:24 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-03-04 00:43:24 +0100
commit2d1c06c5781600a0efcf9becd3e2773dbbbf2cc7 (patch)
treee7ecac9f5918df44a6f5abbf130fc3920fa61f35 /source4
parent19ca598c9cbd08b3bbb133d8bf4e54b628942015 (diff)
downloadsamba-2d1c06c5781600a0efcf9becd3e2773dbbbf2cc7.tar.gz
Fix includes.
(This used to be commit 99e61dade2bd9ae2a5dfe17f766528012c09e46c)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/config.mk2
-rw-r--r--source4/auth/credentials/config.mk2
-rw-r--r--source4/build/smb_build/input.pm1
-rw-r--r--source4/build/smb_build/output.pm8
-rw-r--r--source4/lib/events/config.mk2
-rw-r--r--source4/lib/ldb/python.mk2
-rw-r--r--source4/lib/registry/config.mk1
-rw-r--r--source4/lib/tdb/python.mk2
-rw-r--r--source4/libcli/config.mk4
-rw-r--r--source4/libcli/security/config.mk2
-rw-r--r--source4/libnet/config.mk2
-rw-r--r--source4/librpc/config.mk2
-rw-r--r--source4/param/config.mk2
-rw-r--r--source4/scripting/python/config.mk2
14 files changed, 28 insertions, 6 deletions
diff --git a/source4/auth/config.mk b/source4/auth/config.mk
index c5a8786b6fc..0bbff5b09ae 100644
--- a/source4/auth/config.mk
+++ b/source4/auth/config.mk
@@ -106,3 +106,5 @@ PUBLIC_HEADERS += auth/auth.h
PUBLIC_DEPENDENCIES = auth_system_session
PRIVATE_DEPENDENCIES = SAMDB
SWIG_FILE = auth.i
+
+swig_auth_OBJ_FILES = auth/auth_wrap.o
diff --git a/source4/auth/credentials/config.mk b/source4/auth/credentials/config.mk
index 146f004397c..d8c02ebea82 100644
--- a/source4/auth/credentials/config.mk
+++ b/source4/auth/credentials/config.mk
@@ -14,3 +14,5 @@ PUBLIC_HEADERS += $(addprefix auth/credentials/, credentials.h credentials_krb5.
[PYTHON::swig_credentials]
PUBLIC_DEPENDENCIES = CREDENTIALS LIBCMDLINE_CREDENTIALS
SWIG_FILE = credentials.i
+
+swig_credentials_OBJ_FILES = auth/credentials/credentials_wrap.o
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm
index cd7b7ba2ac0..66a0bc723e8 100644
--- a/source4/build/smb_build/input.pm
+++ b/source4/build/smb_build/input.pm
@@ -151,7 +151,6 @@ sub check_python($$$)
$dirname .= "/" unless $dirname =~ /\/$/;
$dirname = "" if $dirname eq "./";
- $python->{OBJ_FILES} = ["$dirname$basename\_wrap.o"];
$python->{LIBRARY_REALNAME} = "_$basename.\$(SHLIBEXT)";
$python->{PYTHON_FILES} = ["$dirname$basename.py"];
push (@{$python->{CFLAGS}}, "\$(CFLAG_NO_UNUSED_MACROS)");
diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm
index 58c9f20670b..ffab456d68d 100644
--- a/source4/build/smb_build/output.pm
+++ b/source4/build/smb_build/output.pm
@@ -65,11 +65,9 @@ sub generate_merged_obj($)
my $link_name = $lib->{NAME};
$link_name =~ s/^LIB//;
- if (defined($lib->{OBJ_FILES})) {
- $lib->{MERGED_OBJNAME} = lc($link_name).".o";
- $lib->{RESULT_MERGED_OBJ} = $lib->{OUTPUT_MERGED_OBJ} = "bin/mergedobj/$lib->{MERGED_OBJNAME}";
- $lib->{TARGET_MERGED_OBJ} = $lib->{RESULT_MERGED_OBJ};
- }
+ $lib->{MERGED_OBJNAME} = lc($link_name).".o";
+ $lib->{RESULT_MERGED_OBJ} = $lib->{OUTPUT_MERGED_OBJ} = "bin/mergedobj/$lib->{MERGED_OBJNAME}";
+ $lib->{TARGET_MERGED_OBJ} = $lib->{RESULT_MERGED_OBJ};
}
sub generate_static_library($)
diff --git a/source4/lib/events/config.mk b/source4/lib/events/config.mk
index ba06c2f6739..e5a1316c470 100644
--- a/source4/lib/events/config.mk
+++ b/source4/lib/events/config.mk
@@ -45,3 +45,5 @@ PUBLIC_HEADERS += $(addprefix lib/events/, events.h events_internal.h)
[PYTHON::swig_events]
SWIG_FILE = events.i
PRIVATE_DEPENDENCIES = LIBEVENTS
+
+swig_events_OBJ_FILES = lib/events/events_wrap.o
diff --git a/source4/lib/ldb/python.mk b/source4/lib/ldb/python.mk
index bbd4c1c5ebd..448cc3ed60f 100644
--- a/source4/lib/ldb/python.mk
+++ b/source4/lib/ldb/python.mk
@@ -2,3 +2,5 @@
PUBLIC_DEPENDENCIES = LIBLDB
CFLAGS = -Ilib/ldb/include
SWIG_FILE = ldb.i
+
+swig_ldb_OBJ_FILES = lib/ldb/ldb_wrap.o
diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk
index 728d64d552b..544201ad534 100644
--- a/source4/lib/registry/config.mk
+++ b/source4/lib/registry/config.mk
@@ -104,3 +104,4 @@ torture_registry_OBJ_FILES = $(addprefix lib/registry/tests/, generic.o hive.o d
PUBLIC_DEPENDENCIES = registry
SWIG_FILE = registry.i
+swig_registry_OBJ_FILES = lib/registry/registry_wrap.o
diff --git a/source4/lib/tdb/python.mk b/source4/lib/tdb/python.mk
index 23b01c120c6..2d61545b7f6 100644
--- a/source4/lib/tdb/python.mk
+++ b/source4/lib/tdb/python.mk
@@ -1,3 +1,5 @@
[PYTHON::swig_tdb]
SWIG_FILE = tdb.i
PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG
+
+swig_tdb_OBJ_FILES = lib/tdb/tdb_wrap.o
diff --git a/source4/libcli/config.mk b/source4/libcli/config.mk
index d6a340a5995..abef6e31924 100644
--- a/source4/libcli/config.mk
+++ b/source4/libcli/config.mk
@@ -58,10 +58,14 @@ LIBCLI_NBT_OBJ_FILES = $(addprefix libcli/nbt/, \
SWIG_FILE = swig/libcli_nbt.i
PUBLIC_DEPENDENCIES = LIBCLI_NBT DYNCONFIG LIBSAMBA-CONFIG
+python_libcli_nbt_OBJ_FILES = libcli/swig/libcli_nbt_wrap.o
+
[PYTHON::python_libcli_smb]
SWIG_FILE = swig/libcli_smb.i
PUBLIC_DEPENDENCIES = LIBCLI_SMB DYNCONFIG LIBSAMBA-CONFIG
+python_libcli_smb_OBJ_FILES = libcli/swig/libcli_smb_wrap.o
+
[SUBSYSTEM::LIBCLI_DGRAM]
PUBLIC_DEPENDENCIES = LIBCLI_NBT LIBNDR LIBCLI_RESOLVE
diff --git a/source4/libcli/security/config.mk b/source4/libcli/security/config.mk
index 7d368462622..fde065aa347 100644
--- a/source4/libcli/security/config.mk
+++ b/source4/libcli/security/config.mk
@@ -10,3 +10,5 @@ LIBSECURITY_OBJ_FILES = $(addprefix libcli/security/, \
[PYTHON::swig_security]
SWIG_FILE = security.i
PRIVATE_DEPENDENCIES = LIBSECURITY
+
+swig_security_OBJ_FILES = libcli/security/security_wrap.o
diff --git a/source4/libnet/config.mk b/source4/libnet/config.mk
index 0dbe981bddd..f7ff07a7bc2 100644
--- a/source4/libnet/config.mk
+++ b/source4/libnet/config.mk
@@ -19,3 +19,5 @@ PUBLIC_HEADERS += $(addprefix libnet/, libnet.h libnet_join.h libnet_lookup.h li
[PYTHON::swig_net]
PRIVATE_DEPENDENCIES = LIBSAMBA-NET
SWIG_FILE = net.i
+
+swig_net_OBJ_FILES = libnet/net_wrap.o
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index 071d19cb15f..2d26f97add2 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -708,6 +708,8 @@ RPC_EJS_IRPC_OBJ_FILES = librpc/gen_ndr/ndr_irpc_ejs.o
SWIG_FILE = rpc/dcerpc.i
PUBLIC_DEPENDENCIES = LIBCLI_SMB NDR_MISC LIBSAMBA-UTIL LIBSAMBA-CONFIG dcerpc_samr RPC_NDR_LSA DYNCONFIG
+swig_dcerpc_OBJ_FILES = librpc/dcerpc_wrap.o
+
[PYTHON::python_echo]
PRIVATE_DEPENDENCIES = RPC_NDR_ECHO
diff --git a/source4/param/config.mk b/source4/param/config.mk
index 219ac3fe2d0..4b5af9b6cbd 100644
--- a/source4/param/config.mk
+++ b/source4/param/config.mk
@@ -53,3 +53,5 @@ SECRETS_OBJ_FILES = param/secrets.o
[PYTHON::param]
SWIG_FILE = param.i
PRIVATE_DEPENDENCIES = LIBSAMBA-CONFIG
+
+param_OBJ_FILES = param/param_wrap.o
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk
index 8a3a637bf57..a0f5caad3bd 100644
--- a/source4/scripting/python/config.mk
+++ b/source4/scripting/python/config.mk
@@ -18,6 +18,8 @@ python_uuid_OBJ_FILES = scripting/python/uuidmodule.o
PRIVATE_DEPENDENCIES = LIBNDR LIBLDB SAMDB CREDENTIALS
SWIG_FILE = misc.i
+python_misc_OBJ_FILES = scripting/python/misc_wrap.o
+
_PY_FILES = $(shell find scripting/python -name "*.py")
$(foreach pyfile, $(_PY_FILES),$(eval $(call python_py_module_template,$(patsubst scripting/python/%,%,$(pyfile)),$(pyfile))))