Bug 1126607, part 4: Simplify the LDAP build system further, r=glandium.
authorJoshua Cranmer <Pidgeot18@gmail.com>
Sun, 19 Apr 2015 22:20:50 -0500
changeset 23064 24203ada3e1ef9e8330208ba56bc227f2ac9f07c
parent 23063 557498f58325bd8367e00c40869bcbc6b8310506
child 23065 f4918fa6f79e52c3e44b9c6c2db612c76fcc442f
push id243
push usermbanner@mozilla.com
push dateMon, 10 Aug 2015 15:55:42 +0000
reviewersglandium
bugs1126607
Bug 1126607, part 4: Simplify the LDAP build system further, r=glandium. Two major changes are present in this bug: 1. The LDAP libraries names are no longer different between Windows and all other platforms, with the DLLs changing on Windows to match the scheme. 2. We no longer build the static libraries that we don't appear to use (libutil and libiutil). SeaMonkey's packaging changes get to be pushed against a CLOSED TREE.
ldap/c-sdk/libraries/libiutil/iutil-lock.c
ldap/c-sdk/libraries/libiutil/moz.build
ldap/c-sdk/libraries/liblber/moz.build
ldap/c-sdk/libraries/libldap/libldap.def
ldap/c-sdk/libraries/libldap/moz.build
ldap/c-sdk/libraries/libldif/libldif.def
ldap/c-sdk/libraries/libldif/moz.build
ldap/c-sdk/libraries/libprldap/libprldap.def
ldap/c-sdk/libraries/libprldap/moz.build
ldap/c-sdk/libraries/libutil/getopt.c
ldap/c-sdk/libraries/libutil/moz.build
ldap/c-sdk/libraries/moz.build
ldap/ldap-sdk.mozbuild
ldap/moz.build
mail/installer/package-manifest.in
mail/installer/removed-files.in
suite/installer/package-manifest.in
suite/installer/removed-files.in
deleted file mode 100644
--- a/ldap/c-sdk/libraries/libiutil/iutil-lock.c
+++ /dev/null
@@ -1,103 +0,0 @@
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- * 
- * The contents of this file are subject to the Mozilla Public License Version 
- * 1.1 (the "License"); you may not use this file except in compliance with 
- * the License. You may obtain a copy of the License at 
- * http://www.mozilla.org/MPL/
- * 
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- * 
- * The Original Code is Mozilla Communicator client code, released
- * March 31, 1998.
- * 
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998-1999
- * the Initial Developer. All Rights Reserved.
- * 
- * Contributor(s):
- * 
- * Alternatively, the contents of this file may be used under the terms of
- * either of the GNU General Public License Version 2 or later (the "GPL"),
- * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- * 
- * ***** END LICENSE BLOCK ***** */
-
-/*
- * Public interface for libiutil the innosoft migration library
- *
- */
-
-#ifdef _WINDOWS
-
-#include "ldap.h"
-
-#define LDAP_MUTEX_T    HANDLE
-
-int
-pthread_mutex_init( LDAP_MUTEX_T *mp, void *attr)
-{
-        if ( (*mp = CreateMutex(NULL, FALSE, NULL)) == NULL )
-                return( 1 );
-        else
-                return( 0 );
-}
-
-static void *
-pthread_mutex_alloc( void )
-{
-        LDAP_MUTEX_T *mutexp;
-
-        if ( (mutexp = malloc( sizeof(LDAP_MUTEX_T) )) != NULL ) {
-                pthread_mutex_init( mutexp, NULL );
-        }
-        return( mutexp );
-}
-
-int
-pthread_mutex_destroy( LDAP_MUTEX_T *mp )
-{
-        if ( !(CloseHandle(*mp)) )
-                return( 1 );
-        else
-                return( 0 );
-}
-
-static void
-pthread_mutex_free( void *mutexp )
-{
-        pthread_mutex_destroy( (LDAP_MUTEX_T *) mutexp );
-        free( mutexp );
-}
-
-int
-pthread_mutex_lock( LDAP_MUTEX_T *mp )
-{
-        if ( (WaitForSingleObject(*mp, INFINITE) != WAIT_OBJECT_0) )
-                return( 1 );
-        else
-                return( 0 );
-}
-
-
-int
-pthread_mutex_unlock( LDAP_MUTEX_T *mp )
-{
-        if ( !(ReleaseMutex(*mp)) )
-                return( 1 );
-        else
-                return( 0 );
-}
-#endif /* WINDOWS */
deleted file mode 100644
--- a/ldap/c-sdk/libraries/libiutil/moz.build
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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/.
-
-include('/ldap/ldap-sdk.mozbuild')
-
-Library(get_ldap_name('iutil'))
-
-SOURCES += [
-    'iutil-lock.c'
-]
-
-DEFINES['USE_WAITPID'] = True
-DEFINES['NEEDPROTOS'] = True
-
-LOCAL_INCLUDES += [
-    '/ldap/c-sdk/include'
-]
-
--- a/ldap/c-sdk/libraries/liblber/moz.build
+++ b/ldap/c-sdk/libraries/liblber/moz.build
@@ -1,16 +1,16 @@
 # 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/.
 
 include('/ldap/ldap-sdk.mozbuild')
 
