summaryrefslogtreecommitdiffstats
path: root/ldap/c-sdk
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-03 13:17:15 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-03 13:17:15 -0500
commit6513e41cb75e64384f35470d59ad6a4f88092e82 (patch)
tree969c588ab5703c74ece39a7da0be5faf3d868cef /ldap/c-sdk
parent2d4aca6d0036937afadfb93359d31fe3b4eabf84 (diff)
downloadUXP-6513e41cb75e64384f35470d59ad6a4f88092e82.tar
UXP-6513e41cb75e64384f35470d59ad6a4f88092e82.tar.gz
UXP-6513e41cb75e64384f35470d59ad6a4f88092e82.tar.lz
UXP-6513e41cb75e64384f35470d59ad6a4f88092e82.tar.xz
UXP-6513e41cb75e64384f35470d59ad6a4f88092e82.zip
Issue #1258 - Part 2: Use binoc-central version of ldap
Diffstat (limited to 'ldap/c-sdk')
-rw-r--r--ldap/c-sdk/common.mozbuild26
-rw-r--r--ldap/c-sdk/liblber/bprint.c (renamed from ldap/c-sdk/libraries/liblber/bprint.c)0
-rw-r--r--ldap/c-sdk/liblber/decode.c (renamed from ldap/c-sdk/libraries/liblber/decode.c)0
-rw-r--r--ldap/c-sdk/liblber/dtest.c (renamed from ldap/c-sdk/libraries/liblber/dtest.c)0
-rw-r--r--ldap/c-sdk/liblber/encode.c (renamed from ldap/c-sdk/libraries/liblber/encode.c)0
-rw-r--r--ldap/c-sdk/liblber/etest.c (renamed from ldap/c-sdk/libraries/liblber/etest.c)0
-rw-r--r--ldap/c-sdk/liblber/idtest.c (renamed from ldap/c-sdk/libraries/liblber/idtest.c)0
-rw-r--r--ldap/c-sdk/liblber/io.c (renamed from ldap/c-sdk/libraries/liblber/io.c)0
-rw-r--r--ldap/c-sdk/liblber/lber-int.h (renamed from ldap/c-sdk/libraries/liblber/lber-int.h)0
-rw-r--r--ldap/c-sdk/liblber/moz.build (renamed from ldap/c-sdk/libraries/liblber/moz.build)4
-rw-r--r--ldap/c-sdk/libldap/abandon.c (renamed from ldap/c-sdk/libraries/libldap/abandon.c)0
-rw-r--r--ldap/c-sdk/libldap/add.c (renamed from ldap/c-sdk/libraries/libldap/add.c)0
-rw-r--r--ldap/c-sdk/libldap/authzidctrl.c (renamed from ldap/c-sdk/libraries/libldap/authzidctrl.c)0
-rw-r--r--ldap/c-sdk/libldap/bind.c (renamed from ldap/c-sdk/libraries/libldap/bind.c)0
-rw-r--r--ldap/c-sdk/libldap/cache.c (renamed from ldap/c-sdk/libraries/libldap/cache.c)0
-rw-r--r--ldap/c-sdk/libldap/charray.c (renamed from ldap/c-sdk/libraries/libldap/charray.c)0
-rw-r--r--ldap/c-sdk/libldap/charset.c (renamed from ldap/c-sdk/libraries/libldap/charset.c)0
-rw-r--r--ldap/c-sdk/libldap/cldap.c (renamed from ldap/c-sdk/libraries/libldap/cldap.c)0
-rw-r--r--ldap/c-sdk/libldap/compare.c (renamed from ldap/c-sdk/libraries/libldap/compare.c)0
-rw-r--r--ldap/c-sdk/libldap/compat.c (renamed from ldap/c-sdk/libraries/libldap/compat.c)0
-rw-r--r--ldap/c-sdk/libldap/control.c (renamed from ldap/c-sdk/libraries/libldap/control.c)0
-rw-r--r--ldap/c-sdk/libldap/countvalues.c (renamed from ldap/c-sdk/libraries/libldap/countvalues.c)0
-rw-r--r--ldap/c-sdk/libldap/delete.c (renamed from ldap/c-sdk/libraries/libldap/delete.c)0
-rw-r--r--ldap/c-sdk/libldap/disptmpl.c (renamed from ldap/c-sdk/libraries/libldap/disptmpl.c)0
-rw-r--r--ldap/c-sdk/libldap/dllmain.c (renamed from ldap/c-sdk/libraries/libldap/dllmain.c)0
-rw-r--r--ldap/c-sdk/libldap/dsparse.c (renamed from ldap/c-sdk/libraries/libldap/dsparse.c)0
-rw-r--r--ldap/c-sdk/libldap/error.c (renamed from ldap/c-sdk/libraries/libldap/error.c)0
-rw-r--r--ldap/c-sdk/libldap/extendop.c (renamed from ldap/c-sdk/libraries/libldap/extendop.c)0
-rw-r--r--ldap/c-sdk/libldap/free.c (renamed from ldap/c-sdk/libraries/libldap/free.c)0
-rw-r--r--ldap/c-sdk/libldap/freevalues.c (renamed from ldap/c-sdk/libraries/libldap/freevalues.c)0
-rw-r--r--ldap/c-sdk/libldap/friendly.c (renamed from ldap/c-sdk/libraries/libldap/friendly.c)0
-rw-r--r--ldap/c-sdk/libldap/getattr.c (renamed from ldap/c-sdk/libraries/libldap/getattr.c)0
-rw-r--r--ldap/c-sdk/libldap/getdn.c (renamed from ldap/c-sdk/libraries/libldap/getdn.c)0
-rw-r--r--ldap/c-sdk/libldap/getdxbyname.c (renamed from ldap/c-sdk/libraries/libldap/getdxbyname.c)0
-rw-r--r--ldap/c-sdk/libldap/geteffectiverightsctrl.c (renamed from ldap/c-sdk/libraries/libldap/geteffectiverightsctrl.c)0
-rw-r--r--ldap/c-sdk/libldap/getentry.c (renamed from ldap/c-sdk/libraries/libldap/getentry.c)0
-rw-r--r--ldap/c-sdk/libldap/getfilter.c (renamed from ldap/c-sdk/libraries/libldap/getfilter.c)0
-rw-r--r--ldap/c-sdk/libldap/getoption.c (renamed from ldap/c-sdk/libraries/libldap/getoption.c)0
-rw-r--r--ldap/c-sdk/libldap/getvalues.c (renamed from ldap/c-sdk/libraries/libldap/getvalues.c)0
-rw-r--r--ldap/c-sdk/libldap/ldap-int.h (renamed from ldap/c-sdk/libraries/libldap/ldap-int.h)0
-rw-r--r--ldap/c-sdk/libldap/libldap.def (renamed from ldap/c-sdk/libraries/libldap/libldap.def)0
-rw-r--r--ldap/c-sdk/libldap/memcache.c (renamed from ldap/c-sdk/libraries/libldap/memcache.c)0
-rw-r--r--ldap/c-sdk/libldap/message.c (renamed from ldap/c-sdk/libraries/libldap/message.c)0
-rw-r--r--ldap/c-sdk/libldap/modify.c (renamed from ldap/c-sdk/libraries/libldap/modify.c)0
-rw-r--r--ldap/c-sdk/libldap/moz.build (renamed from ldap/c-sdk/libraries/libldap/moz.build)4
-rw-r--r--ldap/c-sdk/libldap/mozock.c (renamed from ldap/c-sdk/libraries/libldap/mozock.c)0
-rw-r--r--ldap/c-sdk/libldap/nsprthreadtest.c (renamed from ldap/c-sdk/libraries/libldap/nsprthreadtest.c)0
-rw-r--r--ldap/c-sdk/libldap/open.c (renamed from ldap/c-sdk/libraries/libldap/open.c)0
-rw-r--r--ldap/c-sdk/libldap/os-ip.c (renamed from ldap/c-sdk/libraries/libldap/os-ip.c)0
-rw-r--r--ldap/c-sdk/libldap/proxyauthctrl.c (renamed from ldap/c-sdk/libraries/libldap/proxyauthctrl.c)0
-rw-r--r--ldap/c-sdk/libldap/psearch.c (renamed from ldap/c-sdk/libraries/libldap/psearch.c)0
-rw-r--r--ldap/c-sdk/libldap/pthreadtest.c (renamed from ldap/c-sdk/libraries/libldap/pthreadtest.c)0
-rw-r--r--ldap/c-sdk/libldap/pwmodext.c (renamed from ldap/c-sdk/libraries/libldap/pwmodext.c)0
-rw-r--r--ldap/c-sdk/libldap/pwpctrl.c (renamed from ldap/c-sdk/libraries/libldap/pwpctrl.c)0
-rw-r--r--ldap/c-sdk/libldap/referral.c (renamed from ldap/c-sdk/libraries/libldap/referral.c)0
-rw-r--r--ldap/c-sdk/libldap/regex.c (renamed from ldap/c-sdk/libraries/libldap/regex.c)0
-rw-r--r--ldap/c-sdk/libldap/rename.c (renamed from ldap/c-sdk/libraries/libldap/rename.c)0
-rw-r--r--ldap/c-sdk/libldap/request.c (renamed from ldap/c-sdk/libraries/libldap/request.c)0
-rw-r--r--ldap/c-sdk/libldap/reslist.c (renamed from ldap/c-sdk/libraries/libldap/reslist.c)0
-rw-r--r--ldap/c-sdk/libldap/result.c (renamed from ldap/c-sdk/libraries/libldap/result.c)0
-rw-r--r--ldap/c-sdk/libldap/saslbind.c (renamed from ldap/c-sdk/libraries/libldap/saslbind.c)0
-rw-r--r--ldap/c-sdk/libldap/saslio.c (renamed from ldap/c-sdk/libraries/libldap/saslio.c)0
-rw-r--r--ldap/c-sdk/libldap/sbind.c (renamed from ldap/c-sdk/libraries/libldap/sbind.c)0
-rw-r--r--ldap/c-sdk/libldap/search.c (renamed from ldap/c-sdk/libraries/libldap/search.c)0
-rw-r--r--ldap/c-sdk/libldap/setoption.c (renamed from ldap/c-sdk/libraries/libldap/setoption.c)0
-rw-r--r--ldap/c-sdk/libldap/sort.c (renamed from ldap/c-sdk/libraries/libldap/sort.c)0
-rw-r--r--ldap/c-sdk/libldap/sortctrl.c (renamed from ldap/c-sdk/libraries/libldap/sortctrl.c)0
-rw-r--r--ldap/c-sdk/libldap/srchpref.c (renamed from ldap/c-sdk/libraries/libldap/srchpref.c)0
-rw-r--r--ldap/c-sdk/libldap/test.c (renamed from ldap/c-sdk/libraries/libldap/test.c)0
-rw-r--r--ldap/c-sdk/libldap/tmplout.c (renamed from ldap/c-sdk/libraries/libldap/tmplout.c)0
-rw-r--r--ldap/c-sdk/libldap/tmpltest.c (renamed from ldap/c-sdk/libraries/libldap/tmpltest.c)0
-rw-r--r--ldap/c-sdk/libldap/ufn.c (renamed from ldap/c-sdk/libraries/libldap/ufn.c)0
-rw-r--r--ldap/c-sdk/libldap/unbind.c (renamed from ldap/c-sdk/libraries/libldap/unbind.c)0
-rw-r--r--ldap/c-sdk/libldap/unescape.c (renamed from ldap/c-sdk/libraries/libldap/unescape.c)0
-rw-r--r--ldap/c-sdk/libldap/url.c (renamed from ldap/c-sdk/libraries/libldap/url.c)0
-rw-r--r--ldap/c-sdk/libldap/userstatusctrl.c (renamed from ldap/c-sdk/libraries/libldap/userstatusctrl.c)0
-rw-r--r--ldap/c-sdk/libldap/utf8.c (renamed from ldap/c-sdk/libraries/libldap/utf8.c)0
-rw-r--r--ldap/c-sdk/libldap/vlistctrl.c (renamed from ldap/c-sdk/libraries/libldap/vlistctrl.c)0
-rw-r--r--ldap/c-sdk/libldap/whoami.c (renamed from ldap/c-sdk/libraries/libldap/whoami.c)0
-rw-r--r--ldap/c-sdk/libldif/libldif.def (renamed from ldap/c-sdk/libraries/libldif/libldif.def)0
-rw-r--r--ldap/c-sdk/libldif/line64.c (renamed from ldap/c-sdk/libraries/libldif/line64.c)0
-rw-r--r--ldap/c-sdk/libldif/moz.build (renamed from ldap/c-sdk/libraries/libldif/moz.build)4
-rw-r--r--ldap/c-sdk/libprldap/ldappr-dns.c (renamed from ldap/c-sdk/libraries/libprldap/ldappr-dns.c)0
-rw-r--r--ldap/c-sdk/libprldap/ldappr-error.c (renamed from ldap/c-sdk/libraries/libprldap/ldappr-error.c)0
-rw-r--r--ldap/c-sdk/libprldap/ldappr-int.h (renamed from ldap/c-sdk/libraries/libprldap/ldappr-int.h)0
-rw-r--r--ldap/c-sdk/libprldap/ldappr-io.c (renamed from ldap/c-sdk/libraries/libprldap/ldappr-io.c)0
-rw-r--r--ldap/c-sdk/libprldap/ldappr-public.c (renamed from ldap/c-sdk/libraries/libprldap/ldappr-public.c)0
-rw-r--r--ldap/c-sdk/libprldap/ldappr-threads.c (renamed from ldap/c-sdk/libraries/libprldap/ldappr-threads.c)0
-rw-r--r--ldap/c-sdk/libprldap/libprldap.def (renamed from ldap/c-sdk/libraries/libprldap/libprldap.def)0
-rw-r--r--ldap/c-sdk/libprldap/moz.build (renamed from ldap/c-sdk/libraries/libprldap/moz.build)4
-rw-r--r--ldap/c-sdk/moz.build (renamed from ldap/c-sdk/libraries/moz.build)8
91 files changed, 42 insertions, 8 deletions
diff --git a/ldap/c-sdk/common.mozbuild b/ldap/c-sdk/common.mozbuild
new file mode 100644
index 000000000..4377982c5
--- /dev/null
+++ b/ldap/c-sdk/common.mozbuild
@@ -0,0 +1,26 @@
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+NO_VISIBILITY_FLAGS = True
+DISABLE_STL_WRAPPING = True
+ALLOW_COMPILER_WARNINGS = True
+
+if CONFIG['OS_TARGET'] == 'Linux':
+ DEFINES['LINUX'] = 1
+ DEFINES['LINUX2_0'] = True
+ DEFINES['linux'] = 1
+elif CONFIG['OS_TARGET'] == 'Darwin':
+ DEFINES["DARWIN"] = 1
+elif CONFIG['OS_TARGET'] in ('OpenBSD', 'FreeBSD', 'NetBSD'):
+ DEFINES[CONFIG['OS_TARGET'].upper()] = True
+elif CONFIG['OS_ARCH'] == 'WINNT':
+ DEFINES['_WINDOWS'] = True
+
+DEFINES['_PR_PTHREADS'] = True
+DEFINES['NET_SSL'] = True
+DEFINES['NS_DOMESTIC'] = True
+
+if CONFIG['MOZ_DEBUG']:
+ DEFINES['LDAP_DEBUG'] = True
diff --git a/ldap/c-sdk/libraries/liblber/bprint.c b/ldap/c-sdk/liblber/bprint.c
index 7a7ccc01f..7a7ccc01f 100644
--- a/ldap/c-sdk/libraries/liblber/bprint.c
+++ b/ldap/c-sdk/liblber/bprint.c
diff --git a/ldap/c-sdk/libraries/liblber/decode.c b/ldap/c-sdk/liblber/decode.c
index 732dd6e64..732dd6e64 100644
--- a/ldap/c-sdk/libraries/liblber/decode.c
+++ b/ldap/c-sdk/liblber/decode.c
diff --git a/ldap/c-sdk/libraries/liblber/dtest.c b/ldap/c-sdk/liblber/dtest.c
index 71f13d45a..71f13d45a 100644
--- a/ldap/c-sdk/libraries/liblber/dtest.c
+++ b/ldap/c-sdk/liblber/dtest.c
diff --git a/ldap/c-sdk/libraries/liblber/encode.c b/ldap/c-sdk/liblber/encode.c
index 1c47b12a0..1c47b12a0 100644
--- a/ldap/c-sdk/libraries/liblber/encode.c
+++ b/ldap/c-sdk/liblber/encode.c
diff --git a/ldap/c-sdk/libraries/liblber/etest.c b/ldap/c-sdk/liblber/etest.c
index f2bab358f..f2bab358f 100644
--- a/ldap/c-sdk/libraries/liblber/etest.c
+++ b/ldap/c-sdk/liblber/etest.c
diff --git a/ldap/c-sdk/libraries/liblber/idtest.c b/ldap/c-sdk/liblber/idtest.c
index e6f8fa4ae..e6f8fa4ae 100644
--- a/ldap/c-sdk/libraries/liblber/idtest.c
+++ b/ldap/c-sdk/liblber/idtest.c
diff --git a/ldap/c-sdk/libraries/liblber/io.c b/ldap/c-sdk/liblber/io.c
index fc81a9dee..fc81a9dee 100644
--- a/ldap/c-sdk/libraries/liblber/io.c
+++ b/ldap/c-sdk/liblber/io.c
diff --git a/ldap/c-sdk/libraries/liblber/lber-int.h b/ldap/c-sdk/liblber/lber-int.h
index 24b15bdc5..24b15bdc5 100644
--- a/ldap/c-sdk/libraries/liblber/lber-int.h
+++ b/ldap/c-sdk/liblber/lber-int.h
diff --git a/ldap/c-sdk/libraries/liblber/moz.build b/ldap/c-sdk/liblber/moz.build
index 8a344a473..d2adf23bf 100644
--- a/ldap/c-sdk/libraries/liblber/moz.build
+++ b/ldap/c-sdk/liblber/moz.build
@@ -3,7 +3,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-include('/ldap/ldap-sdk.mozbuild')
+include('../common.mozbuild')
Library('lber60')
@@ -18,6 +18,6 @@ DEFINES['USE_WAITPID'] = True
DEFINES['NEEDPROTOS'] = True
LOCAL_INCLUDES += [
- '/ldap/c-sdk/include'
+ '../include'
]
diff --git a/ldap/c-sdk/libraries/libldap/abandon.c b/ldap/c-sdk/libldap/abandon.c
index a514cfd89..a514cfd89 100644
--- a/ldap/c-sdk/libraries/libldap/abandon.c
+++ b/ldap/c-sdk/libldap/abandon.c
diff --git a/ldap/c-sdk/libraries/libldap/add.c b/ldap/c-sdk/libldap/add.c
index 0cb5dbfb5..0cb5dbfb5 100644
--- a/ldap/c-sdk/libraries/libldap/add.c
+++ b/ldap/c-sdk/libldap/add.c
diff --git a/ldap/c-sdk/libraries/libldap/authzidctrl.c b/ldap/c-sdk/libldap/authzidctrl.c
index 69b776cdc..69b776cdc 100644
--- a/ldap/c-sdk/libraries/libldap/authzidctrl.c
+++ b/ldap/c-sdk/libldap/authzidctrl.c
diff --git a/ldap/c-sdk/libraries/libldap/bind.c b/ldap/c-sdk/libldap/bind.c
index 8b5504be3..8b5504be3 100644
--- a/ldap/c-sdk/libraries/libldap/bind.c
+++ b/ldap/c-sdk/libldap/bind.c
diff --git a/ldap/c-sdk/libraries/libldap/cache.c b/ldap/c-sdk/libldap/cache.c
index 54195e5fe..54195e5fe 100644
--- a/ldap/c-sdk/libraries/libldap/cache.c
+++ b/ldap/c-sdk/libldap/cache.c
diff --git a/ldap/c-sdk/libraries/libldap/charray.c b/ldap/c-sdk/libldap/charray.c
index 043f99e8a..043f99e8a 100644
--- a/ldap/c-sdk/libraries/libldap/charray.c
+++ b/ldap/c-sdk/libldap/charray.c
diff --git a/ldap/c-sdk/libraries/libldap/charset.c b/ldap/c-sdk/libldap/charset.c
index 23bad239b..23bad239b 100644
--- a/ldap/c-sdk/libraries/libldap/charset.c
+++ b/ldap/c-sdk/libldap/charset.c
diff --git a/ldap/c-sdk/libraries/libldap/cldap.c b/ldap/c-sdk/libldap/cldap.c
index 829d34c28..829d34c28 100644
--- a/ldap/c-sdk/libraries/libldap/cldap.c
+++ b/ldap/c-sdk/libldap/cldap.c
diff --git a/ldap/c-sdk/libraries/libldap/compare.c b/ldap/c-sdk/libldap/compare.c
index 6ccd0e8aa..6ccd0e8aa 100644
--- a/ldap/c-sdk/libraries/libldap/compare.c
+++ b/ldap/c-sdk/libldap/compare.c
diff --git a/ldap/c-sdk/libraries/libldap/compat.c b/ldap/c-sdk/libldap/compat.c
index 94e58ca7a..94e58ca7a 100644
--- a/ldap/c-sdk/libraries/libldap/compat.c
+++ b/ldap/c-sdk/libldap/compat.c
diff --git a/ldap/c-sdk/libraries/libldap/control.c b/ldap/c-sdk/libldap/control.c
index 5f2eb7375..5f2eb7375 100644
--- a/ldap/c-sdk/libraries/libldap/control.c
+++ b/ldap/c-sdk/libldap/control.c
diff --git a/ldap/c-sdk/libraries/libldap/countvalues.c b/ldap/c-sdk/libldap/countvalues.c
index 90e9e0adc..90e9e0adc 100644
--- a/ldap/c-sdk/libraries/libldap/countvalues.c
+++ b/ldap/c-sdk/libldap/countvalues.c
diff --git a/ldap/c-sdk/libraries/libldap/delete.c b/ldap/c-sdk/libldap/delete.c
index 531761371..531761371 100644
--- a/ldap/c-sdk/libraries/libldap/delete.c
+++ b/ldap/c-sdk/libldap/delete.c
diff --git a/ldap/c-sdk/libraries/libldap/disptmpl.c b/ldap/c-sdk/libldap/disptmpl.c
index 17fc71944..17fc71944 100644
--- a/ldap/c-sdk/libraries/libldap/disptmpl.c
+++ b/ldap/c-sdk/libldap/disptmpl.c
diff --git a/ldap/c-sdk/libraries/libldap/dllmain.c b/ldap/c-sdk/libldap/dllmain.c
index b51c16caa..b51c16caa 100644
--- a/ldap/c-sdk/libraries/libldap/dllmain.c
+++ b/ldap/c-sdk/libldap/dllmain.c
diff --git a/ldap/c-sdk/libraries/libldap/dsparse.c b/ldap/c-sdk/libldap/dsparse.c
index 22d411617..22d411617 100644
--- a/ldap/c-sdk/libraries/libldap/dsparse.c
+++ b/ldap/c-sdk/libldap/dsparse.c
diff --git a/ldap/c-sdk/libraries/libldap/error.c b/ldap/c-sdk/libldap/error.c
index 82cbb56cb..82cbb56cb 100644
--- a/ldap/c-sdk/libraries/libldap/error.c
+++ b/ldap/c-sdk/libldap/error.c
diff --git a/ldap/c-sdk/libraries/libldap/extendop.c b/ldap/c-sdk/libldap/extendop.c
index f1a92afcd..f1a92afcd 100644
--- a/ldap/c-sdk/libraries/libldap/extendop.c
+++ b/ldap/c-sdk/libldap/extendop.c
diff --git a/ldap/c-sdk/libraries/libldap/free.c b/ldap/c-sdk/libldap/free.c
index 821ebad10..821ebad10 100644
--- a/ldap/c-sdk/libraries/libldap/free.c
+++ b/ldap/c-sdk/libldap/free.c
diff --git a/ldap/c-sdk/libraries/libldap/freevalues.c b/ldap/c-sdk/libldap/freevalues.c
index 29a0ea03f..29a0ea03f 100644
--- a/ldap/c-sdk/libraries/libldap/freevalues.c
+++ b/ldap/c-sdk/libldap/freevalues.c
diff --git a/ldap/c-sdk/libraries/libldap/friendly.c b/ldap/c-sdk/libldap/friendly.c
index d7b5dc65d..d7b5dc65d 100644
--- a/ldap/c-sdk/libraries/libldap/friendly.c
+++ b/ldap/c-sdk/libldap/friendly.c
diff --git a/ldap/c-sdk/libraries/libldap/getattr.c b/ldap/c-sdk/libldap/getattr.c
index fbe688fea..fbe688fea 100644
--- a/ldap/c-sdk/libraries/libldap/getattr.c
+++ b/ldap/c-sdk/libldap/getattr.c
diff --git a/ldap/c-sdk/libraries/libldap/getdn.c b/ldap/c-sdk/libldap/getdn.c
index 4fab52cc6..4fab52cc6 100644
--- a/ldap/c-sdk/libraries/libldap/getdn.c
+++ b/ldap/c-sdk/libldap/getdn.c
diff --git a/ldap/c-sdk/libraries/libldap/getdxbyname.c b/ldap/c-sdk/libldap/getdxbyname.c
index d70614458..d70614458 100644
--- a/ldap/c-sdk/libraries/libldap/getdxbyname.c
+++ b/ldap/c-sdk/libldap/getdxbyname.c
diff --git a/ldap/c-sdk/libraries/libldap/geteffectiverightsctrl.c b/ldap/c-sdk/libldap/geteffectiverightsctrl.c
index f03fdc441..f03fdc441 100644
--- a/ldap/c-sdk/libraries/libldap/geteffectiverightsctrl.c
+++ b/ldap/c-sdk/libldap/geteffectiverightsctrl.c
diff --git a/ldap/c-sdk/libraries/libldap/getentry.c b/ldap/c-sdk/libldap/getentry.c
index fb999265b..fb999265b 100644
--- a/ldap/c-sdk/libraries/libldap/getentry.c
+++ b/ldap/c-sdk/libldap/getentry.c
diff --git a/ldap/c-sdk/libraries/libldap/getfilter.c b/ldap/c-sdk/libldap/getfilter.c
index ff2ee77f9..ff2ee77f9 100644
--- a/ldap/c-sdk/libraries/libldap/getfilter.c
+++ b/ldap/c-sdk/libldap/getfilter.c
diff --git a/ldap/c-sdk/libraries/libldap/getoption.c b/ldap/c-sdk/libldap/getoption.c
index 73e21a2dc..73e21a2dc 100644
--- a/ldap/c-sdk/libraries/libldap/getoption.c
+++ b/ldap/c-sdk/libldap/getoption.c
diff --git a/ldap/c-sdk/libraries/libldap/getvalues.c b/ldap/c-sdk/libldap/getvalues.c
index cae40d2cd..cae40d2cd 100644
--- a/ldap/c-sdk/libraries/libldap/getvalues.c
+++ b/ldap/c-sdk/libldap/getvalues.c
diff --git a/ldap/c-sdk/libraries/libldap/ldap-int.h b/ldap/c-sdk/libldap/ldap-int.h
index f64d1b3d3..f64d1b3d3 100644
--- a/ldap/c-sdk/libraries/libldap/ldap-int.h
+++ b/ldap/c-sdk/libldap/ldap-int.h
diff --git a/ldap/c-sdk/libraries/libldap/libldap.def b/ldap/c-sdk/libldap/libldap.def
index dd79389a2..dd79389a2 100644
--- a/ldap/c-sdk/libraries/libldap/libldap.def
+++ b/ldap/c-sdk/libldap/libldap.def
diff --git a/ldap/c-sdk/libraries/libldap/memcache.c b/ldap/c-sdk/libldap/memcache.c
index 78943408a..78943408a 100644
--- a/ldap/c-sdk/libraries/libldap/memcache.c
+++ b/ldap/c-sdk/libldap/memcache.c
diff --git a/ldap/c-sdk/libraries/libldap/message.c b/ldap/c-sdk/libldap/message.c
index bfbd200f8..bfbd200f8 100644
--- a/ldap/c-sdk/libraries/libldap/message.c
+++ b/ldap/c-sdk/libldap/message.c
diff --git a/ldap/c-sdk/libraries/libldap/modify.c b/ldap/c-sdk/libldap/modify.c
index ea81102c4..ea81102c4 100644
--- a/ldap/c-sdk/libraries/libldap/modify.c
+++ b/ldap/c-sdk/libldap/modify.c
diff --git a/ldap/c-sdk/libraries/libldap/moz.build b/ldap/c-sdk/libldap/moz.build
index 05c7a6b52..35fbd8fb6 100644
--- a/ldap/c-sdk/libraries/libldap/moz.build
+++ b/ldap/c-sdk/libldap/moz.build
@@ -3,7 +3,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-include('/ldap/ldap-sdk.mozbuild')
+include('../common.mozbuild')
SharedLibrary('ldap60')
@@ -82,7 +82,7 @@ if CONFIG['OS_TARGET'] != 'WINNT':
DEFINES['NEEDPROTOS'] = True
LOCAL_INCLUDES += [
- '/ldap/c-sdk/include'
+ '../include'
]
USE_LIBS += ['lber60']
diff --git a/ldap/c-sdk/libraries/libldap/mozock.c b/ldap/c-sdk/libldap/mozock.c
index 4f0bc5750..4f0bc5750 100644
--- a/ldap/c-sdk/libraries/libldap/mozock.c
+++ b/ldap/c-sdk/libldap/mozock.c
diff --git a/ldap/c-sdk/libraries/libldap/nsprthreadtest.c b/ldap/c-sdk/libldap/nsprthreadtest.c
index f9af68b42..f9af68b42 100644
--- a/ldap/c-sdk/libraries/libldap/nsprthreadtest.c
+++ b/ldap/c-sdk/libldap/nsprthreadtest.c
diff --git a/ldap/c-sdk/libraries/libldap/open.c b/ldap/c-sdk/libldap/open.c
index 06cb629cb..06cb629cb 100644
--- a/ldap/c-sdk/libraries/libldap/open.c
+++ b/ldap/c-sdk/libldap/open.c
diff --git a/ldap/c-sdk/libraries/libldap/os-ip.c b/ldap/c-sdk/libldap/os-ip.c
index 2e70139be..2e70139be 100644
--- a/ldap/c-sdk/libraries/libldap/os-ip.c
+++ b/ldap/c-sdk/libldap/os-ip.c
diff --git a/ldap/c-sdk/libraries/libldap/proxyauthctrl.c b/ldap/c-sdk/libldap/proxyauthctrl.c
index e8e80cb14..e8e80cb14 100644
--- a/ldap/c-sdk/libraries/libldap/proxyauthctrl.c
+++ b/ldap/c-sdk/libldap/proxyauthctrl.c
diff --git a/ldap/c-sdk/libraries/libldap/psearch.c b/ldap/c-sdk/libldap/psearch.c
index 71b9da90d..71b9da90d 100644
--- a/ldap/c-sdk/libraries/libldap/psearch.c
+++ b/ldap/c-sdk/libldap/psearch.c
diff --git a/ldap/c-sdk/libraries/libldap/pthreadtest.c b/ldap/c-sdk/libldap/pthreadtest.c
index fa913f691..fa913f691 100644
--- a/ldap/c-sdk/libraries/libldap/pthreadtest.c
+++ b/ldap/c-sdk/libldap/pthreadtest.c
diff --git a/ldap/c-sdk/libraries/libldap/pwmodext.c b/ldap/c-sdk/libldap/pwmodext.c
index fd737c4a3..fd737c4a3 100644
--- a/ldap/c-sdk/libraries/libldap/pwmodext.c
+++ b/ldap/c-sdk/libldap/pwmodext.c
diff --git a/ldap/c-sdk/libraries/libldap/pwpctrl.c b/ldap/c-sdk/libldap/pwpctrl.c
index 26a3f1b2f..26a3f1b2f 100644
--- a/ldap/c-sdk/libraries/libldap/pwpctrl.c
+++ b/ldap/c-sdk/libldap/pwpctrl.c
diff --git a/ldap/c-sdk/libraries/libldap/referral.c b/ldap/c-sdk/libldap/referral.c
index 742d3d986..742d3d986 100644
--- a/ldap/c-sdk/libraries/libldap/referral.c
+++ b/ldap/c-sdk/libldap/referral.c
diff --git a/ldap/c-sdk/libraries/libldap/regex.c b/ldap/c-sdk/libldap/regex.c
index 4ba4ee08a..4ba4ee08a 100644
--- a/ldap/c-sdk/libraries/libldap/regex.c
+++ b/ldap/c-sdk/libldap/regex.c
diff --git a/ldap/c-sdk/libraries/libldap/rename.c b/ldap/c-sdk/libldap/rename.c
index ac3ec7c73..ac3ec7c73 100644
--- a/ldap/c-sdk/libraries/libldap/rename.c
+++ b/ldap/c-sdk/libldap/rename.c
diff --git a/ldap/c-sdk/libraries/libldap/request.c b/ldap/c-sdk/libldap/request.c
index d379917b2..d379917b2 100644
--- a/ldap/c-sdk/libraries/libldap/request.c
+++ b/ldap/c-sdk/libldap/request.c
diff --git a/ldap/c-sdk/libraries/libldap/reslist.c b/ldap/c-sdk/libldap/reslist.c
index a382941eb..a382941eb 100644
--- a/ldap/c-sdk/libraries/libldap/reslist.c
+++ b/ldap/c-sdk/libldap/reslist.c
diff --git a/ldap/c-sdk/libraries/libldap/result.c b/ldap/c-sdk/libldap/result.c
index 59c15f811..59c15f811 100644
--- a/ldap/c-sdk/libraries/libldap/result.c
+++ b/ldap/c-sdk/libldap/result.c
diff --git a/ldap/c-sdk/libraries/libldap/saslbind.c b/ldap/c-sdk/libldap/saslbind.c
index 5cbe73bbf..5cbe73bbf 100644
--- a/ldap/c-sdk/libraries/libldap/saslbind.c
+++ b/ldap/c-sdk/libldap/saslbind.c
diff --git a/ldap/c-sdk/libraries/libldap/saslio.c b/ldap/c-sdk/libldap/saslio.c
index 6ab6303d0..6ab6303d0 100644
--- a/ldap/c-sdk/libraries/libldap/saslio.c
+++ b/ldap/c-sdk/libldap/saslio.c
diff --git a/ldap/c-sdk/libraries/libldap/sbind.c b/ldap/c-sdk/libldap/sbind.c
index d9bfc71fd..d9bfc71fd 100644
--- a/ldap/c-sdk/libraries/libldap/sbind.c
+++ b/ldap/c-sdk/libldap/sbind.c
diff --git a/ldap/c-sdk/libraries/libldap/search.c b/ldap/c-sdk/libldap/search.c
index 648d739e6..648d739e6 100644
--- a/ldap/c-sdk/libraries/libldap/search.c
+++ b/ldap/c-sdk/libldap/search.c
diff --git a/ldap/c-sdk/libraries/libldap/setoption.c b/ldap/c-sdk/libldap/setoption.c
index 5c4d753f5..5c4d753f5 100644
--- a/ldap/c-sdk/libraries/libldap/setoption.c
+++ b/ldap/c-sdk/libldap/setoption.c
diff --git a/ldap/c-sdk/libraries/libldap/sort.c b/ldap/c-sdk/libldap/sort.c
index 8a716c818..8a716c818 100644
--- a/ldap/c-sdk/libraries/libldap/sort.c
+++ b/ldap/c-sdk/libldap/sort.c
diff --git a/ldap/c-sdk/libraries/libldap/sortctrl.c b/ldap/c-sdk/libldap/sortctrl.c
index 585e2fd3f..585e2fd3f 100644
--- a/ldap/c-sdk/libraries/libldap/sortctrl.c
+++ b/ldap/c-sdk/libldap/sortctrl.c
diff --git a/ldap/c-sdk/libraries/libldap/srchpref.c b/ldap/c-sdk/libldap/srchpref.c
index a3025afd3..a3025afd3 100644
--- a/ldap/c-sdk/libraries/libldap/srchpref.c
+++ b/ldap/c-sdk/libldap/srchpref.c
diff --git a/ldap/c-sdk/libraries/libldap/test.c b/ldap/c-sdk/libldap/test.c
index fa984f343..fa984f343 100644
--- a/ldap/c-sdk/libraries/libldap/test.c
+++ b/ldap/c-sdk/libldap/test.c
diff --git a/ldap/c-sdk/libraries/libldap/tmplout.c b/ldap/c-sdk/libldap/tmplout.c
index 0dded6b4c..0dded6b4c 100644
--- a/ldap/c-sdk/libraries/libldap/tmplout.c
+++ b/ldap/c-sdk/libldap/tmplout.c
diff --git a/ldap/c-sdk/libraries/libldap/tmpltest.c b/ldap/c-sdk/libldap/tmpltest.c
index 35ee54e06..35ee54e06 100644
--- a/ldap/c-sdk/libraries/libldap/tmpltest.c
+++ b/ldap/c-sdk/libldap/tmpltest.c
diff --git a/ldap/c-sdk/libraries/libldap/ufn.c b/ldap/c-sdk/libldap/ufn.c
index 54e737e15..54e737e15 100644
--- a/ldap/c-sdk/libraries/libldap/ufn.c
+++ b/ldap/c-sdk/libldap/ufn.c
diff --git a/ldap/c-sdk/libraries/libldap/unbind.c b/ldap/c-sdk/libldap/unbind.c
index 95ca49411..95ca49411 100644
--- a/ldap/c-sdk/libraries/libldap/unbind.c
+++ b/ldap/c-sdk/libldap/unbind.c
diff --git a/ldap/c-sdk/libraries/libldap/unescape.c b/ldap/c-sdk/libldap/unescape.c
index 66d5bd27f..66d5bd27f 100644
--- a/ldap/c-sdk/libraries/libldap/unescape.c
+++ b/ldap/c-sdk/libldap/unescape.c
diff --git a/ldap/c-sdk/libraries/libldap/url.c b/ldap/c-sdk/libldap/url.c
index 789ee3ac2..789ee3ac2 100644
--- a/ldap/c-sdk/libraries/libldap/url.c
+++ b/ldap/c-sdk/libldap/url.c
diff --git a/ldap/c-sdk/libraries/libldap/userstatusctrl.c b/ldap/c-sdk/libldap/userstatusctrl.c
index 1127d67bb..1127d67bb 100644
--- a/ldap/c-sdk/libraries/libldap/userstatusctrl.c
+++ b/ldap/c-sdk/libldap/userstatusctrl.c
diff --git a/ldap/c-sdk/libraries/libldap/utf8.c b/ldap/c-sdk/libldap/utf8.c
index 98957cc5b..98957cc5b 100644
--- a/ldap/c-sdk/libraries/libldap/utf8.c
+++ b/ldap/c-sdk/libldap/utf8.c
diff --git a/ldap/c-sdk/libraries/libldap/vlistctrl.c b/ldap/c-sdk/libldap/vlistctrl.c
index e42d74641..e42d74641 100644
--- a/ldap/c-sdk/libraries/libldap/vlistctrl.c
+++ b/ldap/c-sdk/libldap/vlistctrl.c
diff --git a/ldap/c-sdk/libraries/libldap/whoami.c b/ldap/c-sdk/libldap/whoami.c
index 35e10e71c..35e10e71c 100644
--- a/ldap/c-sdk/libraries/libldap/whoami.c
+++ b/ldap/c-sdk/libldap/whoami.c
diff --git a/ldap/c-sdk/libraries/libldif/libldif.def b/ldap/c-sdk/libldif/libldif.def
index 1c5ad5382..1c5ad5382 100644
--- a/ldap/c-sdk/libraries/libldif/libldif.def
+++ b/ldap/c-sdk/libldif/libldif.def
diff --git a/ldap/c-sdk/libraries/libldif/line64.c b/ldap/c-sdk/libldif/line64.c
index a819825cc..a819825cc 100644
--- a/ldap/c-sdk/libraries/libldif/line64.c
+++ b/ldap/c-sdk/libldif/line64.c
diff --git a/ldap/c-sdk/libraries/libldif/moz.build b/ldap/c-sdk/libldif/moz.build
index 000775a24..9281f20c4 100644
--- a/ldap/c-sdk/libraries/libldif/moz.build
+++ b/ldap/c-sdk/libldif/moz.build
@@ -3,7 +3,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-include('/ldap/ldap-sdk.mozbuild')
+include('../common.mozbuild')
SharedLibrary('ldif60')
@@ -12,7 +12,7 @@ SOURCES += [
]
LOCAL_INCLUDES += [
- '/ldap/c-sdk/include'
+ '../include'
]
if CONFIG['OS_ARCH'] == 'WINNT':
diff --git a/ldap/c-sdk/libraries/libprldap/ldappr-dns.c b/ldap/c-sdk/libprldap/ldappr-dns.c
index a88bfe31c..a88bfe31c 100644
--- a/ldap/c-sdk/libraries/libprldap/ldappr-dns.c
+++ b/ldap/c-sdk/libprldap/ldappr-dns.c
diff --git a/ldap/c-sdk/libraries/libprldap/ldappr-error.c b/ldap/c-sdk/libprldap/ldappr-error.c
index b0cb6ed96..b0cb6ed96 100644
--- a/ldap/c-sdk/libraries/libprldap/ldappr-error.c
+++ b/ldap/c-sdk/libprldap/ldappr-error.c
diff --git a/ldap/c-sdk/libraries/libprldap/ldappr-int.h b/ldap/c-sdk/libprldap/ldappr-int.h
index ed4bfbce6..ed4bfbce6 100644
--- a/ldap/c-sdk/libraries/libprldap/ldappr-int.h
+++ b/ldap/c-sdk/libprldap/ldappr-int.h
diff --git a/ldap/c-sdk/libraries/libprldap/ldappr-io.c b/ldap/c-sdk/libprldap/ldappr-io.c
index 863545146..863545146 100644
--- a/ldap/c-sdk/libraries/libprldap/ldappr-io.c
+++ b/ldap/c-sdk/libprldap/ldappr-io.c
diff --git a/ldap/c-sdk/libraries/libprldap/ldappr-public.c b/ldap/c-sdk/libprldap/ldappr-public.c
index 6e9e597e6..6e9e597e6 100644
--- a/ldap/c-sdk/libraries/libprldap/ldappr-public.c
+++ b/ldap/c-sdk/libprldap/ldappr-public.c
diff --git a/ldap/c-sdk/libraries/libprldap/ldappr-threads.c b/ldap/c-sdk/libprldap/ldappr-threads.c
index 1cfdc9263..1cfdc9263 100644
--- a/ldap/c-sdk/libraries/libprldap/ldappr-threads.c
+++ b/ldap/c-sdk/libprldap/ldappr-threads.c
diff --git a/ldap/c-sdk/libraries/libprldap/libprldap.def b/ldap/c-sdk/libprldap/libprldap.def
index a18e7ee82..a18e7ee82 100644
--- a/ldap/c-sdk/libraries/libprldap/libprldap.def
+++ b/ldap/c-sdk/libprldap/libprldap.def
diff --git a/ldap/c-sdk/libraries/libprldap/moz.build b/ldap/c-sdk/libprldap/moz.build
index 422557cc9..4b096a73f 100644
--- a/ldap/c-sdk/libraries/libprldap/moz.build
+++ b/ldap/c-sdk/libprldap/moz.build
@@ -3,7 +3,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-include('/ldap/ldap-sdk.mozbuild')
+include('../common.mozbuild')
SharedLibrary('prldap60')
@@ -22,7 +22,7 @@ DEFINES['USE_WAITPID'] = True
DEFINES['NEEDPROTOS'] = True
LOCAL_INCLUDES += [
- '/ldap/c-sdk/include'
+ '../include'
]
USE_LIBS += [
diff --git a/ldap/c-sdk/libraries/moz.build b/ldap/c-sdk/moz.build
index 339783bfd..4ce8c054e 100644
--- a/ldap/c-sdk/libraries/moz.build
+++ b/ldap/c-sdk/moz.build
@@ -3,9 +3,17 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+Library('ldapsdks')
+
DIRS += [
'liblber',
'libldif',
'libldap',
'libprldap'
]
+
+USE_LIBS += [
+ 'ldap60',
+ 'ldif60',
+ 'prldap60',
+] \ No newline at end of file