-Library(get_ldap_name('lber'))
+Library('lber60')
 
 SOURCES += [
     'bprint.c',
     'decode.c',
     'encode.c',
     'io.c',
 ]
 
--- a/ldap/c-sdk/libraries/libldap/libldap.def
+++ b/ldap/c-sdk/libraries/libldap/libldap.def
@@ -30,17 +30,17 @@
 ; use your version of this file under the terms of the MPL, indicate your
 ; decision by deleting the provisions above and replace them with the notice
 ; and other provisions required by the GPL or the LGPL. If you do not delete
 ; the provisions above, a recipient may use your version of this file under
 ; the terms of any one of the MPL, the GPL or the LGPL.
 ; 
 ; ***** END LICENSE BLOCK ***** 
 
-LIBRARY         NSLDAP32V60
+LIBRARY         LDAP60
 DESCRIPTION     'Lightweight Directory Access Protocol Client API for 32-bit Windows'
 VERSION		6.0
 HEAPSIZE        4096
 
 EXPORTS
 ; we need to manually assign ordinal numbers so we can add new routines
 ; and not disturb the ordinals and thus not require callers to relink.
 ; 
--- a/ldap/c-sdk/libraries/libldap/moz.build
+++ b/ldap/c-sdk/libraries/libldap/moz.build
@@ -1,16 +1,16 @@
 # 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/.
 
 include('/ldap/ldap-sdk.mozbuild')
 
-SharedLibrary(get_ldap_name('ldap'))
+SharedLibrary('ldap60')
 
 SOURCES += [
     'abandon.c',
     'add.c',
     'authzidctrl.c',
     'bind.c',
     'cache.c',
     'charray.c',
@@ -80,9 +80,9 @@ if CONFIG['OS_TARGET'] != 'WINNT':
     DEFINES['USE_PTHREADS'] = True
 
 DEFINES['NEEDPROTOS'] = True
 
 LOCAL_INCLUDES += [
     '/ldap/c-sdk/include'
 ]
 
-USE_LIBS += [get_ldap_name('lber')]
+USE_LIBS += ['lber60']
--- a/ldap/c-sdk/libraries/libldif/libldif.def
+++ b/ldap/c-sdk/libraries/libldif/libldif.def
@@ -30,17 +30,17 @@
 ; use your version of this file under the terms of the MPL, indicate your
 ; decision by deleting the provisions above and replace them with the notice
 ; and other provisions required by the GPL or the LGPL. If you do not delete
 ; the provisions above, a recipient may use your version of this file under
 ; the terms of any one of the MPL, the GPL or the LGPL.
 ; 
 ; ***** END LICENSE BLOCK ***** 
 
-LIBRARY         NSLDIF32V60
+LIBRARY         LDIF60
 DESCRIPTION     'Lightweight Directory Access Protocol LDIF Client API for 32-bit Windows'
 VERSION		6.0
 HEAPSIZE        4096
 
 EXPORTS
 ; we need to manually assign ordinal numbers so we can add new routines
 ; and not disturb the ordinals and thus not require callers to relink.
 ; 
--- a/ldap/c-sdk/libraries/libldif/moz.build
+++ b/ldap/c-sdk/libraries/libldif/moz.build
@@ -1,16 +1,16 @@
 # 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/.
 
 include('/ldap/ldap-sdk.mozbuild')
 
-SharedLibrary(get_ldap_name('ldif'))
+SharedLibrary('ldif60')
 
 SOURCES += [
     'line64.c'
 ]
 
 LOCAL_INCLUDES += [
     '/ldap/c-sdk/include'
 ]
--- a/ldap/c-sdk/libraries/libprldap/libprldap.def
+++ b/ldap/c-sdk/libraries/libprldap/libprldap.def
@@ -30,17 +30,17 @@
 ; use your version of this file under the terms of the MPL, indicate your
 ; decision by deleting the provisions above and replace them with the notice
 ; and other provisions required by the GPL or the LGPL. If you do not delete
 ; the provisions above, a recipient may use your version of this file under
 ; the terms of any one of the MPL, the GPL or the LGPL.
 ; 
 ; ***** END LICENSE BLOCK ***** 
 
-LIBRARY         NSLDAPPR32V60
+LIBRARY         PRLDAP60
 DESCRIPTION     'LDAP to NSPR glue library for 32-bit Windows'
 VERSION		6.0
 HEAPSIZE        4096
 
 EXPORTS
 ; we need to manually assign ordinal numbers so we can add new routines
 ; and not disturb the ordinals and thus not require callers to relink.
 ; 
--- a/ldap/c-sdk/libraries/libprldap/moz.build
+++ b/ldap/c-sdk/libraries/libprldap/moz.build
@@ -1,16 +1,16 @@
 # 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/.
 
 include('/ldap/ldap-sdk.mozbuild')
 
-SharedLibrary('nsldappr32v60' if CONFIG['OS_ARCH'] == 'WINNT' else 'prldap60')
+SharedLibrary('prldap60')
 
 SOURCES += [
     'ldappr-dns.c',
     'ldappr-error.c',
     'ldappr-io.c',
     'ldappr-public.c',
     'ldappr-threads.c',
 ]
@@ -21,11 +21,11 @@ if CONFIG['OS_ARCH'] == 'WINNT':
 DEFINES['USE_WAITPID'] = True
 DEFINES['NEEDPROTOS'] = True
 
 LOCAL_INCLUDES += [
     '/ldap/c-sdk/include'
 ]
 
 USE_LIBS += [
-    get_ldap_name('ldap'),
+    'ldap60',
     'nspr'
 ]
deleted file mode 100755
--- a/ldap/c-sdk/libraries/libutil/getopt.c
+++ /dev/null
@@ -1,146 +0,0 @@
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- * 
- * The contents of this file are subject to the Mozilla Public License Version 
- * 1.1 (the "License"); you may not use this file except in compliance with 
- * the License. You may obtain a copy of the License at 
- * http://www.mozilla.org/MPL/
- * 
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- * 
- * The Original Code is Mozilla Communicator client code, released
- * March 31, 1998.
- * 
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998-1999
- * the Initial Developer. All Rights Reserved.
- * 
- * Contributor(s):
- * 
- * Alternatively, the contents of this file may be used under the terms of
- * either of the GNU General Public License Version 2 or later (the "GPL"),
- * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- * 
- * ***** END LICENSE BLOCK ***** */
-
-/*
- * Copyright (c) 1987 Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms are permitted
- * provided that: (1) source distributions retain this entire copyright
- * notice and comment, and (2) distributions including binaries display
- * the following acknowledgement:  ``This product includes software
- * developed by the University of California, Berkeley and its contributors''
- * in the documentation or other materials provided with the distribution
- * and in all advertising materials mentioning features or use of this
- * software. Neither the name of the University nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- */
-
-#ifdef _WINDOWS
-
-#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)getopt.c    4.12 (Berkeley) 6/1/90";
-#endif /* LIBC_SCCS and not lint */
-
-#include <windows.h>
-#include <stdio.h>
-#include <string.h>
-
-#define index strchr
-#define rindex strrchr
-
-/*
- * get option letter from argument vector
- */
-int     opterr = 1,             /* if error message should be printed */
-	optind = 1,             /* index into parent argv vector */
-	optopt;                 /* character checked for validity */
-char    *optarg;                /* argument associated with option */
-
-#define BADCH   (int)'?'
-#define EMSG    ""
-
-int getopt(int nargc, char *const *nargv, const char *ostr)
-{
-	static char *place = EMSG;              /* option letter processing */
-	register char *oli;                     /* option letter list index */
-	char *p;
-
-	if (!*place) {                          /* update scanning pointer */
-		if (optind >= nargc || *(place = nargv[optind]) != '-') {
-			place = EMSG;
-			return(EOF);
-		}
-		if (place[1] && *++place == '-') {      /* found "--" */
-			++optind;
-			place = EMSG;
-			return(EOF);
-		}
-	}                                       /* option letter okay? */
-	if ((optopt = (int)*place++) == (int)':' ||
-	    !(oli = index(ostr, optopt))) {
-		/*
-		 * if the user didn't specify '-' as an option,
-		 * assume it means EOF.
-		 */
-		if (optopt == (int)'-')
-			return(EOF);
-		if (!*place)
-			++optind;
-		if (opterr) {
-			if (!(p = rindex(*nargv, '/')))
-				p = *nargv;
-			else
-				++p;
-			(void)fprintf(stderr, "%s: illegal option -- %c\n",
-			    p, optopt);
-		}
-		return(BADCH);
-	}
-	if (*++oli != ':') {                    /* don't need argument */
-		optarg = NULL;
-		if (!*place)
-			++optind;
-	}
-	else {                                  /* need an argument */
-		if (*place)                     /* no white space */
-			optarg = place;
-		else if (nargc <= ++optind) {   /* no arg */
-			place = EMSG;
-			if (!(p = rindex(*nargv, '/')))
-				p = *nargv;
-			else
-				++p;
-			if (opterr)
-				(void)fprintf(stderr,
-				    "%s: option requires an argument -- %c\n",
-				    p, optopt);
-			return(BADCH);
-		}
-		else                            /* white space */
-			optarg = nargv[optind];
-		place = EMSG;
-		++optind;
-	}
-	return(optopt);                         /* dump back option letter */
-}
-
-#endif
deleted file mode 100644
--- a/ldap/c-sdk/libraries/libutil/moz.build
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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/.
-
-include('/ldap/ldap-sdk.mozbuild')
-
-Library(get_ldap_name('util'))
-
-SOURCES += [
-    'getopt.c',
-]
-
-LOCAL_INCLUDES += [
-    '/ldap/c-sdk/include'
-]
--- a/ldap/c-sdk/libraries/moz.build
+++ b/ldap/c-sdk/libraries/moz.build
@@ -1,16 +1,11 @@
 # 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/.
  
 DIRS += [
     'liblber',
     'libldif',
-    'libiutil',
     'libldap',
     'libprldap'
 ]
- 
-if CONFIG['OS_ARCH'] == 'WINNT':
-    DIRS += ['libutil']
- 
--- a/ldap/ldap-sdk.mozbuild
+++ b/ldap/ldap-sdk.mozbuild
@@ -18,13 +18,8 @@ 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
-
-if CONFIG['OS_ARCH'] == 'WINNT':
-    get_ldap_name = lambda simple: 'ns%s32v60' % simple
-else:
-    get_ldap_name = lambda simple: '%s60' % simple
--- a/ldap/moz.build
+++ b/ldap/moz.build
@@ -4,20 +4,13 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 Library('ldapsdks')
 
 DIRS += [
     'c-sdk/libraries'
 ]
 
-if CONFIG['OS_ARCH'] == 'WINNT':
-    USE_LIBS += [
-        'nsldap32v60',
-        'nsldappr32v60',
-        'nsldif32v60',
-    ]
-else:
-    USE_LIBS += [
-        'ldap60',
-        'ldif60',
-        'prldap60',
-    ]
+USE_LIBS += [
+    'ldap60',
+    'ldif60',
+    'prldap60',
+]
--- a/mail/installer/package-manifest.in
+++ b/mail/installer/package-manifest.in
@@ -318,25 +318,19 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
 ; LDAP components
 @RESPATH@/components/mozldap.xpt
 @RESPATH@/components/nsAbLDAPAttributeMap.js
 @RESPATH@/components/nsAbLDAPAutoCompleteSearch.js
 @RESPATH@/components/nsLDAPProtocolHandler.js
 @RESPATH@/components/ldapComponents.manifest
-#ifdef XP_WIN32
-@BINPATH@/nsldap32v60@DLL_SUFFIX@
-@BINPATH@/nsldappr32v60@DLL_SUFFIX@
-@BINPATH@/nsldif32v60@DLL_SUFFIX@
-#else
 @BINPATH@/@DLL_PREFIX@ldap60@DLL_SUFFIX@
 @BINPATH@/@DLL_PREFIX@ldif60@DLL_SUFFIX@
 @BINPATH@/@DLL_PREFIX@prldap60@DLL_SUFFIX@
-#endif
 
 ; download progress for jsdownloads
 @RESPATH@/components/DownloadsStartup.js
 
 ; Protocol/Content handling
 @RESPATH@/components/nsSMTPProtocolHandler.js
 @RESPATH@/components/nsSMTPProtocolHandler.manifest
 
--- a/mail/installer/removed-files.in
+++ b/mail/installer/removed-files.in
@@ -372,16 +372,21 @@ uninstall/uninstall.exe
 #ifdef MOZ_STATIC_JS
 @DIR_MACOS@@DLL_PREFIX@mozjs@DLL_SUFFIX@
 #endif
 @DIR_MACOS@mozilla-installer-bin
 @DIR_MACOS@nsldap32v50.dll
 @DIR_MACOS@@DLL_PREFIX@ldap50@DLL_SUFFIX@
 @DIR_MACOS@nsldappr32v50.dll
 @DIR_MACOS@@DLL_PREFIX@prldap50@DLL_SUFFIX@
+#ifdef XP_WIN
+  nsldap32v60.dll
+  nsldappr32v60.dll
+  nsldif32v60.dll
+#endif
 @DIR_MACOS@redo-prebinding.sh
 @DIR_MACOS@regxpcom.exe
 #ifdef XP_WIN
   xpicleanup.exe
 #else
   @DIR_MACOS@xpicleanup
 #endif
 @DIR_MACOS@@DLL_PREFIX@xpcom@DLL_SUFFIX@
--- a/suite/installer/package-manifest.in
+++ b/suite/installer/package-manifest.in
@@ -715,25 +715,19 @@
 bin/libfreebl_32fpu_3.so
 bin/libfreebl_32int_3.so
 bin/libfreebl_32int64_3.so
 #endif
 
 ; LDAP components need to be in the browser for AutoConfig
 @RESPATH@/components/mozldap.xpt
 @RESPATH@/components/nsLDAPProtocolHandler.js
-#ifdef XP_WIN32
-@BINPATH@/nsldap32v60.dll
-@BINPATH@/nsldappr32v60.dll
-@BINPATH@/nsldif32v60.dll
-#else
 @BINPATH@/@DLL_PREFIX@ldap60@DLL_SUFFIX@
 @BINPATH@/@DLL_PREFIX@ldif60@DLL_SUFFIX@
 @BINPATH@/@DLL_PREFIX@prldap60@DLL_SUFFIX@
-#endif
 
 ; [Updater]
 ;
 #ifdef MOZ_UPDATER
 #ifdef XP_MACOSX
 @BINPATH@/updater.app/
 #else
 @BINPATH@/updater@BIN_SUFFIX@
--- a/suite/installer/removed-files.in
+++ b/suite/installer/removed-files.in
@@ -345,16 +345,21 @@ jsj3250.dll
 @DLL_PREFIX@nspr4@DLL_SUFFIX@
 @DIR_MACOS@@DLL_PREFIX@plds4@DLL_SUFFIX@
 @DIR_MACOS@@DLL_PREFIX@plc4@DLL_SUFFIX@
 @DIR_MACOS@@DLL_PREFIX@ssl3@DLL_SUFFIX@
 @DIR_MACOS@@DLL_PREFIX@smime3@DLL_SUFFIX@
 @DIR_MACOS@@DLL_PREFIX@nssutil3@DLL_SUFFIX@
 @DIR_MACOS@@DLL_PREFIX@mozsqlite3@DLL_SUFFIX@
 #endif
+#ifdef XP_WIN
+nsldap32v60.dll
+nsldappr32v60.dll
+nsldif32v60.dll
+#endif
 @DLL_PREFIX@mozlcms@DLL_SUFFIX@
 omni.jar
 #ifdef XP_MACOSX
   Contents/Plug-Ins/PrintPDE.plugin/Contents/Info.plist
   Contents/Plug-Ins/PrintPDE.plugin/Contents/MacOS/PrintPDE
   Contents/Plug-Ins/PrintPDE.plugin/Contents/Resources/English.lproj/
   Contents/Plug-Ins/PrintPDE.plugin/Contents/Resources/English.lproj/Localizable.strings
   Contents/Plug-Ins/PrintPDE.plugin/Contents/Resources/English.lproj/PrintPDE.nib/